:root {
    --primary: #13A355;
    --accent: #87FFB3;
    --cta-bg: #000B04;
    --cta-text: #87FFB3;
    --bg-gradient: linear-gradient(158deg, #D0FFF9, #9BFFBF);
    --logo-gradient: linear-gradient(138deg, #B2FFF7, #87FFB3);
    --icon-gradient: linear-gradient(#D0FFE1, #7EFFAD);
    
    --bg-header: #E6FDF1;
    --bg-footer: #000B04;
    --bg-neutral: #EAF8F0;
    --bg-features: #DCF5E6;
    
    --card-light: #FFFFFF;
    --card-dark: #000B04;
    
    --text-main: rgba(0, 0, 0, 0.85);
    --text-secondary: rgba(0, 0, 0, 0.65);
    --text-light: #FFFFFF;
    --text-accent: #87FFB3;
    
    --font-heading: 'Urbanist', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(19, 163, 85, 0.08);
    --shadow-md: 0 12px 32px rgba(19, 163, 85, 0.12);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-pill: 40px;
}

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

html {
    scroll-behavior: smooth;
}

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

body.menu-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, .brand-name, .hero-title, .section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--cta-bg);
    color: var(--cta-text);
}

.btn-primary:hover {
    transform: scale(1.02);
    background-color: #001a0a;
    box-shadow: 0 8px 24px rgba(0, 11, 4, 0.4);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--cta-bg);
}

.btn-secondary:hover {
    transform: scale(1.02);
    background-color: #9effc4;
    box-shadow: 0 8px 24px rgba(135, 255, 179, 0.3);
}

.btn-secondary:active {
    transform: scale(0.97);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Header */
.site-header {
    background-color: var(--bg-header);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(19, 163, 85, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

.brand-name {
    font-size: 24px;
    color: var(--primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    position: absolute;
    left: 8px;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 12px; }
.hamburger-line:nth-child(2) { top: 19px; }
.hamburger-line:nth-child(3) { top: 26px; }

@media (max-width: 860px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-header);
        flex-direction: column;
        justify-content: center;
        padding: 80px 20px 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .nav-link {
        font-size: 20px;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        top: 19px;
        transform: rotate(45deg);
    }
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        top: 19px;
        transform: rotate(-45deg);
    }
}

/* Pages */
.page {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Phone Mockup Component */
.phone-mockup {
    position: relative;
    border: 12px solid var(--card-dark);
    border-radius: 40px;
    background-color: var(--card-dark);
    overflow: hidden;
    aspect-ratio: 0.5 / 1;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 16px;
    background-color: var(--card-dark);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 3;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero Section */
.hero-section {
    background: var(--bg-gradient);
    margin-top: 0;
    padding-top: 80px;
    padding-bottom: 120px;
    overflow: hidden;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--primary);
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 14px;
    border: 1px solid rgba(19, 163, 85, 0.2);
}

.hero-title {
    font-size: clamp(48px, 5vw, 76px);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.product-info-pills {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.info-pill {
    background-color: var(--card-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 160px;
}

.pill-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pill-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-mockup {
    max-width: 300px;
}

.visual-decorator {
    position: absolute;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, var(--accent), transparent);
    border-radius: 50%;
    top: -10%;
    left: -10%;
    z-index: 1;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .product-info-pills {
        justify-content: center;
    }
}

/* Steps Section */
.steps-section {
    padding: 120px 0;
    background-color: var(--bg-neutral);
}

.section-header {
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-8px);
}

.card-variant-1 {
    background-color: #D0FFE1;
    border: 1px solid rgba(19, 163, 85, 0.1);
}

.card-variant-2 {
    background-color: #E6FDF1;
    border: 1px solid rgba(19, 163, 85, 0.15);
}

.card-variant-3 {
    background-color: var(--card-light);
    box-shadow: var(--shadow-sm);
    border: 2px solid #D0FFE1;
}

.step-mockup-wrapper {
    margin-bottom: 32px;
    width: 100%;
    max-width: 220px;
}

.small-mockup {
    border-width: 8px;
    border-radius: 32px;
}

.small-mockup::before {
    height: 12px;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.step-info h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.step-info p {
    color: var(--text-secondary);
    font-size: 15px;
}

@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
}

/* Features Section */
.features-section {
    padding: 120px 0;
    background-color: var(--bg-features);
    overflow: hidden;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-decorator-alt {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--logo-gradient);
    border-radius: 40px;
    transform: rotate(-5deg) scale(0.9);
    z-index: 1;
    opacity: 0.5;
}

.feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--icon-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.feature-text p {
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .features-container {
        grid-template-columns: 1fr;
    }
    
    .features-visual {
        order: -1;
        max-width: 340px;
        margin: 0 auto;
    }
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background-color: var(--bg-neutral);
}

.cta-box {
    background-color: var(--card-dark);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(135, 255, 179, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    color: var(--text-light);
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-desc {
    color: var(--text-accent);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Footer */
.site-footer {
    background-color: var(--bg-footer);
    color: var(--text-light);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 8px;
}

.company-name {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

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

/* Legal Pages */
.legal-container {
    padding-top: 60px;
    padding-bottom: 120px;
    max-width: 780px;
    margin: 0 auto;
}

#legal-privacy, #legal-terms {
    background-color: var(--card-light);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

#legal-privacy h2, #legal-terms h2 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--primary);
}

#legal-privacy h3, #legal-terms h3 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
}

#legal-privacy p, #legal-terms p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

#legal-privacy ul, #legal-terms ul {
    margin-bottom: 24px;
    padding-left: 24px;
    list-style: disc;
    color: var(--text-secondary);
}

#legal-privacy li, #legal-terms li {
    margin-bottom: 8px;
}

/* Dark Mode Adaptation (Subtle adjustments to maintain brand identity) */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-neutral: #1A211D;
        --bg-features: #121A16;
        --bg-header: #121A16;
        --card-light: #232C27;
        --text-main: #F0F4F2;
        --text-secondary: #A0AAB0;
    }
    
    .site-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: none;
    }
    
    .card-variant-3 {
        border-color: #2A3630;
    }
    
    .badge {
        background-color: rgba(19, 163, 85, 0.2);
    }
    
    .hamburger-line {
        background-color: var(--text-main);
    }
    
    #legal-privacy, #legal-terms {
        background-color: var(--card-light);
    }
}
