/* --- CSS Reset & Core Variables --- */
:root {
    /* FONTS */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* LIGHT MODE */
    --bg-color: #f8fafc; /* Slightly lighter slate */
    --text-main: #0f172a;
    --text-secondary: #475569;
    --accent-green: #10b981;
    --accent-dark: #059669;
    
    --brand-whatsapp: #25D366;
    --brand-discord: #5865F2;
    --brand-email: #EA4335;
    
    /* PRO GLASSMORPHISM */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --glass-highlight: rgba(255, 255, 255, 0.8);
    
    --blob-1: rgba(16, 185, 129, 0.3);
    --blob-2: rgba(52, 211, 153, 0.3);
    --blob-3: rgba(110, 231, 183, 0.3);

    /* CURSOR */
    --cursor-size: 20px;
}

/* DARK MODE */
[data-theme="dark"] {
    --bg-color: #020617; /* Deep slate */
    --text-main: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-green: #34d399;
    --accent-dark: #6ee7b7;

    --glass-bg: rgba(30, 41, 59, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    --blob-1: rgba(16, 185, 129, 0.15);
    --blob-2: rgba(52, 211, 153, 0.15);
    --blob-3: rgba(110, 231, 183, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--text-secondary); border-radius: 5px; opacity: 0.5; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-green); }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    cursor: none; /* Hides default cursor */
}

/* --- CUSTOM CURSOR STYLES (Desktop Only) --- */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--accent-green);
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid var(--text-secondary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
/* Interaction State */
body.hovering .cursor-outline {
    width: 60px; height: 60px;
    background-color: rgba(16, 185, 129, 0.1);
    border-color: var(--accent-green);
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .cursor-dot, .cursor-outline { display: none; }
    body { cursor: auto; }
}

/* --- Navigation --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(var(--bg-color), 0.1);
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.5px; color: var(--text-main); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 20px; }

.nav-socials {
    display: flex; align-items: center; gap: 12px;
    margin-right: 5px; padding-right: 15px;
    border-right: 1px solid var(--text-secondary);
    opacity: 0.8;
}
.social-icon-nav svg { width: 22px; height: 22px; fill: var(--text-main); transition: all 0.2s; }
.icon-whatsapp:hover svg { fill: var(--brand-whatsapp); transform: scale(1.1); }
.icon-discord:hover svg { fill: var(--brand-discord); transform: scale(1.1); }

.btn-nav-pay {
    text-decoration: none;
    background: var(--text-main);
    color: var(--bg-color);
    font-weight: 600; font-size: 0.85rem;
    padding: 10px 20px; border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-nav-pay:hover { background: var(--accent-green); transform: translateY(-2px); color: white; }

.theme-toggle-btn-small {
    background: transparent; border: 1px solid var(--text-secondary);
    border-radius: 50%; width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: none; /* Let custom cursor handle pointer */
    transition: all 0.2s; opacity: 0.8;
}
.theme-toggle-btn-small:hover { transform: rotate(15deg); opacity: 1; border-color: var(--accent-green); }
.theme-toggle-btn-small svg { width: 20px; height: 20px; fill: var(--text-main); }


/* --- Wrapper & Glass Cards --- */
.main-wrapper {
    position: relative; z-index: 10;
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 120px 20px 60px 20px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 3rem; margin-bottom: 2rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--glass-highlight);
}

/* --- Scroll Animation (Start State) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Hero Section --- */
.hero-card { text-align: center; padding: 6rem 2rem; position: relative; overflow: hidden; }
.hero-card h1 {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem;
    color: var(--text-main); font-weight: 800; letter-spacing: -1.5px;
}

.shimmer-text {
    background: linear-gradient(110deg, var(--text-main) 30%, var(--accent-green) 50%, var(--text-main) 70%);
    background-size: 200% auto;
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
    animation: textShine 5s linear infinite;
}
@keyframes textShine { to { background-position: 200% center; } }

.hero-subtitle {
    font-size: 1.2rem; color: var(--text-secondary); max-width: 650px;
    margin: 0 auto 3rem auto; line-height: 1.7; font-weight: 400;
}

