/* ================= AtomECore — shared stylesheet ================= */
:root{
  --blue:#2563EB;
  --blue-light:#5B8DEF;
  --navy:#0D1B2A;
  --navy-soft:#122132;
  --slate:#64748B;
  --light-gray:#E2E8F0;
  --mist:#F5F7FA;
  --white:#FFFFFF;
  --radius:14px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',sans-serif;
  background:var(--mist);
  color:var(--navy);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit;}
img,svg{display:block;}
ul{list-style:none;}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

/* ---------- LOGO PLACEHOLDER ----------
   Replace the .logo-placeholder <div> in each page's header/footer
   with your real mark, e.g.:
   <img src="assets/logo.png" alt="AtomECore" class="logo-mark">
------------------------------------------ */
.logo-lockup{display:flex; align-items:center; gap:12px;}
.logo-placeholder{
  width:34px; height:34px; border-radius:8px;
  border:1.5px dashed rgba(37,99,235,0.55);
  display:flex; align-items:center; justify-content:center;
  font-size:9px; font-weight:800; letter-spacing:0.02em;
  color:var(--blue); background:rgba(37,99,235,0.06);
  flex:none;
}
footer .logo-placeholder{
  border-color:rgba(255,255,255,0.35); color:#AEBBCC; background:rgba(255,255,255,0.05);
}
.logo-text{font-weight:800; font-size:19px; letter-spacing:-0.02em; color:var(--navy);}
.logo-text span{color:var(--blue);}
footer .logo-text{color:var(--white);}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--light-gray);
}
nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px; max-width:1200px; margin:0 auto;
}
.nav-links{display:flex; align-items:center; gap:36px;}
.nav-links a{
  font-size:14.5px; font-weight:600; color:var(--slate);
  transition:color .2s ease; position:relative; padding-bottom:4px;
}
.nav-links a:hover{color:var(--navy);}
.nav-links a.active{color:var(--navy);}
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--blue);
}
.nav-cta{
  background:var(--navy); color:var(--white); padding:10px 22px;
  border-radius:8px; font-size:14px; font-weight:600;
  transition:background .2s ease, transform .2s ease;
}
.nav-cta:hover{background:var(--blue); transform:translateY(-1px);}
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px;
}
.nav-toggle span{width:22px; height:2px; background:var(--navy); border-radius:2px;}

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color:var(--white); padding:80px 0 70px; position:relative; overflow:hidden;
}
.page-hero .eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--blue-light); margin-bottom:18px;
}
.page-hero .eyebrow::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--blue-light);}
.page-hero h1{font-size:44px; font-weight:800; line-height:1.12; letter-spacing:-0.02em; max-width:640px;}
.page-hero p{margin-top:18px; font-size:16.5px; line-height:1.65; color:#B7C2D0; max-width:540px;}
.breadcrumb{font-size:13px; color:#8898AC; margin-bottom:16px;}
.breadcrumb span{color:var(--blue-light);}

/* ---------- HOME HERO ---------- */
.hero{
  background:linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color:var(--white); position:relative; overflow:hidden;
}
.hero .wrap{
  display:grid; grid-template-columns:1.1fr 0.9fr; align-items:center;
  gap:40px; padding:120px 32px 110px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase;
  color:var(--blue-light); margin-bottom:22px;
}
.eyebrow::before{content:''; width:7px; height:7px; border-radius:50%; background:var(--blue-light);}
.hero h1{font-size:56px; font-weight:800; line-height:1.08; letter-spacing:-0.025em; max-width:620px;}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(90deg, var(--blue-light), #8FB3FF);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p{margin-top:22px; font-size:17.5px; line-height:1.65; color:#B7C2D0; max-width:520px;}
.hero-ctas{display:flex; gap:14px; margin-top:36px; flex-wrap:wrap;}
.hero-stats{display:flex; gap:38px; margin-top:56px; flex-wrap:wrap;}
.hero-stat b{display:block; font-size:26px; font-weight:800; color:var(--white);}
.hero-stat span{font-size:13px; color:#8898AC; font-weight:500;}

.btn-primary{
  background:var(--blue); color:var(--white); padding:14px 28px;
  border-radius:9px; font-weight:600; font-size:15px;
  transition:background .2s ease, transform .2s ease; display:inline-block; border:none; cursor:pointer;
}
.btn-primary:hover{background:var(--blue-light); transform:translateY(-2px);}
.btn-secondary{
  border:1px solid rgba(255,255,255,0.25); color:var(--white);
  padding:14px 28px; border-radius:9px; font-weight:600; font-size:15px;
  transition:border-color .2s ease, background .2s ease; display:inline-block;
}
.btn-secondary:hover{border-color:rgba(255,255,255,0.6); background:rgba(255,255,255,0.06);}
.btn-dark{
  background:var(--navy); color:var(--white); padding:13px 26px;
  border-radius:9px; font-weight:600; font-size:14.5px; display:inline-block;
  transition:background .2s ease, transform .2s ease; border:none; cursor:pointer;
}
.btn-dark:hover{background:var(--blue); transform:translateY(-2px);}

/* orbit graphic */
.orbit-stage{position:relative; width:100%; aspect-ratio:1/1; max-width:420px; margin:0 auto;}
.orbit-glow{
  position:absolute; inset:0; border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,0.35) 0%, rgba(37,99,235,0) 65%);
  animation:pulse 4s ease-in-out infinite;
}
@keyframes pulse{0%,100%{opacity:0.6; transform:scale(1);} 50%{opacity:1; transform:scale(1.06);}}
.orbit-ring{position:absolute; top:50%; left:50%; border:1.5px solid rgba(91,141,239,0.35); border-radius:50%; transform-origin:center;}
.ring-a{width:78%; height:78%; margin:-39% 0 0 -39%; transform:rotate(20deg); animation:spin1 14s linear infinite;}
.ring-b{width:78%; height:78%; margin:-39% 0 0 -39%; transform:rotate(-45deg); animation:spin2 18s linear infinite;}
@keyframes spin1{from{transform:rotate(20deg);} to{transform:rotate(380deg);}}
@keyframes spin2{from{transform:rotate(-45deg);} to{transform:rotate(-405deg);}}
.orbit-dot{
  position:absolute; width:10px; height:10px; border-radius:50%; background:var(--blue-light);
  box-shadow:0 0 14px 3px rgba(91,141,239,0.8);
}
.orbit-core-placeholder{
  position:absolute; top:50%; left:50%; width:120px; height:120px; margin:-60px 0 0 -60px;
  border:1.5px dashed rgba(255,255,255,0.4); border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; letter-spacing:0.06em; color:rgba(255,255,255,0.55); text-align:center;
}

/* ---------- LOGO STRIP ---------- */
.logo-strip{background:var(--white); padding:36px 0; border-bottom:1px solid var(--light-gray);}
.logo-strip .wrap{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px;}
.logo-strip span{font-size:12.5px; font-weight:700; letter-spacing:0.1em; color:var(--slate); text-transform:uppercase; white-space:nowrap;}
.logo-strip .marks{display:flex; gap:34px; flex-wrap:wrap;}
.client-placeholder{
  width:120px; height:28px; border:1.5px dashed var(--light-gray); border-radius:6px;
  display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:700;
  color:var(--slate); letter-spacing:0.04em;
}

/* ---------- SECTION HEADERS ---------- */
.section{padding:110px 0;}
.section-head{max-width:640px; margin:0 auto 64px;}
.section-head.center{text-align:center;}
.tag{font-size:12.5px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--blue); margin-bottom:14px; display:block;}
.section-head h2{font-size:36px; font-weight:800; letter-spacing:-0.02em; line-height:1.2;}
.section-head p{margin-top:16px; font-size:16.5px; color:var(--slate); line-height:1.65;}

/* ---------- SERVICES ---------- */
.services-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;}
.service-card{
  background:var(--white); border:1px solid var(--light-gray); border-radius:var(--radius);
  padding:34px 28px; transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position:relative; overflow:hidden;
}
.service-card::before{
  content:''; position:absolute; top:0; left:0; width:100%; height:3px;
  background:linear-gradient(90deg, var(--blue), var(--blue-light));
  transform:scaleX(0); transform-origin:left; transition:transform .3s ease;
}
.service-card:hover{transform:translateY(-5px); box-shadow:0 20px 40px -18px rgba(13,27,42,0.18); border-color:transparent;}
.service-card:hover::before{transform:scaleX(1);}
.service-icon{width:46px; height:46px; border-radius:11px; background:var(--mist); display:flex; align-items:center; justify-content:center; margin-bottom:22px;}
.service-icon svg{width:22px; height:22px;}
.service-card h3{font-size:18.5px; font-weight:700; letter-spacing:-0.01em; margin-bottom:10px;}
.service-card p{font-size:14.5px; color:var(--slate); line-height:1.6;}
.service-card a.card-link{font-size:13.5px; font-weight:700; color:var(--blue); margin-top:16px; display:inline-block;}

