/* ─── BRANDSPARK THEME v2 ─── */
:root {
  --navy:        #0D1B3E;
  --navy-light:  #132244;
  --navy-dark:   #091530;
  --blue-light:   #4FC3F7;
  --blue-mid:     #1976D2;
  --blue-dark:    #1565C0;
  --blue-glow:    rgba(79, 195, 247, 0.12);
  --blue-glow-md: rgba(79, 195, 247, 0.2);

  --bg-primary:   #0D1B3E;
  --bg-secondary: #091530;
  --accent:       #4FC3F7;
  --accent-dark:  #1565C0;
  --accent-dim:   rgba(79, 195, 247, 0.12);
  --accent-mid:   rgba(79, 195, 247, 0.25);

  --text-primary: #FFFFFF;
  --text-muted:   #94ADC8;
  --text-dim:     #4A6380;
  --border:       rgba(255, 255, 255, 0.07);
  --card-bg:      #0F1F45;
  --card-border:  rgba(255, 255, 255, 0.06);

  /* CTA button gradient */
  --cta-from: #1565C0;
  --cta-to:   #4FC3F7;

  /* Gradients */
  --glow-blue: radial-gradient(ellipse at 70% 0%, rgba(79, 195, 247, 0.1) 0%, transparent 60%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 48px;
  border-bottom: 1px solid var(--border);
}

.nav-brand img {
  height: 56px;
  width: auto;
}

.nav-tagline {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  text-align: center;
  margin-top: 8px;
}

/* ─── HERO ─── */
.hero {
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Atmospheric background: navy base + blue glow top-right + subtle grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(79, 195, 247, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 100%, rgba(21, 101, 192, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Subtle grid lines for texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 195, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 195, 247, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-light));
  border-radius: 1px;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── PHONE MOCKUP ─── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-orb {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 220px;
  background: #0D1B3E;
  border-radius: 36px;
  padding: 12px;
  border: 2px solid rgba(79, 195, 247, 0.15);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(79, 195, 247, 0.08),
    inset 0 1px 0 rgba(79, 195, 247, 0.1);
}

.phone-notch {
  width: 80px;
  height: 24px;
  background: #091530;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 8px;
}

.phone-screen {
  background: #091530;
  border-radius: 28px;
  overflow: hidden;
  padding-bottom: 12px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 8px;
}

.phone-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  border-radius: 50%;
}

.phone-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phone-name {
  width: 90px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.phone-location {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.phone-image {
  height: 140px;
  background: linear-gradient(135deg, #132244 0%, #0D1B3E 50%, var(--accent-dim) 100%);
  position: relative;
  overflow: hidden;
}

.phone-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid rgba(79, 195, 247, 0.3);
  border-radius: 50%;
}

.phone-caption {
  font-size: 11px;
  color: var(--accent);
  padding: 8px 14px 4px;
  font-weight: 500;
}

.phone-stats {
  display: flex;
  gap: 14px;
  padding: 0 14px 6px;
}

.ph-s {
  font-size: 10px;
  color: var(--text-dim);
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: 80px 48px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.manifesto-text:last-child { margin-bottom: 0; }

/* ─── SECTIONS ─── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--accent));
  border-radius: 1px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

/* ─── SERVICES ─── */
.services {
  padding: 80px 48px;
}

.services-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--bg-primary);
  padding: 40px 32px;
  transition: background 0.2s;
}

.service-card:hover {
  background: var(--card-bg);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── TRANSFORMATION ─── */
.transformation {
  padding: 80px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.transform-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.transform-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.transform-body:last-child { margin-bottom: 0; }

.transform-split {
  display: flex;
  align-items: center;
  gap: 24px;
}

.split-panel {
  flex: 1;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.split-panel.before {
  background: rgba(255, 255, 255, 0.03);
}

.split-panel.after {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.06) 0%, rgba(21, 101, 192, 0.04) 100%);
  border-color: rgba(79, 195, 247, 0.25);
}

.panel-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.after .panel-label { color: var(--accent); }

.panel-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.split-arrow { flex-shrink: 0; }

/* ─── PRICING ─── */
.pricing {
  padding: 80px 48px;
}

.pricing-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.pricing-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(79, 195, 247, 0.35);
  background: linear-gradient(180deg, rgba(79, 195, 247, 0.06) 0%, var(--card-bg) 100%);
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.card-price {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.card-period {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--accent-dim);
  border: 1px solid rgba(79, 195, 247, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%234FC3F7' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ─── PROCESS ─── */
.process {
  padding: 80px 48px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.process-header {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.process-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step { position: relative; }

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--accent-dim);
  margin-bottom: 16px;
  line-height: 1;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── CLOSING ─── */
.closing {
  padding: 100px 48px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Blue glow accent */
.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(79, 195, 247, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 32px;
  color: var(--text-primary);
}

.closing-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ─── CTA BUTTONS ─── */
.btn-primary,
.btn-cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.2);
}

.btn-primary:hover,
.btn-cta:hover {
  opacity: 0.92;
  box-shadow: 0 6px 28px rgba(79, 195, 247, 0.35);
}

.btn-primary:active,
.btn-cta:active { transform: scale(0.98); }

/* ─── FOOTER ─── */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav-tagline { display: none; }
  .hero { padding: 60px 24px 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .manifesto { padding: 60px 24px; }
  .services { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .transformation { padding: 60px 24px; }
  .transform-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing { padding: 60px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process { padding: 60px 24px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .closing { padding: 60px 24px; }
  .footer { padding: 32px 24px; }
  .hero-stats { gap: 20px; }
  .stat-number { font-size: 22px; }
  .transform-split { flex-direction: column; }
  .split-arrow { transform: rotate(90deg); }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
  .pricing-card { padding: 28px 24px; }
  .card-price { font-size: 44px; }
}