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

html{scroll-behavior:smooth}

body{
  font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  color:#EDEEF3;
  background:#0C0D14;
  -webkit-font-smoothing:antialiased;
}

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

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

h1,h2,h3{line-height:1.2}

/* ===== NAVBAR (.navbar class — NOT bare nav) ===== */
.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:#0C0D14;
  border-bottom:1px solid #2E2F3D;
  transition:background .3s,box-shadow .3s;
}
.navbar.scrolled{box-shadow:0 2px 20px rgba(0,0,0,.4)}

.navbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:68px;
}

.navbar .logo{
  font-size:26px;
  font-weight:800;
  color:#6C8CFF;
  letter-spacing:-0.5px;
}

.navbar .nav-links{
  display:flex;
  align-items:center;
  gap:32px;
}
.navbar .nav-links a{
  font-size:15px;
  font-weight:500;
  color:#B0B2C0;
  transition:color .2s;
  position:relative;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active{color:#EDEEF3}

.navbar .nav-cta{
  background:#6C8CFF;
  color:#fff;
  padding:10px 22px;
  border-radius:8px;
  font-weight:600;
  font-size:14px;
  transition:background .2s;
}
.navbar .nav-cta:hover{background:#5A7AEF}

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
  z-index:1001;
}
.menu-toggle span{
  display:block;
  width:26px;
  height:2px;
  background:#EDEEF3;
  border-radius:2px;
  transition:transform .3s,opacity .3s;
}
.menu-toggle.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.menu-toggle.open span:nth-child(2){opacity:0}
.menu-toggle.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

@media(max-width:768px){
  .menu-toggle{display:flex}
  .navbar .nav-links{
    position:fixed;top:68px;left:0;width:100%;
    background:#0C0D14;flex-direction:column;gap:0;
    padding:20px 24px;border-bottom:1px solid #2E2F3D;
    transform:translateY(-120%);opacity:0;
    transition:transform .35s,opacity .35s;
    pointer-events:none;
  }
  .navbar .nav-links.open{
    transform:translateY(0);opacity:1;
    pointer-events:auto;
  }
  .navbar .nav-links a{
    display:block;padding:14px 0;border-bottom:1px solid #1F202D;
  }
  .navbar .nav-cta{margin-top:8px;text-align:center}
}

/* ===== HOMEPAGE HERO ===== */
.home-hero{
  padding:160px 0 100px;
  background:#0C0D14;
  position:relative;
  overflow:hidden;
}
.home-hero::before{
  content:'';
  position:absolute;top:-50%;left:-20%;
  width:600px;height:600px;
  background:radial-gradient(circle,rgba(108,140,255,.12) 0%,transparent 70%);
  border-radius:50%;
  pointer-events:none;
}
.home-hero::after{
  content:'';
  position:absolute;bottom:-30%;right:-10%;
  width:500px;height:500px;
  background:radial-gradient(circle,rgba(255,122,69,.08) 0%,transparent 70%);
  border-radius:50%;
  pointer-events:none;
}

.home-hero .container{position:relative;z-index:1}
.home-hero .hero-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:60px;
  align-items:center;
}

.home-hero .hero-tag{
  display:inline-block;background:#1F202D;color:#6C8CFF;
  font-size:13px;font-weight:600;padding:6px 14px;border-radius:20px;
  margin-bottom:20px;letter-spacing:.5px;
}
.home-hero h1{
  font-size:clamp(36px,5vw,56px);font-weight:800;
  color:#EDEEF3;margin-bottom:20px;line-height:1.15;
}
.home-hero h1 .hl{color:#6C8CFF}
.home-hero .hero-desc{
  font-size:17px;color:#A0A2B5;line-height:1.7;margin-bottom:32px;
  max-width:520px;
}
.home-hero .hero-btns{display:flex;gap:14px;flex-wrap:wrap}
.home-hero .btn-primary{
  display:inline-block;background:#6C8CFF;color:#fff;
  padding:14px 32px;border-radius:10px;font-weight:600;font-size:15px;
  transition:background .2s,transform .2s;
}
.home-hero .btn-primary:hover{background:#5A7AEF;transform:translateY(-2px)}
.home-hero .btn-outline{
  display:inline-block;border:2px solid #2E2F3D;color:#EDEEF3;
  padding:14px 32px;border-radius:10px;font-weight:600;font-size:15px;
  transition:border-color .2s,background .2s;
}
.home-hero .btn-outline:hover{border-color:#6C8CFF;background:#1F202D}

.home-hero .hero-visual{
  background:#181922;
  border-radius:20px;
  padding:40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  border:1px solid #2E2F3D;
}
.home-hero .hero-stat{
  text-align:center;padding:24px 16px;
  background:#0C0D14;border-radius:14px;
}
.home-hero .hero-stat .num{
  display:block;font-size:32px;font-weight:800;color:#6C8CFF;
}
.home-hero .hero-stat .lbl{
  display:block;font-size:13px;color:#7E8091;margin-top:4px;
}

@media(max-width:768px){
  .home-hero{padding:120px 0 60px}
  .home-hero .hero-grid{grid-template-columns:1fr;gap:40px}
}

/* ===== ABOUT SECTION (class-based) ===== */
.about-section{
  padding:90px 0;
  background:#181922;
}
.about-section .section-label{
  display:inline-block;font-size:13px;font-weight:700;color:#FF7A45;
  text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;
}
.about-section h2{
  font-size:clamp(28px,4vw,42px);font-weight:800;color:#EDEEF3;
  margin-bottom:24px;
}
.about-section .about-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:50px;
  align-items:center;
}
.about-section .about-text .lead{
  font-size:18px;color:#A0A2B5;line-height:1.7;margin-bottom:20px;
}
.about-section .about-list{margin-top:24px}
.about-section .about-list li{
  font-size:15px;color:#B0B2C0;padding:10px 0 10px 28px;
  position:relative;border-bottom:1px solid #1F202D;
}
.about-section .about-list li::before{
  content:'';position:absolute;left:0;top:16px;
  width:12px;height:12px;border-radius:50%;
  background:#6C8CFF;
}
.about-section .about-card{
  background:#0C0D14;border-radius:16px;padding:36px;
  border:1px solid #2E2F3D;
}
.about-section .about-card .card-title{
  font-size:20px;font-weight:700;color:#EDEEF3;margin-bottom:16px;
}
.about-section .about-card p{color:#8A8C9E;font-size:15px;line-height:1.7;margin-bottom:12px}

@media(max-width:768px){
  .about-section .about-grid{grid-template-columns:1fr}
}

/* ===== SERVICES SECTION (class-based) ===== */
.services-section{
  padding:90px 0;
  background:#0C0D14;
}
.services-section .section-label{
  display:inline-block;font-size:13px;font-weight:700;color:#4ADE80;
  text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;
}
.services-section h2{
  font-size:clamp(28px,4vw,42px);font-weight:800;color:#EDEEF3;
  margin-bottom:16px;
}
.services-section .section-subtitle{
  font-size:16px;color:#7E8091;margin-bottom:48px;max-width:600px;
}
.services-section .services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px;
}
.services-section .service-card{
  background:#181922;border-radius:14px;padding:32px;
  border:1px solid #2E2F3D;transition:transform .3s,border-color .3s;
}
.services-section .service-card:hover{
  transform:translateY(-4px);border-color:#6C8CFF;
}
.services-section .service-card .svc-icon{
  width:52px;height:52px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;font-size:22px;
  background:#1F202D;color:#6C8CFF;
}
.services-section .service-card h3{
  font-size:18px;font-weight:700;color:#EDEEF3;margin-bottom:10px;
}
.services-section .service-card p{
  font-size:14px;color:#8A8C9E;line-height:1.6;
}

@media(max-width:768px){
  .services-section .services-grid{grid-template-columns:1fr}
}
@media(min-width:768px) and (max-width:1024px){
  .services-section .services-grid{grid-template-columns:repeat(2,1fr)}
}

/* ===== FEATURES SECTION (class-based) ===== */
.features-section{
  padding:90px 0;
  background:#F5F6FB;
  color:#1A1A25;
}
.features-section .section-label{
  display:inline-block;font-size:13px;font-weight:700;color:#6C8CFF;
  text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;
}
.features-section h2{
  font-size:clamp(28px,4vw,42px);font-weight:800;color:#1A1A25;
  margin-bottom:48px;
}
.features-section .features-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
}
.features-section .feature-item{
  text-align:center;padding:28px 20px;
}
.features-section .feature-item .feat-num{
  font-size:36px;font-weight:800;color:#6C8CFF;
}
.features-section .feature-item .feat-label{
  font-size:14px;color:#5A5B6E;margin-top:8px;font-weight:500;
}

@media(max-width:768px){
  .features-section .features-grid{grid-template-columns:repeat(2,1fr)}
}

/* ===== PROCESS SECTION (class-based) ===== */
.process-section{
  padding:90px 0;
  background:#181922;
}
.process-section .section-label{
  display:inline-block;font-size:13px;font-weight:700;color:#FF7A45;
  text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;
}
.process-section h2{
  font-size:clamp(28px,4vw,42px);font-weight:800;color:#EDEEF3;
  margin-bottom:48px;
}
.process-section .process-steps{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;
}
.process-section .step{
  position:relative;padding-top:40px;
}
.process-section .step .step-num{
  position:absolute;top:0;left:0;
  font-size:48px;font-weight:800;color:#1F202D;line-height:1;
}
.process-section .step h3{
  font-size:17px;font-weight:700;color:#EDEEF3;margin-bottom:8px;
}
.process-section .step p{
  font-size:14px;color:#8A8C9E;line-height:1.6;
}

@media(max-width:768px){
  .process-section .process-steps{grid-template-columns:repeat(2,1fr)}
}

/* ===== CONTACT SECTION (class-based) ===== */
.contact-section{
  padding:90px 0;
  background:#0C0D14;
}
.contact-section .section-label{
  display:inline-block;font-size:13px;font-weight:700;color:#6C8CFF;
  text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;
}
.contact-section h2{
  font-size:clamp(28px,4vw,42px);font-weight:800;color:#EDEEF3;
  margin-bottom:16px;
}
.contact-section .section-subtitle{
  font-size:16px;color:#7E8091;margin-bottom:48px;max-width:600px;
}
.contact-section .contact-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;
}
.contact-section .contact-info{}
.contact-section .contact-info .info-item{
  display:flex;align-items:flex-start;gap:16px;padding:20px 0;
  border-bottom:1px solid #1F202D;
}
.contact-section .contact-info .info-icon{
  width:44px;height:44px;border-radius:10px;
  background:#1F202D;display:flex;align-items:center;
  justify-content:center;font-size:18px;flex-shrink:0;
}
.contact-section .contact-info .info-text strong{
  display:block;font-size:15px;color:#EDEEF3;margin-bottom:4px;
}
.contact-section .contact-info .info-text span{
  font-size:14px;color:#8A8C9E;
}

.contact-section .contact-form{
  background:#181922;border-radius:16px;padding:32px;
  border:1px solid #2E2F3D;
}
.contact-section .contact-form .form-group{margin-bottom:18px}
.contact-section .contact-form label{
  display:block;font-size:13px;color:#A0A2B5;margin-bottom:6px;font-weight:500;
}
.contact-section .contact-form input,
.contact-section .contact-form textarea,
.contact-section .contact-form select{
  width:100%;padding:12px 16px;border-radius:10px;
  border:1px solid #2E2F3D;background:#0C0D14;color:#EDEEF3;
  font-size:15px;font-family:inherit;outline:none;
  transition:border-color .2s;
}
.contact-section .contact-form input:focus,
.contact-section .contact-form textarea:focus,
.contact-section .contact-form select:focus{border-color:#6C8CFF}
.contact-section .contact-form textarea{resize:vertical;min-height:120px}
.contact-section .contact-form .btn-submit{
  background:#6C8CFF;color:#fff;border:none;
  padding:14px 32px;border-radius:10px;font-size:15px;
  font-weight:600;cursor:pointer;transition:background .2s;
  width:100%;
}
.contact-section .contact-form .btn-submit:hover{background:#5A7AEF}
.contact-section .contact-form .form-result{
  margin-top:14px;font-size:14px;font-weight:500;
  padding:10px 16px;border-radius:8px;display:none;
}
.contact-section .contact-form .form-result.show{display:block}
.contact-section .contact-form .form-result.success{background:#1A2A1E;color:#4ADE80}
.contact-section .contact-form .form-result.error{background:#2A1A1E;color:#FF7A45}

@media(max-width:768px){
  .contact-section .contact-grid{grid-template-columns:1fr}
}

/* ===== HOME FOOTER ===== */
.site-footer{
  background:#0C0D14;border-top:1px solid #2E2F3D;
}
.site-footer .footer-top{
  padding:56px 0 40px;
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
}
.site-footer .footer-brand .f-logo{
  font-size:24px;font-weight:800;color:#6C8CFF;display:block;
  margin-bottom:12px;
}
.site-footer .footer-brand p{
  font-size:14px;color:#7E8091;line-height:1.7;
}
.site-footer .footer-col h4{
  font-size:14px;font-weight:700;color:#EDEEF3;
  text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;
}
.site-footer .footer-col a{
  display:block;font-size:14px;color:#7E8091;padding:6px 0;
  transition:color .2s;
}
.site-footer .footer-col a:hover{color:#EDEEF3}
.site-footer .footer-bottom{
  text-align:center;padding:20px 0;
  border-top:1px solid #1F202D;font-size:13px;color:#5A5B6E;
}

@media(max-width:768px){
  .site-footer .footer-top{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .site-footer .footer-top{grid-template-columns:1fr}
}

/* ===== SCROLL REVEAL ===== */
.fade-up{
  opacity:0;transform:translateY(30px);
  transition:opacity .6s ease,transform .6s ease;
}
.fade-up.visible{opacity:1;transform:translateY(0)}
.fade-up-delay-1{transition-delay:.1s}
.fade-up-delay-2{transition-delay:.2s}
.fade-up-delay-3{transition-delay:.3s}

/* ===== COUNTER ANIMATION ===== */
.counter-val{font-variant-numeric:tabular-nums}
