/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1e293b; background: #ffffff; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); box-shadow: 0 2px 20px rgba(37,99,235,0.12); padding: 10px 0; border-bottom: 1px solid rgba(37,99,235,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.logo-text { color: #fff; transition: color 0.3s; }
.navbar.scrolled .logo-text { color: #1e293b; }
.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link { padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.85); transition: all 0.3s; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.navbar.scrolled .nav-link { color: #475569; }
.navbar.scrolled .nav-link:hover { color: #2563eb; background: rgba(37,99,235,0.06); }
.nav-link-cta { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); }
.navbar.scrolled .nav-link-cta { background: #2563eb; color: #fff !important; border-color: #2563eb; }
.navbar.scrolled .nav-link-cta:hover { background: #1d4ed8; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.navbar.scrolled .nav-toggle span { background: #1e293b; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 24px 80px; overflow: hidden; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 30%, #1e40af 60%, #7c3aed 100%); }
.hero-bg { position: absolute; inset: 0; }
.hero-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.2) 0%, transparent 60%), radial-gradient(ellipse at 70% 30%, rgba(124,58,237,0.15) 0%, transparent 50%); }
.hero-particles { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; }
.hero-logo-wrap { margin-bottom: 28px; }
.hero-logo-img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 4px 24px rgba(96,165,250,0.35)); transition: transform 0.4s ease; }
.hero-logo-img:hover { transform: scale(1.05); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 50px; color: rgba(255,255,255,0.9); font-size: 0.85rem; margin-bottom: 24px; backdrop-filter: blur(10px); }
.hero-title { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em; }
.gradient-text { background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 12px; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); border: none; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; box-shadow: 0 4px 20px rgba(37,99,235,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,0.5); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.btn-full { width: 100%; justify-content: center; }

