@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;600;700&display=swap");

/* OutRight 365 Base Styles */
:root {
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --green-500: #10b981;
  --yellow-400: #facc15;
  --red-500: #ef4444;
  --slate-900: #0b1220;
  --slate-800: #111c2f;
  --slate-700: #1f2937;
  --gray-500: #64748b;
  --gray-300: #cbd5f5;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --gradient-surface: linear-gradient(145deg, rgba(37, 99, 235, 0.08), rgba(16, 185, 129, 0.08));
  --gradient-hero: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.35), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(250, 204, 21, 0.25), transparent 40%),
    linear-gradient(135deg, #0f172a, #111c2f);
  --gradient-card: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.18));
  --shadow-soft: 0 25px 60px rgba(15, 23, 42, 0.15);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-500);
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  line-height: 1.7;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(52, 211, 153, 0.12), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.12), transparent 55%);
  z-index: -2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

section {
  padding: 72px 0;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.surface-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(37, 99, 235, 0.3);
  color: var(--blue-600);
  background: transparent;
}

.btn-outline:hover {
  background: var(--blue-100);
}

.subheading {
  color: var(--blue-600);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

h1, h2, h3, h4 {
  margin-top: 0;
  color: var(--slate-900);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em;
}

.hero {
  padding: 140px 0 110px;
  background: var(--gradient-hero);
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 35%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.chip {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.35);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 600;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 36px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(8, 47, 73, 0.35);
  backdrop-filter: blur(18px);
}

.radial-card {
  background: var(--white);
  color: var(--slate-800);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.radial-card h2,
.radial-card h3,
.radial-card p {
  color: var(--slate-800);
}

.radial-card .subheading {
  color: var(--blue-600);
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.metric {
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.metric span {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--yellow-400);
}

.dark-section {
  background: linear-gradient(135deg, #080d17, #111c2f);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.dark-section h2,
.dark-section h3,
.dark-section p,
.dark-section li {
  color: var(--white);
}

.dark-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.35), transparent 45%);
  opacity: 0.4;
  pointer-events: none;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.list-grid li {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(8, 47, 73, 0.25);
}

.problem h2 {
  color: var(--yellow-400);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 25px 55px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.card h3 {
  margin-bottom: 12px;
}

.step-card {
  padding: 32px;
  background: var(--gray-100);
}

.step-label {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue-600);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.proof-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.proof-items li {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-weight: 600;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 24px;
  background: var(--white);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.dark-section .testimonial-card {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  box-shadow: none;
}

.testimonial-card p {
  font-style: italic;
}

.quote-author {
  margin-top: 16px;
  font-weight: 600;
  color: var(--gray-700);
}

.newsletter {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.15));
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-inline input[type="email"],
.form-inline input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 14px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  font-size: 1rem;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  backdrop-filter: blur(18px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--slate-900);
}

.brand img {
  width: 46px;
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav a {
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}

nav a.active {
  color: var(--blue-600);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  color: var(--slate-900);
}

/* Footer */
footer {
  background: var(--slate-900);
  color: var(--white);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-heading {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
}

.footer-newsletter input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: none;
  margin-bottom: 8px;
}

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Forms */
form {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 600;
  color: var(--gray-700);
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: grid;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  color: var(--gray-700);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

.form-note {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.contact-info .newsletter {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.recaptcha-wrapper {
  margin-top: 12px;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: start;
}

.contact-info h2 {
  margin-top: 0;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--gray-700);
}

.contact-details li {
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cta-strip {
  background: linear-gradient(120deg, var(--blue-600), #172554);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.cta-strip .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Utilities */
.spacer-sm { margin-top: 16px; }
.spacer-md { margin-top: 24px; }
.spacer-lg { margin-top: 36px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  header {
    position: sticky;
  }

  .navbar {
    position: relative;
  }

  nav {
    position: absolute;
    top: 64px;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 12px 18px;
    display: none;
    flex-direction: column;
    width: 220px;
  }

  nav.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .mobile-toggle {
    display: block;
    cursor: pointer;
  }

  .nav-cta {
    display: none;
  }

  .dark-section {
    padding: 32px;
  }

  .newsletter,
  .cta-strip {
    padding: 28px;
  }
}
