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

:root {
    /* Dark Premium Palette */
    --bg-color: #020617; /* Deepest Slate */
    --bg-secondary: #0f172a;
    --surface-color: rgba(30, 41, 59, 0.5); /* Glassy Slate */
    --surface-hover: rgba(51, 65, 85, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --primary-color: #6366f1; /* Indigo */
    --primary-glow: rgba(99, 102, 241, 0.4);
    --accent-color: #a855f7; /* Purple */
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --radius: 12px;
    --header-height: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--text-main); line-height: 1.2; }
p { color: var(--text-muted); font-size: 1.05rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img, video { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- ANIMATION UTILITIES (Triggered by JS) --- */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

/* 1. Zoom In */
.anim-zoom-in { transform: scale(0.8); }
.anim-zoom-in.is-visible { opacity: 1; transform: scale(1); }

/* 2. Slide Right (From Left) */
.anim-slide-right { transform: translateX(-100px); }
.anim-slide-right.is-visible { opacity: 1; transform: translateX(0); }

/* 3. Slide Left (From Right) */
.anim-slide-left { transform: translateX(100px); }
.anim-slide-left.is-visible { opacity: 1; transform: translateX(0); }

/* 4. Fade Up (Default) */
.anim-fade-up { transform: translateY(30px); }
.anim-fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* --- HEADER --- */
.header {
    height: var(--header-height);
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo img { height: 35px; width: auto; }

.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.desktop-nav a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.header-actions { display: flex; gap: 1rem; align-items: center; }

/* --- USER PROFILE DROPDOWN STYLES --- */
.user-profile-box {
    position: relative;
    margin-left: 1rem;
}

.profile-trigger {
    cursor: pointer;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 2px;
    transition: 0.3s;
}

.profile-trigger:hover {
    box-shadow: 0 0 15px var(--primary-glow);
}

.profile-trigger img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 220px;
    background: rgba(15, 23, 42, 0.95); /* Dark background */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    padding: 0.5rem;
    display: none; /* Hidden by default */
    flex-direction: column;
    z-index: 1000;
    transform-origin: top right;
    animation: scaleIn 0.2s ease-out;
}

.profile-dropdown.active {
    display: flex;
}

.dropdown-header {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.dropdown-header strong {
    display: block;
    color: white;
    font-size: 0.95rem;
}

.dropdown-header small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.profile-dropdown a {
    color: var(--text-muted);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
    text-decoration: none;
}

.profile-dropdown a:hover {
    background: var(--primary-color);
    color: white;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
/* Buttons */
.btn {
    padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; cursor: pointer;
    border: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: 0.3s;
}
.btn-primary {
    background: var(--gradient-main); color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px var(--primary-glow); }
.btn-secondary {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: white;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }

/* --- HERO SECTION (Video BG) --- */
.hero {
    position: relative; height: 100vh; min-height: 800px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2; opacity: 0.7;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 100%);
    background-color: rgba(2, 6, 23, 0.7); z-index: -1;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; padding-top: 60px; }

.badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background: rgba(99, 102, 241, 0.15); border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; letter-spacing: -2px; margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 1.25rem; margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* --- PREMIUM LAPTOP MOCKUP --- */
.hero-visual {
    position: relative;
    margin-top: 4rem;
    perspective: 1500px; /* 3D Depth */
    display: flex;
    justify-content: center;
}

/* The Main Laptop Body */
.laptop-mockup {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 10;
    transform-style: preserve-3d;
    transform: rotateX(5deg); /* Slight tilt for 3D effect */
    transition: transform 0.5s ease;
}

/* Hover Effect: Laptop stands up straight */
.laptop-mockup:hover {
    transform: rotateX(0deg) translateY(-10px);
}

.laptop-body {
    background: #0f172a; /* Dark Frame */
    border-radius: 16px;
    padding: 12px; /* Bezel width */
    box-shadow: 
        inset 0 0 0 2px #334155, /* Inner bezel outline */
        0 20px 50px rgba(0, 0, 0, 0.5); /* Drop shadow */
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Laptop Camera */
.camera {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 2px rgba(255,255,255,0.3);
    z-index: 20;
}

/* Screen Area */
.screen {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9; /* Maintain Laptop Ratio */
    border: 1px solid #1e293b;
}

.screen img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures GIF fills screen perfectly */
    display: block;
}

/* Glass Shine Overlay */
.glass-reflection {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(255,255,255,0.1) 0%, 
        rgba(255,255,255,0) 40%, 
        rgba(255,255,255,0) 100%
    );
    pointer-events: none;
    z-index: 5;
}

/* Bottom Base of Laptop */
.laptop-base {
    height: 12px;
    background: #1e293b;
    border-radius: 0 0 20px 20px;
    margin: 0 2%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.laptop-base::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 15%; height: 4px;
    background: #334155;
    border-radius: 0 0 4px 4px; /* Laptop opening notch */
}

/* --- AMBIENT GLOW ANIMATION --- */
.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(168, 85, 247, 0.2) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    opacity: 0.6;
    animation: breathe 4s infinite alternate;
}

@keyframes breathe {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .laptop-mockup { width: 100%; }
    .ambient-glow { width: 100%; filter: blur(40px); }
}
/* --- STATS SECTION --- */
.stats-section { padding: 4rem 0; border-bottom: 1px solid var(--border-color); background: var(--bg-secondary); }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; text-align: center; }
.stat-item h3 { font-size: 3rem; margin-bottom: 0.5rem; color: var(--primary-color); }
.stat-item p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* --- PREMIUM PROCESS SECTION --- */
.process-section {
    padding: 8rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Background Ambient Glow */
.process-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.process-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* The Card */
.process-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.process-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Big Background Number (01, 02, 03) */
.step-bg-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    font-family: 'Outfit', sans-serif;
    z-index: 0;
    transition: 0.3s;
}

