/* 
   ========================================
   VARIABLES & CONFIG
   ========================================
*/
:root {
    /* Colors */
    --bg-main: #050b09;
    --bg-card: #0d1211;
    --bg-footer: #020505;
    --bg-nav: rgba(5, 11, 9, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-faq-item: rgba(255, 255, 255, 0.02);
    --bg-faq-item-hover: rgba(255, 255, 255, 0.05);
    
    --primary-green: #70d86e;
    --primary-green-dark: #4a7a52;
    --primary-green-hover: #558b5e;
    
    --text-white: #ffffff;
    --text-grey: #8b9593;
    --text-dark: #0b1f12;
    --text-muted: #aaa;
    
    --color-star: #f7b500;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-light: rgba(255, 255, 255, 0.05);
    
    /* Gradients */
    --grad-cta: linear-gradient(90deg, #8ae488 0%, #6bd968 100%);
    --grad-glow: radial-gradient(circle, rgba(48, 99, 58, 0.2) 0%, rgba(5, 11, 9, 0) 70%);
    --grad-floor: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    --grad-mask: linear-gradient(to bottom, transparent 0%, black 60%);
    --grad-icon-circle: linear-gradient(135deg, rgba(112, 216, 110, 0.1), transparent);
    
    /* Testimonial Mask */
    --grad-testi-mask: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    
    /* Spacing */
    --pad-section-desktop: 100px 80px;
    --pad-section-mobile: 60px 20px;
}

/* 
   ========================================
   RESET & GLOBAL
   ========================================
*/
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-main); color: var(--text-white); overflow-x: hidden; min-height: 100vh; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img.placeholder-img { width: 100%; height: auto; object-fit: contain; display: block; }
.placeholder-video, .map-container video { width: 100%; height: auto; display: block; max-width: 100%; }

/* SCROLL LOCK FOR MOBILE MENU */
html.no-scroll, body.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
}

/* Typography */
h1 { font-size: 4.5rem; line-height: 1.1; font-weight: 700; margin-bottom: 25px; letter-spacing: -1px; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 2rem; font-weight: 700; }
p.subtitle { color: var(--text-grey); font-size: 1rem; line-height: 1.6; margin-bottom: 30px; }
.highlight-green { color: var(--primary-green); }
.link-underline { text-decoration: underline; color: var(--text-white); }

/* 
   ========================================
   HEADER & NAV (DESKTOP)
   ========================================
*/
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 25px 80px; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    background: var(--bg-nav); 
    backdrop-filter: blur(10px); 
    border-bottom: 1px solid var(--color-border-light); 
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.1rem; }
.logo-icon { color: var(--primary-green); font-size: 1.4rem; }

/* Desktop Nav Config */
nav { display: flex; align-items: center; gap: 40px; }
.mobile-nav-header { display: none; } /* Hidden on Desktop */

nav ul { display: flex; gap: 40px; }
nav a { color: var(--text-white); font-size: 0.95rem; opacity: 0.9; transition: 0.3s; }
nav a:hover { color: var(--primary-green); }

.auth-buttons { display: flex; gap: 20px; align-items: center; }
.btn-text { color: var(--text-white); font-weight: 500; }
.btn-primary { background-color: var(--primary-green); color: var(--text-dark); padding: 10px 24px; border-radius: 6px; font-weight: 600; transition: 0.3s; }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

.mobile-menu-btn { display: none; } /* Hidden on Desktop */


/* 
   ========================================
   INDEX PAGE SECTIONS
   ========================================
*/

