@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Cormorant+Unicase:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Cream & Sage B2B Luxury Editorial Palette */
    --bg-main: #fcfbf7; /* Warm Editorial Ivory/Cream */
    --bg-card: #ffffff; /* Contrast White Cards */
    --border-color: #f5f3e9; /* Soft Beige Border */
    --primary: #5da46b; /* Sage Green */
    --primary-hover: #4e8e5b;
    --primary-light: #f0f4ef; /* Light Sage Green Tint */
    --text-primary: #1e2920; /* Deep Olive/Charcoal Forest */
    --text-secondary: #4a544c; /* Muted Charcoal Green */
    --text-muted: #758077;
    --font-title: 'Cormorant Unicase', serif;
    --font-logo: 'Cormorant Unicase', serif;
    --font-sans: 'Inter', sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-card: 0 4px 24px rgba(30, 41, 32, 0.02);
    --shadow-hover: 0 10px 30px rgba(30, 41, 32, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Faint Grid & Map Background Pattern (Fixed to scroll over whole page) */
.map-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('/images/worldmap.svg'); /* Local file reference */
    background-size: 1500px;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.045;
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    width: 100%;
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(252, 251, 247, 0.95); /* Frosted Cream matching the new background theme */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    height: 100%;
    display: flex;
    justify-content: center; /* Center the links column */
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    height: 44px !important;
    border-radius: 6px;
}

.logo-text {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    font-family: var(--font-title);
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 550;
    font-size: 1.15rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-auth {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Action Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-primary);
}

header .btn-secondary {
    border: none;
    background-color: transparent;
}

header .btn-secondary:hover {
    background-color: rgba(0,0,0,0.02);
}

/* Hero Section */
.hero {
    padding: 9.5rem 0 5.5rem 0;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 0.95rem;
    background-color: var(--primary-light);
    border: 1px solid rgba(93, 164, 107, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 500; /* Thin luxury serif weight */
    line-height: 1.25;
    max-width: 820px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-primary);
}

.hero-title span.highlight {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

/* Mockup Container */
.hero-mockup-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 4px;
    background-color: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-color);
}

