/* ===== CSS Variables ===== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --accent: #f59e0b;
    --bg-dark: #0f0f1a;
    --bg-darker: #080810;
    --bg-card: #1a1a2e;
    --bg-card-hover: #252542;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --border-color: #27273a;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --gradient-2: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(15, 15, 26, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color); padding: 15px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.4rem; }
.logo-icon { color: var(--primary); font-size: 1.6rem; }
.logo-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links { display: flex; gap: 35px; }
.nav-links a { color: var(--text-secondary); font-weight: 500; position: relative; padding: 5px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gradient-1); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 15px; }
.lang-switch {
    display: flex; align-items: center; gap: 8px; padding: 8px 16px;
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 8px; color: var(--text-primary); cursor: pointer;
    transition: var(--transition); font-size: 0.9rem;
}
.lang-switch:hover { background: var(--bg-card-hover); border-color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: 10px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary {
    background: var(--gradient-1); color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5); }
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 2px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--primary); background: rgba(99, 102, 241, 0.1); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 120px 20px 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.particles { position: absolute; inset: 0; }
.particle {
    position: absolute; width: 4px; height: 4px; background: var(--primary);
    border-radius: 50%; opacity: 0.5; animation: float 15s infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.5; }
    50% { transform: translateY(-100px) translateX(50px); opacity: 0.2; }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.gradient-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 0; opacity: 0.3; }
.code-window { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-color); overflow: hidden; width: 400px; }
.window-header { display: flex; gap: 8px; padding: 12px 16px; background: var(--bg-darker); border-bottom: 1px solid var(--border-color); }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }
.code-content { padding: 20px; font-family: 'Fira Code', monospace; font-size: 0.9rem; }
.code-content .keyword { color: #c678dd; }
.code-content .variable { color: #e06c75; }
.code-content .function { color: #61afef; }
.code-content .method { color: #98c379; }
.code-content .property { color: #e5c07b; }
.code-content .string { color: #98c379; }
.code-content .boolean { color: #d19a66; }

/* ===== Page Hero ===== */
.page-hero {
    padding: 160px 20px 80px; text-align: center;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 16px; position: relative; }
.page-hero p { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; position: relative; }

