/* =========================================================
   CORE TECH ASSIST - style.css (COMPLETE + UPDATED)
   =========================================================
   Includes:
   - Your full CSS (as provided)
   - Compatibility patch for: .grid-1, .form-row, .checkbox
   - Recommended logo size update (brand img height: 60px)
   ========================================================= */


/* =========================================================
   1) DESIGN TOKENS
   ---------------------------------------------------------
   Edit these variables to change the brand look globally.
   ========================================================= */
:root{
  /* Background surfaces */
  --bg: #070a0f;
  --bg-2:#0b1220;

  /* Panels and cards */
  --panel:#0f172a;
  --panel-2:#111c35;

  /* Text */
  --text:#e5e7eb;
  --muted:#a7b0c0;
  --muted-2:#7b8598;

  /* Borders */
  --border: rgba(255,255,255,.08);

  /* Brand accents */
  --accent:#f5b301;      /* amber */
  --accent-2:#ffcf4a;    /* brighter amber */
  --accent-cool:#60a5fa; /* cool highlight */

  /* Shadows */
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --shadow-soft: 0 10px 26px rgba(0,0,0,.35);

  /* Rounding and layout */
  --radius: 18px;
  --radius-sm: 14px;
  --wrap: 1140px;

  /* Motion */
  --ease: cubic-bezier(.2,.8,.2,1);
}


/* =========================================================
   2) BASE / RESET
   ========================================================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  color:var(--text);

  /* Background glow system */
  background: radial-gradient(1200px 600px at 10% 0%, rgba(96,165,250,.10), transparent 55%),
              radial-gradient(900px 500px at 90% 15%, rgba(245,179,1,.10), transparent 55%),
              radial-gradient(1000px 700px at 50% 100%, rgba(245,179,1,.06), transparent 60%),
              var(--bg);

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button,input,select,textarea{ font:inherit; color:inherit; }

::selection{ background: rgba(245,179,1,.28); }


/* =========================================================
   3) REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}


/* =========================================================
   4) LAYOUT UTILITIES
   ========================================================= */
.wrap{
  max-width:var(--wrap);
  margin:0 auto;
  padding:0 18px;
}

.section{ padding: 64px 0; }
.section.tight{ padding: 46px 0; }

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom: 22px;
}

.section-title{
  margin:0;
  font-size: clamp(1.35rem, 1.2rem + 1vw, 2rem);
  letter-spacing: .2px;
}

.sub{
  margin:6px 0 0;
  color:var(--muted);
  max-width: 62ch;
}


/* =========================================================
   5) KICKER (Small heading line with dot)
   ========================================================= */
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: .2px;
  text-transform: uppercase;
  font-size: .82rem;
}

.kicker .dot{
  width:8px;height:8px;border-radius:99px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  box-shadow: 0 0 0 6px rgba(245,179,1,.10);
}


/* =========================================================
   6) HEADER / NAV
   ========================================================= */
.skip-link{
  position:absolute;
  top:-42px; left: 16px;
  background: rgba(15,23,42,.92);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius: 12px;
  z-index: 9999;
  transition: top .18s var(--ease);
}
.skip-link:focus{ top: 12px; outline: none; box-shadow: 0 0 0 4px rgba(96,165,250,.25); }

.site-header{
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(7,10,15,.62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}

/* Logo size (you set to 75px currently) */
.brand img{
  height: 75px;
  width:auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.brand .brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

.brand-name{ font-weight: 800; font-size: .98rem; letter-spacing: .2px; }
.brand-tag{ color: var(--muted); font-size: .86rem; margin-top: 2px; }

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.nav a{
  position:relative;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--text);
  transition: transform .16s var(--ease), background .16s var(--ease), color .16s var(--ease);
}

.nav a:hover{ background: rgba(255,255,255,.04); transform: translateY(-1px); }

.nav a.active{
  background: rgba(245,179,1,.12);
  color: var(--accent-2);
}

.nav-cta{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f172a !important;
  font-weight: 700;
  padding: 9px 16px !important;
  border-radius: 12px;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.nav-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245,179,1,.35);
}

.nav-toggle{
  display: none;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: background .16s var(--ease);
}

.nav-toggle:hover{
  background: rgba(255,255,255,.1);
}

