:root {
    --bg-dark: #050505;
    --bg-surface: #0a0c0f;
    --bg-surface-light: #11141a;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(52, 211, 153, 0.4);
    
    --accent-primary: #34d399; /* Emerald Green */
    --accent-glow: rgba(52, 211, 153, 0.2);
    --accent-secondary: #10b981;
    --gold-accent: #c5a059; /* Kept for premium touch if needed */
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #111827;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(52, 211, 153, 0.15);
    
    --radius-lg: 16px;
    --radius-md: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Glassmorphism utilities */
.glass-panel {
    background: rgba(10, 12, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-primary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--text-dark);
    border: 1px solid var(--accent-primary);
    box-shadow: 0 4px 15px rgba(52, 211, 153, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background-color: rgba(52, 211, 153, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(5,5,5,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Sections General */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.problem-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.3); /* Subtle red hover for problem */
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.problem-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Solution Triad */
.triad-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.triad-visual {
    position: relative;
}

.triad-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed var(--border-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.triad-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    animation: counter-rotate 60s linear infinite;
}

@keyframes counter-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

.triad-node:nth-child(1) { top: -50px; left: calc(50% - 50px); }
.triad-node:nth-child(2) { bottom: 10%; right: -20px; }
.triad-node:nth-child(3) { bottom: 10%; left: -20px; }

.triad-node img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.triad-node span {
    font-size: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.triad-center {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(52,211,153,0.1) 0%, var(--bg-surface) 80%);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.triad-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.triad-list {
    list-style: none;
    margin-top: 30px;
}

.triad-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.triad-list-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Calculator (Dark Mode) */
.calc-wrapper {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-soft);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
}

.calc-controls {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.calc-outputs {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.control-group {
    margin-bottom: 35px;
}

.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.control-header label {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-main);
}

.control-val {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-primary);
    font-size: 1.2rem;
}

/* Custom Slider */
.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--bg-surface-light);
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Outputs */
.out-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.out-card {
    background-color: var(--bg-surface-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px 20px;
    text-align: center;
}

.out-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.out-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
}

.out-val.accent {
    color: var(--accent-primary);
}

.out-foot {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    background-color: rgba(52, 211, 153, 0.05);
    border: 1px solid rgba(52, 211, 153, 0.1);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.price-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.p-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    min-height: 60px; /* Keep titles aligned */
}

.p-amount {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 5px;
}

.p-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.p-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 30px;
}

.p-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.p-features li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
}

.bundle-card {
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(52, 211, 153, 0.05) 100%);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 50px;
    position: relative;
    overflow: hidden;
}

.bundle-badge {
    position: absolute;
    top: 25px;
    right: -35px;
    background-color: var(--accent-primary);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 8px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.bundle-left h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.bundle-left p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.bundle-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    list-style: none;
}

.bundle-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}
.bundle-features li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
}

.bundle-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-left: 1px solid var(--border-color);
    padding-left: 50px;
    text-align: center;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--accent-primary);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .triad-container { grid-template-columns: 1fr; }
    .triad-visual { display: none; } /* Hide visual on smaller screens for simplicity */
}

@media (max-width: 500px) {
    /* Header & Nav */
    .header {
        padding: 15px 0;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
    }
    .nav-container { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: space-between;
        align-items: center;
        gap: 15px; 
    }
    .lang-selector {
        margin-left: 0;
        order: 2; /* Put language selector on the right */
    }
    .logo {
        order: 1; /* Logo on the left */
    }
    .nav-links { 
        order: 3;
        width: 100%;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 12px; 
        font-size: 0.85rem;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid rgba(255,255,255,0.05);
        padding-top: 12px;
    }
    .nav-links a {
        white-space: nowrap;
        background: rgba(255,255,255,0.05);
        padding: 6px 14px;
        border-radius: 20px;
    }
    
    /* Hero */
    .hero { padding-top: 160px; text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { margin: 0 auto 30px; font-size: 1rem; }
    .hero-btns { flex-direction: column; width: 100%; gap: 12px; align-items: center; }
    .hero-btns .btn { width: 100%; display: block; text-align: center; }

    /* Horizontal Scrolling for Cards (Avoid "Store Queue" effect) */
    .problem-grid, .pricing-grid:not(.addons-grid) { 
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
    }
    .problem-grid::-webkit-scrollbar, .pricing-grid::-webkit-scrollbar {
        height: 4px;
    }
    .problem-grid::-webkit-scrollbar-thumb, .pricing-grid::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.1);
        border-radius: 4px;
    }
    .problem-card, .price-card {
        min-width: 320px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    /* Addons grid can be 1fr but slightly optimized */
    .addons-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    /* Calculator */
    .calc-grid { grid-template-columns: 1fr; gap: 30px; }
    .calc-controls { border-right: none; padding-right: 0; padding-bottom: 30px; border-bottom: 1px solid var(--border-color); margin-bottom: 0px; }
    .calc-wrapper { padding: 30px 20px; }

    /* Bundle */
    .bundle-card { grid-template-columns: 1fr; padding: 30px 20px; gap: 30px; }
    .bundle-right { border-left: none; padding-left: 0; padding-top: 30px; border-top: 1px solid var(--border-color); }
    .bundle-features { grid-template-columns: 1fr; }
    
    /* Layout padding */
    .section { padding: 80px 0; }
    .section-header h2 { font-size: 2rem; }
}
