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

:root {
  --bg:       #050d1a;
  --panel:    #0b1629;
  --card:     #0f1e36;
  --border:   rgba(255,255,255,0.08);
  --accent:   #2563eb;
  --accent2:  #7c3aed;
  --cyan:     #06b6d4;
  --green:    #10b981;
  --white:    #ffffff;
  --gray:     #94a3b8;
  --light:    #e2e8f0;
  --radius:   12px;
}

html, body {
  height: 100%;
  overflow: hidden;           /* NO SCROLL */
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== PAGE WRAPPER — FULL VIEWPORT SPLIT ===== */
.page-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  height: 100vh;
  overflow: hidden;
}

/* ===== FOOTER BAR ===== */
.site-footer {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 28px;
  height: 44px;
  background: #040b15;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.footer-left, .footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.footer-brand {
  font-weight: 800;
  color: rgba(255,255,255,0.7);
}
.footer-brand .fc { color: #fff; }
.footer-brand .ft { color: #2563eb; }
.site-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer a:hover { color: #fff; }
.footer-sep {
  color: rgba(255,255,255,0.2);
  font-weight: 400;
}

/* ===== LEFT PANEL ===== */
.left-panel {
  background: linear-gradient(145deg, #050d1a 0%, #0b1629 60%, #0d1f3c 100%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 32px 44px;
  position: relative;
  overflow: hidden;
}

/* Background dot grid */
.left-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Blue glow blob */
.left-panel::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
  pointer-events: none;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: baseline;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.logo-cric {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-tech {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-left: 6px;
  align-self: center;
}

/* ===== HERO COPY ===== */
.hero-copy {
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 14px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--cyan) 50%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-copy p {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--gray);
  line-height: 1.6;
}
.hero-copy p strong {
  color: var(--white);
  font-weight: 800;
}

/* ===== SERVICES PILLS ===== */
.services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.service-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--light);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.service-pill:hover {
  background: rgba(37,99,235,0.15);
  border-color: rgba(37,99,235,0.4);
}
.sp-icon { font-size: 1rem; }

/* ===== STATS ROW ===== */
.stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  flex: 1;
}
.stat strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.stat span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}
.stat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ===== TECH ROW ===== */
.tech-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.tech-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-right: 2px;
}
.tech-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.25);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ===== RIGHT PANEL ===== */
.right-panel {
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 36px;
  overflow: hidden;
}

/* ===== FORM CARD ===== */
.form-card {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-header h2 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.form-header p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
}
.form-header p strong {
  color: var(--cyan);
  font-weight: 800;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--light);
}
input, select, textarea {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}
input::placeholder, textarea::placeholder {
  color: rgba(148,163,184,0.55);
  font-weight: 400;
}
select option { background: #0b1629; color: var(--white); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  background: rgba(37,99,235,0.08);
}
textarea { resize: none; }

.btn-submit {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 0.97rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  text-transform: uppercase;
}
.btn-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  background: var(--green);
  cursor: default;
  transform: none;
  opacity: 1;
}

.form-note {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gray);
  text-align: center;
}

/* ===== CONTACT CHIPS ===== */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 12px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.contact-chip:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

/* ===== SUCCESS STATE ===== */
.success-msg {
  text-align: center;
  padding: 24px;
  display: none;
}
.success-msg h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--green);
  margin-bottom: 8px;
}
.success-msg p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
}

/* ===== MOBILE — ALLOW SCROLL ON SMALL SCREENS ===== */
@media (max-width: 820px) {
  html, body { overflow: auto; height: auto; }
  .page-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
  }
  .left-panel {
    padding: 36px 24px 28px;
    gap: 18px;
    overflow: visible;
  }
  h1 { font-size: 2rem; letter-spacing: -1px; }
  .right-panel {
    padding: 28px 20px 40px;
    align-items: flex-start;
  }
  .form-card { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer wraps on mobile */
  .site-footer {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    gap: 6px;
  }
  .footer-left, .footer-right { flex-wrap: wrap; }
}
