:root {
    --brand: #1abc9c;
    --brand-dark: #16a085;
    --brand-light: #e8f8f5;
    --dark: #2c3e50;
    --text: #475569;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: #ffffff; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Nav */
.navbar { position: sticky; top: 0; background: white; border-bottom: 1px solid var(--border); z-index: 1000; padding: 15px 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 32px; }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.9rem; }

/* Hero & Badge */
.feature-hero { padding: 100px 0 60px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--brand-light) 100%); }
.feature-hero h1 { font-size: 3.2rem; color: var(--dark); margin-bottom: 1rem; letter-spacing: -1.5px; font-weight: 800; }
.hero-subtext { font-size: 1.25rem; max-width: 700px; margin: 0 auto 30px; }
.badge { display: inline-block; padding: 5px 15px; background: var(--brand); color: white; border-radius: 20px; font-size: 0.7rem; font-weight: bold; margin-bottom: 15px; text-transform: uppercase; }

/* Browser Mockup */
.platform-preview { max-width: 900px; margin: -40px auto 60px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); overflow: hidden; }
.browser-bar { background: #f1f5f9; padding: 10px 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.b-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.browser-address { background: #fff; padding: 2px 30px; border-radius: 4px; font-size: 10px; color: #94a3b8; border: 1px solid var(--border); margin-left: 10px; }
.ui-mockup { height: 300px; display: flex; background: #fafafa; }
.ui-sidebar { width: 180px; background: #f8fafc; border-right: 1px solid var(--border); }
.ui-main { flex: 1; padding: 30px; }
.ui-row { height: 30px; background: #edf2f7; margin-bottom: 15px; border-radius: 4px; }

/*.browser-window {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
    overflow: hidden;
    border: 1px solid var(--border);
    max-width: 1000px;
    margin: 0 auto;
}

.browser-header {
    background: #f1f5f9;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-address {
    background: white;
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 4px 15px;
    border-radius: 4px;
    flex-grow: 1;
    max-width: 400px;
    text-align: center;
    border: 1px solid #e2e8f0;
    font-family: monospace;
} */

.browser-content img {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0.98); /* Slight adjustment to blend with UI */
}

/* Add a nice hover effect to make the platform feel interactive */
.browser-window:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Grid & Cards */
.section { padding: 80px 0; }
.bg-light { background: #f8f9fa; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 35px; border-radius: 12px; border: 1px solid var(--border); transition: 0.3s; }
.card:hover { border-color: var(--brand); transform: translateY(-5px); }
.icon { font-size: 2rem; margin-bottom: 15px; }
h2 { font-size: 2.2rem; color: var(--dark); margin-bottom: 40px; }
h3 { margin-bottom: 10px; color: var(--dark); }

/* How it Works Flow */
.flow-wrapper { display: flex; justify-content: space-around; margin-top: 40px; gap: 20px; }
.flow-step { flex: 1; position: relative; }
.step-circle { width: 50px; height: 50px; background: var(--brand); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: bold; font-size: 1.2rem; }

/* Infra Section */
.infra-box { background: var(--dark); color: white; }
.infra-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.infra-inner h2 { color: white; }
.callout { margin-top: 30px; padding: 20px; background: rgba(255,255,255,0.05); border-left: 4px solid var(--brand); border-radius: 4px; text-align: left; }

/* Buttons */
.btn { padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: 700; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; border: 2px solid var(--brand)!important; color: var(--brand); margin-left: 10px; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* Footer */
.footer-cta { background: #f1f5f9; }
.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--border); font-size: 0.9rem; }

@media (max-width: 768px) {
    .grid-3, .flow-wrapper { grid-template-columns: 1fr; flex-direction: column; }
    .feature-hero h1 { font-size: 2.2rem; }
}


/* Page Header */
.page-header { padding: 80px 0; text-align: center; border-bottom: 1px solid var(--border); }
.intro-text { max-width: 800px; margin: 0 auto; font-size: 1.2rem; color: var(--text); }
.max-800 { max-width: 800px; margin: 0 auto; }

/* Capability Blocks */
.capability-block { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.capability-block.reverse { flex-direction: row-reverse; }
.cap-text { flex: 1; }
.cap-visual { flex: 1; }
.cap-list { margin-top: 20px; list-style: none; }
.cap-list li::before { content: "→"; color: var(--brand); font-weight: bold; margin-right: 10px; }

/* UI Mini Mocks */
.ui-mini-mock { background: #fff; border: 1px solid var(--border); padding: 20px; border-radius: 8px; box-shadow: var(--border) 0 10px 20px; }
.mock-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.85rem; }
.tag-red { color: #e74c3c; font-weight: bold; }
.tag-green { color: var(--brand); font-weight: bold; }
.alert-box { border: 2px solid #e74c3c; padding: 20px; border-radius: 8px; background: #fff5f5; }
.alert-header { font-weight: bold; color: #e74c3c; margin-bottom: 5px; }

/* Architecture Section */
.bg-dark { background: #1a1a1a; }
.white-text { color: white !important; }
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.arch-item { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; }
.arch-num { font-size: 1.5rem; color: var(--brand); font-weight: bold; margin-bottom: 10px; }
.security-callout { text-align: center; margin-top: 50px; padding: 20px; background: var(--brand); color: white; border-radius: 50px; font-weight: 500; font-size: 0.9rem; }

/* Comparison Grid */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.comp-card { padding: 40px; border-radius: 12px; border: 1px solid var(--border); }
.comp-card.is { border-left: 5px solid var(--brand); }
.comp-card.isnt { border-left: 5px solid #bdc3c7; }
.comp-card h4 { margin-bottom: 20px; font-size: 1.2rem; }
.comp-card ul { list-style: none; }
.comp-card li { margin-bottom: 10px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-question { font-weight: 700; color: var(--dark); cursor: pointer; }
.faq-answer { margin-top: 10px; font-size: 0.95rem; color: var(--text); }

@media (max-width: 768px) {
    .capability-block, .arch-grid, .comparison-grid { grid-template-columns: 1fr; flex-direction: column; }
    .security-callout { border-radius: 8px; }
}


/* Slider Container */
.screenshot-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    position: relative;
    border-radius: 12px;
    overflow: visible; /* Changed from hidden to visible so arrows show outside */
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Keep overflow hidden here */
    border-radius: 12px 12px 0 0;
}

/* Individual Slides */
.slide {
    display: none;
    text-align: center;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.slide-caption {
    padding: 20px 30px;
    font-size: 1rem;
    color: var(--text);
    background: white;
    margin: 0;
    border-top: 1px solid var(--border);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 40%; /* Positioned relative to image height */
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: -25px;
}

.slider-arrow.next {
    right: -25px;
}

.slider-arrow i {
    color: var(--brand);
    font-size: 1.2rem;
}

/* Dots Navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background: white;
    border-radius: 0 0 12px 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: var(--brand);
    opacity: 0.7;
}

.dot.active {
    background: var(--brand);
    width: 30px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
    
    .slide-caption {
        font-size: 0.9rem;
        padding: 15px 20px;
    }
}


/* Mobile Navbar Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .logo {
        max-width: 150px;
        height: auto;
    }
    
    .nav-links {
        display: none; /* Hide by default on mobile */
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-links.active {
        display: flex; /* Show when hamburger is clicked */
    }
    
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links .btn {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--dark);
        margin: 5px 0;
        transition: 0.3s;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}