/* ==========================================================================
   INNOVAAI TECH LTD — Shared stylesheet
   White & Gold / techy-modern theme
   ========================================================================== */

:root {
  --charcoal-950: #0c0b09;
  --charcoal-900: #131210;
  --charcoal-800: #1e1c17;
  --charcoal-700: #2b2820;

  --gold-700: #8c651a;
  --gold-600: #a87a1e;
  --gold-500: #cf9d31;
  --gold-400: #e3b94e;
  --gold-300: #f0d68c;
  --gold-200: #f7e6b8;

  --ink: #1a1712;
  --ink-soft: #5c584c;
  --bg: #ffffff;
  --surface: #fbf9f3;
  --card: #ffffff;
  --border: #eae4d3;

  --shadow: 0 16px 40px rgba(20, 16, 4, 0.10);
  --shadow-sm: 0 4px 16px rgba(20, 16, 4, 0.06);
  --shadow-gold: 0 10px 28px rgba(207, 157, 49, 0.28);
  --radius: 14px;
  --max-width: 1160px;

  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-600);
  text-decoration: none;
}

a:hover {
  color: var(--charcoal-900);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--charcoal-900);
  line-height: 1.22;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.section {
  padding: 76px 0;
  position: relative;
}

.section-alt {
  background: var(--surface);
}

/* ---------- Techy background textures ---------- */

.section-dark {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(207, 157, 49, 0.16), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(207, 157, 49, 0.10), transparent 50%),
    linear-gradient(135deg, var(--charcoal-950), var(--charcoal-900) 55%, var(--charcoal-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(207, 157, 49, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 157, 49, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 75%);
  pointer-events: none;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.dot-grid {
  background-image: radial-gradient(rgba(168, 122, 30, 0.28) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--gold-700);
  background: rgba(207, 157, 49, 0.12);
  border: 1px solid rgba(207, 157, 49, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 8px var(--gold-400);
}

.section-dark .eyebrow {
  color: var(--gold-300);
  background: rgba(207, 157, 49, 0.14);
  border-color: rgba(207, 157, 49, 0.4);
}

.section-intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--charcoal-950);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--charcoal-950);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--gold-400);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--gold-600);
  color: var(--gold-700);
}

.btn-outline-dark:hover {
  background: var(--gold-600);
  color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-link img {
  height: 42px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(207, 157, 49, 0.14);
  color: var(--gold-700);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--charcoal-900);
}

/* ---------- Hero ---------- */

.hero {
  padding: 100px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 520px;
}

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

.hero-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(207, 157, 49, 0.28);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}

.hero-visual ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.hero-visual li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid var(--gold-500);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hero-visual li:hover {
  background: rgba(207, 157, 49, 0.08);
  border-left-color: var(--gold-300);
}

.hero-visual .dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  box-shadow: 0 0 10px rgba(227, 185, 78, 0.6);
}

.hero-visual strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
}

.hero-visual span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-top-color: var(--gold-500);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal-950);
  font-weight: 800;
  font-family: var(--mono);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

/* ---------- Service detail blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-block:last-child {
  border-bottom: none;
}

.service-number {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: var(--mono);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-500);
  line-height: 1;
}

.service-block h3 {
  margin-bottom: 10px;
}

.service-block ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.service-block li {
  margin-bottom: 8px;
}

.service-block li::marker {
  color: var(--gold-500);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--mono);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

/* ---------- Values / about ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold-500);
}

.value-card h3 {
  font-size: 1.1rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  border-radius: 20px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.10), transparent 55%),
    linear-gradient(135deg, var(--charcoal-950), var(--gold-700) 160%);
  color: #fff;
}

.cta-banner h2,
.cta-banner p {
  color: #fff;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--charcoal-950);
}

.cta-banner .btn-primary:hover {
  color: var(--charcoal-950);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(207, 157, 49, 0.14);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.contact-info-item h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info-item p {
  margin: 0;
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--charcoal-900);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--gold-400);
  outline-offset: 1px;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(207, 157, 49, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 157, 49, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7) 60%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7) 60%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(207, 157, 49, 0.2);
}

.footer-logo img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-grid h4 {
  color: var(--gold-300);
  font-size: 0.85rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* ---------- Page header banner (inner pages) ---------- */

.page-banner {
  padding: 64px 0 56px;
  text-align: center;
}

.page-banner h1 {
  margin-bottom: 12px;
}

.breadcrumb {
  font-size: 0.82rem;
  font-family: var(--mono);
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 12px 24px 20px;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.2rem; }

  .grid-3,
  .grid-2,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 40px 24px;
  }
}