/* service detail rows (services.html) */
.service-detail{
  display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center;
  padding:70px 0; border-bottom:1px solid var(--light-gray);
}
.service-detail:last-child{border-bottom:none;}
.service-detail.reverse{grid-template-columns:1.1fr 0.9fr;}
.service-detail.reverse .detail-visual{order:2;}
.detail-visual{
  aspect-ratio:4/3; border-radius:18px; background:var(--white); border:1px solid var(--light-gray);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.detail-visual .service-icon{width:64px; height:64px; margin:0;}
.detail-visual .service-icon svg{width:30px; height:30px;}
.detail-copy .tag{margin-bottom:12px;}
.detail-copy h3{font-size:28px; font-weight:800; letter-spacing:-0.02em; margin-bottom:16px;}
.detail-copy p{font-size:15.5px; color:var(--slate); line-height:1.7; margin-bottom:20px;}
.detail-list{display:flex; flex-direction:column; gap:12px;}
.detail-list li{display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--navy); font-weight:500;}
.detail-list li::before{content:''; width:6px; height:6px; border-radius:50%; background:var(--blue); margin-top:7px; flex:none;}

/* ---------- ABOUT / WHY ---------- */
.about{background:var(--white);}
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center;}
.about-copy h2{font-size:34px; font-weight:800; letter-spacing:-0.02em; line-height:1.25; margin-bottom:20px;}
.about-copy p{font-size:16px; color:var(--slate); line-height:1.75; margin-bottom:16px;}
.about-points{margin-top:28px; display:flex; flex-direction:column; gap:16px;}
.about-point{display:flex; align-items:flex-start; gap:14px;}
.check{flex:none; width:22px; height:22px; border-radius:50%; background:var(--blue); display:flex; align-items:center; justify-content:center; margin-top:2px;}
.check svg{width:11px; height:11px;}
.about-point div b{font-size:15px; font-weight:700; display:block; margin-bottom:2px;}
.about-point div span{font-size:14px; color:var(--slate);}
.about-panel{background:var(--navy); border-radius:20px; padding:44px; display:grid; grid-template-columns:1fr 1fr; gap:36px;}
.stat-block b{font-size:38px; font-weight:800; color:var(--white); display:block; letter-spacing:-0.02em;}
.stat-block span{font-size:13.5px; color:#93A1B5; font-weight:500; display:block; margin-top:6px; line-height:1.4;}

/* ---------- TEAM (about.html) ---------- */
.team-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:26px;}
.team-card{text-align:center;}
.avatar-placeholder{
  width:100%; aspect-ratio:1/1; border-radius:16px; background:var(--white);
  border:1.5px dashed var(--light-gray); display:flex; align-items:center; justify-content:center;
  color:var(--slate); font-size:12px; font-weight:700; margin-bottom:16px; letter-spacing:0.04em;
}
.team-card h4{font-size:16px; font-weight:700; margin-bottom:4px;}
.team-card span{font-size:13.5px; color:var(--slate);}

