/* ============================================
   Morrow Technology — Styles
   ============================================
   TODO: Update CSS custom properties below to
   match your final brand colors if needed.
   ============================================ */

:root {
  --navy: #0f2744;
  --navy-dark: #0a1c32;
  --royal: #2563eb;
  --royal-hover: #1d4ed8;
  --royal-light: #dbeafe;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --shadow-sm: 0 1px 2px rgba(15, 39, 68, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 39, 68, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 39, 68, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--royal);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--royal-hover);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ========== Buttons ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--royal);
  color: var(--white);
  border-color: var(--royal);
}

.btn-primary:hover {
  background: var(--royal-hover);
  border-color: var(--royal-hover);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--royal);
  border-color: var(--royal);
}

.btn-outline:hover {
  background: var(--royal-light);
  color: var(--royal-hover);
}

.btn-block {
  width: 100%;
}

.inline-link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ========== Header / Nav ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--royal);
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  color: var(--gray-600);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: var(--white) !important;
  border-radius: 8px;
}

.nav-cta:hover {
  background: var(--royal);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ========== Hero ========== */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 50%, #0d2240 100%);
  color: var(--white);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--royal-light);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-subheadline {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.trust-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--royal-light);
}

.hero .inline-link {
  color: var(--royal-light);
}

.hero .inline-link:hover {
  color: var(--white);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(8px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-card-list .check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: rgba(37, 99, 235, 0.3);
  color: #93c5fd;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ========== Sections ========== */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--gray-600);
}

/* ========== Cards ========== */

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--royal-light);
  color: var(--royal);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ========== Steps ========== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========== Pricing ========== */

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.pricing-card-featured {
  border-color: var(--royal);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--royal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.price {
  margin-bottom: 0.75rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.price-custom {
  font-size: 1.5rem;
}

.pricing-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.disclaimer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Benefits ========== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-800);
  box-shadow: var(--shadow-sm);
}

.benefit-card-wide {
  grid-column: 1 / -1;
  justify-content: center;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--royal-light);
  color: var(--royal);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========== Security ========== */

.security-section {
  padding: 3rem 0;
}

.security-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.security-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.25);
  border-radius: 12px;
}

.security-icon svg {
  width: 28px;
  height: 28px;
  color: #93c5fd;
}

.security-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.security-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== FAQ ========== */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--royal);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--gray-50);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ========== Contact ========== */

.contact-section {
  padding-bottom: 5rem;
}

.contact-card {
  text-align: center;
  background: linear-gradient(160deg, var(--gray-50) 0%, var(--white) 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.contact-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-subtext {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.contact-email {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-email a {
  color: var(--royal);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ========== Footer ========== */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-tagline {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: var(--royal-light);
  font-size: 0.9375rem;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 0.8125rem;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ========== Responsive ========== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-line {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li a {
    display: block;
    padding: 0.875rem 1.25rem;
  }

  .nav-cta {
    margin: 0.5rem 1.25rem 0;
    text-align: center;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3rem 0 4rem;
  }

  .services-grid,
  .pricing-grid,
  .steps,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card-wide {
    grid-column: auto;
  }

  .security-card {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .contact-card {
    padding: 2.5rem 1.5rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 140px;
  }
}

@media (max-width: 400px) {
  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }
}
