/* DLX Solutions Group — Custom Styles */

:root {
  --navy: #0f172a;
  --navy-mid: #1e3a5f;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-pale: #eff6ff;
  --grey-light: #f8fafc;
  --grey-mid: #e2e8f0;
  --grey-text: #64748b;
  --text: #1e293b;
  --white: #ffffff;
  --green: #16a34a;
  --red: #dc2626;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVIGATION ---- */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: background 0.15s !important;
}

.nav-cta:hover {
  background: #1d4ed8 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 24px 20px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: white;
  padding: 80px 24px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,0.25);
  border: 1px solid rgba(59,130,246,0.4);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero h1 .accent {
  color: #60a5fa;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
}

.btn-secondary {
  background: var(--grey-light);
  color: var(--text);
  border: 1px solid var(--grey-mid);
}

.btn-secondary:hover {
  background: var(--grey-mid);
}

/* ---- SECTIONS ---- */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--grey-light);
}

.section-navy {
  background: var(--navy);
  color: white;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-label-light {
  color: #93c5fd;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--grey-text);
  max-width: 560px;
  margin-bottom: 48px;
}

.section-sub-light {
  color: rgba(255,255,255,0.65);
}

.center {
  text-align: center;
}

.center .section-sub {
  margin: 0 auto 48px;
}

/* ---- FEATURE GRID ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.feature-card {
  background: white;
  border: 1px solid var(--grey-mid);
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--grey-text);
  line-height: 1.6;
}

/* ---- STEPS ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  padding: 0 0 40px;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step-line {
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--grey-mid);
}

.step:last-child .step-line {
  display: none;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--grey-text);
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.pricing-card {
  background: white;
  border: 2px solid var(--grey-mid);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.pricing-card.featured {
  border-color: var(--blue);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--grey-text);
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--grey-text);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-mid);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
}

.pricing-features li .check {
  color: var(--green);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- NOTICE BOXES ---- */
.notice {
  background: var(--blue-pale);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9rem;
}

.notice-warn {
  background: #fffbeb;
  border-color: #fcd34d;
}

.notice-danger {
  background: #fef2f2;
  border-color: #fecaca;
}

.notice-title {
  font-weight: 700;
  margin-bottom: 6px;
}

/* ---- DOES/DOESNT BOX ---- */
.does-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.does-box {
  background: white;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid var(--grey-mid);
}

.does-box h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.does-box .yes h4 { color: var(--green); }
.does-box.no h4 { color: var(--red); }

.does-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.does-box ul li {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
}

.does-box ul li::before {
  flex-shrink: 0;
  font-size: 1rem;
}

.does-box.yes ul li::before { content: '✅'; }
.does-box.no ul li::before { content: '❌'; }

/* ---- TABLE ---- */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th {
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--grey-mid);
}

tr:nth-child(even) td {
  background: var(--grey-light);
}

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content .meta {
  color: var(--grey-text);
  font-size: 0.875rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--grey-mid);
}

.legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 40px 0 12px;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 8px;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin: 12px 0 14px 24px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content strong {
  font-weight: 600;
}

/* ---- CONTACT FORM ---- */
.form-group {
  margin-bottom: 20px;
}

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

input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-mid);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.15s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

/* ---- FOOTER ---- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-bottom strong {
  color: rgba(255,255,255,0.9);
}

.footer-legal-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.15s;
}

.footer-legal-links a:hover {
  color: white;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: white;
  padding: 20px 24px;
  z-index: 999;
  display: none;
  border-top: 3px solid var(--blue);
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.cookie-text a {
  color: #93c5fd;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.cookie-accept {
  background: var(--blue);
  color: white;
}

.cookie-accept:hover {
  background: #1d4ed8;
}

.cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.cookie-reject:hover {
  border-color: white;
  color: white;
}

/* ---- SMS PREVIEW ---- */
.sms-preview {
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  border-radius: 16px;
  padding: 20px 24px;
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.85rem;
  white-space: pre-line;
  line-height: 1.7;
  max-width: 380px;
}

/* ---- STAT BAR ---- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 48px;
}

.stat {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255,255,255,0.04);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: var(--blue);
  padding: 72px 24px;
  text-align: center;
  color: white;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .does-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 20px;
  }

  .hero {
    padding: 60px 20px;
  }

  .pricing-card {
    padding: 28px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- UTILITIES ---- */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-small { font-size: 0.8rem; color: var(--grey-text); }
.text-muted { color: var(--grey-text); }