.hero-buttons { display: flex; justify-content: center; gap: 15px; }
.btn {
    padding: 14px 32px; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 1rem; transition: all 0.3s ease;
    display: inline-flex; align-items: center; letter-spacing: -0.2px;
}
.btn-primary {
    background: var(--accent-green); color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.23);
    background: var(--accent-dark);
}
.btn-secondary {
    background: transparent; border: 2px solid var(--text-secondary);
    color: var(--text-main); opacity: 0.8;
}
.btn-secondary:hover { border-color: var(--accent-green); color: var(--accent-green); opacity: 1; }


/* --- Services --- */
.services-section { margin-bottom: 6rem; }
.section-title {
    text-align: center; font-size: 2.2rem; font-weight: 800;
    margin-bottom: 3rem; color: var(--text-main); letter-spacing: -1px;
}
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.icon-box {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.2));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; color: var(--accent-green);
}
.service-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text-main); }
.service-card p { font-size: 1rem; line-height: 1.7; color: var(--text-secondary); }


/* --- FAQ --- */
.faq-section { margin-bottom: 6rem; }
.faq-category-title {
    margin-top: 2rem; margin-bottom: 1rem; color: var(--accent-green);
    font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
}
.faq-item {
    margin-bottom: 1rem; border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    padding-bottom: 1rem;
}
.faq-item summary {
    font-weight: 600; font-size: 1.1rem; cursor: none; /* Custom cursor */
    padding: 10px 0; list-style: none; position: relative; padding-right: 30px;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 0; font-size: 1.5rem;
    color: var(--text-secondary); transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '-'; color: var(--accent-green); transform: rotate(180deg); }
.faq-item[open] summary { color: var(--accent-green); }
.faq-item p { margin-top: 10px; line-height: 1.7; color: var(--text-secondary); }


/* --- FIX: CONTACT HUB --- */
.contact-section { 
    margin-bottom: 4rem; 
    position: relative; 
    z-index: 5;
}
.contact-links-card { text-align: center; max-width: 800px; margin: 0 auto; }
.contact-subtitle { font-size: 1.1rem; margin-bottom: 2rem; color: var(--text-secondary); }

/* --- CONTACT BUTTONS (Solid Style) --- */
.contact-buttons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
    margin-top: 2rem;
}

.contact-btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    
    /* Shape & Size */
    padding: 14px 28px; 
    min-width: 160px; /* Ensures buttons are wide enough */
    border-radius: 8px; /* Rounded corners (matches image) */
    
    /* Typography */
    color: #ffffff !important; /* Forces white text */
    font-weight: 600; 
    font-size: 1rem; 
    text-decoration: none; 
    
    /* Animation */
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: none; /* Keeps your custom cursor logic */
}

/* Hover Effects */
.contact-btn:hover { 
    transform: translateY(-3px); 
    filter: brightness(1.1); /* Slightly brightens the color */
    box-shadow: 0 8px 15px rgba(0,0,0,0.2); 
}

