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

/* --- 1. RESET & FUNDAMENTALS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

:root, [data-theme="light"] {
    --bg-base: #F8FAFC; /* Slate 50 */
    --bg-surface: #FFFFFF;
    --text-primary: #0F172A; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    
    --primary-color: #2563EB; /* Blue 600 */
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF;
    
    --accent-color: #F59E0B; /* Amber/Gold */
    --accent-hover: #D97706;
    --accent-light: #FEF3C7;

    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-md: 12px;
    --radius-lg: 24px;
}

[data-theme="dark"] {
    --bg-base: linear-gradient(135deg, #2C2431 0%, #5E5162 50%, #7B7080 100%);
    --bg-surface: #211B27; /* Dark chat bubble color */
    --text-primary: #F8FAFC; 
    --text-secondary: #E2E8F0; 
    
    --primary-color: #3B82F6; 
    --primary-hover: #60A5FA;
    --primary-light: rgba(59, 130, 246, 0.1);
    
    --accent-color: #FBBF24; 
    --accent-hover: #FCD34D;
    --accent-light: rgba(251, 191, 36, 0.1);

    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        /* Defaults to dark theme if preferred */
        --bg-base: linear-gradient(135deg, #2C2431 0%, #5E5162 50%, #7B7080 100%);
        --bg-surface: #211B27;
        --text-primary: #F8FAFC; 
        --text-secondary: #E2E8F0; 
        
        --primary-color: #3B82F6; 
        --primary-hover: #60A5FA;
        --primary-light: rgba(59, 130, 246, 0.1);
        
        --accent-color: #FBBF24; 
        --accent-hover: #FCD34D;
        --accent-light: rgba(251, 191, 36, 0.1);

        --border-color: #334155;
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    }
}

body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul { list-style: none; }

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

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

/* --- 3. SAAS CARDS (Replaces Glassmorphism) --- */
.glass-card {
    background: var(--bg-surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* --- 4. ANIMATIONS (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- 5. BUTTONS --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    gap: 8px;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #FFFFFF;
    box-shadow: 0 4px 14px var(--primary-light);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-light);
}
.btn-large { padding: 16px 36px; font-size: 1.1rem; }
.btn-whatsapp { background-color: #25D366; color: #FFFFFF; width: 100%; margin-top: 24px; }
.btn-whatsapp:hover { background-color: #16A34A; }

/* --- 6. HEADER --- */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.header.scrolled {
    padding: 16px 0;
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 1.5rem; font-family: var(--font-heading); font-weight: 800;
    color: var(--text-primary);
}
.logo-icon { color: var(--accent-color); }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 24px; }
.nav-link {
    font-weight: 500; color: var(--text-secondary);
}
.nav-link:hover { color: var(--primary-color); }

.lang-switch, .theme-toggle {
    background: var(--bg-base);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.theme-toggle:hover { background: var(--primary-light); color: var(--primary-color); border-color: var(--primary-color); }
.lang-switch { border-radius: 20px; padding: 6px 12px; font-weight: 600; font-size: 0.9rem;}
.lang-switch .active { color: var(--primary-color); }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; }

/* --- 7. HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}
/* Abstract Blob Background for SaaS look */
.hero::before {
    content: ''; position: absolute; top: -10%; right: -5%; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: -1;
}
.hero::after {
    content: ''; position: absolute; bottom: -10%; left: -5%; width: 500px; height: 500px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    z-index: -1;
}

.hero-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-title {
    font-size: 3.5rem; margin-bottom: 24px; line-height: 1.15;
}
.hero-title i { color: var(--primary-color); font-style: normal; position: relative;}
.hero-title i::after {
    content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 8px;
    background: var(--accent-color); opacity: 0.3; z-index: -1; border-radius: 4px;
}
.hero-subtitle {
    font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; font-weight: 400; max-width: 90%;
}
.hero-image-wrapper { position: relative; }
.hero-image {
    width: 100%; border-radius: 24px; box-shadow: var(--shadow-xl);
}
.hero-image-overlay {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--bg-surface); padding: 20px 24px;
    border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 16px;
    animation: float 6s ease-in-out infinite; z-index: 2;
}
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }
.overlay-icon { font-size: 2rem; color: var(--accent-color); }
.hero-image-overlay strong { display: block; font-family: var(--font-heading); color: var(--text-primary); font-size: 1.1rem;}

/* --- 8. TRUST BANNER --- */
.trust-banner { padding: 40px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--bg-surface); }
.trust-container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--text-primary); font-weight: 600; }
.trust-item svg { color: var(--primary-color); }