/* timeline (about.html) */
.timeline{display:flex; flex-direction:column; gap:0; max-width:720px; margin:0 auto;}
.timeline-item{display:grid; grid-template-columns:100px 1fr; gap:28px; padding:28px 0; border-left:2px solid var(--light-gray); position:relative; padding-left:32px; margin-left:50px;}
.timeline-item::before{content:''; position:absolute; left:-7px; top:32px; width:12px; height:12px; border-radius:50%; background:var(--blue); border:3px solid var(--white); box-shadow:0 0 0 1px var(--light-gray);}
.timeline-item b{font-size:14px; color:var(--blue); font-weight:800; letter-spacing:0.02em;}
.timeline-item h4{font-size:17px; font-weight:700; margin:6px 0 6px;}
.timeline-item p{font-size:14.5px; color:var(--slate); line-height:1.6;}

/* ---------- PROCESS ---------- */
.process{background:var(--mist);}
.process-row{display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--light-gray);}
.process-step{padding:36px 26px; border-right:1px solid var(--light-gray); border-bottom:1px solid var(--light-gray); position:relative;}
.process-step:last-child{border-right:none;}
.process-num{font-size:13px; font-weight:800; color:var(--blue); letter-spacing:0.05em; margin-bottom:14px;}
.process-step h4{font-size:16.5px; font-weight:700; margin-bottom:8px; letter-spacing:-0.01em;}
.process-step p{font-size:14px; color:var(--slate); line-height:1.6;}

