:root {
    /* 🎨 Palette: Modern SaaS (Trust & Clarity) */
    --color-primary: #1b4332;
    /* Brand Green */
    --color-primary-light: #2d6a4f;
    --color-secondary: #d4a373;
    /* Accent Gold */
    --color-bg: #f8f9fa;
    /* Modern Light Gray */
    --color-surface: #ffffff;
    --color-text: #2d3748;
    /* Dark Slate */
    --color-text-muted: #718096;
    --color-border: #e2e8f0;
    --color-danger: #e53e3e;
    --color-danger-bg: #fff5f5;
    --color-primary-bg: #f0fff4;

    /* ✍️ Typography */
    --font-heading: 'Playfair Display', serif;
    /* Keep brand font */
    --font-body: 'Inter', sans-serif;

    /* 📐 Geometry: Modern (Soft) */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* 📏 Spacing */
    --container-width: 1200px;

    /* 🎬 Animation */
    --transition-fast: 0.2s ease;

    /* 🌥 Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-surface);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background-color: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-white:hover {
    background-color: #f7fafc;
    border-color: var(--color-text-muted);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
}

.nav a:not(.btn):hover {
    color: var(--color-primary);
}

/* Hero */
/* Hero */
.hero {
    padding: 6rem 0;
    /* Layered background: Strong White Overlay + Secretary Image */
    background: linear-gradient(to right, rgba(248, 249, 250, 0.92), rgba(248, 249, 250, 0.85)),
        url('../img/hero_bg_secretary.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Fallback color if image missing */
    background-color: #f8f9fa;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-trust {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    background: var(--color-surface);
    aspect-ratio: 16/10;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #f1f5f9;
}

/* Slightly darker separate sections */

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    text-align: center;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
}

.icon-box.danger {
    background-color: var(--color-danger-bg);
    color: var(--color-danger);
}

.icon-box.primary {
    background-color: var(--color-primary-bg);
    color: var(--color-primary);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.problem-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.fear-box {
    margin-top: 3rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.fear-box h3 {
    color: var(--color-danger);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Comparison Modern */
.comparison-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.comparison-column {
    padding: 3rem;
    border-radius: var(--radius-lg);
}

.comparison-column.bad {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
}

.comparison-column.good {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.comparison-column h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-column.good h3 {
    color: white;
}

.comparison-column ul li {
    margin-bottom: 1rem;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-card .icon-box {
    margin: 0 0 1.5rem 0;
    /* Align left */
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.stars {
    color: #f6ad55;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #eee;
    object-fit: cover;
    border: 2px solid var(--color-surface);
    box-shadow: var(--shadow-sm);
}

.user-info cite {
    font-style: normal;
    font-weight: 700;
    font-size: 0.9rem;
}

.user-info cite span {
    display: block;
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
}

.faq-item h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.faq-item p {
    color: var(--color-text-muted);
}

/* CTA */
.cta-section {
    background-color: var(--color-primary);
    color: var(--color-surface);
    text-align: center;
    padding: 6rem 0;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, transparent 100%);
}

.cta-section h2 {
    color: var(--color-surface);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.cta-note {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: var(--color-surface);
    color: var(--color-text);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.footer a {
    color: var(--color-text);
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Responsive */
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn .icon-close {
    display: none;
}

.mobile-menu-btn.active .icon-open {
    display: none;
}

.mobile-menu-btn.active .icon-close {
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

        /* Hidden state */
        display: none;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .nav.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav a {
        width: 100%;
        text-align: center;
        display: block;
        font-size: 1.1rem;
    }

    .nav .btn {
        width: 100%;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
        margin-top: 1rem;
    }

    .comparison-modern {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Carousel Section */
.carousel-container {
    position: relative;
    max-width: 1000px;
    /* Adjust as needed */
    margin: 0 auto;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    /* Show one slide at a time by default */
    box-sizing: border-box;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* App Card Styling */
.app-card {
    background: var(--color-surface);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    text-align: center;
    max-width: 600px;
    width: 100%;
    transition: transform var(--transition-fast);
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
}

.app-icon.purple {
    background-color: #805ad5;
}

.app-icon.blue {
    background-color: #3182ce;
}

.app-icon.orange {
    background-color: #dd6b20;
}

.app-icon.green {
    background-color: #38a169;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.app-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
}

.btn-link:hover {
    gap: 0.8rem;
    color: var(--color-primary-light);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.carousel-btn.prev {
    left: -60px;
}

.carousel-btn.next {
    right: -60px;
}

/* Indicators */
.carousel-nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    gap: 0.8rem;
}

.carousel-indicator {
    border: none;
    width: 12px;
    height: 12px;
    background: #cbd5e0;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-indicator.current-slide {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 900px) {
    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .app-card {
        padding: 2rem;
    }
}