/* ============================================
   K.PROMINENT — Landing Page
   White & Blue Luxury Theme
   ============================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Blues — extracted from logo */
  --navy-900: #0A1F3D;
  --navy-800: #0E2A47;
  --navy-700: #143356;
  --blue-500: #3A8FB7;
  --blue-400: #5BA8CC;
  --blue-100: #DCEBF3;
  --blue-50:  #EEF6FA;

  /* Neutrals — boosted contrast for readability */
  --white:    #FFFFFF;
  --paper:    #FBFCFD;
  --line:     #E6ECF1;
  --line-2:   #D6DEE6;
  --ink:      #07142A;
  --muted:    #3F4D62;
  --muted-2:  #6B788C;

  /* Type */
  --serif: 'Playfair Display', 'Noto Serif KR', serif;
  --sans:  'Pretendard', 'Inter', 'Malgun Gothic', sans-serif;

  /* Layout */
  --max: 1240px;
  --r: 14px;
  --r-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--navy-800); color: #fff; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  display: flex; align-items: center;
  padding: 10px 48px;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(230, 236, 241, 0.7);
  box-shadow: 0 8px 24px rgba(14,42,71,0.06);
}
.nav-inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img {
  width: auto;
  height: 88px;
  object-fit: contain;
  animation: navLogoFloat 3.6s ease-in-out infinite;
  will-change: transform;
}
.nav:not(.is-scrolled) .nav-brand img {
  filter: brightness(0) invert(1);
}
.nav.is-scrolled .nav-brand img {
  filter: none;
}
.nav-brand-text {
  font-family: var(--serif);
  font-weight: 700; font-size: 19px;
  letter-spacing: 0.01em;
  color: var(--navy-800);
}
.nav-brand-text span { color: var(--blue-500); }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 15px; font-weight: 500;
  color: var(--navy-900);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy-800); }

/* Desktop: floating oval section selector (right-center) */
@media (min-width: 1025px) {
  .nav-links {
    position: fixed !important;
    right: 24px;
    top: 50svh;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 999px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 120;
    will-change: transform;
    box-shadow: none;
  }

  .nav-links a {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.005em;
    line-height: 1;
    color: rgba(255,255,255,0.86);
    padding: 12px 16px;
    border-radius: 999px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .nav-links a:hover {
    background: rgba(14, 42, 71, 0.16);
    color: #fff;
    transform: translateX(-1px);
  }

  .nav-links a.is-active {
    background: rgba(14, 42, 71, 0.88); /* matches .nav-cta (var(--navy-800)) */
    color: #fff;
    box-shadow:
      0 14px 34px rgba(7,20,42,0.30),
      0 2px 0 rgba(255,255,255,0.10) inset;
  }
}

/* Hero typing */
.hero-h1 .hero-type {
  display: inline-block;
  min-height: 1em;
}
.hero-h1 .hero-type.accent { font-style: italic; }
.hero-h1 .hero-type.is-typing::after {
  content: '';
  display: inline-block;
  width: 0.55ch;
  height: 0.95em;
  margin-left: 0.12em;
  transform: translateY(0.08em);
  background: rgba(10,31,61,0.55);
  border-radius: 2px;
  animation: heroCaretBlink 1s steps(1, end) infinite;
}
@keyframes heroCaretBlink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}
.nav-cta {
  background: var(--navy-800); color: #fff;
  padding: 12px 24px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 2px 0 rgba(10,31,61,0.08);
}
.nav-cta:hover {
  background: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(10,31,61,0.22);
}

@keyframes navLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 168px 48px 120px;
  background-image:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.48) 0%,
      rgba(255,255,255,0.22) 38%,
      rgba(255,255,255,0.55) 100%
    ),
    radial-gradient(1200px 600px at 85% 0%, rgba(238, 246, 250, 0.28) 0%, rgba(238, 246, 250, 0) 60%),
    radial-gradient(900px 500px at 5% 90%, rgba(244, 250, 253, 0.28) 0%, rgba(244, 250, 253, 0) 60%);
  background-size: auto, auto, auto;
  background-position: 0 0, 85% 0, 5% 90%;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.74) saturate(1.04) contrast(1.10);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  opacity: 0.06;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

