:root {
  --primary: #0B1F3B;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #16A34A;
  --accent-light: #34d399;
  --text: #1f2937;
  --text-light: #4b5563;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-light: #f9fafb;
  --bg-gray: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

/* Subtle background pattern */
.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.03;
  background-image: 
    radial-gradient(circle at 20% 30%, var(--primary) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--accent) 0%, transparent 50%);
}

@keyframes scan {
  0% { transform: translateY(-30%); }
  100% { transform: translateY(130vh); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.8), 0 0 40px rgba(34, 197, 94, 0.4);
  }
}

@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  animation: fadeInDown 0.6s ease-out;
  box-shadow: var(--shadow-sm);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  gap: 580px;
  flex-wrap: wrap;
}

.nav .btn-pill {
  margin-left: auto;
  padding: 12px 24px;
  flex-shrink: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.8;
}

.nav-left img {
  width: 150px;
  margin-right: 12px;
  padding: 4px 0;
  display: block;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  flex: 1;
  justify-content: center;
  margin: 0 auto;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  color: var(--text-light);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #0B1F3B;
  transition: width 0.3s ease-out;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  background: #0B1F3B;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.btn-pill::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-pill:hover::before {
  width: 300px;
  height: 300px;
}

.btn-pill:hover {
  background: #0020a3;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-pill:active {
  transform: translateY(0);
}