/* ---------- FAQ (contact.html) ---------- */
.faq-item{border-bottom:1px solid var(--light-gray); padding:26px 0;}
.faq-item h4{font-size:16px; font-weight:700; margin-bottom:10px;}
.faq-item p{font-size:14.5px; color:var(--slate); line-height:1.65;}

/* ---------- CONTACT FORM ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:60px;}
.contact-info-card{
  background:var(--navy); border-radius:20px; padding:44px; color:var(--white); height:fit-content;
}
.contact-info-card h3{font-size:22px; font-weight:800; margin-bottom:14px;}
.contact-info-card p{font-size:14.5px; color:#AEBBCC; line-height:1.7; margin-bottom:28px;}
.contact-row{display:flex; align-items:flex-start; gap:14px; margin-bottom:22px;}
.contact-row .icn{
  width:38px; height:38px; border-radius:9px; background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.contact-row .icn svg{width:17px; height:17px;}
.contact-row b{display:block; font-size:14.5px; font-weight:700;}
.contact-row span{font-size:13.5px; color:#AEBBCC;}
.map-placeholder{
  margin-top:28px; border-radius:14px; border:1.5px dashed rgba(255,255,255,0.3);
  aspect-ratio:16/9; display:flex; align-items:center; justify-content:center;
  color:#8FA0B5; font-size:13px; font-weight:600;
}

.form-group{margin-bottom:20px;}
.form-group label{font-size:13.5px; font-weight:700; margin-bottom:8px; display:block;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
input, textarea, select{
  width:100%; border:1.5px solid var(--light-gray); border-radius:9px; padding:13px 16px;
  font-family:'Inter',sans-serif; font-size:14.5px; color:var(--navy); background:var(--white);
  transition:border-color .2s ease;
}
input:focus, textarea:focus, select:focus{outline:none; border-color:var(--blue);}
textarea{resize:vertical; min-height:120px;}
form .btn-primary{width:100%; margin-top:8px; text-align:center;}

/* ---------- CTA BAND ---------- */
.cta-band{
  background:linear-gradient(135deg, var(--navy) 0%, #16283D 100%);
  color:var(--white); border-radius:24px; padding:64px 56px;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; overflow:hidden; max-width:1136px; margin:0 auto;
}
.cta-band::after{
  content:''; position:absolute; right:-80px; top:-80px; width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,0.35), transparent 70%);
}
.cta-band h3{font-size:28px; font-weight:800; letter-spacing:-0.02em; max-width:440px; line-height:1.3;}
.cta-band p{color:#AEBBCC; margin-top:10px; font-size:15px; max-width:420px;}
.cta-band .btn-primary{white-space:nowrap;}

/* ---------- FOOTER ---------- */
footer{background:var(--navy); color:var(--white); margin-top:110px;}
.footer-top{padding:70px 0 50px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; border-bottom:1px solid rgba(255,255,255,0.08);}
.footer-brand p{font-size:14px; color:#8FA0B5; line-height:1.7; margin-top:16px; max-width:280px;}
.footer-col h5{font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:#8FA0B5; margin-bottom:18px;}
.footer-col a{display:block; font-size:14.5px; color:#D5DCE5; margin-bottom:12px; transition:color .2s ease;}
.footer-col a:hover{color:var(--blue-light);}
.footer-bottom{padding:26px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;}
.footer-bottom span{font-size:13px; color:#6E8098;}
.socials{display:flex; gap:14px;}
.socials a{width:36px; height:36px; border-radius:8px; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; transition:background .2s ease;}
.socials a:hover{background:var(--blue);}
.socials svg{width:16px; height:16px;}

/* ---------- MISC PAGE BLOCKS ---------- */
.page-cta-wrap{padding:0 32px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr; padding-top:60px;}
  .hero h1{font-size:40px;}
  .orbit-stage{max-width:300px; margin-top:40px;}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .about-grid{grid-template-columns:1fr; gap:40px;}
  .about-panel{grid-template-columns:1fr 1fr;}
  .process-row{grid-template-columns:repeat(2,1fr);}
  .footer-top{grid-template-columns:1fr 1fr; gap:34px;}
  .nav-links{
    position:fixed; top:71px; left:0; right:0; background:var(--white);
    flex-direction:column; align-items:flex-start; padding:24px 32px; gap:20px;
    border-bottom:1px solid var(--light-gray); transform:translateY(-120%); transition:transform .25s ease;
  }
  .nav-links.open{transform:translateY(0);}
  .nav-toggle{display:flex;}
  .service-detail, .service-detail.reverse{grid-template-columns:1fr; gap:30px;}
  .service-detail.reverse .detail-visual{order:0;}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr; gap:40px;}
  .form-row{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .wrap{padding:0 20px;}
  .hero .wrap{padding:50px 20px 70px;}
  .hero h1{font-size:32px;}
  .page-hero h1{font-size:32px;}
  .services-grid{grid-template-columns:1fr;}
  .process-row{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr; padding:50px 0 30px;}
  .cta-band{padding:44px 28px; margin:0 20px;}
  .cta-band h3{font-size:22px;}
  section.section{padding:70px 0;}
  .team-grid{grid-template-columns:1fr 1fr;}
  .timeline-item{margin-left:20px;}
}


/* Approved AtomECore logo assets */
.site-logo{height:44px;width:auto;max-width:230px;display:block;object-fit:contain;}
.footer-logo{height:46px;width:auto;max-width:260px;display:block;object-fit:contain;}
.orbit-core-logo{position:absolute;top:50%;left:50%;width:155px;height:155px;transform:translate(-50%,-50%);object-fit:contain;filter:drop-shadow(0 0 18px rgba(91,141,239,.55));z-index:2;}
@media(max-width:720px){.site-logo{height:36px;max-width:190px}.footer-logo{height:38px;max-width:210px}.orbit-core-logo{width:120px;height:120px}}
