:root {
  --primary: #0f1f38;
  --primary-light: #1b355d;
  --accent: #d97736;
  --accent-hover: #bc6024;
  --bg: #fbfbfd;
  --surface: #ffffff;
  --surface-alt: #f3f5f9;
  --text: #1a2332;
  --text-muted: #536279;
  --border: #e2e7f0;
  --shadow-sm: 0 2px 8px rgba(15, 31, 56, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 31, 56, 0.09);
  --shadow-lg: 0 16px 40px rgba(15, 31, 56, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.3s;
  text-decoration: none;
}
.skip-link:focus {
  top: 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1.2rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--accent-hover); }

/* Header & Nav */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-logo img {
  width: 44px;
  height: 44px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 8px 4px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 54, 0.35);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 54, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #0b172a 0%, #162c4e 100%);
  color: #ffffff;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(217, 119, 54, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.7;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero-content h1 {
  color: #ffffff;
  line-height: 1.18;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 119, 54, 0.2);
  border: 1px solid rgba(217, 119, 54, 0.5);
  color: #f7a876;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.25rem;
  color: #d1d9e6;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.1);
}
.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--surface);
  margin-top: -40px;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 36px 24px;
  border: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* Section styling */
.section {
  padding: 90px 0;
}
.section-alt {
  background-color: var(--surface-alt);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-subtitle {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* How it works */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.workflow-card {
  background: var(--surface);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease;
}
.workflow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.workflow-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(15, 31, 56, 0.07);
  line-height: 1;
}
.workflow-icon {
  width: 58px;
  height: 58px;
  background: rgba(217, 119, 54, 0.12);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-thumb {
  height: 220px;
  overflow: hidden;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-thumb img {
  transform: scale(1.05);
}
.service-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-body h3 {
  margin-bottom: 12px;
}
.service-body p {
  color: var(--text-muted);
  flex-grow: 1;
}
.service-body .link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 16px;
}

/* Feature Asymmetric Block */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-img-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.feature-list {
  list-style: none;
  margin: 24px 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.feature-list li i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 4px;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}
.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
  z-index: 2;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pricing-header {
  text-align: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0 6px;
  font-family: var(--font-heading);
}
.pricing-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  color: var(--text);
}
.pricing-features li i {
  color: #27ae60;
}

/* Trust Principles Box */
.trust-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}
.principle-item {
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

/* Form Section */
.form-section {
  background: linear-gradient(145deg, #0f1f38, #182e4e);
  color: #ffffff;
}
.form-wrapper {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  color: var(--text);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group.full-width {
  grid-column: span 2;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--primary);
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.25s ease;
  background-color: #fafbfc;
}
.form-control:focus {
  border-color: var(--accent);
  background-color: #ffffff;
  outline: none;
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.checkbox-group input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

/* Accordion FAQ */
.accordion-wrapper {
  max-width: 860px;
  margin: 0 auto;
}
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 24px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
}
.accordion-header i {
  color: var(--accent);
  transition: transform 0.3s ease;
}
.accordion-header.active i {
  transform: rotate(180deg);
}
.accordion-body {
  padding: 0 24px 22px;
  display: none;
  color: var(--text-muted);
  line-height: 1.7;
}
.accordion-body.open {
  display: block;
}

/* Trust Layer Banner */
.trust-layer {
  background: #eef2f8;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-box {
  background: #ffffff;
  border: 1px solid #d5deea;
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.trust-box h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.trust-box p:last-child {
  margin-bottom: 0;
}
.trust-disclaimer {
  font-size: 0.85rem !important;
  color: #718096 !important;
  border-top: 1px solid #edf2f7;
  padding-top: 10px;
  margin-top: 10px;
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 70px 0 30px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #cbd5e1;
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
}

/* Legal Pages Styling */
.legal-content {
  background: var(--surface);
  padding: 50px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin: 40px auto 70px;
  max-width: 900px;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.legal-content p, .legal-content li {
  font-size: 1rem;
  color: #334155;
}
.legal-content ul, .legal-content ol {
  margin: 16px 0 20px 24px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: var(--text);
  padding: 24px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  border-top: 2px solid var(--accent);
  display: none;
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-text {
  font-size: 0.95rem;
  color: #334155;
}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
}
.btn-cookie-accept {
  background: var(--accent);
  color: #fff;
}
.btn-cookie-deny {
  background: #e2e8f0;
  color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrapper { order: -1; }
  .hero-image-wrapper img { height: 350px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .feature-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: 72px; }
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    padding: 36px 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    align-items: flex-start;
  }
  .nav-links.open { left: 0; }
  .header-cta .btn { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }
  .form-wrapper { padding: 28px 20px; }
  .legal-content { padding: 28px 20px; }
  .cookie-inner { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-buttons { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}