/* Brand Colors */
.contact-btn.whatsapp { background-color: #25D366; } /* Official WhatsApp Green */
.contact-btn.discord  { background-color: #5865F2; } /* Official Discord Blurple */
.contact-btn.email    { background-color: #EA4335; } /* Official Gmail Red */

/* Icon Styling */
.contact-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor; /* Makes icon white like the text */
}

/* --- FIX: PAYMENT SECTION --- */
.payment-section { margin-bottom: 4rem; position: relative; z-index: 5; }
.payment-card { text-align: center; max-width: 800px; margin: 0 auto; }
.payment-card h2 { font-size: 2rem; margin-bottom: 1rem; }
.payment-card p { margin-bottom: 2rem; color: var(--text-secondary); }

.btn-payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #047857);
    color: white !important; /* Force white text */
    font-size: 1.1rem; 
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-payment:hover { 
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.discount-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1); /* Uses your --accent-green variable */
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

.standard-footer {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    margin-top: 6rem;
    padding: 4rem 2rem 2rem 2rem;
    position: relative;
    z-index: 20;
}

.footer-container {
    max-width: 1200px; 
    margin: 0 auto;
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px;
    text-align: left;
}

.footer-col h4 { 
    color: var(--text-main); 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-socials, .footer-links { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.footer-socials a, .footer-links a { 
    text-decoration: none; 
    color: var(--text-secondary); 
    font-size: 0.95rem; 
    transition: color 0.2s, padding-left 0.2s;
}

.footer-socials a:hover, .footer-links a:hover { 
    color: var(--accent-green); 
    padding-left: 5px; 
}

.footer-bottom {
    text-align: center; 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 1px solid rgba(128, 128, 128, 0.1); 
    font-size: 0.85rem; 
    color: var(--text-secondary);
    opacity: 0.7;
}


/* --- Background Blobs --- */
.bg-animation-container {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; overflow: hidden;
    filter: blur(100px); opacity: 0.7; pointer-events: none;
}
.blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: float 20s infinite ease-in-out; }
[data-theme="dark"] .blob { mix-blend-mode: screen; opacity: 0.3; }

.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--blob-1); animation-delay: 0s; }
.blob-2 { bottom: -10%; right: -10%; width: 60vw; height: 60vw; background: var(--blob-2); animation-delay: -5s; }
.blob-3 { top: 40%; left: 30%; width: 40vw; height: 40vw; background: var(--blob-3); animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@media (max-width: 768px) {
    .hero-card h1 { font-size: 2.5rem; }
    .nav-socials { display: none; }
    .standard-footer { text-align: center; }
}


/* --- NEW: PRICING PAGE STYLES --- */
.pricing-section { margin-bottom: 6rem; }

.pricing-card {
    display: flex; flex-direction: column;
    height: 100%; position: relative;
    border-top: 4px solid var(--accent-green); /* Top highlight */
}

.pricing-header { text-align: center; margin-bottom: 2rem; border-bottom: 1px solid rgba(128,128,128,0.1); padding-bottom: 1.5rem; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-tag { font-size: 2.5rem; font-weight: 800; color: var(--accent-green); }
.price-sub { font-size: 0.9rem; color: var(--text-secondary); }

.pricing-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.pricing-features li {
    margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--text-secondary);
    display: flex; align-items: center; gap: 10px;
}
.pricing-features li svg { width: 18px; height: 18px; fill: var(--accent-green); flex-shrink: 0; }

/* --- NEW: TEXT PAGES (Privacy, Terms) --- */
.text-page-header { text-align: center; margin-bottom: 4rem; padding-top: 2rem; }
.text-page-header h1 { font-size: 3rem; margin-bottom: 1rem; }
.text-content { max-width: 800px; margin: 0 auto; }
.text-block { margin-bottom: 2.5rem; }
.text-block h2 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.text-block p { line-height: 1.8; color: var(--text-secondary); margin-bottom: 1rem; }
.text-block ul { margin-left: 1.5rem; margin-bottom: 1rem; color: var(--text-secondary); }
.text-block li { margin-bottom: 0.5rem; }

/* --- FIX: MOBILE CURSOR --- */
/* Force hide custom cursor on screens smaller than 768px */
@media (max-width: 768px) {
    .cursor-dot, 
    .cursor-outline {
        display: none !important;
    }
    
    body {
        cursor: auto !important; /* Restore default touch behavior */
    }
    
    /* Optional: Ensure interactive elements don't get stuck in hover state */
    a, button, .btn {
        cursor: pointer !important;
    }
}

/* --- 404 PAGE STYLE UPDATES --- */
.error-code {
    font-size: 14rem; 
    font-weight: 1000; 
    line-height: 1;
    margin-bottom: 0.5rem;
    
    background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-green) 50%, var(--text-main) 70%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: textShine 5s linear infinite;
}

.error-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .error-code { font-size: 8rem; } 
    .error-subtitle { font-size: 2rem; }
}