:root {
    --primary: #ffffff;
    --primary-light: #f8fafc;
    --primary-soft: #f1f5f9;
    --accent: #6C63FF;
    --accent-2: #00D4FF;
    --accent-3: #7B61FF;
    --secondary-1: #FF6B6B;
    --secondary-2: #FFB800;
    --secondary-3: #00E676;
    --secondary-4: #FF3CAC;
    --surface: #ffffff;
    --surface-light: #f8fafc;
    --surface-elevated: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --gradient-1: linear-gradient(135deg, #6C63FF, #00D4FF);
    --gradient-2: linear-gradient(135deg, #FF6B6B, #FF3CAC);
    --gradient-3: linear-gradient(135deg, #00E676, #00D4FF);
    --gradient-4: linear-gradient(135deg, #7B61FF, #FF6B6B);
    --gradient-5: linear-gradient(135deg, #FFB800, #FF6B6B);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-display: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

.mega-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mega-nav.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.99);
}

::selection { background: var(--accent); color: white; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--primary-soft); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
button { font-family: inherit; cursor: pointer; border: none; outline: none; }
img { max-width: 100%; height: auto; }

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

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--text); }

.text-gradient-1 { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-2 { background: var(--gradient-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-gradient-3 { background: var(--gradient-3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; font-size: 15px; font-weight: 600; border-radius: var(--radius-md);
    transition: all 0.3s ease; border: none;
}

.btn-primary { background: var(--accent); color: white; box-shadow: 0 4px 14px rgba(108, 99, 255, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5); }

.btn-secondary { background: white; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--primary-soft); border-color: var(--accent); }

/* Cards */
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; transition: all 0.3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

/* Sections */
.section { padding: 100px 0; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
    display: inline-block; padding: 6px 16px; background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2); border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px;
}

.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 700; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 120px 0 80px; background: var(--primary); background-image: url('../images/download-2026-06-05T22_58_54.jpg'); background-size: cover; background-position: center; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at 30% 20%, rgba(108, 99, 255, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: white; border: 1px solid var(--border); border-radius: 100px; font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; }
.badge-dot { width: 8px; height: 8px; background: var(--secondary-3); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { font-size: clamp(40px, 6vw, 64px); font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.02em; color: white; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-stat-value { font-size: 40px; font-weight: 700; color: white; }
.hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* Trusted */
.trusted { padding: 40px 0; background: var(--primary-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trusted-label { text-align: center; color: var(--text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

.service-card { padding: 32px; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 28px; }
.service-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.service-description { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.service-link { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.service-link:hover { gap: 8px; }

/* AI Workflow */
.ai-section { background: var(--primary-soft); }
.ai-workflows { display: flex; flex-direction: column; gap: 24px; margin-bottom: 60px; }
.workflow-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.workflow-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; color: var(--accent); }
.workflow { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.workflow-step { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px; background: var(--primary-soft); border-radius: var(--radius-md); min-width: 100px; }
.workflow-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.workflow-label { font-size: 13px; font-weight: 500; }
.workflow-arrow { color: var(--accent); font-size: 24px; }

/* AI Features Grid */
.ai-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .ai-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ai-features-grid { grid-template-columns: 1fr; } }
.ai-feature { text-align: center; padding: 32px; }
.ai-feature-icon { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 32px; }
.ai-feature h4 { font-size: 18px; margin-bottom: 8px; }
.ai-feature p { color: var(--text-secondary); font-size: 14px; }

/* Tech Grid */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 1024px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
.tech-item { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; font-weight: 600; font-size: 14px; transition: all 0.3s ease; }
.tech-item:hover { border-color: var(--accent); background: rgba(108, 99, 255, 0.05); }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .industries-grid { grid-template-columns: 1fr; } }
.industry-card { text-align: center; padding: 40px 24px; }
.industry-icon { font-size: 48px; margin-bottom: 16px; }
.industry-card h3 { font-size: 20px; margin-bottom: 8px; }
.industry-card p { color: var(--text-secondary); font-size: 14px; }

/* Portfolio Grid */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio-grid { grid-template-columns: 1fr; } }
.portfolio-card { overflow: hidden; padding: 0; }
.portfolio-image { width: 100%; height: 220px; position: relative; }
.portfolio-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); }
.portfolio-content { padding: 24px; }
.portfolio-category { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.portfolio-title { font-size: 18px; font-weight: 600; margin: 8px 0; }
.portfolio-description { color: var(--text-secondary); font-size: 14px; }

/* Process Grid */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { text-align: center; padding: 32px 24px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.process-number { font-size: 48px; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.process-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.process-description { color: var(--text-secondary); font-size: 14px; }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { text-align: center; }
.team-image { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px; border: 3px solid var(--accent); }
.team-name { font-size: 18px; font-weight: 600; }
.team-role { color: var(--accent); font-size: 14px; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.counter { text-align: center; }
.counter-value { font-size: 48px; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.counter-label { color: var(--text-secondary); font-size: 14px; margin-top: 4px; }

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }
.pricing-card { text-align: center; }
.pricing-name { font-size: 18px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.pricing-price { font-size: 48px; font-weight: 700; margin: 16px 0; }
.pricing-price span { font-size: 16px; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 24px 0; text-align: left; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-secondary); }
.pricing-features li::before { content: '✓ '; color: var(--secondary-3); font-weight: bold; margin-right: 8px; }

/* FAQ Accordion */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { width: 100%; padding: 20px 24px; background: white; border: none; text-align: left; font-size: 16px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header:hover { color: var(--accent); }
.accordion-icon { transition: transform 0.3s ease; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-item.active .accordion-content { max-height: 200px; }
.accordion-body { padding: 0 24px 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* Contact */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 1024px) { .contact-wrapper { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: 32px; margin-bottom: 16px; }
.contact-description { color: var(--text-secondary); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 48px; height: 48px; background: var(--primary-soft); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-item h4 { font-size: 14px; font-weight: 600; }
.contact-item p { color: var(--text-secondary); font-size: 14px; }
.contact-form { background: white; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; }
.form-group { margin-bottom: 20px; }
.input-field { width: 100%; padding: 14px 16px; background: var(--primary-soft); border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 15px; color: var(--text); transition: all 0.3s ease; }
.input-field:focus { outline: none; border-color: var(--accent); background: white; }
.input-field::placeholder { color: var(--text-muted); }

/* Footer */
.footer { background: var(--text); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 48px; margin-bottom: 60px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.footer-description { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s ease; }
.footer-social a:hover { background: var(--accent); }
.footer-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-legal a:hover { color: white; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all 0.3s ease; background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); box-shadow: var(--shadow-sm); padding: 12px 0; }
.nav-wrapper { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 24px; font-weight: 700; color: var(--text); }
.nav-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-item { position: relative; }
.nav-link { padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text-secondary); border-radius: 8px; display: block; }
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(108, 99, 255, 0.05); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 1024px) {
    .nav-menu { position: fixed; top: 70px; right: -100%; flex-direction: column; background: white; width: 280px; height: calc(100vh - 70px); padding: 24px; align-items: flex-start; transition: right 0.3s ease; border-left: 1px solid var(--border); }
    .nav-menu.active { right: 0; }
    .mobile-toggle { display: flex; }
    .mega-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--primary-soft); margin-top: 8px; }
}

/* Testimonials */
.testimonial-card { position: relative; padding: 32px; }
.testimonial-card::before { content: '"'; position: absolute; top: 20px; left: 28px; font-size: 64px; color: var(--accent); opacity: 0.2; font-family: serif; line-height: 1; }
.testimonial-text { font-size: 16px; line-height: 1.7; margin-bottom: 24px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; }
.testimonial-info h4 { font-size: 16px; font-weight: 600; }
.testimonial-info span { font-size: 14px; color: var(--text-secondary); }

/* Loader */
.loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: white; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease; }
.loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo { font-size: 48px; font-weight: 700; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 30px; }
.loader-bar { width: 200px; height: 4px; background: var(--border); border-radius: 100px; overflow: hidden; }
.loader-progress { height: 100%; background: var(--gradient-1); border-radius: 100px; animation: load 2s ease-in-out forwards; }
@keyframes load { 0% { width: 0%; } 100% { width: 100%; } }

/* Cursor */
.custom-cursor { width: 20px; height: 20px; border: 2px solid var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.15s ease; mix-blend-mode: difference; }
.cursor-dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; }