/* =====================================================
   EditVerity — VC-grade site styles (FINAL)
   Replace your entire styles.css with this file.
   ===================================================== */

/* =====================================================
   GLOBAL TOKENS
   ===================================================== */
:root{
  --bg:#070b14;
  --panel:#0b1324;
  --card:#0f1b33;
  --text:#eaf1ff;
  --muted:#b7c6ea;
  --border:rgba(255,255,255,.12);

  --blue:#1f6feb;
  --teal:#14b8a6;
  --green:#31c48d;

  --grad: linear-gradient(90deg, var(--blue), var(--teal), var(--green));
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
html{ font-size:16px; }

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size:17px;
  line-height:1.65;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(31,111,235,.18), transparent 55%),
    radial-gradient(1000px 650px at 85% 20%, rgba(49,196,141,.14), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a{ color:inherit; text-decoration:none; }

/* =====================================================
   LAYOUT WIDTH — ENTERPRISE SCALE
   ===================================================== */
.container{
  width: min(1440px, 94vw);
  margin: 0 auto;
  padding: 0 32px;
}

/* =====================================================
   BRAND
   ===================================================== */
.brand{
  display:flex;
  align-items:center;
  gap:16px;
  font-weight:900;
}
.brand img{ height:68px; width:auto; }

.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand-main{
  font-size:24px;
  font-weight:950;
  letter-spacing:.4px;
}
.brand-sub{
  font-size:13px;
  font-weight:850;
  letter-spacing:.28em;
  text-transform:uppercase;
  opacity:.9;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(7,11,20,.80);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  gap:24px;
}

/* Make nav readable */
.nav, header, nav{
  font-size:20px;
}

header a, header button,
nav a, nav button,
.nav a, .nav button,
.menu a, .menu button{
  font-size:20px !important;
  line-height:1.1;
}

.menu{
  flex:1;
  display:flex;
  align-items:center;
  gap:22px;
  margin-left:30px;
  font-weight:700;
  color:rgba(234,241,255,.90);
}

.menu > a,
.menu > .drop > button,
nav a,
nav button{
  padding:14px 18px;
  border-radius:16px;
  border:1px solid transparent;
  background:transparent;
  color:inherit;
  cursor:pointer;
}

.menu > a:hover,
.menu > .drop > button:hover,
nav a:hover,
nav button:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
}

.menu .cta,
nav .cta,
header .cta{
  margin-left:auto;
  background:var(--grad);
  color:#061020;
  font-weight:950;
  font-size:20px !important;
  padding:14px 22px;
  border-radius:18px;
  box-shadow:0 12px 34px rgba(31,111,235,.18);
}
.menu .cta:hover,
nav .cta:hover,
header .cta:hover{ filter:brightness(1.05); }

/* Dropdown */
.drop{ position:relative; }
.drop button{ display:flex; gap:8px; align-items:center; }

.panel{
  display:none;
  position:absolute;
  top:58px; left:0;
  min-width:320px;
  background:rgba(15,27,51,.96);
  border:1px solid var(--border);
  border-radius:18px;
  padding:10px;
  box-shadow:0 22px 70px rgba(0,0,0,.55);
}
.panel a{
  display:block;
  padding:14px 16px;
  border-radius:14px;
  font-size:18px !important;
}
.panel a:hover{ background:rgba(255,255,255,.06); }
.drop:hover .panel{ display:block; }

/* =====================================================
   HERO
   ===================================================== */
.hero{
  position:relative;
  min-height:84vh;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--border);
  overflow:hidden;
}

.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}
.hero-media img,
.hero-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.78) contrast(1.1) saturate(1.18);
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(900px 620px at 70% 45%, rgba(255, 80, 80, .14), transparent 62%),
    radial-gradient(900px 600px at 18% 22%, rgba(31,111,235,.18), transparent 60%),
    radial-gradient(900px 600px at 82% 28%, rgba(49,196,141,.12), transparent 60%),
    linear-gradient(180deg, rgba(7,11,20,.16), rgba(7,11,20,.80));
}

.hero-content{
  position:relative;
  z-index:2;
  padding:92px 0;
}

.kicker{
  color:rgba(234,241,255,.80);
  font-weight:850;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:13px;
}

.h1{
  font-size:clamp(52px, 5.4vw, 84px);
  line-height:1.02;
  margin:18px 0 14px;
  font-weight:980;
}

.lead{
  max-width:980px;
  color:rgba(234,241,255,.90);
  font-size:21px;
  line-height:1.75;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}

/* Pills */
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  font-size:13px;
  font-weight:850;
  color:rgba(234,241,255,.85);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  border-radius:18px;
  font-weight:950;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  font-size:18px;
}
.btn:hover{ background:rgba(255,255,255,.10); }

.btn.primary{
  border:0;
  background:var(--grad);
  color:#061020;
}
.btn.ghost{ background:transparent; }

/* =====================================================
   PAGE SECTIONS
   ===================================================== */