/* Hero Section */
.hero-container { display: grid; grid-template-columns: 1.1fr 1fr; padding: 60px 80px 0 80px; max-width: 1440px; margin: 0 auto; min-height: calc(100vh - 100px); align-items: center; position: relative; }
.bg-glow { position: absolute; top: -20%; left: 20%; width: 60%; height: 60%; background: var(--grad-glow); pointer-events: none; z-index: 0; }
.grid-floor {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 40vh;
    background-image: var(--grad-floor); background-size: 60px 60px;
    transform: perspective(1000px) rotateX(60deg) scale(2);
    mask-image: var(--grad-mask); -webkit-mask-image: var(--grad-mask);
    pointer-events: none; z-index: 0; transform-origin: center bottom;
}
.hero-content { position: relative; z-index: 2; padding-right: 40px; }
.hero-badge { display: inline-flex; gap: 10px; align-items: center; background: var(--color-border-light); padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; border: 1px solid var(--color-border-light); }
.hero-badge span { color: var(--text-muted); font-size: 0.9rem; }
.star-icon { font-size: 2.5rem; vertical-align: middle; }
.cta-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--grad-cta); color: var(--text-dark); padding: 16px 32px; border-radius: 12px; font-weight: 600; margin-bottom: 50px; box-shadow: 0 10px 20px rgba(107, 217, 104, 0.2); }
.hero-stats { display: flex; gap: 20px; font-weight: 700; }
.hero-stats span { font-weight: 400; color: #888; margin-left: 5px; }
.stat-divider { width: 1px; background: #555; transform: rotate(20deg); }
.hero-visuals { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; }

/* Partners */
.partners-section { padding: 30px 0; border-bottom: 1px solid var(--color-border); margin-bottom: 40px; position: relative; z-index: 2; }
.partners-logos { display: flex; justify-content: center; gap: 60px; align-items: center; flex-wrap: wrap; opacity: 0.6; }
.partner { font-weight: 700; font-size: 1.3rem; display: flex; gap: 8px; align-items: center; color: var(--text-white); }

/* Global Map */
.global-section { padding: var(--pad-section-desktop); display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; }
.global-stats { display: flex; gap: 50px; margin-top: 40px; }
.stat-item h3 { font-size: 2rem; margin-bottom: 5px; }
.stat-item p { font-size: 0.85rem; color: var(--text-grey); max-width: 100px; line-height: 1.4; }
.map-container { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* Features */
.features-section { padding: var(--pad-section-desktop); text-align: center; }
.features-header { max-width: 700px; margin: 0 auto 60px auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--bg-glass); border: 1px solid var(--color-border); padding: 40px 30px; border-radius: 16px; transition: transform 0.3s ease, border-color 0.3s; display: flex; flex-direction: column; align-items: center; }
.feature-card:hover { border-color: var(--primary-green); transform: translateY(-10px); }
.feature-icon-circle { width: 80px; height: 80px; border-radius: 50%; background: var(--grad-icon-circle); border: 1px solid rgba(112, 216, 110, 0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 2rem; color: var(--primary-green); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 15px; }
.feature-card p { color: var(--text-grey); font-size: 0.9rem; line-height: 1.6; }

/* FAQ Section (Accordion) */
.faq-section { padding: var(--pad-section-desktop); display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: var(--bg-faq-item); border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer; transition: all 0.3s; overflow: hidden; }
.faq-question-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; }
.faq-item:hover { background: var(--bg-faq-item-hover); }
.faq-question { font-weight: 600; font-size: 0.95rem; }
.faq-icon { font-size: 0.8rem; color: var(--text-grey); transition: transform 0.3s ease-out; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; padding: 0 25px; }
.faq-answer p { color: var(--text-grey); line-height: 1.6; font-size: 0.9rem; }
/* Active FAQ State */
.faq-item.active { border-color: var(--primary-green); }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; transition: max-height 0.4s ease-in, padding 0.4s ease-in; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Testimonials (Infinite Scroll) */
.testimonials-section { padding: var(--pad-section-desktop); }
.testi-header { text-align: center; margin-bottom: 60px; }
.testi-layout { max-width: 1000px; margin: 0 auto; height: 600px; position: relative; }
.testi-mask-container { height: 100%; overflow: hidden; position: relative; mask-image: var(--grad-testi-mask); -webkit-mask-image: var(--grad-testi-mask); }
.testi-moving-track { display: flex; flex-direction: column; gap: 30px; animation: verticalScroll 30s linear infinite; }
.testi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testi-card { background: var(--bg-card); border: 1px solid var(--color-border); padding: 30px; border-radius: 12px; text-align: center; position: relative; }
@keyframes verticalScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
.user-avatar { width: 60px; height: 60px; border-radius: 50%; margin: -60px auto 15px auto; border: 3px solid var(--bg-main); object-fit: cover; background-color: #222; }
.user-name { font-weight: 700; margin-bottom: 4px; font-size: 1.1rem; }
.user-company { font-size: 0.8rem; color: var(--text-grey); margin-bottom: 20px; }
.user-quote { font-size: 0.9rem; color: #ccc; margin-bottom: 20px; line-height: 1.6; font-style: italic; }
.stars { color: var(--color-star); font-size: 0.8rem; letter-spacing: 2px; }

/* App CTA */
.app-section { padding: var(--pad-section-desktop); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; background: radial-gradient(circle at 80% 50%, rgba(48, 99, 58, 0.15), transparent 50%); }
.app-btn { display: inline-flex; align-items: center; background: var(--primary-green-dark); color: #fff; padding: 12px 24px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; transition: background 0.3s; }
.app-btn:hover { background: var(--primary-green-hover); }
.app-arrow { margin-left: 8px; }
.phones-container { width: 100%; display: flex; justify-content: center; align-items: center; }

/* Footer */
footer { background: var(--bg-footer); padding: 80px 80px 30px 80px; border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 60px; }
.footer-brand h3 { color: var(--text-white); margin-bottom: 15px; }
.footer-brand p { color: var(--text-grey); font-size: 0.9rem; line-height: 1.5; }
.footer-col h4 { color: var(--text-grey); font-size: 0.8rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #ccc; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-green); }
.store-btn { display: flex; align-items: center; gap: 10px; background: #000; border: 1px solid #333; padding: 8px 15px; border-radius: 6px; color: #fff; margin-bottom: 10px; width: fit-content; transition: 0.3s; }
.store-btn:hover { border-color: #fff; }
.store-text { display: flex; flex-direction: column; }
.store-small { font-size: 0.6rem; }
.store-large { font-size: 0.9rem; font-weight: 600; }
.footer-copyright { text-align: center; font-size: 0.8rem; color: #555; padding-top: 20px; border-top: 1px solid #111; }


/* 
   ========================================
   SERVICES PAGE STYLES
   ========================================
*/

/* Page Hero */
.page-hero {
    padding: 120px 20px 60px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}
.page-hero-content { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }

/* Zig-Zag Section (Wide Layout) */
.zigzag-section {
    padding: 100px 5%; /* 5% padding for width */
    max-width: 1600px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.zigzag-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Text slightly wider */
    gap: 60px;
    align-items: center;
}
.zigzag-image img { width: 100%; height: auto; display: block; }
.zigzag-row.reversed .zigzag-content { order: 2; }
.zigzag-row.reversed .zigzag-image { order: 1; }
.zigzag-content h3 { font-size: 2.2rem; margin-bottom: 20px; }
.zigzag-content p { color: var(--text-grey); line-height: 1.7; margin-bottom: 25px; }

/* Service List */
.service-list { margin-bottom: 30px; }
.service-list li { margin-bottom: 15px; display: flex; align-items: center; gap: 15px; color: var(--text-white); font-weight: 500; }
.service-list li i { color: var(--primary-green); background: rgba(112, 216, 110, 0.1); padding: 5px; border-radius: 50%; font-size: 0.8rem; flex-shrink: 0; }

.text-btn { color: var(--primary-green); font-weight: 600; border-bottom: 1px solid transparent; transition: 0.3s; }
.text-btn:hover { border-bottom: 1px solid var(--primary-green); gap: 10px; }
.rounded-img { border-radius: 20px; border: 1px solid var(--color-border); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }

/* Grid Section */
.services-grid-section { padding: 100px 5%; background: var(--bg-card); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section-header-center { text-align: center; max-width: 600px; margin: 0 auto 60px auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.service-box { background: var(--bg-main); border: 1px solid var(--color-border); padding: 40px 30px; border-radius: 12px; transition: 0.3s; }
.service-box:hover { transform: translateY(-5px); border-color: var(--primary-green); }
.icon-box { width: 60px; height: 60px; background: var(--bg-faq-item); display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--primary-green); font-size: 1.5rem; margin-bottom: 20px; }
.service-box h4 { font-size: 1.3rem; margin-bottom: 10px; }
.service-box p { color: var(--text-grey); font-size: 0.9rem; line-height: 1.6; }

/* CTA Banner */
.cta-banner { padding: 80px 20px; display: flex; justify-content: center; }
.cta-box { background: radial-gradient(circle at center, #1a2620 0%, #0d1211 100%); border: 1px solid var(--color-border); padding: 60px; border-radius: 24px; text-align: center; max-width: 900px; width: 100%; }
.cta-buttons { margin-top: 30px; display: flex; gap: 20px; justify-content: center; }
.btn-outline { border: 1px solid var(--color-border); color: var(--text-white); padding: 10px 24px; border-radius: 6px; font-weight: 600; transition: 0.3s; display: inline-block; }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--text-white); }


/* ==========================
   ABOUT PAGE STYLES
   ========================== */

/* 1. About Hero */
.about-hero {
    padding: 100px 5% 40px 5%;
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto 60px auto;
    position: relative;
    z-index: 2;
}

.about-hero-img-container {
    width: 100%;
    margin-top: 40px;
}

/* 2. Mission Section */
.mission-section {
    padding: 100px 5%;
    border-bottom: 1px solid var(--color-border);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Text takes more space */
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.mission-text p {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.mission-stats {
    display: flex;
    gap: 50px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.m-stat {
    display: flex;
    flex-direction: column;
}

.m-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.m-label {
    font-size: 0.9rem;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.floating-logo-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    position: relative;
}
.floating-logo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad-glow);
    opacity: 0.5;
    border-radius: 20px;
}

/* 3. Values Section */
.values-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header-left {
    margin-bottom: 50px;
    max-width: 600px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
    gap: 30px;
}

.value-card {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    transition: 0.3s;
}

.value-card:hover {
    border-color: var(--primary-green);
    background: rgba(112, 216, 110, 0.03);
}

.v-icon {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* 4. Team Section */
.team-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, var(--bg-main), var(--bg-footer));
    border-top: 1px solid var(--color-border);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(100%); /* Stylish B&W effect */
    transition: 0.3s;
}

.team-card:hover img {
    filter: grayscale(0%); /* Color on hover */
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-white);
}

.team-info span {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-socials a {
    color: var(--text-grey);
    font-size: 1.1rem;
    transition: 0.2s;
}

.team-socials a:hover {
    color: var(--text-white);
}

/* ==========================
   PRICING PAGE STYLES
   ========================== */

/* 1. Pricing Hero */
.pricing-hero {
    padding: 100px 5% 40px 5%;
    text-align: center;
    position: relative;
}

.pricing-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Toggle Switch */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    font-weight: 600;
    font-size: 1.1rem;
}

.toggle-label {
    color: var(--text-grey);
    transition: 0.3s;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text-white);
}

.discount-badge {
    background: var(--primary-green);
    color: var(--text-dark);
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.toggle-switch {
    width: 60px;
    height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.switch-circle {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Active state for switch */
.toggle-switch.active .switch-circle {
    transform: translateX(28px);
}

/* 2. Pricing Cards */
.pricing-section {
    padding: 60px 5% 100px 5%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start; /* Ensures cards don't stretch weirdly */
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

/* Middle "Popular" Card Styles */
.pricing-card.popular {
    border-color: var(--primary-green);
    background: rgba(112, 216, 110, 0.02);
    box-shadow: 0 10px 40px rgba(112, 216, 110, 0.1);
    transform: scale(1.05); /* Slightly bigger */
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.card-header p {
    color: var(--text-grey);
    font-size: 0.9rem;
    min-height: 45px; /* Align heights */
}

.card-price {
    margin: 30px 0;
    display: flex;
    align-items: baseline;
}

.currency { font-size: 1.5rem; font-weight: 600; margin-right: 2px; }
.amount { font-size: 3.5rem; font-weight: 700; color: var(--text-white); }
.period { color: var(--text-grey); margin-left: 5px; }

.full-width {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 30px;
}

.pricing-features {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}

.pricing-features li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.pricing-features li i {
    color: var(--primary-green);
}

.pricing-features li.disabled {
    color: #555;
    text-decoration: line-through;
}
.pricing-features li.disabled i {
    color: #555;
}

/* 3. Comparison Table */
.compare-section {
    padding: 50px 5% 100px 5%;
    background: #080d0c; /* Slightly different shade */
    border-top: 1px solid var(--color-border);
}

.table-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto; /* Allows scroll on mobile */
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--bg-card);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Forces scroll if screen is too small */
}

.compare-table th, 
.compare-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
}

.compare-table th {
    background: rgba(255,255,255,0.03);
    color: var(--text-white);
    font-size: 1.1rem;
}

.feature-name {
    text-align: left !important;
    font-weight: 600;
    color: #ddd;
}

.compare-table td {
    color: var(--text-grey);
}

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

.compare-table tr:last-child td {
    border-bottom: none;
}


/* 
   ========================================
   RESPONSIVE MEDIA QUERIES
   ========================================
*/

@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    .hero-container { grid-template-columns: 1fr; text-align: center; height: auto; padding-top: 100px; }
    .hero-content { padding-right: 0; margin-bottom: 50px; }
    .hero-stats { justify-content: center; }
    .hero-visuals { margin-bottom: 50px; }
    
    .global-section, .app-section { grid-template-columns: 1fr; text-align: center; }
    
    /* FAQ LEFT ALIGN FIX */
    .faq-section { grid-template-columns: 1fr; text-align: left; }
    
    .global-stats { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .testi-mask-container { height: 500px; }

    /* Services Specific */
    .zigzag-row { grid-template-columns: 1fr; gap: 40px; text-align: left !important; }
    .zigzag-row.reversed .zigzag-content { order: 0; }
    .zigzag-row.reversed .zigzag-image { order: 1; }
    .service-list li { justify-content: flex-start; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    /* About Specific */
    .mission-grid { grid-template-columns: 1fr; gap: 50px; }
    .floating-logo-card { height: 300px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Pricing Specific */
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; }
    .pricing-card.popular { transform: scale(1); order: -1; }
}

@media (max-width: 768px) {
    /* === GENERAL LAYOUT ADJUSTMENTS === */
    header { padding: 20px; justify-content: space-between; position: sticky; top: 0; background: rgba(5, 11, 9, 0.95); }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 4000;
        color: #fff;
        transition: transform 0.3s ease;
    }

    /* Rotate X icon state */
    .mobile-menu-btn.open { transform: rotate(90deg); }
    .mobile-menu-btn.open i::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; }

    /* === MOBILE NAVIGATION DRAWER (CONSOLIDATED) === */
    nav {
        position: fixed;
        top: 0;
        left: 0;
        /* Dynamic viewport height to prevent gaps */
        height: 100vh;
        height: 100dvh;
        width: 80%; 
        max-width: 320px;
        background: #111514;
        padding: 0;
        
        /* Start hidden to the LEFT (-100%) */
        transform: translateX(-100%); 
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        
        z-index: 3000;
        display: flex !important;
        flex-direction: column;
        
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        border-right: 1px solid var(--color-border); 
        
        overflow-y: auto; /* Internal scroll */
    }

    nav.active {
        transform: translateX(0); /* SLIDE IN */
    }

    .mobile-nav-header {
        padding: 25px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        width: 100%;
    }

    nav ul li { border-bottom: 1px solid var(--color-border-light); }
    
    nav ul li a {
        display: block;
        font-size: 1.1rem;
        padding: 15px 0;
        color: #ccc;
        transition: 0.3s;
    }
    
    nav ul li a:hover {
        color: var(--primary-green);
        padding-left: 10px;
    }

    /* Auth Buttons in Mobile */
    .auth-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 15px;
        margin-top: auto;
        padding: 25px;
    }

    .auth-buttons .btn-text {
        text-align: center;
        border: 1px solid var(--color-border);
        padding: 12px;
        border-radius: 8px;
        display: block;
    }

    .auth-buttons .btn-primary {
        text-align: center;
        width: 100%;
        display: block;
        justify-content: center;
    }

    /* === PAGE SPECIFIC MOBILE ADJUSTMENTS === */
    .hero-container { padding: 100px 20px 0 20px; }
    .global-section, .features-section, .faq-section, .testimonials-section, .app-section, footer { padding: var(--pad-section-mobile); }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
    
    .global-stats { flex-direction: row; flex-wrap: wrap; justify-content: space-evenly; gap: 20px; }
    .stat-item { text-align: center; flex: 1 1 100px; }
    
    .testi-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); text-align: left; gap: 50px 30px; }
    .store-btn { margin: 0 0 10px 0; }
    
    .partners-logos { gap: 30px; }

    /* Services Page Mobile */
    .page-hero { text-align: left; padding: 100px 20px 40px 20px; }
    .page-hero-content { margin: 0; }
    .zigzag-section { padding: 40px 20px; gap: 60px; }
    .section-header-center { text-align: left; margin-bottom: 30px; }
    .grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .services-grid-section { padding: 60px 20px; }
    .cta-box { text-align: left; padding: 30px 20px; }
    .cta-buttons { flex-direction: column; align-items: stretch; gap: 15px; }
    .cta-buttons .btn-primary, .cta-buttons .btn-outline { text-align: center; width: 100%; }

    /* About Page Mobile */
    .about-hero { padding: 100px 20px 40px 20px; text-align: left; }
    .about-hero-content { margin: 0; }
    .mission-section, .values-section, .team-section { padding: 60px 20px; }
    .values-grid { grid-template-columns: 1fr; }
    .mission-stats { flex-wrap: wrap; gap: 30px; }
    .m-stat { flex: 1 1 120px; }
    .team-grid { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
    .team-info { text-align: left; }
    .team-socials { justify-content: flex-start; }

    /* Pricing Page Mobile */
    .pricing-hero { text-align: left; padding: 100px 20px 40px 20px; }
    .billing-toggle { justify-content: flex-start; }
    .pricing-section { padding: 40px 20px; }
    .pricing-card { text-align: left; padding: 30px 20px; }
    .popular-badge { left: 20px; transform: none; border-radius: 4px; }
    .pricing-features li { justify-content: flex-start; }
    .compare-section { padding: 40px 20px; }
}

/* Desktop Nav Adjustment (Keep this to ensure Desktop looks right) */
@media (min-width: 769px) {
    nav {
        display: flex;
        align-items: center;
        gap: 40px;
    }
    .mobile-nav-header {
        display: none;
    }
}