.hero-mockup {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.mockup-header {
    background-color: #fafbfb;
    padding: 0.6rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-header .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.mockup-header .dot.red { background-color: #ff5f56; }
.mockup-header .dot.yellow { background-color: #ffbd2e; }
.mockup-header .dot.green { background-color: #27c93f; }

.mockup-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.65rem;
    font-family: monospace;
    color: var(--text-muted);
}

.mockup-body {
    display: flex;
    height: 320px;
    text-align: left;
}

.mockup-sidebar {
    width: 48px;
    background-color: #fafbfb;
    border-right: 1px solid var(--border-color);
    padding: 1.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mockup-nav {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background-color: #e2e8f0;
}

.mockup-nav.active {
    background-color: var(--primary);
}

.mockup-content {
    flex-grow: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}

.mockup-stats {
    display: flex;
    gap: 1rem;
}

.mockup-stat-card {
    flex: 1;
    background-color: #fafbfb;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mockup-stat-card .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-stat-card .val {
    font-size: 1.15rem;
    font-weight: 700;
}

.mockup-table {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fafbfb;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.6rem;
    background-color: #ffffff;
    border-radius: 2px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    border-left: 2px solid var(--primary);
    border-top: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.mockup-row strong {
    color: var(--text-primary);
}

.mockup-row.duplicate {
    border-left-color: var(--danger);
    background-color: #fff5f5;
    opacity: 0.8;
}

/* Features Section (Perfect 2x2 Symmetrical Grid) */
.features {
    padding: 6.5rem 0;
    text-align: center;
}

.features h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(93, 164, 107, 0.3);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0 auto 1.5rem auto;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Workflow (Symmetrical 3 Columns) */
.workflow {
    padding: 6.5rem 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.workflow h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1050px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .steps-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

.step-card {
    text-align: center;
}

.step-number {
    width: 44px;
    height: 44px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 260px;
    margin: 0 auto;
}

/* Pricing (Centered Flex Layout) */
.pricing {
    padding: 6.5rem 0;
    text-align: center;
}

.pricing h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 4rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2.25rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.pricing-card.featured {
    border: 1px solid var(--primary);
    box-shadow: 0 10px 30px rgba(93, 164, 107, 0.08);
}

.pricing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(93, 164, 107, 0.35);
}

.pricing-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    margin: 1.25rem 0;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li ion-icon {
    font-size: 1.15rem;
    color: var(--primary);
}

/* Footer (Clean, Minimalist, Centered) */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2.5rem 0;
    background-color: var(--bg-card);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 32px !important;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 380px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.footer-column {
    text-align: center;
}

.footer-column h4 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-giant-title {
    font-family: var(--font-title);
    font-size: 5vw;
    font-weight: 700;
    text-align: center;
    color: #f1f5f9;
    letter-spacing: 12px;
    text-transform: uppercase;
    user-select: none;
    margin-top: 2rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 2rem;
    width: 100%;
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .copyright {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

.dotted-i {
    font-family: 'Cormorant Garamond', serif !important;
    text-transform: lowercase !important;
    display: inline !important;
    color: inherit !important;
}

/* Pulsing Map Pins */
.map-pin {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.map-pin::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: mapPulse 2.5s infinite ease-out;
}

@keyframes mapPulse {
    0% { transform: scale(0.4); opacity: 0; }
    30% { opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Testimonials (Müşteri Yorumları) */
.testimonials {
    padding: 6.5rem 0;
    text-align: center;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 3.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1050px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-2px);
    border-color: rgba(93, 164, 107, 0.25);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
}

.author-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* FAQ (Sıkça Sorulan Sorular) Accordion */
.faq {
    padding: 6.5rem 0;
    text-align: center;
}

.faq h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 3.5rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question ion-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.25rem;
}

.faq-item.active .faq-question ion-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Scrolled Header Style - Centered Glowing Logo */
header {
    transition: var(--transition);
}

.logo {
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.nav-links, .nav-auth {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

header.scrolled {
    background-color: rgba(252, 251, 247, 0.98);
    box-shadow: 0 10px 35px rgba(30, 41, 32, 0.06);
    border-bottom: 1px solid rgba(93, 164, 107, 0.1);
}

header.scrolled .nav-links,
header.scrolled .nav-auth {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

header.scrolled .logo {
    left: 50%;
    transform: translate(-50%, -50%) scale(1.35);
    filter: drop-shadow(0 0 12px rgba(93, 164, 107, 0.75));
}

/* Subtle B2B Premium Neon Glow Accents */
.hero-tag {
    box-shadow: 0 0 15px rgba(93, 164, 107, 0.2);
}

.pricing-card.featured {
    box-shadow: 0 0 35px rgba(93, 164, 107, 0.18) !important;
    border-color: var(--primary) !important;
}

.btn-primary {
    box-shadow: 0 4px 15px rgba(93, 164, 107, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(93, 164, 107, 0.45);
}

.feature-card:hover {
    box-shadow: 0 0 20px rgba(93, 164, 107, 0.08);
    border-color: rgba(93, 164, 107, 0.25);
}

/* Page Hero Logo Styling (Large, Bright, Pulsing Neon) */
.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo {
    height: 180px; /* Massive and extremely prominent */
    border-radius: 24px;
    animation: logoNeonGlow 3s infinite ease-in-out; /* Breathing neon glow animation */
    transition: var(--transition);
}

.hero-logo:hover {
    animation-play-state: paused; /* Pause animation on hover to focus user input */
    transform: scale(1.08);
    filter: drop-shadow(0 0 25px rgba(93, 164, 107, 0.9))
            drop-shadow(0 0 45px rgba(93, 164, 107, 0.6))
            drop-shadow(0 0 70px rgba(93, 164, 107, 0.4));
}

@keyframes logoNeonGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(93, 164, 107, 0.45))
                drop-shadow(0 0 25px rgba(93, 164, 107, 0.25))
                drop-shadow(0 0 40px rgba(93, 164, 107, 0.1));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 22px rgba(93, 164, 107, 0.85))
                drop-shadow(0 0 45px rgba(93, 164, 107, 0.55))
                drop-shadow(0 0 70px rgba(93, 164, 107, 0.3));
        transform: scale(1.04); /* Gentle breathing expansion */
    }
}

/* 6. Theme Toggle Button Styling */
.theme-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    outline: none;
    margin-right: 0.5rem;
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 12px rgba(93, 164, 107, 0.2);
}

.theme-toggle-btn ion-icon {
    font-size: 1.25rem;
    position: absolute;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* Switch Icon States */
.theme-toggle-btn .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle-btn .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* In Dark Mode: show sun, hide moon */
[data-theme="dark"] .theme-toggle-btn .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
    color: #f59e0b; /* Amber gold sun */
}

[data-theme="dark"] .theme-toggle-btn .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

/* 7. Dark Theme Variables & Styles */
[data-theme="dark"] {
    /* Luxury Dark Forest Emerald Palette */
    --bg-main: #0c110d; /* Premium deep charcoal forest background */
    --bg-card: #121914; /* Emerald-tinted dark cards */
    --border-color: #1a251d; /* Deep olive border */
    --primary: #63b372; /* Slightly brighter sage green for high dark-mode contrast */
    --primary-hover: #72c281;
    --primary-light: #16241a; /* Dark sage tint for pills */
    --text-primary: #f5f8f6; /* Ivory cream white for crisp visibility */
    --text-secondary: #a2b0a5; /* Muted sage gray text */
    --text-muted: #6a786d;
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] header {
    background-color: rgba(12, 17, 13, 0.9) !important;
    border-bottom-color: var(--border-color) !important;
}

[data-theme="dark"] header.scrolled {
    background-color: rgba(12, 17, 13, 0.98) !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35) !important;
    border-bottom-color: rgba(99, 179, 114, 0.15) !important;
}

/* Core container overrides for dark theme */
[data-theme="dark"] .hero-mockup-wrapper,
[data-theme="dark"] .hero-mockup,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] footer {
    background-color: var(--bg-card) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .workflow {
    background-color: #0c110d !important;
    border-color: var(--border-color) !important;
}

/* Mockup internal components */
[data-theme="dark"] .mockup-header,
[data-theme="dark"] .mockup-sidebar,
[data-theme="dark"] .mockup-stat-card,
[data-theme="dark"] .mockup-table {
    background-color: #0c110d !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .mockup-row {
    background-color: #121914 !important;
    border-top-color: #1a251d !important;
    border-right-color: #1a251d !important;
    border-bottom-color: #1a251d !important;
}

[data-theme="dark"] .mockup-nav {
    background-color: #243527 !important;
}

[data-theme="dark"] .mockup-nav.active {
    background-color: var(--primary) !important;
}

[data-theme="dark"] .mockup-stat-card .val {
    color: var(--primary) !important;
}

/* Step cards in workflow */
[data-theme="dark"] .step-number {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

/* Buttons */
[data-theme="dark"] .btn-secondary {
    border-color: #243527 !important;
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: #16241a !important;
    border-color: #2e4432 !important;
    color: var(--text-primary) !important;
}

/* Map Background inversion for dark theme */
[data-theme="dark"] .map-bg {
    opacity: 0.05 !important;
    filter: invert(1) brightness(0.85);
}

/* Decorative giant signature in footer */
[data-theme="dark"] .footer-giant-title {
    color: #101612 !important;
    border-top-color: #131a15 !important;
}

/* Soft dark red duplicate row highlight in dark mode */
[data-theme="dark"] .mockup-row.duplicate {
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-left-color: #ef4444 !important;
}