.section{
  padding:92px 0;
  border-bottom:1px solid var(--border);
}

.section h2{
  margin:0 0 14px;
  font-size:clamp(34px, 3.2vw, 42px);
  font-weight:980;
}

.section p{
  margin:0 0 22px;
  color:rgba(234,241,255,.88);
  line-height:1.85;
  font-size:18px;
  max-width:1040px;
}

/* =====================================================
   GRID / CARDS
   ===================================================== */
.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
  margin-top:24px;
}

.card{
  background:rgba(15,27,51,.72);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:22px;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
}

.card h3{
  margin:10px 0 8px;
  font-size:22px;
  font-weight:950;
  line-height:1.3;
}

.card p{
  margin:0 0 12px;
  font-size:18px;
  line-height:1.8;
  color:rgba(234,241,255,.88);
}

.tag{
  display:inline-flex;
  align-items:center;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  font-size:13px;
  font-weight:950;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.mini{
  color:rgba(234,241,255,.68);
  font-size:14px;
  line-height:1.7;
}

/* =====================================================
   SPLIT / BOX
   ===================================================== */
.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:24px;
}

.box{
  background:rgba(11,19,36,.55);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:22px;
}

.box h3{
  margin:0 0 12px;
  font-size:21px;
  font-weight:950;
}

.box ul{
  margin: 0;
  padding-left: 20px;
}
.box li{
  margin:7px 0;
  color:rgba(234,241,255,.82);
  line-height:1.75;
  font-size:17px;
}

/* =====================================================
   Fix duplicate Contact CTA (desktop vs mobile)
   ===================================================== */
.cta-mobile{ display:none; }

@media (max-width: 920px){
  .menu{ display:none; }
  .cta-mobile{ display:inline-flex; }
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width:980px){
  .grid3{ grid-template-columns:1fr; }
  .split{ grid-template-columns:1fr; }

  header a, header button,
  nav a, nav button{
    font-size:17px !important;
  }
}

@media (max-width:520px){
  body{ font-size:16px; }
  .lead{ font-size:18px; }
  .h1{ font-size:clamp(40px, 8vw, 56px); }
}

/* =====================================================
   FOOTER — VC-grade (clean + aligned)
   Goals:
   - Link columns are left-aligned with Contact (same container)
   - Follow icons sit on the far right, same row
   - Newsletter under Follow, right column
   - Responsive stack
   ===================================================== */
.site-footer{
  background: linear-gradient(180deg, rgba(11,19,36,.55), rgba(7,11,20,1));
  border-top: 1px solid rgba(255,255,255,.10);
}

.footer-inner{
  padding: 56px 0 46px;
}

/* Main layout */
.footer-top{
  display:grid;
  /* 4 left columns + 1 right column */
  grid-template-columns: 190px 190px 210px 210px minmax(320px, 1fr);
  column-gap: 48px;
  row-gap: 22px;
  align-items:start;
}

/* Titles */
.footer-title{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 950;
  color: rgba(234,241,255,.92);
  margin: 0 0 12px;
}

/* Links */
.footer-col a{
  display:block;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 650;
  color: rgba(234,241,255,.72);
}
.footer-col a:hover{
  color: rgba(234,241,255,.95);
}

/* Right column pinned to the right */
.footer-col-wide{
  justify-self:end;
  width:100%;
  max-width: 440px;
  padding-left: 0;
  border-left: none;
  text-align:right;
}

/* Follow icons inline at right */
.footer-social{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin: 8px 0 2px;
}

.social{
  width:36px;
  height:36px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
  color: rgba(234,241,255,.86);
}
.social:hover{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.22);
}

.icon{ width:18px; height:18px; }

/* Newsletter */
.footer-note{
  color: rgba(234,241,255,.68);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.footer-form{
  display:grid;
  grid-template-columns: 1fr auto;
  gap:10px;
  align-items:stretch;
}

.footer-form input{
  height:44px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
  color: var(--text);
  outline:none;
}
.footer-form input:focus{
  border-color: rgba(31,111,235,.55);
  box-shadow: 0 0 0 4px rgba(31,111,235,.18);
}

.footer-form button{
  height:44px;
  padding:0 16px;
  border-radius:14px;
  border:0;
  background: var(--grad);
  color:#061020;
  font-weight:950;
  cursor:pointer;
  white-space:nowrap;
}

.footer-status{
  margin-top:10px;
  font-size:13.5px;
}

.site-footer .mini{
  margin-top: 14px;
  color: rgba(234,241,255,.60);
  font-size: 13.5px;
}

/* Responsive */
@media (max-width: 1200px){
  .footer-top{
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }
  .footer-col-wide{
    grid-column: 1 / -1;
    justify-self:start;
    max-width:none;
    text-align:left;
  }
  .footer-social{
    justify-content:flex-start;
  }
}
@media (max-width: 600px){
  .footer-top{ grid-template-columns: 1fr; }
}
