/* ============================================
   Medara Landing Page - Vanilla CSS
   Enterprise-grade styling for Medara SaaS
   ============================================ */

/* ============================================
   CSS VARIABLES & ROOT
   ============================================ */
:root {
  /* Primary Colors */
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;

  /* Accent Colors */
  --accent: #0d9488;
  --accent-light: #ccfbf1;

  /* Text Colors */
  --text: #0f172a;
  --text-muted: #64748b;

  /* Background Colors */
  --bg: #ffffff;
  --bg-alt: #f8fafc;

  /* Border & Surface */
  --border: #e2e8f0;
  --surface: #f1f5f9;

  /* Status Colors */
  --success: #22c55e;

  /* Design Tokens */
  --radius: 0.75rem;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --max-w: 80rem;
}

/* ============================================
   BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 4rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

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

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

.nav-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: white;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 0.25rem;
}

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    gap: 0.5rem;
  }

  .nav-hamburger {
    display: block;
  }

  .nav-links.open .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-links.open .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 60%, #f0fdfa 100%);
}

.hero-inner {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
  color: white;
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

.btn-white {
  background: white;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: #f0f9ff;
  color: var(--primary-dark);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .hero-h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}

/* ============================================
   HERO MOCKUP / BROWSER FRAME
   ============================================ */
.hero-mockup {
  margin-top: 3rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background: white;
}

.mockup-bar {
  background: var(--surface);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mockup-dot:nth-child(1) {
  background: #ef4444;
}

.mockup-dot:nth-child(2) {
  background: #f59e0b;
}

.mockup-dot:nth-child(3) {
  background: #22c55e;
}

.mockup-url {
  background: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-left: 0.5rem;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mockup-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.mockup-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.mockup-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-green {
  background: #dcfce7;
  color: #166534;
}

.tag-blue {
  background: var(--primary-light);
  color: var(--primary);
}

.tag-cyan {
  background: #cffafe;
  color: #155e75;
}

.tag-amber {
  background: #fef3c7;
  color: #92400e;
}

/* Schedule Table */
.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.mockup-table th {
  background: var(--surface);
  padding: 0.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.mockup-table td {
  padding: 0.5rem;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}

.mockup-table tr:last-child td {
  border-bottom: none;
}

/* Chips for Staff */
.chip {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.chip-blue {
  background: #dbeafe;
  color: #1e40af;
}

.chip-green {
  background: #dcfce7;
  color: #166534;
}

.chip-cyan {
  background: #cffafe;
  color: #155e75;
}

.chip-amber {
  background: #fef3c7;
  color: #92400e;
}

.chip-empty {
  background: var(--surface);
  color: var(--text-muted);
}

.mockup-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  font-size: 0.7rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  .mockup-table {
    font-size: 0.65rem;
  }

  .hero-mockup {
    margin-top: 2rem;
  }
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 1.25rem 0;
}

.trust-inner {
  display: flex;
  justify-content: center;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================
   VALUE PROPS / BENEFITS
   ============================================ */
.values {
  padding: 5rem 0;
}

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

.value-card {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 800;
}

.value-icon.blue {
  background: var(--primary-light);
  color: var(--primary);
}

.value-icon.teal {
  background: var(--accent-light);
  color: var(--accent);
}

.value-icon.green {
  background: #dcfce7;
  color: #166534;
}

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

.value-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.label-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.label-accent {
  background: var(--accent-light);
  color: var(--accent);
}

.label-orange {
  background: #ffedd5;
  color: #9a3412;
}

.label-blue {
  background: #dbeafe;
  color: #1e40af;
}

.label-purple {
  background: #f3e8ff;
  color: #6b21a8;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.feature-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.feature-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 0.625rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .feature-row.reverse {
    flex-direction: column;
    direction: ltr;
  }

  .feature-row.reverse > * {
    direction: ltr;
  }
}

/* ============================================
   FEATURE DEMOS
   ============================================ */
.feature-demo {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.demo-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.demo-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-weight: 600;
}

.demo-status.active {
  background: #dcfce7;
  color: #166534;
}

.demo-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.demo-status.info {
  background: #dbeafe;
  color: #1e40af;
}

.demo-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.demo-row:nth-child(even) {
  background: var(--surface);
}

.demo-footer {
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.demo-footer.success {
  background: #dcfce7;
  color: #166534;
}

.demo-footer.info {
  background: var(--primary-light);
  color: var(--primary);
}

/* Demo Grid for Time Tracking */
.demo-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.demo-time-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.demo-time-row:last-child {
  border-bottom: none;
}

.demo-time-row .time {
  font-family: monospace;
  font-weight: 600;
  color: var(--text);
}

.demo-time-row .duration {
  color: var(--text-muted);
}

/* Mobile Demo */
.demo-mobile {
  max-width: 200px;
  margin: 0 auto;
  border: 4px solid #1e293b;
  border-radius: 1rem;
  padding: 0.75rem;
  background: white;
}

.demo-mobile-header {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-mobile-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.625rem;
  margin-bottom: 0.25rem;
}

.demo-mobile-row.highlight {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.demo-mobile-row.muted {
  background: var(--surface);
  color: var(--text-muted);
}

/* Stats Demo */
.demo-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.demo-stat {
  text-align: center;
  padding: 1rem;
  background: var(--surface);
  border-radius: 0.75rem;
}

.demo-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.demo-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================
   PRICING / PAKETE
   ============================================ */
.pricing {
  padding: 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.paket-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.paket-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.paket-featured {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
}

.paket-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.paket-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.paket-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.paket-price {
  margin: 1.5rem 0;
}

.paket-price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.paket-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.paket-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.paket-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.paket-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.paket-features li.disabled {
  color: var(--text-muted);
  opacity: 0.5;
}

.paket-features li.disabled::before {
  content: "–";
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================
   ROADMAP
   ============================================ */
.roadmap {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.roadmap-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.roadmap-card:hover {
  box-shadow: var(--shadow);
}

.roadmap-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.roadmap-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.roadmap-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.roadmap-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.roadmap-quarter {
  display: inline-block;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 5rem 0;
}

.faq-list {
  max-width: 48rem;
  margin: 3rem auto 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: white;
}

.faq-question {
  width: 100%;
  background: white;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
  font-family: inherit;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-top: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-email {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.cta-email a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.cta .btn-white {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .cta h2 {
    font-size: 2rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.footer-logo svg {
  width: 28px;
  height: 28px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 20rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 1.5rem;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-copy {
    margin-top: 1rem;
  }
}

/* ============================================
   MODAL / CONTACT FORM
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

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

.form-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-checkbox input {
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.form-success {
  background: #dcfce7;
  color: #166534;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-submit {
  margin-top: 1.5rem;
  background: var(--primary);
  color: white;
  width: 100%;
  padding: 0.875rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

.form-submit:hover {
  background: var(--primary-dark);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-in {
  animation: slideIn 0.3s ease forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.hidden {
  display: none !important;
}

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

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .nav,
  .nav-hamburger,
  .hero-ctas,
  .cta,
  .modal {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  .hero {
    padding: 2rem 0;
    background: #fff;
  }

  .section {
    padding: 2rem 0;
  }
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}

::-moz-selection {
  background: var(--primary-light);
  color: var(--primary-dark);
}