.process-card:hover .step-bg-number {
    color: rgba(99, 102, 241, 0.1);
    transform: scale(1.1);
}

/* Glowing Icon Box */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Gradients for Icons */
.gradient-1 { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.gradient-2 { background: linear-gradient(135deg, #f43f5e, #f59e0b); }
.gradient-3 { background: linear-gradient(135deg, #10b981, #3b82f6); }

.process-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.process-card p {
    font-size: 1rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Connector Arrow */
.connector {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--border-color);
    padding-top: 2rem; /* Align with optical center */
}

/* Responsive */
@media (max-width: 900px) {
    .process-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .connector {
        transform: rotate(90deg);
        padding: 0;
        margin: -1rem 0; /* Tighten gap on mobile */
    }
    
    .process-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .step-bg-number {
        right: 50%;
        transform: translateX(50%);
        top: 10px;
    }
    .process-card:hover .step-bg-number {
        transform: translateX(50%) scale(1.1);
    }
}
/* --- FEATURE SPLITS (Slide Animations) --- */
.feature-section { padding: 8rem 0; overflow: hidden; }
.feature-split { display: flex; align-items: center; gap: 5rem; margin-bottom: 8rem; }
.feature-split.reversed { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.feature-text p { font-size: 1.1rem; margin-bottom: 2rem; }
.feature-list li { display: flex; gap: 1rem; margin-bottom: 1rem; color: var(--text-muted); }
.feature-list i { color: var(--accent-color); }
.feature-visual { flex: 1; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 1px solid var(--border-color); }

/* --- TEMPLATES SECTION (Restored functionality) --- */
.templates { padding: 6rem 0; background: var(--bg-secondary); }
.templates__controls { max-width: 800px; margin: 0 auto 3rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }

.search-wrapper { position: relative; width: 100%; max-width: 500px; }
#template-search {
    width: 100%; background: var(--bg-color); border: 1px solid var(--border-color);
    color: white; padding: 1rem 1rem 1rem 3rem; border-radius: 50px; font-size: 1rem;
}
.search-wrapper i { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.category-filters { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.filter-btn {
    background: var(--surface-color); border: 1px solid var(--border-color); color: var(--text-muted);
    padding: 0.5rem 1.2rem; border-radius: 20px; cursor: pointer; transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

.templates__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.template-card {
    background: var(--bg-color); border: 1px solid var(--border-color); border-radius: var(--radius);
    overflow: hidden; transition: 0.3s; display: flex; flex-direction: column;
}
.template-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.template-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.template-card h3 { padding: 1rem; margin: 0; font-size: 1.1rem; }
.template-card .btn { margin: 0 1rem 1rem; width: auto; justify-content: center; }

/* --- PRICING --- */
.pricing-section { padding: 6rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.pricing-card {
    background: var(--surface-color); border: 1px solid var(--border-color);
    padding: 3rem 2rem; border-radius: var(--radius); text-align: center; transition: 0.3s; position: relative;
}
.pricing-card:hover { transform: scale(1.05); border-color: var(--accent-color); z-index: 2; }
.pricing-card.featured { background: linear-gradient(180deg, rgba(99,102,241,0.1) 0%, var(--surface-color) 100%); border: 1px solid var(--primary-color); }
.price { font-size: 3rem; font-weight: 800; color: white; margin: 1rem 0; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

/* --- ELITE BIRD PROMO --- */
.elite-promo-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2px; /* For border gradient */
    border-radius: 16px;
    background: linear-gradient(90deg, #FFD700, #FDB931, #6366f1);
    position: relative;
    z-index: 10;
    box-shadow: 0 0 30px rgba(253, 185, 49, 0.2);
    animation: glow 3s infinite alternate;
}

.elite-promo-content {
    background: var(--bg-secondary);
    border-radius: 14px;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    text-align: left;
}

.elite-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
    background: linear-gradient(90deg, #FFD700, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 10px;
}

.elite-badge {
    color: rgb(134, 0, 151);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    font-family: "Dancing Script", cursive;
}

.slots-counter {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.slots-counter span {
    color: #ef4444; /* Red color for numbers to create urgency */
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(253, 185, 49, 0.2); }
    to { box-shadow: 0 0 25px rgba(253, 185, 49, 0.5); }
}

@media (max-width: 768px) {
    .elite-promo-content { flex-direction: column; text-align: center; }
    .elite-text h3 { justify-content: center; }
}
/* --- FAQ & FOOTER --- */
.faq { padding: 6rem 0; background: var(--bg-secondary); }
.faq-item { background: var(--surface-color); margin-bottom: 1rem; border-radius: var(--radius); border: 1px solid var(--border-color); }
.faq-item summary { padding: 1.5rem; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; }
.faq-item p { padding: 0 1.5rem 1.5rem; color: var(--text-muted); }

/* --- FINAL CTA ENHANCEMENTS --- */
.final-cta {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    /* Darker gradient background */
    background: radial-gradient(circle at center, #1e1b4b 0%, #020617 100%);
}

/* Background Glow Animation */
.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: 1;
    animation: pulseGlow 4s infinite alternate;
}

/* Avatars Styling */
.cta-avatars {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cta-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--bg-color); /* Matches bg to create cut effect */
    margin-left: -15px; /* Overlap effect */
    transition: transform 0.3s;
}

.cta-avatars img:first-child { margin-left: 0; }

.cta-avatars img:hover {
    transform: translateY(-5px) scale(1.1);
    z-index: 10;
}

.avatar-count {
    margin-left: 15px;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255,255,255,0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Button Group */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes pulseGlow {
    from { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@media (max-width: 768px) {
    .final-cta h2 { font-size: 2.5rem !important; }
    .cta-buttons { flex-direction: column; }
    .trust-badges { flex-direction: column; gap: 0.5rem !important; }
}
/* --- PREMIUM SITELINKS NAVIGATION --- */
.google-sitelinks-nav {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.sitelinks-list {
    list-style: none;
    display: flex;
    gap: 2.5rem; /* Links ke beech gap */
    padding: 0;
    margin: 0;
    align-items: center;
}

.sitelink-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Hover par text color change */
.sitelink-item:hover {
    color: #fff;
    transform: translateY(-2px); /* Halka sa lift effect */
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.5); /* Indigo glow */
}

/* Animated Underline Effect */
.sitelink-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
    border-radius: 2px;
}

.sitelink-item:hover::after {
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sitelinks-list {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sitelink-item {
        font-size: 0.85rem;
    }
}
/* --- FOOTER --- */
.footer { padding: 5rem 0 2rem; border-top: 1px solid var(--border-color); background: var(--bg-secondary); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.95rem; }
.footer-col h4 { color: white; margin-bottom: 1.5rem; }
/* Footer Specific Enhancements */
.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Subtle slide effect on hover */
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: white;
    transform: translateY(-3px);
}

.newsletter-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- MOBILE FOOTER FIX --- */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 1rem 2rem; /* Side padding kam kar di taaki space mile */
        height: auto; /* Height auto taaki content fit ho jaye */
        overflow: visible;
    }

    .footer-grid {
        /* Char columns ko stack karke 1 column bana diya */
        grid-template-columns: 1fr !important; 
        text-align: center;
        gap: 2.5rem; /* Columns ke beech gap */
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center; /* Logo aur text center kar diya */
    }

    .footer-brand a {
        justify-content: center;
    }

    .footer-col ul {
        padding: 0;
        list-style: none;
    }

    .footer-col ul li a:hover {
        padding-left: 0; /* Mobile par slide effect hata diya taaki text jump na kare */
        color: var(--primary-color);
    }

    .footer-bottom {
        flex-direction: column !important; /* Stack Copyright and Socials */
        text-align: center;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .footer-socials {
        justify-content: center; /* Social icons center alignment */
    }

    /* Newsletter box fix for mobile */
    .newsletter-box div {
        flex-direction: row; /* Input aur button ko ek hi line mein rakha */
        max-width: 320px;
        margin: 0 auto;
    }
    
    .newsletter-box input {
        font-size: 0.9rem;
    }
}

/* Extra small devices (iPhone SE etc) */
@media (max-width: 480px) {
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: white; cursor: pointer; }
.mobile-nav { 
    display: none; position: fixed; top: var(--header-height); left: 0; width: 100%; 
    background: var(--bg-secondary); border-bottom: 1px solid var(--border-color);
    padding: 1rem; flex-direction: column; gap: 1rem;
}
.mobile-nav.open { display: flex; animation: slideDown 0.3s ease; }
.mobile-nav a { color: white; padding: 0.5rem; border-bottom: 1px solid var(--border-color); }

@media (max-width: 768px) {
    .desktop-nav, .desktop-btn { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.8rem; }
    .feature-split, .feature-split.reversed { flex-direction: column; gap: 3rem; text-align: center; }
    .pricing-grid, .stats-grid { grid-template-columns: 1fr; }
}

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