/* DigiTrans PrivacyIQ landing page CSS
   Drop this file next to index.html and name it styles.css.
   It uses system fonts so it works on GitHub Pages and Cloudflare Pages without external font loading.
*/

:root {
  --navy: #0B1F33;
  --navy2: #17375E;
  --blue: #0073BB;
  --blue2: #2F80ED;
  --text: #1D2B44;
  --muted: #5F6F89;
  --bg: #F6F9FF;
  --white: #FFFFFF;
  --border: rgba(11, 31, 51, 0.12);
  --shadow: 0 24px 60px rgba(11, 31, 51, 0.13);
  --soft-shadow: 0 10px 30px rgba(11, 31, 51, 0.09);
  --max: 1180px;
  --radius: 26px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 128, 237, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 4%, rgba(0, 115, 187, 0.12), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #f7faff 48%, #eef4ff 100%);
  overflow-x: hidden;
}

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

/* Header */
.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 20px auto 0;
  padding: 12px 16px;
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 225px; max-height: 58px; object-fit: contain; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 650;
  white-space: nowrap;
}

.nav a:hover { color: var(--blue); }

.nav-cta {
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 10px 22px rgba(47,128,237,.24);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Layout */
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.hero {
  min-height: calc(100vh - 100px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 850;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: .96;
  letter-spacing: -.06em;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.055em;
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
  font-weight: 780;
}

.hero-copy,
.section-heading p,
.split p,
.contact-copy p,
.proof-card p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-copy { max-width: 720px; }

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-actions { margin-top: 32px; }
.trust-row { margin-top: 26px; }

.trust-row span {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.76);
  font-size: .92rem;
  font-weight: 650;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  box-shadow: 0 16px 34px rgba(47,128,237,.28);
}

.button.secondary {
  color: var(--navy);
  background: rgba(255,255,255,.86);
  border-color: var(--border);
}

/* Cards */
.hero-card,
.feature-card,
.proof-card,
.lead-form,
.architecture,
.timeline {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(47,128,237,.13), transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(11,31,51,.12), transparent 17rem);
  pointer-events: none;
}

.hero-card > * { position: relative; z-index: 1; }

.card-icon {
  width: auto;
  min-width: 96px;
  padding: 0 16px;
  white-space: nowrap;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue2));
  border-radius: 22px;
  box-shadow: 0 18px 28px rgba(11,31,51,.18);
  font-size: 0.95rem;
  font-weight: 900;
}

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

.hero-card ul {
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.9;
}

.hero-card li::marker { color: var(--blue); }

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.grid { display: grid; gap: 22px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-card { padding: 28px; }

.feature-card p,
.timeline p,
.arch-layer p {
  color: var(--muted);
  line-height: 1.66;
  margin-bottom: 0;
}

/* Architecture */
.architecture {
  padding: 18px;
  display: grid;
  gap: 16px;
}

.arch-layer {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.72);
}

.layer-number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 16px;
  font-weight: 900;
}

/* AWS */
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}

.aws-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.aws-grid span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--navy);
  background: rgba(255,255,255,.86);
  text-align: center;
  font-size: .92rem;
  font-weight: 760;
}

/* Timeline */
.timeline { padding: 12px; }

.timeline-item {
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child { border-bottom: 0; }

/* Proof */
.proof-card {
  padding: 44px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(11,31,51,.97), rgba(18,58,102,.97)),
    var(--navy);
}

.proof-card .eyebrow,
.proof-card h2,
.proof-card p { color: #fff; }

.proof-card p {
  max-width: 860px;
  margin: 0 auto;
  opacity: .86;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.direct-email a {
  color: var(--blue);
  font-weight: 850;
}

.lead-form {
  padding: 28px;
  display: grid;
  gap: 16px;
  background: rgba(255,255,255,.9);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue2);
  outline: 3px solid rgba(47,128,237,.18);
}

textarea { resize: vertical; }

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 30px;
  padding: 34px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer img {
  width: 210px;
  margin-bottom: 12px;
}

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

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

/* Responsive */
@media (max-width: 980px) {
  .site-header { border-radius: 24px; }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.open { display: flex; }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  .split,
  .contact { grid-template-columns: 1fr; }

  .grid.three,
  .grid.two,
  .aws-grid { grid-template-columns: 1fr; }

  .hero { padding-top: 58px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header,
  .section,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .brand img { width: 172px; }
  .section { padding: 58px 0; }

  h1 {
    font-size: clamp(2.55rem, 16vw, 4rem);
    letter-spacing: -.065em;
  }

  h2 { font-size: clamp(2rem, 11vw, 3rem); }

  .hero-card,
  .feature-card,
  .proof-card,
  .lead-form { padding: 24px; }

  .arch-layer { grid-template-columns: 1fr; }

  .button { width: 100%; }
  .hero-actions { align-items: stretch; }
}