/* ===== Section Styles ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== Features Section ===== */
.features { padding: 100px 20px; background: var(--bg-darker); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 40px 30px; text-align: center;
    transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-1); transform: scaleX(0); transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 70px; height: 70px; margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--primary);
}
.feature-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== Stats Section ===== */
.stats { padding: 80px 20px; background: var(--bg-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; text-align: center; }
.stat-item { padding: 30px; }
.stat-number {
    font-size: 3.5rem; font-weight: 800;
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { color: var(--text-secondary); font-size: 1rem; margin-top: 8px; }

/* ===== Services Section ===== */
.services-main { padding: 80px 20px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.service-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 40px; transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-glow); }
.service-icon {
    width: 60px; height: 60px; background: var(--gradient-1);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: white; margin-bottom: 24px;
}
.service-card h3 { font-size: 1.4rem; margin-bottom: 16px; }
.service-card > p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.service-features { display: flex; flex-wrap: wrap; gap: 10px; }
.service-features li {
    background: rgba(99, 102, 241, 0.1); color: var(--primary-light);
    padding: 6px 14px; border-radius: 20px; font-size: 0.85rem;
}

/* ===== Process Section ===== */
.process { padding: 100px 20px; background: var(--bg-darker); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.process-step {
    text-align: center; padding: 40px 30px;
    background: var(--bg-card); border-radius: 16px;
    border: 1px solid var(--border-color); position: relative;
}
.step-number {
    font-size: 3rem; font-weight: 800; color: var(--primary);
    opacity: 0.3; margin-bottom: 16px;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 12px; }
.process-step p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== About Section ===== */
.about-intro { padding: 80px 20px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { font-size: 2rem; margin-bottom: 24px; }
.about-content p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.8; }
.about-image { display: flex; justify-content: center; }
.image-placeholder {
    width: 300px; height: 300px; background: var(--bg-card);
    border: 1px solid var(--border-color); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; color: var(--primary); opacity: 0.5;
}

/* ===== Mission Vision ===== */
.mission-vision { padding: 80px 20px; background: var(--bg-darker); }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.mv-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 50px 40px; text-align: center;
}
.mv-icon {
    width: 80px; height: 80px; margin: 0 auto 24px;
    background: var(--gradient-1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white;
}
.mv-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.mv-card p { color: var(--text-secondary); line-height: 1.8; }

/* ===== Values Section ===== */
.values { padding: 100px 20px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 40px 30px; text-align: center;
    transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.value-icon {
    width: 60px; height: 60px; margin: 0 auto 20px;
    background: rgba(99, 102, 241, 0.15); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--primary);
}
.value-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.value-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Team Section ===== */
.team { padding: 100px 20px; background: var(--bg-darker); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 16px; padding: 40px 30px; text-align: center;
}
.team-avatar {
    width: 100px; height: 100px; margin: 0 auto 24px;
    background: var(--gradient-1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; color: white;
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.team-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== Contact Section ===== */
.contact-main { padding: 80px 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 16px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 40px; line-height: 1.8; }
.contact-details { margin-bottom: 40px; }
.contact-item { display: flex; gap: 20px; margin-bottom: 24px; }
.contact-icon {
    width: 50px; height: 50px; background: rgba(99, 102, 241, 0.15);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--primary); flex-shrink: 0;
}
.contact-text h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-text p { color: var(--text-secondary); font-size: 0.95rem; }
.contact-text a { color: var(--primary-light); }
.contact-text a:hover { color: var(--primary); }
.business-hours h3 { font-size: 1.2rem; margin-bottom: 12px; }
.business-hours p { color: var(--text-secondary); margin-bottom: 8px; }

.contact-form-wrapper {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; padding: 40px;
}
.contact-form-wrapper h2 { font-size: 1.5rem; margin-bottom: 30px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 18px; background: var(--bg-darker);
    border: 1px solid var(--border-color); border-radius: 10px;
    color: var(--text-primary); font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-darker); }
.form-group textarea { resize: vertical; min-height: 120px; }

.map-section { padding: 0 20px 80px; }
.map-placeholder {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 20px; height: 300px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--text-muted);
}
.map-placeholder i { font-size: 4rem; margin-bottom: 16px; opacity: 0.5; }
.map-placeholder p { font-size: 1.1rem; }

/* ===== CTA Section ===== */
.cta {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
.cta-content p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 32px; }

/* ===== Legal Pages ===== */
.legal-content { padding: 60px 20px 100px; }
.legal-wrapper { max-width: 900px; margin: 0 auto; }
.legal-update { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 40px; }
.legal-section h2 { font-size: 1.5rem; margin: 40px 0 16px; color: var(--primary-light); }
.legal-section h2:first-of-type { margin-top: 0; }
.legal-section h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.legal-section p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.legal-section ul { margin: 16px 0 24px 24px; }
.legal-section li { color: var(--text-secondary); margin-bottom: 10px; line-height: 1.7; position: relative; padding-left: 20px; }
.legal-section li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }
.legal-section strong { color: var(--text-primary); }
.contact-info-box {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 12px; padding: 24px; margin-top: 20px;
}
.contact-info-box p { margin-bottom: 8px; color: var(--text-secondary); }
.contact-info-box p:last-child { margin-bottom: 0; }
.contact-info-box strong { color: var(--text-primary); }

/* ===== Footer ===== */
.footer { background: var(--bg-darker); padding: 80px 20px 30px; border-top: 1px solid var(--border-color); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 8px; }
.footer-address { font-size: 0.85rem !important; line-height: 1.6 !important; }
.footer-links h4, .footer-contact h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--text-primary); }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-light); }
.footer-contact p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary); width: 16px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border-color); }
.footer-bottom p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== Mobile Menu ===== */
.nav-links.active { display: flex; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-visual { display: none; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--bg-darker); flex-direction: column; padding: 20px;
        border-bottom: 1px solid var(--border-color); gap: 15px;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 140px 20px 60px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-contact p { justify-content: center; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .stat-number { font-size: 2.5rem; }
}