/* Skyline silhouette — luxury blue cityscape */
.skyline-bg {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 320px;
  background-image: url('assets/skyline.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}
.skyline-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.15) 35%,
    rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.skyline-bg.tall { height: 420px; }
.skyline-bg.dark::before {
  background: linear-gradient(180deg,
    rgba(10,31,61,0.92) 0%,
    rgba(10,31,61,0.65) 40%,
    rgba(10,31,61,0.85) 100%);
}
.skyline-bg.fade-up::before {
  background: linear-gradient(180deg,
    rgba(251,252,253,1) 0%,
    rgba(251,252,253,0.4) 30%,
    rgba(251,252,253,0.1) 70%,
    rgba(251,252,253,0.6) 100%);
}
.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.hero-text { text-align: center; }
.hero-text,
.hero-text * {
  text-shadow:
    0 10px 38px rgba(7,20,42,0.40),
    0 2px 0 rgba(255,255,255,0.20);
}
.hero-text {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800;
  color: var(--navy-900);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 28px;
  text-shadow:
    0 12px 40px rgba(7,20,42,0.45),
    0 2px 0 rgba(255,255,255,0.22);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(10,31,61,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: ''; width: 28px; height: 1.5px;
  background: var(--navy-800);
}

.hero-h1 {
  font-family: var(--serif);
  font-size: 80px; line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.98);
  margin-bottom: 32px;
  text-shadow:
    0 14px 54px rgba(7,20,42,0.42),
    0 3px 0 rgba(255,255,255,0.22);
  -webkit-text-stroke: 0.6px rgba(7,20,42,0.24);
}
.hero-h1 .ko {
  font-family: var(--sans);
  font-weight: 700;
}
.hero-h1 .hero-type.ko {
  color: rgba(255,255,255,0.98);
  -webkit-text-stroke: 0 transparent;
  letter-spacing: -0.012em;
  text-shadow:
    0 18px 60px rgba(7,20,42,0.55),
    0 6px 22px rgba(7,20,42,0.35),
    0 1px 0 rgba(255,255,255,0.18);
}
.hero-h1 .accent {
  color: var(--blue-100);
  font-style: italic;
  background: transparent;
}
.hero-h1 .hero-type.accent {
  color: #FFFFFF;
  -webkit-text-stroke: 0 transparent;
  letter-spacing: -0.015em;
  text-shadow:
    0 18px 60px rgba(7,20,42,0.55),
    0 6px 22px rgba(7,20,42,0.35),
    0 1px 0 rgba(255,255,255,0.18);
}
.hero-sub {
  font-size: 21px; line-height: 1.7;
  color: rgba(255,255,255,0.92);
  margin-bottom: 48px;
  max-width: 560px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow:
    0 18px 60px rgba(7,20,42,0.45),
    0 6px 22px rgba(7,20,42,0.28),
    0 1px 0 rgba(255,255,255,0.14);
  margin-left: auto;
  margin-right: auto;
}
.hero-sub strong { color: rgba(255,255,255,0.98); font-weight: 800; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 16px; font-weight: 600;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--navy-800); color: #fff;
  box-shadow: 0 8px 24px rgba(14,42,71,0.18);
  filter: drop-shadow(0 10px 22px rgba(7,20,42,0.18));
}
.btn-primary:hover {
  background: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(14,42,71,0.30);
}
.btn-primary .arrow {
  transition: transform 0.25s ease;
}
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
  background: #fff; color: var(--navy-800);
  border: 1.5px solid var(--line-2);
  box-shadow: 0 10px 24px rgba(7,20,42,0.10);
}
.btn-ghost:hover {
  border-color: var(--navy-800);
  background: var(--blue-50);
}