/* ===== HERO STATS ===== */
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-number { font-size: 2.2rem; font-weight: 800; color: #fff; }
.hero-stat-plus { font-size: 1.5rem; font-weight: 700; color: #60a5fa; }
.hero-stat-label { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 4px; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.scroll-mouse { width: 26px; height: 40px; border: 2px solid rgba(255,255,255,0.3); border-radius: 13px; display: flex; justify-content: center; padding-top: 8px; }
.scroll-wheel { width: 3px; height: 8px; background: rgba(255,255,255,0.6); border-radius: 2px; animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { 0% { opacity:1; transform:translateY(0); } 100% { opacity:0; transform:translateY(12px); } }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; padding: 6px 16px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1)); color: #2563eb; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: #0f172a; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: #64748b; max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ===== ABOUT SECTION ===== */
.about { background: #f8fafc; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.about-card { background: #fff; border-radius: 16px; padding: 32px; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.about-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: transparent; }
.about-card-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(124,58,237,0.1)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about-card-icon svg { width: 24px; height: 24px; color: #2563eb; }
.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.about-card p { font-size: 0.92rem; color: #64748b; line-height: 1.7; }
.about-card strong { color: #2563eb; }
.about-card-ceo { grid-column: 1 / -1; background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff; border: none; }
.about-card-ceo h3 { color: #fff; }
.about-card-ceo p { color: rgba(255,255,255,0.8); }
.about-card-ceo .about-card-icon { background: rgba(255,255,255,0.1); }
.about-card-ceo .about-card-icon svg { color: #60a5fa; }
.ceo-name { display: block; margin-top: 16px; font-size: 0.9rem; color: #60a5fa; font-weight: 600; }

/* ===== SERVICES SECTION ===== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); text-align: center; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: #2563eb; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, #eff6ff, #f0f0ff); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.service-icon svg { width: 28px; height: 28px; color: #2563eb; }
.service-card:hover .service-icon { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.service-card:hover .service-icon svg { color: #fff; }
.service-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: #0f172a; }
.service-card p { font-size: 0.82rem; color: #64748b; line-height: 1.6; }

/* ===== PROJECTS SECTION ===== */
.projects { background: #f8fafc; }
.project-filters { display: flex; gap: 8px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 10px 24px; border-radius: 50px; border: 1.5px solid #e2e8f0; background: #fff; font-size: 0.85rem; font-weight: 600; color: #64748b; cursor: pointer; transition: all 0.3s; }
.filter-btn:hover { border-color: #2563eb; color: #2563eb; }
.filter-btn.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.12); }
.project-card.hidden { display: none; }
.project-card-image { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-svg { width: 120px; height: 80px; }
.project-badge { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); padding: 5px 14px; border-radius: 50px; color: #fff; font-size: 0.75rem; font-weight: 600; }
.project-card-body { padding: 24px; }
.project-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #0f172a; }
.project-card-body p { font-size: 0.85rem; color: #64748b; line-height: 1.65; margin-bottom: 16px; }
.project-client { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #2563eb; font-weight: 600; margin-bottom: 12px; padding: 6px 0; border-top: 1px solid #f1f5f9; }
.project-client svg { color: #2563eb; flex-shrink: 0; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tech span { padding: 4px 10px; background: #f1f5f9; border-radius: 6px; font-size: 0.72rem; font-weight: 600; color: #475569; }
.project-card-featured { grid-column: span 2; }
.project-card-featured .project-card-image { height: 220px; }

/* ===== PROCESS SECTION ===== */
.process-timeline { max-width: 700px; margin: 0 auto 48px; position: relative; }
.process-timeline::before { content: ''; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, #2563eb, #7c3aed); }
.process-item { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 28px; position: relative; }
.process-number { width: 64px; height: 64px; min-width: 64px; border-radius: 16px; background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.process-content h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; margin-top: 8px; }
.process-content p { font-size: 0.85rem; color: #64748b; line-height: 1.6; }
.process-diagram { max-width: 800px; margin: 0 auto; background: #f8fafc; border-radius: 16px; padding: 32px; border: 1px solid #e2e8f0; }
.mermaid { text-align: center; }

/* ===== TECH STACK ===== */
.tech-stack { background: #f8fafc; }
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 800px; margin: 0 auto; }
.tech-item { background: #fff; border-radius: 12px; padding: 20px 12px; text-align: center; border: 1px solid #e2e8f0; transition: all 0.3s; }
.tech-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: #2563eb; }
.tech-logo { font-size: 2rem; margin-bottom: 8px; }
.tech-item span { font-size: 0.78rem; font-weight: 600; color: #475569; }

/* ===== TEAM SECTION ===== */
.team-stat { text-align: center; margin-bottom: 40px; }
.team-stat-number { font-size: 3rem; font-weight: 800; color: #2563eb; }
.team-stat-label { font-size: 1rem; color: #64748b; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: 16px; padding: 32px 24px; text-align: center; border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.team-avatar { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.team-avatar svg { width: 32px; height: 32px; }
.team-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: #2563eb; font-weight: 600; margin-bottom: 8px; }
.team-desc { font-size: 0.82rem; color: #64748b; }

/* ===== CONTACT SECTION ===== */
.contact { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1e40af 100%); color: #fff; }
.contact .section-tag { background: rgba(255,255,255,0.1); color: #60a5fa; }
.contact .section-title { color: #fff; }
.contact .section-desc { color: rgba(255,255,255,0.7); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 22px; height: 22px; color: #60a5fa; }
.contact-item h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.contact-item p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.contact-item a { color: #60a5fa; }
.contact-item a:hover { color: #93c5fd; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.08); color: #fff; font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: all 0.3s; backdrop-filter: blur(10px); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #60a5fa; background: rgba(255,255,255,0.12); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer { background: #020617; color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 12px; }
.footer-logo .logo-img { width: 32px; height: 32px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: #60a5fa; }
.footer-contact p { font-size: 0.85rem; margin-bottom: 8px; }
.footer-contact a { color: #60a5fa; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== ANIMATIONS ===== */
.animate-fade-up { opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s cubic-bezier(0.4,0,0.2,1) forwards; }
.animate-fade-up:nth-child(2) { animation-delay: 0.15s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.45s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(24px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card-featured { grid-column: span 2; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #fff; flex-direction: column; align-items: flex-start; padding: 80px 24px 24px; gap: 4px; transition: right 0.4s cubic-bezier(0.4,0,0.2,1); box-shadow: -10px 0 40px rgba(0,0,0,0.1); }
    .nav-menu.active { right: 0; }
    .nav-menu .nav-link { color: #475569; width: 100%; }
    .nav-menu .nav-link:hover { background: rgba(37,99,235,0.06); color: #2563eb; }
    .nav-menu .nav-link-cta { background: #2563eb; color: #fff !important; }
    .nav-toggle { display: flex; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 16px; }
    .hero-stat-number { font-size: 1.6rem; }
    .hero-stat-divider { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-card-ceo { grid-column: auto; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card-featured { grid-column: auto; }
    .project-card-featured .project-card-image { height: 180px; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .process-timeline::before { left: 32px; }
}

/* ===== PARTICLE STYLES ===== */
.particle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); pointer-events: none; animation: floatParticle linear infinite; }
@keyframes floatParticle { 0% { transform: translateY(0) rotate(0deg); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; } }

