/* ============================================================
   AutumnWave - Computer Systems Design & IT Services
   All solid hex colors, high contrast, 16px+ body font
   ============================================================ */

/* --- RESET & BASE --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:100%}
body{
  font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:1rem;
  line-height:1.7;
  color:#1A1A2E;
  background:#F8F9FC;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
font-size:16px;}

/* --- TYPOGRAPHY --- */
h1{font-size:3.2rem;font-weight:800;line-height:1.15;color:#0B0B1A}
h2{font-size:2.2rem;font-weight:700;line-height:1.3;color:#0B0B1A}
h3{font-size:1.5rem;font-weight:600;line-height:1.4;color:#16213E}
h4{font-size:1.15rem;font-weight:600;line-height:1.5;color:#16213E}
p{font-size:1rem;margin-bottom:1rem}
a{color:#1A6DD4;text-decoration:none;transition:color .2s}
a:hover{color:#1452A3}

/* --- CONTAINER --- */
.container{width:100%;max-width:1200px;margin:0 auto;padding:0 2rem}
.container-narrow{max-width:960px}

/* --- BUTTONS --- */
.btn{
  display:inline-block;padding:.85rem 1.8rem;font-size:1rem;font-weight:600;
  border-radius:8px;text-decoration:none;cursor:pointer;border:2px solid transparent;
  transition:all .25s;text-align:center;line-height:1.4;
}
.btn-primary{background:#1A6DD4;color:#FFFFFF;border-color:#1A6DD4}
.btn-primary:hover{background:#1452A3;border-color:#1452A3;color:#FFFFFF}
.btn-outline{background:transparent;color:#1A6DD4;border-color:#1A6DD4}
.btn-outline:hover{background:#1A6DD4;color:#FFFFFF}
.btn-light{background:#FFFFFF;color:#1A6DD4;border-color:#FFFFFF}
.btn-light:hover{background:#E8EEF6;color:#1452A3}

/* === NAVIGATION === */
.navbar{
  position:sticky;top:0;z-index:1000;
  background:#FFFFFF;border-bottom:1px solid #E2E6ED;
  padding:.85rem 0;
}
.navbar .container{
  display:flex;align-items:center;justify-content:space-between;
}
.nav-brand{
  display:flex;align-items:center;gap:.6rem;
  text-decoration:none;font-size:1.35rem;font-weight:700;color:#0B0B1A;
}
.nav-brand-icon{
  width:44px;height:44px;background:linear-gradient(135deg,#1A6DD4 0%,#0B3D7B 100%);
  border-radius:12px;display:flex;align-items:center;justify-content:center;
  color:#FFFFFF;font-size:1.3rem;font-weight:800;flex-shrink:0;
}
.nav-links{display:flex;align-items:center;gap:2rem;list-style:none}
.nav-links a{color:#4A4A6A;font-weight:500;font-size:.95rem;transition:color .2s}
.nav-links a:hover{color:#1A6DD4}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:.4rem}
.nav-toggle span{display:block;width:26px;height:3px;background:#0B0B1A;margin:5px 0;border-radius:2px;transition:.3s}
.nav-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,6px)}
.nav-toggle.active span:nth-child(2){opacity:0}
.nav-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-6px)}

/* === HERO - ORBIT DESIGN === */
.hero{
  padding:6rem 0 5rem;background:#FFFFFF;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;top:-180px;right:-120px;
  width:620px;height:620px;border-radius:50%;
  background:linear-gradient(135deg,#E8F0FE 0%,#D4E4FC 100%);
  z-index:0;
}
.hero .container{display:flex;align-items:center;gap:4rem;position:relative;z-index:1}
.hero-content{flex:1}
.hero-content h1{margin-bottom:1.2rem}
.hero-content h1 span{color:#1A6DD4}
.hero-content p{font-size:1.15rem;color:#4A4A6A;margin-bottom:2rem;max-width:520px}
.hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.hero-visual{flex:1;display:flex;justify-content:center;align-items:center}
.orbit-ring{
  width:380px;height:380px;border:2px dashed #C8D6E5;
  border-radius:50%;position:relative;
  animation:orbitSpin 50s linear infinite;
}
.orbit-node{
  position:absolute;width:56px;height:56px;background:#FFFFFF;
  border-radius:14px;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 28px rgba(26,109,212,.15);
  font-size:1.4rem;font-weight:700;color:#1A6DD4;
}
.orbit-node:nth-child(1){top:-28px;left:50%;transform:translateX(-50%);background:#1A6DD4;color:#FFFFFF}
.orbit-node:nth-child(2){top:50%;right:-28px;transform:translateY(-50%)}
.orbit-node:nth-child(3){bottom:-28px;left:50%;transform:translateX(-50%)}
.orbit-node:nth-child(4){top:50%;left:-28px;transform:translateY(-50%)}
.orbit-center{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:80px;height:80px;background:#0B0B1A;
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#FFFFFF;font-weight:800;font-size:.85rem;text-align:center;line-height:1.2;
}
@keyframes orbitSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

/* === STATS BAR === */
.stats-bar{
  background:#0B0B1A;color:#FFFFFF;padding:2.5rem 0;
}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.stat-item{display:flex;flex-direction:column;align-items:center}
.stat-number{font-size:2.6rem;font-weight:800;color:#1A6DD4;line-height:1.1}
.stat-label{font-size:.95rem;color:#B0B8C8;margin-top:.3rem}
.stat-divider{width:44px;height:3px;background:#1A6DD4;border-radius:2px;margin:.6rem 0}

/* === SERVICES - HEXAGON GRID === */
.services{padding:5rem 0;background:#F8F9FC}
.section-header{text-align:center;margin-bottom:3.5rem}
.section-header h2{margin-bottom:.8rem}
.section-header p{color:#5A5A7A;max-width:600px;margin:0 auto;font-size:1.05rem}
.section-tag{
  display:inline-block;background:#E8F0FE;color:#1A6DD4;
  font-size:.82rem;font-weight:600;padding:.3rem 1rem;border-radius:20px;
  margin-bottom:1rem;letter-spacing:.04em;text-transform:uppercase;
}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.service-card{
  background:#FFFFFF;border-radius:16px;padding:2rem 1.8rem;
  border:1px solid #E2E6ED;transition:transform .3s,box-shadow .3s;
  position:relative;overflow:hidden;
}
.service-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#1A6DD4,#4A9CF5);
}
.service-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(11,11,26,.08)}
.service-icon{
  width:52px;height:52px;background:#E8F0FE;
  border-radius:12px;display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;color:#1A6DD4;margin-bottom:1.2rem;
}
.service-card h3{margin-bottom:.6rem}
.service-card p{color:#5A5A7A;font-size:.95rem;line-height:1.7}

/* === CAPABILITIES - ASYMMETRIC SPLIT === */
.capabilities{padding:5rem 0;background:#FFFFFF}
.cap-content{display:flex;gap:5rem;align-items:flex-start}
.cap-text{flex:1}
.cap-text h2{margin-bottom:1rem}
.cap-text p{color:#5A5A7A;margin-bottom:1.5rem;font-size:1.05rem}
.cap-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2rem 0}
.cap-list li{
  display:flex;align-items:flex-start;gap:.6rem;
  font-weight:500;color:#1A1A2E;font-size:.95rem;
}
.cap-list li::before{
  content:'';display:inline-block;width:8px;height:8px;
  background:#1A6DD4;border-radius:2px;margin-top:.5rem;flex-shrink:0;
}
.cap-visual{flex:1;position:relative}
.cap-illustration{
  width:100%;aspect-ratio:5/4;background:linear-gradient(135deg,#0B0B1A 0%,#16213E 100%);
  border-radius:20px;display:flex;align-items:center;justify-content:center;
  position:relative;overflow:hidden;
}
.cap-illu-accent{
  position:absolute;width:180px;height:180px;border-radius:50%;
  background:rgba(26,109,212,.15);top:-40px;right:-40px;
}
.cap-illu-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:1rem;z-index:1;
  padding:2rem;
}
.cap-illu-cell{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  border-radius:10px;padding:1.2rem;text-align:center;
  color:#FFFFFF;
}
.cap-illu-cell .ci-num{font-size:1.8rem;font-weight:800;color:#4A9CF5}
.cap-illu-cell .ci-label{font-size:.75rem;color:#8899B0;text-transform:uppercase;letter-spacing:.05em}

/* === PROCESS - VERTICAL TIMELINE === */
.process{padding:5rem 0;background:#F8F9FC}
.process-timeline{position:relative;max-width:840px;margin:0 auto}
.process-timeline::before{
  content:'';position:absolute;left:50%;top:0;bottom:0;width:2px;
  background:linear-gradient(180deg,#1A6DD4,rgba(26,109,212,.15));
  transform:translateX(-50%);
}
.process-step{
  display:flex;align-items:flex-start;gap:1.5rem;margin-bottom:3rem;position:relative;
}
.process-step:nth-child(odd){flex-direction:row-reverse}
.process-step:nth-child(odd) .proc-content{text-align:right}
.process-dot{
  width:48px;height:48px;background:#1A6DD4;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#FFFFFF;font-weight:800;font-size:1.1rem;flex-shrink:0;
  position:relative;left:50%;transform:translateX(-50%);
  z-index:1;
}
.proc-content{flex:1;max-width:380px}
.proc-content h4{color:#0B0B1A;margin-bottom:.4rem}
.proc-content p{color:#5A5A7A;font-size:.95rem}

/* === TECH STACK - MARQUEE === */
.tech-stack{padding:4rem 0;background:#0B0B1A;overflow:hidden}
.tech-stack h3{color:#FFFFFF;text-align:center;margin-bottom:2rem;font-size:1.1rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase}
.tech-marquee{display:flex;gap:3rem;animation:marquee 30s linear infinite;width:max-content}
.tech-item{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);
  border-radius:10px;padding:.8rem 1.6rem;color:#C8D6E5;
  font-weight:600;font-size:.9rem;white-space:nowrap;
}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* === SOLUTIONS - BRICK MASONRY === */
.solutions{padding:5rem 0;background:#FFFFFF}
.sol-masonry{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:180px;gap:1.2rem}
.sol-brick{
  border-radius:14px;padding:1.5rem;display:flex;flex-direction:column;
  justify-content:flex-end;color:#FFFFFF;position:relative;overflow:hidden;
  transition:transform .3s;
}
.sol-brick:hover{transform:scale(1.03)}
.sol-brick:nth-child(1){background:linear-gradient(135deg,#1A6DD4,#0B3D7B);grid-column:span 2;grid-row:span 2}
.sol-brick:nth-child(2){background:linear-gradient(135deg,#16213E,#0B0B1A);grid-column:span 2}
.sol-brick:nth-child(3){background:linear-gradient(135deg,#2D5F9E,#1A6DD4)}
.sol-brick:nth-child(4){background:linear-gradient(135deg,#0B0B1A,#1A1A2E)}
.sol-brick:nth-child(5){background:linear-gradient(135deg,#1A6DD4,#2D5F9E);grid-row:span 2}
.sol-brick:nth-child(6){background:linear-gradient(135deg,#16213E,#2D5F9E);grid-column:span 2;grid-row:span 2}
.sol-brick:nth-child(7){background:linear-gradient(135deg,#1A1A2E,#16213E)}
.sol-brick h4{color:#FFFFFF;font-size:1.1rem;margin-bottom:.3rem}
.sol-brick p{font-size:.82rem;color:#E6EAF5;line-height:1.5;margin:0}

/* === TESTIMONIAL - FULL-WIDTH BANNER === */
.testimonial-banner{
  background:linear-gradient(135deg,#1A6DD4,#0B3D7B);
  padding:4rem 0;text-align:center;color:#FFFFFF;
}
.testimonial-banner .quote-mark{font-size:5rem;line-height:1;opacity:.25;color:#FFFFFF}
.testimonial-banner blockquote{font-size:1.35rem;max-width:720px;margin:0 auto 1.5rem;line-height:1.6}
.testimonial-banner cite{font-style:normal;font-size:.9rem;opacity:.8}

/* === CTA === */
.cta-section{padding:5rem 0;background:#F8F9FC}
.cta-box{
  background:#0B0B1A;border-radius:24px;padding:3.5rem 3rem;
  text-align:center;color:#FFFFFF;position:relative;overflow:hidden;
}
.cta-box::after{
  content:'';position:absolute;top:-80px;right:-80px;
  width:260px;height:260px;border-radius:50%;
  background:rgba(26,109,212,.1);
}
.cta-box h2{color:#FFFFFF;margin-bottom:.8rem}
.cta-box p{color:#8899B0;max-width:520px;margin:0 auto 2rem;font-size:1.05rem}
.cta-box .btn-light{margin-right:.8rem}

/* === FOOTER === */
.footer{background:#0B0B1A;color:#8899B0;padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:3rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand h3{color:#FFFFFF;margin-bottom:.8rem}
.footer-brand p{font-size:.9rem;line-height:1.7}
.footer-links h4{color:#FFFFFF;margin-bottom:1rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em}
.footer-links ul{list-style:none}
.footer-links li{margin-bottom:.5rem}
.footer-links a{color:#8899B0;font-size:.9rem;transition:color .2s}
.footer-links a:hover{color:#FFFFFF}
.footer-bottom{
  padding:1.5rem 0;display:flex;justify-content:space-between;
  align-items:center;flex-wrap:wrap;gap:1rem;
  font-size:.85rem;
}
.footer-bottom a{color:#8899B0;font-size:.85rem}
.footer-bottom a:hover{color:#FFFFFF}

/* === RESPONSIVE === */
@media (max-width:1024px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .cap-content{flex-direction:column;gap:3rem}
  .sol-masonry{grid-template-columns:repeat(2,1fr);grid-auto-rows:160px}
  .sol-brick:nth-child(1){grid-column:span 2;grid-row:span 1}
  .sol-brick:nth-child(6){grid-column:span 2}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:768px){
  h1{font-size:2.2rem}h2{font-size:1.7rem}
  .hero .container{flex-direction:column;text-align:center;gap:3rem}
  .hero-content p{margin-left:auto;margin-right:auto}
  .hero-cta{justify-content:center}
  .orbit-ring{width:240px;height:240px}
  .orbit-node{width:40px;height:40px;font-size:1rem}
  .stats-grid{grid-template-columns:1fr 1fr;gap:1.5rem}
  .services-grid{grid-template-columns:1fr}
  .process-timeline::before{left:24px}
  .process-step,.process-step:nth-child(odd){flex-direction:row}
  .process-step:nth-child(odd) .proc-content{text-align:left}
  .process-dot{left:0;transform:none}
  .proc-content{max-width:100%}
  .sol-masonry{grid-template-columns:1fr;grid-auto-rows:auto}
  .sol-brick,.sol-brick:nth-child(1),.sol-brick:nth-child(6){grid-column:span 1;grid-row:span 1}
  .footer-grid{grid-template-columns:1fr}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#FFFFFF;flex-direction:column;gap:0;border-bottom:1px solid #E2E6ED;padding:1rem 2rem}
  .nav-links.show{display:flex}
  .nav-toggle{display:block}
  .cap-list{grid-template-columns:1fr}
}

/* === LEGAL PAGES === */
.legal-hero{
  background:linear-gradient(135deg,#0B0B1A 0%,#16213E 100%);
  color:#FFFFFF;padding:4rem 0;text-align:center;
}
.legal-hero h1{color:#FFFFFF;margin-bottom:.5rem}
.legal-hero p{color:#8899B0;font-size:1rem}
.legal-body{padding:4rem 0;background:#FFFFFF}
.legal-section{
  margin-bottom:3rem;padding-bottom:2.5rem;
  border-bottom:1px solid #E2E6ED;
}
.legal-section:last-child{border-bottom:none}
.legal-section h2{font-size:1.5rem;margin-bottom:1rem;color:#0B0B1A}
.legal-section h3{font-size:1.15rem;margin:1.5rem 0 .6rem;color:#16213E}
.legal-section p{margin-bottom:.8rem;color:#4A4A6A;line-height:1.8}
.legal-section ul,.legal-section ol{margin:0 0 1rem 1.5rem;color:#4A4A6A;line-height:1.8}
.legal-section li{margin-bottom:.4rem}
.legal-body .container-narrow{max-width:860px}
.legal-date{color:#8899B0;font-size:.9rem}

/* === SCROLL ANIMATIONS === */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .6s,transform .6s}
.reveal.visible{opacity:1;transform:translateY(0)}

/* === BACK TO TOP === */
.back-top{
  position:fixed;bottom:2rem;right:2rem;z-index:998;
  width:48px;height:48px;background:#1A6DD4;color:#FFFFFF;
  border:none;border-radius:12px;cursor:pointer;font-size:1.2rem;
  box-shadow:0 4px 16px rgba(26,109,212,.3);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;
}
.back-top.visible{opacity:1;visibility:visible}
.back-top:hover{background:#1452A3}