/* Hero card — stat panel */
.hero-card {
  position: relative;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 44px 40px;
  box-shadow:
    0 30px 80px rgba(14,42,71,0.25),
    0 4px 12px rgba(14,42,71,0.10);
  overflow: hidden;
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.hero-card::before {
  content: ''; position: absolute;
  top: -50%; right: -30%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(91,168,204,0.30) 0%, transparent 70%);
  pointer-events: none;
}
.hero-card-label {
  position: relative;
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-400);
  padding-bottom: 18px; margin-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  grid-column: 1 / -1;
}
.hero-stat {
  position: relative;
  padding: 0 28px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.hero-stat:last-of-type { border-right: none; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: 64px; font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 8px;
}
.hero-stat-num .unit {
  font-family: var(--sans);
  font-size: 24px; font-weight: 700;
  color: var(--blue-400);
  margin-left: 4px;
  letter-spacing: 0;
}
.hero-stat-label {
  font-size: 16px; color: rgba(255,255,255,0.72);
  line-height: 1.6;
  font-weight: 600;
}

/* ============================================
   COMMON SECTION
   ============================================ */
section { padding: 140px 48px; }
.wrap { max-width: var(--max); margin: 0 auto; }

.sec-head { margin-bottom: 72px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.right { margin-left: auto; text-align: right; }
.sec-head.right .eyebrow { justify-content: flex-end; flex-direction: row-reverse; }
.sec-head.right .eyebrow::before { display: none; }
.sec-head.right .eyebrow::after {
  content: ''; width: 28px; height: 1.5px; background: var(--blue-500);
}
.sec-h2 {
  font-family: var(--serif);
  font-size: 62px; line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 22px;
}
.sec-h2 .ko { font-family: var(--sans); font-weight: 700; }
.sec-h2 .accent { color: var(--blue-500); font-style: italic; }
.sec-sub {
  font-size: 20px; line-height: 1.65;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================
   PAIN
   ============================================ */
.pain {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.pain .wrap { position: relative; z-index: 2; }
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.pain-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 44px 36px 40px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.pain-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-400);
  box-shadow: 0 24px 60px rgba(58,143,183,0.12);
}
.pain-num {
  font-family: var(--serif);
  font-size: 18px; font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 12px;
}
.pain-num::after {
  content: ''; flex: 1; height: 1px;
  background: var(--line);
}
.pain-title {
  font-size: 28px; font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.pain-desc {
  font-size: 17px; line-height: 1.7;
  color: var(--muted);
  font-weight: 500;
}

.pain-banner {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 44px 56px;
  display: flex; align-items: center; gap: 32px;
  position: relative; overflow: hidden;
}
.pain-banner::before {
  content: ''; position: absolute;
  top: 0; right: 0; bottom: 0; width: 50%;
  background: radial-gradient(ellipse at right, rgba(91,168,204,0.18) 0%, transparent 70%);
}
.pain-banner-mark {
  font-family: var(--serif);
  font-size: 100px; line-height: 0.7;
  color: var(--blue-400);
  font-weight: 600;
  flex-shrink: 0;
  position: relative;
}
.pain-banner-text {
  position: relative;
  font-size: 26px; line-height: 1.55;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pain-banner-text .accent {
  color: var(--blue-400);
  font-weight: 700;
}

/* ============================================
   SOLUTION
   ============================================ */
.solution { background: #fff; }
.sol-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.sol-steps { display: flex; flex-direction: column; }
.sol-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.sol-step:first-child { padding-top: 0; }
.sol-step:last-child { border-bottom: none; }
.sol-step-num {
  font-family: var(--serif);
  font-size: 64px; font-weight: 600;
  line-height: 1;
  color: var(--blue-500);
  letter-spacing: -0.02em;
}
.sol-step-tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.sol-step-name {
  font-size: 32px; font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.sol-step-desc {
  font-size: 18px; line-height: 1.7;
  color: var(--muted);
  font-weight: 500;
}

.sol-quote-card {
  position: sticky; top: 110px;
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 48px;
  position: relative; overflow: hidden;
}
.sol-quote-card::before {
  content: '"';
  position: absolute;
  top: -40px; left: 32px;
  font-family: var(--serif);
  font-size: 240px; line-height: 1;
  color: var(--blue-400);
  opacity: 0.18;
  font-weight: 700;
}
.sol-quote-tag {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 28px;
}
.sol-quote-tag::before {
  content: ''; width: 24px; height: 1.5px; background: var(--blue-400);
}
.sol-quote {
  position: relative;
  font-family: var(--serif);
  font-size: 32px; line-height: 1.4;
  font-weight: 600;
  color: #fff;
  margin-bottom: 40px;
  letter-spacing: -0.015em;
}
.sol-quote .accent { color: var(--blue-400); font-style: italic; }
.sol-feat-list {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.sol-feat {
  display: flex; gap: 14px;
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}
.sol-feat::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400);
  flex-shrink: 0; margin-top: 10px;
}

/* ============================================
   EARNINGS
   ============================================ */
.earnings { background: var(--paper); }
.earn-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start;
}
.earn-stack { display: flex; flex-direction: column; gap: 18px; }
.earn-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: center;
  transition: all 0.25s ease;
}
.earn-card:hover {
  border-color: var(--blue-400);
  box-shadow: 0 16px 40px rgba(58,143,183,0.10);
}
.earn-tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 8px;
}
.earn-title {
  font-size: 26px; font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.earn-desc {
  font-size: 17px; color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
}
.earn-badge {
  background: var(--blue-50);
  color: var(--navy-800);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--blue-100);
}
.earn-badge.b2 { background: #FFF6E5; color: #8A6418; border-color: #F5E5C2; }
.earn-badge.b3 { background: #EAF5EE; color: #1F6B40; border-color: #C9E6D2; }

.benefit-card {
  background: linear-gradient(180deg, #fff 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 44px 40px;
}
.benefit-h {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--blue-100);
  letter-spacing: -0.01em;
}
.benefit-list {
  display: flex; flex-direction: column; gap: 22px;
}
.benefit-item {
  display: grid; grid-template-columns: 32px 1fr;
  gap: 16px;
}
.benefit-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.benefit-check svg { width: 14px; height: 14px; }
.benefit-text strong {
  display: block;
  font-size: 18px; font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.benefit-text span {
  font-size: 16px; color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
}

/* ============================================
   CASES
   ============================================ */
.cases {
  background: #fff;
  position: relative;
  overflow: hidden;
}
.cases .wrap { position: relative; z-index: 2; }
.cases .skyline-bg, .pain .skyline-bg { opacity: 0.55; }
.contact .skyline-bg { opacity: 0.5; mix-blend-mode: luminosity; }
.contact .skyline-bg::before {
  background: linear-gradient(180deg,
    rgba(10,31,61,0.85) 0%,
    rgba(10,31,61,0.45) 35%,
    rgba(14,42,71,0.85) 100%);
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 60px rgba(14,42,71,0.06);
}
.case-col { padding: 56px 52px; }
.case-col.before {
  background: var(--paper);
  border-right: 1px solid var(--line);
}
.case-col.after {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.case-col.after::before {
  content: ''; position: absolute;
  top: -40%; right: -30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,168,204,0.20) 0%, transparent 70%);
}
.case-phase {
  position: relative;
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.case-phase.b {
  background: #FBE9E9; color: #8A2A2A;
}
.case-phase.a {
  background: rgba(91,168,204,0.20);
  color: var(--blue-400);
  border: 1px solid rgba(91,168,204,0.30);
}
.case-name {
  position: relative;
  font-size: 22px; font-weight: 800;
  color: inherit;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}
.case-col.after .case-name { color: #fff; }
.case-list {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 28px;
}
.case-row {
  display: flex; gap: 14px;
  font-size: 17px; line-height: 1.55;
  font-weight: 500;
}
.case-col.before .case-row { color: var(--muted); }
.case-col.after .case-row { color: rgba(255,255,255,0.78); }
.case-row .dot {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0; margin-top: 9px;
}
.case-col.before .dot { background: #C57777; }
.case-col.after .dot { background: var(--blue-400); }

.case-result {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(91,168,204,0.30);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex; align-items: baseline; gap: 18px;
  backdrop-filter: blur(8px);
}
.case-result-num {
  font-family: var(--serif);
  font-size: 56px; font-weight: 600;
  color: var(--blue-400);
  line-height: 1;
  letter-spacing: -0.02em;
}
.case-result-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.contact .wrap { position: relative; z-index: 3; }
.contact::before {
  content: ''; position: absolute;
  top: -200px; right: -150px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(91,168,204,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.contact::after {
  content: ''; position: absolute;
  bottom: -200px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(58,143,183,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.contact-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.contact-left .eyebrow { color: var(--blue-400); }
.contact-left .eyebrow::before { background: var(--blue-400); }
.contact-left .sec-h2 { color: #fff; }
.contact-left .sec-sub { color: rgba(255,255,255,0.65); margin-bottom: 48px; }

.cinfo-list { display: flex; flex-direction: column; gap: 20px; }
.cinfo {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.25s ease;
}
.cinfo:hover {
  background: rgba(91,168,204,0.08);
  border-color: rgba(91,168,204,0.25);
}
.cinfo-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(91,168,204,0.15);
  border: 1px solid rgba(91,168,204,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue-400);
}
.cinfo-icon svg { width: 22px; height: 22px; }
.cinfo-text strong {
  display: block;
  font-size: 17px; font-weight: 600; color: #fff;
  margin-bottom: 2px;
}
.cinfo-text span {
  font-size: 14px; color: rgba(255,255,255,0.55);
}

/* Form */
.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 48px 44px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.30),
    0 6px 16px rgba(0,0,0,0.10);
}
.form-h {
  font-family: var(--serif);
  font-size: 34px; font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.form-sub {
  font-size: 16px; color: var(--muted);
  margin-bottom: 32px;
  font-weight: 500;
}
.fg { margin-bottom: 18px; }
.fl {
  display: block;
  font-size: 15px; font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.fl .req { color: var(--blue-500); }
.fi, .fs, .ft {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: all 0.2s;
  -webkit-appearance: none;
}
.fi::placeholder, .ft::placeholder { color: var(--muted-2); }
.fi:focus, .fs:focus, .ft:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(58,143,183,0.12);
}
.ft { min-height: 110px; resize: vertical; line-height: 1.55; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fbtn {
  width: 100%;
  margin-top: 12px;
  padding: 18px;
  background: var(--navy-800);
  color: #fff;
  font-size: 17px; font-weight: 600;
  border-radius: 10px;
  transition: all 0.25s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 6px 20px rgba(14,42,71,0.20);
}
.fbtn:hover {
  background: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(14,42,71,0.30);
}
.fbtn:disabled { background: var(--blue-500); cursor: default; transform: none; }
.fnote {
  font-size: 13px; color: var(--muted-2);
  text-align: center; margin-top: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.6);
  padding: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.foot-brand img { width: 32px; height: 32px; }
.foot-brand-text {
  font-family: var(--serif);
  font-size: 17px; font-weight: 700;
  color: #fff; letter-spacing: 0.01em;
}
.foot-info {
  font-size: 13.5px; line-height: 1.8;
  color: rgba(255,255,255,0.45);
}
.foot-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   ANIMATION
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-h1 { font-size: 60px; }
  .sec-h2 { font-size: 46px; }
  .hero-skyline { height: 280px; }
  .hero-inner, .sol-grid, .earn-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-card { grid-template-columns: 1fr; }
  .hero-stat { padding: 18px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .hero-stat:last-of-type { border-bottom: none; }
  .pain-grid { grid-template-columns: 1fr; }
  .case-card { grid-template-columns: 1fr; }
  .case-col.before { border-right: none; border-bottom: 1px solid var(--line); }
  .sol-quote-card { position: static; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav { padding: 8px 24px; }
  .nav-brand img { height: 64px; }
  .hero { padding: 130px 24px 80px; }
  section { padding: 90px 24px; }
  footer { padding: 40px 24px; }
  .hero-h1 { font-size: 46px; }
  .sec-h2 { font-size: 36px; }
  .hero-sub, .sec-sub { font-size: 18px; }
  .hero-skyline { height: 200px; opacity: 0.6; }
  .hero-card { padding: 32px 24px; }
  .hero-stat-num { font-size: 44px; }
  .pain-card, .earn-card, .form-card, .benefit-card { padding: 32px 24px; }
  .pain-banner { flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 16px; }
  .pain-banner-mark { font-size: 64px; }
  .pain-banner-text { font-size: 18px; }
  .pain-title { font-size: 22px; }
  .case-col { padding: 36px 24px; }
  .sol-quote-card { padding: 36px 28px; }
  .sol-quote { font-size: 22px; }
  .sol-step { grid-template-columns: 60px 1fr; gap: 20px; padding: 28px 0; }
  .sol-step-num { font-size: 48px; }
  .sol-step-name { font-size: 22px; }
  .form-card { padding: 32px 24px; }
  .frow { grid-template-columns: 1fr; }
  .nav-cta { padding: 10px 18px; font-size: 13px; }
}
