/* =========================================
   CSS VARIABLES & RESET
========================================= */
:root {
    /* Sage Greens */
    --sage-100: #e8ede6;
    --sage-200: #c8d4c4;
    --sage-300: #a4b39f;
    --sage-400: #8f9f88;
    --sage-500: #7d8f78;
    --sage-600: #6b7d66;
    --sage-700: #52634d;
    --sage-800: #3d4a39;

    /* Creams & Neutrals */
    --cream-50: #fdfcf9;
    --cream-100: #f9f6f0;
    --cream-200: #f3efe5;
    --cream-300: #eae4d6;
    --cream-400: #ddd5c2;
    --white: #ffffff;

    /* Semantic */
    --text-main: #2b332a;
    --text-secondary: #4a5548;
    --text-muted: #7a8577;

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.55);
    --glass-bg-strong: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(125, 143, 120, 0.15);

    /* Shadows */
    --shadow-xs: 0 2px 8px rgba(82, 99, 77, 0.06);
    --shadow-sm: 0 4px 16px rgba(82, 99, 77, 0.08);
    --shadow-md: 0 8px 30px rgba(82, 99, 77, 0.1);
    --shadow-lg: 0 15px 50px rgba(82, 99, 77, 0.12);
    --shadow-hover: 0 20px 60px rgba(82, 99, 77, 0.18);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--cream-100) 0%, var(--sage-100) 40%, var(--cream-200) 70%, var(--sage-200) 100%);
    --gradient-eco: linear-gradient(180deg, var(--cream-50) 0%, var(--sage-100) 50%, var(--cream-100) 100%);
    --gradient-about: linear-gradient(135deg, var(--sage-700) 0%, var(--sage-500) 50%, var(--sage-600) 100%);
    --gradient-contact: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
    --gradient-footer: linear-gradient(180deg, var(--sage-800) 0%, var(--sage-700) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.7) 0%, rgba(232,237,230,0.4) 100%);

    /* Misc */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--cream-100);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

/* =========================================
   TYPOGRAPHY & UTILITIES
========================================= */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--sage-500), var(--sage-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(125, 143, 120, 0.12);
    color: var(--sage-600);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(125, 143, 120, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--sage-600), var(--sage-700));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(125, 143, 120, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--sage-600);
    border: 2px solid var(--sage-300);
}

.btn-outline:hover {
    background: var(--sage-100);
    border-color: var(--sage-500);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =========================================
   TOP NAVIGATION (DESKTOP)
========================================= */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(249, 246, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(125, 143, 120, 0.1);
    transition: var(--transition);
}

.top-nav.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 30px;
}

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

.logo .logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.logo h1, .logo h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--sage-500);
}

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

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

.nav-links a:hover, .nav-links a.active {
    color: var(--sage-600);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage-400), var(--sage-600));
    transition: var(--transition);
    border-radius: 3px;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    padding: 150px 30px 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(125, 143, 120, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200, 212, 196, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(234, 228, 214, 0.15) 0%, transparent 60%);
    z-index: 1;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(125, 143, 120, 0.12);
    color: var(--sage-600);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(125, 143, 120, 0.2);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    padding: 20px 40px;
    box-shadow: var(--shadow-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--sage-600);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-400);
}

/* Hero Decorations */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(125, 143, 120, 0.12) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    animation: float-slow 8s ease-in-out infinite;
}

.circle-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(200, 212, 196, 0.2) 0%, transparent 70%);
    bottom: -50px;
    right: -80px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(234, 228, 214, 0.25) 0%, transparent 70%);
    top: 40%;
    right: 15%;
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* =========================================
   ECOSYSTEM / SWITCHER SECTION
========================================= */
.ecosystem-section {
    background: var(--gradient-eco);
    position: relative;
    padding: 100px 0;
}

.ecosystem-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* Tabs */
.switcher-wrapper {
    margin-bottom: 50px;
}

.switcher-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--glass-bg-strong);
    padding: 8px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    background: transparent;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 0.9rem;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--sage-600);
    background: rgba(125, 143, 120, 0.08);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(125, 143, 120, 0.35);
}

/* Tab Content & Cards */
.tab-content-container {
    min-height: 350px;
}

.tab-pane {
    display: none;
    animation: tabSlideIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.brand-card {
    background: var(--gradient-card);
    border: 1px solid rgba(125, 143, 120, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sage-400), var(--sage-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--glass-bg-strong);
    border-color: rgba(125, 143, 120, 0.2);
}

.brand-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sage-100), var(--cream-200));
    color: var(--sage-600);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    transition: var(--transition);
    border: 1px solid rgba(125, 143, 120, 0.1);
}

