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

/* ==========================================
   1. DESIGN SYSTEM & CSS VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --primary: #15803d;         /* Premium Forest Green */
    --primary-light: #22c55e;   /* Vibrant Lime/Spring Green */
    --primary-dark: #166534;    /* Deep Jungle Green */
    --primary-accent: #dcfce7;  /* Soft Green Tint */
    
    --secondary: #eab308;       /* Sunshine Yellow Accent */
    --secondary-hover: #ca8a04;
    
    --text-main: #1e293b;       /* Sleek Charcoal Slate */
    --text-muted: #64748b;      /* Elegant Gray */
    --text-white: #ffffff;
    
    --bg-main: #fafaf9;         /* Warm Stone White */
    --bg-card: #ffffff;
    --bg-footer: #0f172a;       /* Sophisticated Navy Black */
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 25px -5px rgba(21, 128, 61, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -15px rgba(21, 128, 61, 0.15);
    
    /* Typography Scales */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Smooth Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Board Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Layout Constants */
    --nav-height: 80px;
    --container-width: 1200px;
}

/* Dark mode fallback if preferred */
@media (prefers-color-scheme: dark) {
    /* Kept light & fresh as requested by branding, but soft elements applied */
}

/* ==========================================
   2. RESET & BASE PROPERTIES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==========================================
   3. LAYOUT & REUSABLE UTILITIES
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 128, 61, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 179, 8, 0.3);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Badge Headers */
.badge-header {
    background-color: var(--primary-accent);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

/* Heading Typography */
.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
    text-align: center;
}

/* ==========================================
   4. NAVIGATION BAR
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: var(--transition-fast);
}

.header.sticky {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary-light);
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-weight: 550;
    color: var(--text-muted);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-main);
}

/* ==========================================
   5. HERO SECTION
   ========================================== */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    background: radial-gradient(circle at 80% 20%, var(--primary-accent) 0%, transparent 60%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

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

.visual-backdrop {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-accent) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
}

.floating-card-wrapper {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

/* Premium Branded Graphic */
.premium-logo-graphic {
    width: 320px;
    height: 320px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(21, 128, 61, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.premium-logo-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
}

.graphic-icon {
    width: 120px;
    height: 120px;
    background: var(--primary-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
}

.graphic-icon svg {
    width: 64px;
    height: 64px;
    fill: var(--primary);
}

.graphic-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.graphic-tagline {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

.floating-badge {
    position: absolute;
    background-color: var(--secondary);
    color: var(--text-main);
    font-weight: 800;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    bottom: 24px;
    right: -20px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: rotate(6deg);
    animation: hover-pulse 2s infinite;
}

/* ==========================================
   6. FEATURE CARDS SECTION
   ========================================== */
.features {
    background-color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-main);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 128, 61, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-accent);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.feature-card-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

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

/* ==========================================
   7. CATEGORIES DISPLAY (INTERACTIVE)
   ========================================== */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

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

.tab-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.category-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(21, 128, 61, 0.08);
}

.product-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
    display: inline-block;
    transition: var(--transition-fast);
}

.product-card:hover .product-emoji {
    transform: scale(1.1) rotate(5deg);
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.product-tag {
    background-color: var(--primary-accent);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 16px;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 16px;
}

.product-price {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.product-action {
    background-color: var(--primary);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.product-action:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

/* ==========================================
   8. PROMO & APP DOWNLOAD SECTION
   ========================================== */
.promo {
    background-color: var(--primary-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.promo-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 24px;
}

.promo-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
}

.promo-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.promo-links {
    display: flex;
    gap: 16px;
}

.download-btn {
    background-color: var(--bg-card);
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.download-text {
    text-align: left;
}

.download-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.download-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.promo-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-backdrop {
    position: absolute;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.mockup-visual {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    width: 250px;
    height: 480px;
    border-radius: 36px;
    border: 8px solid #1e293b;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    background-color: var(--primary);
    color: var(--text-white);
    padding: 24px 16px 16px 16px;
    text-align: center;
}

.mockup-body {
    flex: 1;
    background-color: var(--bg-main);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-item {
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.mockup-circle {
    width: 32px;
    height: 32px;
    background-color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-line {
    flex: 1;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
}

.mockup-line-short {
    width: 60%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
}

/* ==========================================
   9. POLICY STYLING (privacy.html)
   ========================================== */
.policy-page {
    padding-top: 140px;
    padding-bottom: 100px;
}

.policy-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.policy-title {
    font-size: 3rem;
    margin-bottom: 8px;
}

.policy-meta {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 20px;
}

.policy-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.policy-section {
    margin-top: 48px;
}

.policy-section h2 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-section p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Modern Interactive Contact Card inside Policy Page */
.contact-card {
    background: radial-gradient(circle at 100% 0%, var(--primary-accent) 0%, transparent 60%);
    background-color: #ffffff;
    border-radius: var(--radius-md);
    padding: 40px;
    margin-top: 60px;
    border: 2px solid var(--primary-accent);
    box-shadow: var(--shadow-sm);
}

.contact-card-title {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-card-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-accent);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-details {
    display: flex;
    flex-direction: column;
}

.contact-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-info-value {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* ==========================================
   10. FOOTER
   ========================================== */
.footer {
    background-color: var(--bg-footer);
    color: #94a3b8;
    padding: 80px 0 40px 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    color: var(--text-white);
}

.footer-desc {
    line-height: 1.6;
}

.footer-title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-link a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-news {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form {
    display: flex;
    width: 100%;
}

.newsletter-input {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-white);
    font-family: inherit;
    flex: 1;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--primary-light);
}

.newsletter-btn {
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0 20px;
    font-weight: 600;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* ==========================================
   11. KEYFRAMES & MICRO-ANIMATIONS
   ========================================== */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes hover-pulse {
    0% {
        transform: rotate(6deg) scale(1);
    }
    50% {
        transform: rotate(6deg) scale(1.05);
    }
    100% {
        transform: rotate(6deg) scale(1);
    }
}

/* ==========================================
   12. RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-grid {
        gap: 30px;
    }
    .promo-grid {
        gap: 40px;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        gap: 36px;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-sm);
        z-index: 999;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .promo-title {
        font-size: 2.2rem;
    }
    
    .promo-links {
        justify-content: center;
    }
    
    .policy-card {
        padding: 32px 24px;
    }
    
    .policy-title {
        font-size: 2.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
