/* style.css */

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

/* UTILITIES */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.section-padding { padding: 100px 0; }

/* TYPOGRAPHY */
h1, h2, h3 { font-family: var(--font-heading); color: #e6f1ff; font-weight: 700; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-subtitle { color: var(--accent); font-family: monospace; font-size: 1rem; margin-bottom: 20px; display: block; }

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    text-align: center;
}
.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
}
.btn-outline:hover { background: rgba(100, 255, 218, 0.1); }
.btn-solid {
    background: var(--accent);
    color: var(--bg);
    border: 1px solid var(--accent);
}
.btn-solid:hover { opacity: 0.9; }

/* HEADER (Glassmorphism) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 12, 27, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; color: #fff; }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-link { color: var(--text); font-size: 0.9rem; }
.nav-link:hover { color: var(--accent); }
.mobile-toggle { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 70%);
}

/* TRUST GRID */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 50px;
}
.trust-item h3 { font-size: 2.5rem; color: var(--accent); margin-bottom: 5px; }
.trust-item p { font-size: 0.9rem; color: var(--muted); }

/* PRICING CARDS */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.price-card {
    background: var(--card);
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid transparent;
    position: relative;
}
.price-card:hover { transform: translateY(-10px); border-color: var(--accent); }
.price-amount { font-size: 2.5rem; font-weight: 700; color: #fff; margin: 20px 0; }
.price-features li { margin-bottom: 15px; color: var(--muted); font-size: 0.9rem; }
.price-features i { color: var(--accent); margin-right: 10px; }

/* WIZARD & FORMS (Enhanced Visibility) */
.auth-container { min-height: 80vh; display: flex; justify-content: center; align-items: center; padding-top: 100px; }
.auth-box {
    background: var(--card);
    padding: 40px;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7);
    margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-control {
    width: 100%;
    padding: 15px; /* Bigger padding */
    background: rgba(255, 255, 255, 0.05); /* Lighter background */
    border: 1px solid #233554;
    color: #fff;
    border-radius: 4px;
    outline: none;
    font-size: 1rem;
}
.form-control:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }

/* Option Buttons in Wizard */
.option-btn:hover {
    border-color: var(--accent) !important;
    background: rgba(100, 255, 218, 0.05);
}

/* WIZARD ANIMATION */
.wizard-step { display: none; animation: fadeIn 0.5s; }
.wizard-step.active { display: block !important; } /* FORCE DISPLAY */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--card);
        padding: 20px;
        border-bottom: 2px solid var(--accent);
        box-shadow: 0 10px 10px rgba(0,0,0,0.5);
    }
    .nav-menu.active li { margin-bottom: 15px; width: 100%; text-align: center; }
    .nav-menu.active .btn-outline { width: 100%; display: block; }
    
    h1 { font-size: 2.2rem; }
    .hero { text-align: center; padding-top: 100px; }
    .btn-group { display: flex; flex-direction: column; gap: 15px; }
}

/* --- HERO SECTION (PERFECTED) --- */

.hero {
    position: relative;
    min-height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px; /* Space for the fixed header */
    padding-bottom: 50px;
    background: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 70%);
    overflow: hidden; /* Prevents scrollbars from animations */
}

/* Container Layout */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 900px; /* Limits width for readability */
}

/* Tagline Style */
.hero-tagline {
    color: var(--accent);
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 2px;
}

.highlight-line {
    width: 40px;
    height: 2px;
    background-color: var(--accent);
    display: inline-block;
}

/* H1 SEO Title Style */
.hero-title {
    font-size: 4rem; /* Big and Bold */
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: #e6f1ff;
    letter-spacing: -1px;
}

/* Description Text */
.hero-desc {
    max-width: 650px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-desc strong {
    color: #e6f1ff; /* Highlight keywords white */
    font-weight: 600;
}

/* Button Group Alignment */
.btn-group {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Trust Grid Layout */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    width: 100%;
}

.trust-item {
    text-align: left; /* looks more premium than center */
}

.trust-item h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 5px;
    font-weight: 700;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- ANIMATIONS (Performance Optimized) --- */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE RESPONSIVENESS (The Fix) --- */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px; /* More space for header on mobile */
        text-align: left; /* Keep left align for premium feel, or center if you prefer */
        height: auto; /* Allow auto height on mobile */
    }

    .hero-title {
        font-size: 2.5rem; /* Smaller H1 for mobile */
    }

    .hero-desc {
        font-size: 1rem;
    }

    .btn-group {
        flex-direction: column; /* Stack buttons */
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .trust-grid {
        /* On mobile, maybe 2 columns or 1? Let's keep 3 but small */
        text-align: center;
    }
    
    .trust-item {
        text-align: center;
    }
    
    .trust-item h3 {
        font-size: 1.5rem;
    }
}


/* --- PORTFOLIO SECTION --- */
.portfolio-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #112240; /* Placeholder color */
    border: 1px solid #233554;
}

/* --- FAQ SECTION --- */
.faq-item {
    background: var(--card);
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}
.faq-summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: #e6f1ff;
    list-style: none; /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-summary::after {
    content: '+';
    color: var(--accent);
    font-size: 1.5rem;
}
details[open] .faq-summary::after {
    content: '-';
}
.faq-content {
    padding: 0 20px 20px 20px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- WIZARD TEXTAREA --- */
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* --- PREMIUM WHATSAPP BUTTON --- */
.whatsapp-premium {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

/* The Green Circle */
.wa-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); /* Premium Gradient */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    position: relative;
    animation: pulse-green 2s infinite;
}

.wa-icon-container i {
    color: white;
    font-size: 32px;
    margin-top: 2px; /* Visual center fix for FontAwesome */
}

/* The "1" Notification Dot (Psychological Trigger) */
.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff3b30;
    color: white;
    font-size: 11px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #020c1b; /* Matches your dark theme bg */
}

/* The Text Label (Hidden by default, shows on hover) */
.wa-tooltip {
    background: white;
    color: #020c1b;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 15px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    pointer-events: none; /* Let clicks pass through */
    position: absolute;
    right: 60px; /* Position to the left of the button */
    white-space: nowrap;
}

/* Hover Effects */
.whatsapp-premium:hover .wa-icon-container {
    transform: scale(1.1);
}

.whatsapp-premium:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Animation */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-premium {
        bottom: 20px;
        right: 20px;
    }
    .wa-tooltip {
        display: none; /* Hide text on mobile to save space */
    }
}

/* --- LEGAL PAGES STYLING --- */
.legal-content {
    background: var(--card);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid #233554;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: #e6f1ff;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.legal-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Page Header for Legal Pages */
.page-header {
    background: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 70%);
    padding: 120px 0 60px 0;
    text-align: center;
}

/* Page Header (Fixed for Legal Pages) */
.page-header {
    background: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 70%);
    
    /* FIX: Pushes the content down so it doesn't hide behind the navbar */
    margin-top: 80px; 
    
    /* Internal spacing for the title */
    padding: 60px 0; 
    
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Fix: The header is taller on mobile due to stacking */
@media (max-width: 768px) {
    .page-header {
        margin-top: 100px; /* More space for mobile header */
        padding: 40px 0;
    }
}


.portfolio-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f6ff, #ffffff);
    border-radius: 14px;
    margin-bottom: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover .portfolio-img {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.portfolio-img i {
    font-size: 4rem;
    color: var(--primary);
}