.brand-card:hover .card-icon {
    background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
    color: var(--white);
    transform: scale(1.08) rotate(3deg);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(125, 143, 120, 0.3);
}

.brand-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 700;
}

.brand-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--sage-100);
    color: var(--sage-600);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about-section {
    background: var(--gradient-about);
    padding: 100px 30px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-text .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--cream-200);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-text > p {
    color: var(--sage-200);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(6px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--cream-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.feature-item h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--sage-200);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-section {
    background: var(--gradient-contact);
    padding: 100px 30px;
    text-align: center;
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-section > .contact-inner > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--glass-bg-strong);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sage-100), var(--cream-200));
    color: var(--sage-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
    color: var(--white);
}

.contact-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

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

/* =========================================
   FOOTER
========================================= */
.main-footer {
    background: var(--gradient-footer);
    color: var(--sage-200);
}

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

.footer-top {
    padding: 70px 0 50px;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

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

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

.footer-brand .logo span {
    color: var(--sage-300);
}

.footer-brand .logo .logo-icon {
    background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
}

.footer-brand > p {
    color: var(--sage-300);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 280px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--sage-300);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--sage-500);
    color: var(--white);
    border-color: var(--sage-500);
    transform: translateY(-3px);
}

.footer-links-group h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-group li a {
    color: var(--sage-300);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links-group li a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--sage-300);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--sage-300);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* =========================================
   BOTTOM NAVIGATION (MOBILE)
========================================= */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(249, 246, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(125, 143, 120, 0.12);
    box-shadow: 0 -4px 30px rgba(82, 99, 77, 0.08);
    z-index: 1000;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    transition: var(--transition);
    flex: 1;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-item i {
    font-size: 1.15rem;
    transition: var(--transition);
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.nav-item.active {
    color: var(--sage-600);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage-400), var(--sage-600));
    border-radius: 0 0 3px 3px;
}

.nav-item.active i {
    transform: translateY(-1px);
}

.nav-item:hover {
    color: var(--sage-500);
}

/* =========================================
   SCROLL ANIMATIONS
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* =========================================
   MODAL POPUP
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 53, 41, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--glass-bg-strong);
    border: 1px solid rgba(125, 143, 120, 0.25);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    box-shadow: 0 20px 50px rgba(43, 53, 41, 0.15);
    padding: 40px;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--sage-100);
    border: none;
    color: var(--sage-700);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(125, 143, 120, 0.1);
}

.modal-close-btn:hover {
    background: var(--sage-500);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(125, 143, 120, 0.1);
    padding-bottom: 20px;
}

.modal-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(125, 143, 120, 0.25);
}

.modal-title-group h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.modal-tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--sage-100);
    color: var(--sage-600);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.modal-body {
    margin-bottom: 35px;
}

.modal-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.modal-footer {
    display: flex;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

@media (max-width: 576px) {
    .modal-card {
        padding: 30px 24px;
    }
    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* =========================================
   RESPONSIVE LAYOUTS (MEDIA QUERIES)
========================================= */
@media (max-width: 1024px) {
    .footer-top .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }
}

@media (max-width: 768px) {
    /* --- TOP NAV --- */
    .top-nav .nav-links, .top-nav .nav-actions {
        display: none;
    }

    .nav-container {
        justify-content: center;
        padding: 12px 20px;
    }

    /* --- BOTTOM NAV --- */
    .bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 75px;
    }

    /* --- HERO --- */
    .hero {
        padding: 120px 20px 70px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        gap: 20px;
        padding: 16px 24px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* --- ECOSYSTEM --- */
    .ecosystem-section {
        padding: 70px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Mobile Switcher - Horizontal scroll pills */
    .switcher-wrapper {
        margin: 0 -30px 40px;
        padding: 0 20px;
    }

    .switcher-container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding: 6px;
        border-radius: var(--radius-lg);
    }

    .switcher-container::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        padding: 12px 18px;
        font-size: 0.85rem;
        border-radius: var(--radius-md);
        flex-direction: column;
        gap: 4px;
    }

    .tab-btn i {
        font-size: 1.1rem;
    }

    .tab-btn span {
        font-size: 0.75rem;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .brand-card {
        padding: 24px;
        border-radius: var(--radius-md);
    }

    /* --- ABOUT --- */
    .about-section {
        padding: 70px 20px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .feature-item {
        padding: 18px 20px;
    }

    /* --- CONTACT --- */
    .contact-section {
        padding: 70px 20px;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* --- FOOTER --- */
    .footer-top {
        padding: 50px 0 40px;
    }

    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Add margin to avoid bottom nav overlap */
    .main-footer {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        flex-direction: row;
        gap: 16px;
        padding: 14px 20px;
        width: 100%;
        justify-content: center;
    }

    .stat-divider {
        height: 30px;
    }
}