.mobile-nav{
  display: none;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.mobile-nav a{
  display: block;
  padding: 12px 18px;
  border-radius: 12px;
  margin: 4px 0;
  transition: background .16s var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.active{
  background: rgba(255,255,255,.06);
}

@media (max-width: 768px){
  .nav{ display: none; }
  .nav-toggle{ display: block; }
}


/* =========================================================
   7) HERO
   ========================================================= */
.hero{
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px){
  .hero-grid{
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
  }
}

.hero-card{
  background: linear-gradient(135deg, rgba(15,23,42,.85), rgba(17,28,53,.75));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-card h1{
  font-size: clamp(2rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1.15;
  margin: 14px 0 0;
  letter-spacing: -.5px;
}

.hero-card .lead{
  font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem);
  color: var(--muted);
  margin: 18px 0 0;
  max-width: 52ch;
}

.hero-actions{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pills{
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pill{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: .88rem;
  color: var(--muted);
}

/* Circuit animation */
.circuit{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  height: 280px;
  opacity: .15;
  background: 
    linear-gradient(90deg, transparent 48%, var(--accent) 48%, var(--accent) 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, var(--accent) 48%, var(--accent) 52%, transparent 52%);
  background-size: 40px 40px;
  animation: circuitScan 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes circuitScan{
  0%, 100%{ transform: translate(0, 0); opacity: .15; }
  50%{ transform: translate(-20px, -20px); opacity: .25; }
}

.hero-side .mini-grid{
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.mini-card{
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  padding: 16px;
  border-radius: 12px;
  transition: background .16s var(--ease), border-color .16s var(--ease);
}

.mini-card:hover{
  background: rgba(255,255,255,.04);
  border-color: rgba(245,179,1,.3);
}

.mini-title{
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.mini-sub{
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
}


/* =========================================================
   8) BUTTONS
   ========================================================= */
.btn{
  display: inline-block;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 650;
  text-align: center;
  transition: all .16s var(--ease);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f172a;
  box-shadow: 0 6px 18px rgba(245,179,1,.25);
}

.btn.primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245,179,1,.4);
}

.btn.outline{
  background: transparent;
  border: 1.5px solid rgba(245,179,1,.4);
  color: var(--accent-2);
}

.btn.outline:hover{
  background: rgba(245,179,1,.08);
  border-color: var(--accent-2);
  transform: translateY(-1px);
}

button[type="submit"]{
  width: 100%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0f172a;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .16s var(--ease);
}

button[type="submit"]:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(245,179,1,.4);
}

button[type="submit"]:disabled{
  opacity: .5;
  cursor: not-allowed;
}


/* =========================================================
   9) LINKS
   ========================================================= */
.link{
  color: var(--accent-2);
  font-weight: 600;
  transition: color .16s var(--ease);
  display: inline-block;
}

.link:hover{
  color: var(--accent);
  transform: translateX(3px);
}


/* =========================================================
   10) CARDS / GRIDS
   ========================================================= */
.card{
  background: linear-gradient(135deg, rgba(15,23,42,.85), rgba(17,28,53,.75));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), border-color .16s var(--ease);
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(245,179,1,.2);
}

.card.soft{
  background: rgba(255,255,255,.02);
  box-shadow: none;
}

.card.soft:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.04);
}

.card.callout{
  background: linear-gradient(135deg, rgba(96,165,250,.08), rgba(245,179,1,.08));
  border: 1px solid rgba(245,179,1,.2);
}

.card h3{
  margin: 12px 0 8px;
  font-size: 1.3rem;
  letter-spacing: .2px;
}

.card p{
  color: var(--muted);
  margin: 0;
}

.tag{
  display: inline-block;
  background: rgba(245,179,1,.12);
  color: var(--accent-2);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.grid-2{ display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-3{ display: grid; gap: 20px; grid-template-columns: 1fr; }
.grid-4{ display: grid; gap: 20px; grid-template-columns: 1fr; }

@media (min-width: 640px){
  .grid-2{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px){
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px){
  .grid-3{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(4, 1fr); }
}


/* =========================================================
   11) FORMS
   ========================================================= */
.form-grid{
  display: grid;
  gap: 18px;
}

.form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label{
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group label .req{
  color: var(--accent);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea{
  background: rgba(255,255,255,.04);
  border: 1.5px solid var(--border);
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text);
  transition: border-color .16s var(--ease), background .16s var(--ease);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus{
  outline: none;
  border-color: rgba(245,179,1,.5);
  background: rgba(255,255,255,.06);
}

textarea{
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.checkbox-group{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.checkbox-group input[type="checkbox"]{
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label{
  font-size: .95rem;
  cursor: pointer;
  flex: 1;
}

.small{
  font-size: .88rem;
  color: var(--muted-2);
}


/* =========================================================
   12) LISTS
   ========================================================= */
.bullets{
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.bullets li{
  padding-left: 24px;
  position: relative;
  margin: 10px 0;
  color: var(--muted);
}

.bullets li::before{
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}


/* =========================================================
   13) PRICING
   ========================================================= */
.price{
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-2);
  margin: 14px 0;
  letter-spacing: -.5px;
}


/* =========================================================
   14) REVEAL ANIMATION
   ========================================================= */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   15) FOOTER
   ========================================================= */
.site-footer{
  background: rgba(11,18,32,.85);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 64px;
}

.footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a{
  color: var(--muted);
  transition: color .16s var(--ease);
}

.footer-links a:hover{
  color: var(--accent-2);
}


/* =========================================================
   17) RESPONSIVE UTILITIES
   ========================================================= */
@media (max-width: 768px){
  .section{ padding: 48px 0; }
  .section.tight{ padding: 32px 0; }

  .section-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .hero{ padding: 60px 0 48px; }

  .hero-card,
  .card{
    padding: 24px;
  }
}

@media (max-width: 480px){
  .hero-actions{
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn{
    width: 100%;
  }

  .pills{
    justify-content: center;
  }
}


/* =========================================================
   18) INDEX.HTML COMPATIBILITY PATCH
   ---------------------------------------------------------
   Supports the new index.html classes:
   - .grid-1
   - .form-row
   - .checkbox
   ========================================================= */

/* Single-column grid */
.grid-1{
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

/* Alias: form-row -> form-group */
.form-row{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label{
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Alias: checkbox -> checkbox-group */
.checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.checkbox input[type="checkbox"]{
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox span{
  font-size: .95rem;
  cursor: pointer;
  flex: 1;
}

/* =========================================================
   19) NEWSLETTER POPUP (Pitch black + orange glow + chrome)
   ========================================================= */

.newsletter-modal{
  display: none;               /* JS toggles to flex */
  position: fixed;
  inset: 0;
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
}

.newsletter-box{
  width: min(560px, 100%);
  border-radius: 18px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.10);
  position: relative;

  background:
    radial-gradient(900px 400px at 10% 0%, rgba(255,207,74,.14), transparent 60%),
    radial-gradient(700px 380px at 90% 30%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    #000;

  box-shadow:
    0 26px 90px rgba(0,0,0,.75),
    0 0 0 1px rgba(245,179,1,.10);
}

.newsletter-box::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245,179,1,.60), rgba(255,255,255,.30), rgba(96,165,250,.18));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  opacity:.95;
}

.newsletter-x{
  position:absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}

.newsletter-x:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(245,179,1,.28);
}

.newsletter-kicker{
  display:flex;
  align-items:center;
  gap:10px;
  text-transform: uppercase;
  letter-spacing: .22px;
  font-size: .82rem;
  font-weight: 750;
  color: rgba(255,255,255,.72);
}

.newsletter-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  box-shadow: 0 0 0 6px rgba(245,179,1,.10);
}

.newsletter-title{
  margin: 12px 0 8px;
  font-size: 1.7rem;
  letter-spacing: -.3px;
}

.newsletter-text{
  margin: 0 0 16px;
  color: rgba(255,255,255,.74);
}

.newsletter-text strong{
  color: var(--accent-2);
}

.newsletter-form{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.newsletter-form input[type="email"]{
  background: rgba(255,255,255,.04);
  border: 1.5px solid rgba(255,255,255,.12);
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.92);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}

.newsletter-form input[type="email"]::placeholder{
  color: rgba(255,255,255,.45);
}

.newsletter-form input[type="email"]:focus{
  outline:none;
  border-color: rgba(255,207,74,.65);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px rgba(245,179,1,.18);
}

.newsletter-btn{
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  cursor:pointer;
  font-weight: 850;
  color: #0f172a;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 26px rgba(245,179,1,.28);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.newsletter-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245,179,1,.38);
}

.newsletter-actions{
  display:flex;
  justify-content:flex-end;
  margin-top: 10px;
}

.newsletter-later{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.80);
  padding: 10px 14px;
  border-radius: 12px;
  cursor:pointer;
  transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease);
}

.newsletter-later:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.05);
  border-color: rgba(245,179,1,.28);
}

.newsletter-status{
  margin: 10px 0 0;
  font-size: .92rem;
  color: rgba(255,255,255,.78);
}

@media (max-width: 520px){
  .newsletter-box{ padding: 22px; }
  .newsletter-form{ grid-template-columns: 1fr; }
  .newsletter-btn{ width: 100%; }
}