.btn-pill--ghost {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-pill--ghost:hover {
  background: var(--bg-gray);
  border-color: #0B1F3B;
  color: #0B1F3B;
}

.btn-pill-cta {
  background: #16A34A !important;
}

.btn-pill-cta:hover {
  background: #00d673 !important;
}

main {
  padding-bottom: 80px;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
  animation: fadeInUp 0.8s ease-out;
  background: linear-gradient(to bottom, var(--bg), var(--bg-light));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title span {
  color: var(--text);
}

.hero-highlight {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  white-space: nowrap;
  display: inline-block;
}

span.typing-text {
  display: inline-block;
  position: relative;
  min-width: 12ch;
  text-align: left;
  vertical-align: baseline;
  color: #16A34A;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

span.typing-text::after {
  content: "|";
  display: inline-block;
  margin-left: 2px;
  color: var(--primary);
  animation: blink 1s infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta span strong {
  color: var(--text);
  font-weight: 600;
}

.hero-panel {
  padding: 0;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.8s ease-out 0.3s backwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1;
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.hero-panel-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-logo {
  height: 44px;
  width: 44px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
  background: var(--bg-light);
  padding: 6px;
}

.hero-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.hero-panel-title {
  color: var(--text);
}

.hero-panel-title .title-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}

.hero-panel-title .title-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.hero-chip {
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(0, 191, 99, 0.1);
  color: var(--accent);
  border: 1px solid rgba(0, 191, 99, 0.2);
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-chip:hover {
  background: rgba(0, 191, 99, 0.15);
  border-color: rgba(0, 191, 99, 0.3);
}

.hero-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--border);
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-metric {
  padding: 28px;
  background: white;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-metric:first-child {
  border-right: 1px solid var(--border);
}

.hero-metric:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.hero-metric-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-metric-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-metric-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

.tool-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-footer .pill {
  display: inline-flex;
  align-items: center;
  padding: 20px 25px;
  border-radius: 8px;
  font-size: 0.75rem;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-light);
  margin: 4px 6px 4px 0;
  gap: 8px;
  font-weight: 500;
}

/* .hero-footer .pill:nth-child(1) { animation-delay: 0.1s; }
.hero-footer .pill:nth-child(2) { animation-delay: 0.2s; }
.hero-footer .pill:nth-child(3) { animation-delay: 0.3s; }
.hero-footer .pill:nth-child(4) { animation-delay: 0.4s; }
.hero-footer .pill:nth-child(5) { animation-delay: 0.5s; } */
/* .hero-footer .pill:nth-child(6) { animation-delay: 0.6s; } */

/* .hero-footer .pill:hover {
  background: #0B1F3B;
  border-color: #0B1F3B;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
} */

/* .hero-footer .pill:hover .tool-logo {
  filter: brightness(0) invert(1);
} */

.hero-footer .tool-logo {
  width: 18px;
  height: 18px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

/* Tool Logos */
.tool-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.pill .tool-logo {
  width: 50px;
  height: 50px;
  margin-right: 6px;
}

.pill:hover .tool-logo {
  opacity: 1;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  animation: fadeInUp 0.6s ease-out backwards;
}

.tool-item:nth-child(1) { animation-delay: 0.1s; }
.tool-item:nth-child(2) { animation-delay: 0.2s; }
.tool-item:nth-child(3) { animation-delay: 0.3s; }
.tool-item:nth-child(4) { animation-delay: 0.4s; }
.tool-item:nth-child(5) { animation-delay: 0.5s; }
.tool-item:nth-child(6) { animation-delay: 0.6s; }

.tool-item:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tool-logo-large {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

.tool-item:hover .tool-logo-large {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.tool-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 8px;
}

.hero-footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.hero-footer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.hero-footer-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spark-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(0, 191, 99, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(0, 191, 99, 0.2);
  transition: all 0.3s ease;
}

.spark-status:hover {
  background: rgba(0, 191, 99, 0.15);
  border-color: rgba(0, 191, 99, 0.3);
}

.spark-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

/* Section base */
section {
  padding: 100px 0;
}

section:not(.hero) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-top: 24px;
  margin-bottom: 16px;
}

.section-title::before {
  display: none;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  line-height: 1.7;
}

.pill-soft {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
  color: #0B1F3B;
  background: #0B1F3B3d;
  font-weight: 500;
}

/* Services grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.card {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-sm);
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.card:hover::before {
  transform: scaleY(1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.card-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.card:hover .card-logo {
  transform: scale(1.1);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  font-size: 0.75rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  margin-bottom: 16px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.card:hover .badge {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

ul {
  list-style: none;
  margin-top: 16px;
}

ul li {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.card:hover ul li {
  color: var(--text);
  transform: translateX(4px);
}

ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.card:hover ul li::before {
  transform: translateX(2px);
  color: var(--primary);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  border-radius: 16px;
  padding: 32px 24px;
  border: 2px solid var(--border);
  background: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-number {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 700;
}

.step-title {
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: flex-start;
}

form {
  border-radius: 16px;
  padding: 40px;
  border: 1px solid var(--border);
  background: white;
  box-shadow: var(--shadow-lg);
  font-size: 1rem;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 20px;
  outline: none;
  transition: all 0.3s ease;
  font-family: inherit;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: white;
  transform: translateY(-1px);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 14px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  background: #0B1F3B;
  color: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent);
  transition: left 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  background: #0020a3;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:active {
  transform: translateY(0);
}

footer {
  padding: 60px 0 40px;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #0B1F3B;
  border-color: #0B1F3B;
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }
  section {
    padding: 80px 0;
  }
  .hero {
    padding: 60px 0 80px;
  }
  .nav {
    gap: 24px;
  }
  .nav-links {
    gap: 28px;
    font-size: 0.9rem;
    justify-content: right;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .contact-wrapper {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .section-header {
    margin-bottom: 48px;
  }
  .tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  section {
    padding: 60px 0;
  }
  .hero {
    padding: 40px 0 60px;
  }
  .nav {
    padding: 16px 15px;
    position: relative;
  }
  .hamburger {
    display: flex;
    order: 2;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px 0;
    margin: 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links a:hover {
    background: var(--bg-light);
    color: #0B1F3B;
  }
  .nav .btn-pill {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  .nav-left img {
    width: 120px;
    margin-right: 8px;
  }
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .card {
    padding: 24px;
  }
  form {
    padding: 32px 24px;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .tool-item {
    padding: 24px 16px;
  }
  .tool-logo-large {
    width: 48px;
    height: 48px;
  }
  .hero-panel {
    border-radius: 20px;
  }
  .hero-panel-header {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .hero-panel-left {
    justify-content: center;
    text-align: center;
  }
  .hero-panel-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-metric:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .hero-metric {
    padding: 24px 20px;
    align-items: center;
    text-align: center;
  }
  .hero-metric-label {
    text-align: center;
  }
  .hero-metric-value {
    font-size: 1.875rem;
    text-align: center;
  }
  .hero-metric-desc {
    text-align: center;
  }
  .tool-pills {
    justify-content: center;
  }
  .hero-footer {
    padding: 20px;
  }
  .hero-footer-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
  }
  .hero-footer .pill {
    font-size: 0.7rem;
    padding: 19px 23px;
  }
  .hero-highlight {
    white-space: normal;
  }
  span.typing-text {
    min-width: 0;
    max-width: calc(100% - 2ch);
    display: inline-block;
    overflow-wrap: break-word;
  }
  .hero-title {
    font-size: clamp(2.0rem, 5vw, 4rem);
    overflow-wrap: break-word;
  }
  .hero-actions {
    justify-content: center;
  }
}
