/* ===== BASE RESET ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html{scroll-behavior:smooth}

body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:16px;background:#0E101A;color:#ECEDF3;line-height:1.7;-webkit-font-smoothing:antialiased}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

h1,h2,h3,h4{line-height:1.25;font-weight:700}

/* ===== MAIN NAVIGATION ===== */
.main-nav{position:fixed;top:0;left:0;width:100%;z-index:1000;background:#080910;border-bottom:1px solid #1E2130;transition:all .3s ease}
.main-nav .nav-inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 32px;height:68px}
.main-nav .nav-logo{font-size:1.5rem;font-weight:800;letter-spacing:-0.5px;background:linear-gradient(135deg,#6366F1,#8B5CF6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.main-nav .nav-menu{display:flex;align-items:center;gap:36px}
.main-nav .nav-menu a{font-size:.925rem;font-weight:500;color:#969BB0;transition:color .2s ease;position:relative}
.main-nav .nav-menu a:hover,.main-nav .nav-menu a.active{color:#ECEDF3}
.main-nav .nav-menu a::after{content:'';position:absolute;bottom:-6px;left:0;width:0;height:2px;background:linear-gradient(135deg,#6366F1,#8B5CF6);transition:width .25s ease;border-radius:1px}
.main-nav .nav-menu a:hover::after,.main-nav .nav-menu a.active::after{width:100%}
.main-nav .nav-cta{padding:8px 20px;background:linear-gradient(135deg,#6366F1,#8B5CF6);color:#fff;border-radius:8px;font-size:.875rem;font-weight:600;transition:opacity .2s ease,transform .2s ease}
.main-nav .nav-cta:hover{opacity:.9;transform:translateY(-1px)}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:4px;z-index:1001}
.nav-toggle span{display:block;width:24px;height:2px;background:#ECEDF3;border-radius:2px;transition:all .3s ease}
.nav-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ===== HOME PAGE ===== */
.home-page section{padding:100px 32px}

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

/* ===== HERO SECTION ===== */
.hero-section{min-height:100vh;display:flex;align-items:center;position:relative;overflow:hidden;background:#0E101A;padding-top:100px}
.hero-section::before{content:'';position:absolute;top:-50%;right:-20%;width:700px;height:700px;background:radial-gradient(circle,rgba(99,102,241,.12) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.hero-section::after{content:'';position:absolute;bottom:-30%;left:-15%;width:600px;height:600px;background:radial-gradient(circle,rgba(139,92,246,.08) 0%,transparent 70%);border-radius:50%;pointer-events:none}
.hero-section .hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;max-width:1140px;margin:0 auto;width:100%;position:relative;z-index:1}
.hero-section .hero-text h1{font-size:3.5rem;font-weight:800;line-height:1.1;margin-bottom:18px;letter-spacing:-1px}
.hero-section .hero-text h1 .accent{background:linear-gradient(135deg,#6366F1,#F97316);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.hero-section .hero-text .hero-subtitle{font-size:1.15rem;color:#969BB0;margin-bottom:10px;max-width:500px}
.hero-section .hero-text p{font-size:1rem;color:#969BB0;margin-bottom:14px;max-width:500px}
.hero-section .hero-buttons{display:flex;gap:16px;margin-top:32px}
.hero-section .btn-primary{padding:14px 32px;background:linear-gradient(135deg,#6366F1,#8B5CF6);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s ease,transform .2s ease,box-shadow .2s ease;display:inline-block}
.hero-section .btn-primary:hover{opacity:.92;transform:translateY(-2px);box-shadow:0 8px 28px rgba(99,102,241,.3)}
.hero-section .btn-outline{padding:14px 32px;background:transparent;color:#ECEDF3;border:1.5px solid #282C3D;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:inline-block}
.hero-section .btn-outline:hover{border-color:#6366F1;color:#6366F1;transform:translateY(-2px)}
.hero-visual{position:relative;display:flex;align-items:center;justify-content:center}
.hero-visual .hero-illustration{width:100%;max-width:440px;aspect-ratio:1;border-radius:24px;background:linear-gradient(135deg,rgba(99,102,241,.15),rgba(139,92,246,.08));border:1px solid rgba(99,102,241,.15);display:flex;align-items:center;justify-content:center;position:relative}
.hero-visual .hero-illustration .node{position:absolute;width:48px;height:48px;border-radius:12px;background:#1E2030;border:1px solid #282C3D;display:flex;align-items:center;justify-content:center;font-size:1.25rem}
.hero-visual .hero-illustration .node.n1{top:25%;left:20%}
.hero-visual .hero-illustration .node.n2{top:35%;right:22%}
.hero-visual .hero-illustration .node.n3{bottom:30%;left:28%}
.hero-visual .hero-illustration .node.n4{bottom:25%;right:25%}
.hero-visual .hero-illustration .node.center{top:50%;left:50%;transform:translate(-50%,-50%);width:64px;height:64px;background:linear-gradient(135deg,#6366F1,#8B5CF6);border:none;font-size:1.5rem}
.hero-visual .hero-illustration .node-line{position:absolute;background:rgba(99,102,241,.2);height:1.5px;transform-origin:left center}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section{background:#11131D}
.solutions-section .section-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#6366F1;margin-bottom:12px}
.solutions-section .section-heading{font-size:2.5rem;margin-bottom:12px;letter-spacing:-.5px}
.solutions-section .section-intro{color:#969BB0;max-width:560px;margin-bottom:48px;font-size:1.05rem}
.solutions-section .bento-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:minmax(200px,auto);gap:20px}
.solutions-section .bento-card{background:#1A1D2C;border:1px solid #242838;border-radius:16px;padding:32px;transition:all .3s ease;position:relative;overflow:hidden}
.solutions-section .bento-card:hover{border-color:#6366F1;transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.3)}
.solutions-section .bento-card.tall{grid-row:span 2}
.solutions-section .bento-card.wide{grid-column:span 2}
.solutions-section .bento-card .card-icon{width:44px;height:44px;border-radius:10px;background:rgba(99,102,241,.12);display:flex;align-items:center;justify-content:center;font-size:1.25rem;margin-bottom:18px}
.solutions-section .bento-card .card-icon.alt{background:rgba(249,115,22,.12)}
.solutions-section .bento-card h3{font-size:1.15rem;margin-bottom:8px}
.solutions-section .bento-card p{font-size:.925rem;color:#969BB0;line-height:1.6}
.solutions-section .bento-card .card-badge{display:inline-block;margin-top:16px;padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600;background:rgba(99,102,241,.1);color:#818CF8}

/* ===== APPROACH SECTION (Timeline) ===== */
.approach-section{background:#0E101A;position:relative}
.approach-section .section-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#F97316;margin-bottom:12px}
.approach-section .section-heading{font-size:2.5rem;margin-bottom:8px;letter-spacing:-.5px}
.approach-section .section-intro{color:#969BB0;max-width:560px;margin-bottom:56px;font-size:1.05rem}
.approach-section .timeline{position:relative;max-width:900px;margin:0 auto}
.approach-section .timeline::before{content:'';position:absolute;left:50%;top:0;bottom:0;width:1.5px;background:linear-gradient(to bottom,transparent,#6366F1,#F97316,transparent);transform:translateX(-50%)}
.approach-section .timeline-item{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:64px;position:relative}
.approach-section .timeline-item:nth-child(even){direction:rtl}
.approach-section .timeline-item:nth-child(even) .timeline-content{direction:ltr}
.approach-section .timeline-item:last-child{margin-bottom:0}
.approach-section .timeline-marker{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;border-radius:50%;background:#1E2030;border:3px solid #6366F1;z-index:2}
.approach-section .timeline-item:nth-child(even) .timeline-marker{border-color:#F97316}
.approach-section .timeline-content{background:#1A1D2C;border:1px solid #242838;border-radius:14px;padding:28px}
.approach-section .timeline-content .step-num{font-size:3rem;font-weight:800;color:#1B1D3A;line-height:1;margin-bottom:4px}
.approach-section .timeline-item:nth-child(even) .timeline-content .step-num{color:#311F19}
.approach-section .timeline-content h3{font-size:1.2rem;margin-bottom:8px}
.approach-section .timeline-content p{color:#969BB0;font-size:.925rem}

/* ===== TECHNOLOGY SECTION ===== */
.technology-section{background:#11131D}
.technology-section .section-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#6366F1;margin-bottom:12px}
.technology-section .section-heading{font-size:2.5rem;margin-bottom:8px;letter-spacing:-.5px}
.technology-section .section-intro{color:#969BB0;max-width:560px;margin-bottom:48px;font-size:1.05rem}
.technology-section .tech-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
.technology-section .tech-card{background:#1A1D2C;border:1px solid #242838;border-radius:12px;padding:28px 24px;text-align:center;transition:all .3s ease}
.technology-section .tech-card:hover{border-color:#6366F1;transform:translateY(-3px)}
.technology-section .tech-card .tech-icon{font-size:2rem;margin-bottom:12px}
.technology-section .tech-card h4{font-size:1rem;margin-bottom:4px}
.technology-section .tech-card span{font-size:.8rem;color:#969BB0}

/* ===== RESULTS SECTION (Stats) ===== */
.results-section{background:linear-gradient(135deg,#0E101A 0%,#111320 50%,#0E101A 100%);position:relative}
.results-section .section-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#818CF8;margin-bottom:12px}
.results-section .section-heading{font-size:2.5rem;margin-bottom:36px;letter-spacing:-.5px}
.results-section .stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.results-section .stat-card{background:#1A1D2C;border:1px solid #242838;border-radius:16px;padding:36px 24px;text-align:center;transition:all .3s ease}
.results-section .stat-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.3)}
.results-section .stat-number{font-size:3rem;font-weight:800;background:linear-gradient(135deg,#6366F1,#8B5CF6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1.1;margin-bottom:6px}
.results-section .stat-label{font-size:.925rem;color:#969BB0}

/* ===== ENGAGEMENT SECTION ===== */
.engagement-section{background:#11131D}
.engagement-section .section-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#F97316;margin-bottom:12px}
.engagement-section .section-heading{font-size:2.5rem;margin-bottom:8px;letter-spacing:-.5px}
.engagement-section .section-intro{color:#969BB0;max-width:560px;margin-bottom:48px;font-size:1.05rem}
.engagement-section .model-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.engagement-section .model-card{background:#1A1D2C;border:1px solid #242838;border-radius:16px;padding:36px 28px;transition:all .3s ease}
.engagement-section .model-card:hover{border-color:#F97316;transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.3)}
.engagement-section .model-card.featured{border-color:#6366F1;background:linear-gradient(135deg,rgba(99,102,241,.05),rgba(99,102,241,.02))}
.engagement-section .model-icon{font-size:2rem;margin-bottom:16px}
.engagement-section .model-card h3{font-size:1.2rem;margin-bottom:10px}
.engagement-section .model-card p{color:#969BB0;font-size:.925rem;line-height:1.65;margin-bottom:20px}
.engagement-section .model-card .model-features{margin-bottom:20px}
.engagement-section .model-card .model-features li{font-size:.875rem;color:#969BB0;padding:4px 0;display:flex;align-items:center;gap:8px}
.engagement-section .model-card .model-features li::before{content:'✓';color:#6366F1;font-weight:700}
.engagement-section .model-link{font-weight:600;font-size:.9rem;color:#6366F1;transition:color .2s ease}
.engagement-section .model-link:hover{color:#8B5CF6}

/* ===== CONNECT SECTION ===== */
.connect-section{background:#0E101A;position:relative}
.connect-section::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:1px;height:100%;background:linear-gradient(to bottom,transparent,rgba(99,102,241,.15),transparent)}
.connect-section .connect-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:64px;align-items:start;max-width:1000px;margin:0 auto;position:relative;z-index:1}
.connect-section .connect-info .section-label{display:inline-block;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#F97316;margin-bottom:12px}
.connect-section .connect-info h2{font-size:2.5rem;margin-bottom:16px;letter-spacing:-.5px}
.connect-section .connect-info p{color:#969BB0;font-size:1rem;line-height:1.7;margin-bottom:28px}
.connect-section .connect-detail{display:flex;align-items:center;gap:12px;margin-bottom:14px;color:#969BB0;font-size:.95rem}
.connect-section .connect-detail .detail-icon{width:36px;height:36px;border-radius:8px;background:rgba(99,102,241,.12);display:flex;align-items:center;justify-content:center;font-size:1rem;flex-shrink:0}
.connect-section .connect-form{background:#1A1D2C;border:1px solid #242838;border-radius:16px;padding:36px}
.connect-section .connect-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.connect-section .connect-form input,.connect-section .connect-form textarea,.connect-section .connect-form select{width:100%;padding:14px 16px;background:#0E101A;border:1px solid #242838;border-radius:10px;color:#ECEDF3;font-size:.925rem;font-family:inherit;transition:border-color .2s ease;outline:none}
.connect-section .connect-form input:focus,.connect-section .connect-form textarea:focus,.connect-section .connect-form select:focus{border-color:#6366F1}
.connect-section .connect-form textarea{resize:vertical;min-height:130px}
.connect-section .connect-form .form-submit{width:100%;padding:14px;background:linear-gradient(135deg,#6366F1,#8B5CF6);color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .2s ease,transform .2s ease;margin-top:4px}
.connect-section .connect-form .form-submit:hover{opacity:.92;transform:translateY(-2px)}
.connect-section .form-status{margin-top:12px;font-size:.875rem;text-align:center;min-height:20px}

/* ===== SITE FOOTER ===== */
.site-footer{background:#080910;border-top:1px solid #1E2130;padding:40px 32px 32px}
.site-footer .footer-inner{max-width:1140px;margin:0 auto}
.site-footer .footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap;margin-bottom:32px}
.site-footer .footer-brand .footer-logo{font-size:1.35rem;font-weight:800;letter-spacing:-.5px;background:linear-gradient(135deg,#6366F1,#8B5CF6);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:6px}
.site-footer .footer-brand p{font-size:.85rem;color:#969BB0;max-width:280px}
.site-footer .footer-links{display:flex;gap:60px;flex-wrap:wrap}
.site-footer .footer-col h4{font-size:.85rem;text-transform:uppercase;letter-spacing:1px;color:#ECEDF3;margin-bottom:12px}
.site-footer .footer-col a{display:block;font-size:.875rem;color:#969BB0;padding:4px 0;transition:color .2s ease}
.site-footer .footer-col a:hover{color:#6366F1}
.site-footer .footer-bottom{border-top:1px solid #1E2130;padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.site-footer .footer-bottom p{font-size:.8rem;color:#5A5F75}
.site-footer .footer-bottom a{font-size:.8rem;color:#6366F1;transition:color .2s ease}
.site-footer .footer-bottom a:hover{color:#8B5CF6}
.site-footer .footer-bottom .footer-legal-links{display:flex;gap:20px}

/* ===== FADE-UP ANIMATION ===== */
.fade-up{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px){
  .hero-section .hero-grid{grid-template-columns:1fr;text-align:center;gap:40px}
  .hero-section .hero-text .hero-subtitle,.hero-section .hero-text p{max-width:100%}
  .hero-section .hero-buttons{justify-content:center}
  .hero-visual .hero-illustration{max-width:320px}
  .solutions-section .bento-grid{grid-template-columns:repeat(2,1fr)}
  .solutions-section .bento-card.wide{grid-column:span 2}
  .solutions-section .bento-card.tall{grid-row:span 1}
  .approach-section .timeline::before{left:28px}
  .approach-section .timeline-item{grid-template-columns:1fr;gap:20px;padding-left:64px}
  .approach-section .timeline-item:nth-child(even){direction:ltr}
  .approach-section .timeline-marker{left:28px;top:20px;transform:translate(-50%,0)}
  .approach-section .timeline-content .step-num{font-size:2rem}
  .results-section .stats-row{grid-template-columns:repeat(2,1fr)}
  .engagement-section .model-grid{grid-template-columns:1fr;max-width:500px;margin:0 auto}
  .connect-section .connect-grid{grid-template-columns:1fr;gap:40px}
}
@media(max-width:768px){
  .nav-toggle{display:flex}
  .main-nav .nav-menu{position:fixed;top:0;right:-100%;width:280px;height:100vh;background:#080910;flex-direction:column;padding:100px 32px 32px;gap:24px;transition:right .35s ease;border-left:1px solid #1E2130}
  .main-nav .nav-menu.open{right:0}
  .main-nav .nav-cta{width:100%;text-align:center}
  .home-page section{padding:72px 20px}
  .hero-section .hero-text h1{font-size:2.4rem}
  .hero-section .hero-buttons{flex-direction:column;align-items:center}
  .solutions-section .section-heading,.approach-section .section-heading,.technology-section .section-heading,.results-section .section-heading,.engagement-section .section-heading,.connect-section .connect-info h2{font-size:1.9rem}
  .solutions-section .bento-grid{grid-template-columns:1fr}
  .solutions-section .bento-card.wide{grid-column:span 1}
  .technology-section .tech-grid{grid-template-columns:repeat(2,1fr)}
  .results-section .stats-row{grid-template-columns:1fr}
  .connect-section .connect-form .form-row{grid-template-columns:1fr}
}
@media(max-width:480px){
  .hero-section .hero-text h1{font-size:1.9rem}
  .solutions-section .section-heading{font-size:1.6rem}
  .site-footer .footer-top{flex-direction:column}
  .site-footer .footer-links{flex-direction:column;gap:24px}
}