/* --- 9. WHY GOLDEN VISA --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { text-align: center; padding: 40px 24px; }
.feature-icon {
    width: 64px; height: 64px; background: var(--primary-light); color: var(--primary-color);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px; font-size: 1.5rem; transition: all 0.3s ease;
}
.feature-card:hover .feature-icon { background: var(--primary-color); color: #FFF; transform: rotateY(180deg); }
.feature-title { font-size: 1.25rem; margin-bottom: 16px; }
.feature-text { color: var(--text-secondary); font-size: 0.95rem; }

/* --- 10. PROGRAMS --- */
.programs { background-color: var(--bg-base); }
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.program-image-container { margin: -32px -32px 24px -32px; height: 200px; border-radius: 24px 24px 0 0; overflow: hidden; }
.program-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.program-card:hover .program-img { transform: scale(1.05); }
.program-flag { font-size: 2.5rem; margin-bottom: 16px; background: var(--primary-light); display: inline-block; padding: 10px; border-radius: 12px; }
.program-title { font-size: 1.75rem; margin-bottom: 12px; }
.program-list { margin-bottom: 30px; }
.program-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--text-secondary); font-weight: 500;}
.check-icon { color: var(--accent-color); background: var(--accent-light); border-radius: 50%; padding: 4px; display: flex;}

/* --- 11. TIMELINE --- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; position: relative;}
.timeline::before {
    content: ''; position: absolute; top: 30px; left: 0; width: 100%; height: 2px;
    background: var(--border-color); z-index: 0;
}
@media (max-width: 992px) {
    .timeline { grid-template-columns: 1fr; }
    .timeline::before { width: 2px; height: 100%; left: 30px; top: 0; }
}
.timeline-item { position: relative; z-index: 1; padding-top: 60px; }
@media (max-width: 992px) { .timeline-item { padding-top: 0; padding-left: 80px; margin-bottom: 40px; } }
.timeline-dot {
    position: absolute; top: 0; left: 0; width: 60px; height: 60px;
    background: var(--primary-color); color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
    box-shadow: 0 0 0 8px var(--bg-base);
}
@media (max-width: 992px) { .timeline-dot { left: 0; top: 0; } }
.timeline-content h3 { font-size: 1.2rem; margin-bottom: 10px; }

/* --- 12. FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.accordion-item { border: 1px solid var(--border-color); margin-bottom: 16px; border-radius: 12px; background: var(--bg-surface); overflow: hidden; }
.accordion-header {
    width: 100%; text-align: left; padding: 20px 24px; background: none; border: none;
    font-size: 1.1rem; font-family: var(--font-heading); font-weight: 600; color: var(--text-primary);
    display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.accordion-header:hover { background: var(--primary-light); color: var(--primary-color); }
.accordion-icon { transition: transform 0.3s; color: var(--primary-color); }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-content p { padding: 0 24px 24px 24px; color: var(--text-secondary); }

/* --- 13. CONTACT --- */
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-info { background: var(--primary-color); color: white; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.contact-info .section-title { color: white; text-align: left; font-size: 2rem;}
.contact-info .contact-desc { color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-item svg { background: rgba(255,255,255,0.2); padding: 8px; border-radius: 50%; width: 40px; height: 40px; }
.contact-detail-item p { color: rgba(255,255,255,0.8); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; background: var(--bg-base); border: 1px solid var(--border-color);
    padding: 12px 16px; border-radius: 8px; font-family: var(--font-body); color: var(--text-primary);
    transition: all 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px var(--primary-light); }

/* --- 14. FOOTER --- */
.footer { background-color: var(--bg-surface); padding: 60px 0 20px; border-top: 1px solid var(--border-color); }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--text-secondary); font-weight: 500; transition: color 0.2s;}
.footer-links a:hover { color: var(--primary-color); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { background: var(--bg-base); padding: 10px; border-radius: 50%; display: flex; color: var(--text-primary); transition: all 0.3s;}
.footer-social a:hover { background: var(--primary-color); color: white; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-container, .contact-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
}