/* WAID Design System */

:root {
  /* Aura Theme Colors */
  --waid-bg-dark: #030712;
  /* Deepest Navy/Black */
  --waid-bg-card: #0F172A;
  /* Slightly lighter for cards */
  --waid-text-main: #FFFFFF;
  /* White text */
  --waid-text-muted: #94A3B8;
  /* Muted gray text */

  --waid-accent-blue: #0056FF;
  /* Neon Blue */
  --waid-accent-cyan: #06B6D4;
  /* Cyan glow */
  --waid-accent-yellow: #FFB703;
  /* Vivid Yellow */

  /* Gradients */
  --gradient-glow: linear-gradient(135deg, rgba(0, 86, 255, 0.2) 0%, rgba(3, 7, 18, 0) 100%);
  --gradient-btn: linear-gradient(90deg, #0056FF 0%, #0043C7 100%);
  --gradient-hero: linear-gradient(135deg, rgba(240, 249, 255, 1) 0%, rgba(226, 232, 240, 1) 100%);
  /* Light blue-gray gradient for form */

  /* Borders */
  --waid-border-gray: #E2E8F0;

  /* Status Colors */
  --waid-warning: #FFB703;
  --waid-warning-bg: rgba(255, 183, 3, 0.1);
  --waid-pale-blue: #F0F9FF;
  --waid-light-gray: #94A3B8;
  --waid-gray: #64748B;
  --waid-navy: #0F172A;

  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

  /* Responsive Typography */
  --h1-size: clamp(36px, 5vw, 56px);
  --h2-size: clamp(28px, 4vw, 40px);
  --h3-size: 28px;
  --h4-size: 24px;
  --h5-size: 20px;
  --body-size: 18px;

  --h1-weight: 700;
  --h2-weight: 700;
  --h3-weight: 600;
  --h4-weight: 600;
  --h5-weight: 600;

  --h1-line-height: 1.2;
  --h2-line-height: 1.3;
  --h3-line-height: 1.4;
  --h4-line-height: 1.4;
  --h5-line-height: 1.5;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 100px;

  /* Aliases for compatibility */
  --spacing-xs: var(--space-xs);
  --spacing-sm: var(--space-sm);
  --spacing-md: var(--space-md);
  --spacing-lg: var(--space-lg);
  --spacing-xl: var(--space-xl);
  --spacing-xxl: var(--space-3xl);

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 0 24px;
  --container-width: 1200px;
  /* Alias */

  /* Section Padding */
  --section-padding: 80px 0;
  --section-padding-large: 100px 0;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-small: 6px;
  --radius-medium: 8px;
  --radius-large: 12px;
  --radius-xlarge: 16px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-small: 0 2px 4px rgba(0, 51, 102, 0.08);
  /* Dark navy shadow */
  --shadow-medium: 0 4px 8px rgba(0, 51, 102, 0.1);
  --shadow-large: 0 8px 16px rgba(0, 51, 102, 0.15);
  --shadow-card: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-button: 0 4px 6px rgba(0, 102, 204, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Responsive Hero & Layout */
@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column-reverse;
    /* Visual on top for mobile, or column for content first. User usually wants content first? Actually standard is content first but let's check. Stack: Content then Visual usually. Code has Content left, Visual right. Flex direction column will put Content top. */
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

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

  .trust-line {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px !important;
    /* Override inline style */
  }

  .hero-visual {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    /* --h1-size is handled by clamp, but we can override if needed */
    --section-padding: 48px 0;
  }

  .nav-menu {
    display: none;
    /* Mobile menu implementation later */
  }

  .card-emphasized {
    transform: none;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-large {
    width: 100%;
  }
}


:root {
  --h5-size: 20px;
  --h5-weight: 600;
  --h5-line-height: 1.5;

  /* Body Text */
  --body-large: 18px;
  --body-regular: 16px;
  --body-small: 14px;
  --body-tiny: 12px;

  --body-line-height: 1.7;
  --body-weight: 400;

  /* Spacing System */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 100px;

  /* Section Padding */
  --section-padding: 80px 0;
  --section-padding-large: 100px 0;

  /* Container */
  --container-max-width: 1200px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-small: 6px;
  --radius-medium: 8px;
  --radius-large: 12px;
  --radius-xlarge: 16px;
  --radius-round: 50%;

  /* Shadows */
  --shadow-small: 0 2px 4px rgba(0, 51, 102, 0.08);
  --shadow-medium: 0 4px 8px rgba(0, 51, 102, 0.1);
  --shadow-large: 0 8px 16px rgba(0, 51, 102, 0.15);
  --shadow-button: 0 4px 6px rgba(0, 102, 204, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--waid-text-main);
  line-height: 1.6;
  font-size: var(--body-size);
  background-color: var(--waid-bg-dark);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--waid-text-main);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
  /* Tighter tracking for modern look */
}

h1 {
  font-size: var(--h1-size);
  font-weight: var(--h1-weight);
  line-height: var(--h1-line-height);
}

h2 {
  font-size: var(--h2-size);
  font-weight: var(--h2-weight);
  line-height: var(--h2-line-height);
}

h3 {
  font-size: var(--h3-size);
  font-weight: var(--h3-weight);
  line-height: var(--h3-line-height);
}

h4 {
  font-size: var(--h4-size);
  font-weight: var(--h4-weight);
  line-height: var(--h4-line-height);
}

h5 {
  font-size: var(--h5-size);
  font-weight: var(--h5-weight);
  line-height: var(--h5-line-height);
}

p {
  margin-bottom: var(--space-md);
}

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

ul {
  list-style: none;
}

ul li::before {
  /* content: "•"; */
  /* Default bullet override if needed */
  color: var(--waid-accent-cyan) !important;
}

/* Specific fix for discovery list */
section ul {
  list-style: disc;
  padding-left: 20px;
}

section ul li::marker {
  color: var(--waid-accent-cyan);
}

/* Pricing Checkmarks */
/* Pricing Checkmarks */
.pricing-check {
  color: var(--waid-accent-blue) !important;
  font-weight: bold;
  margin-right: 8px;
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

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

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

.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

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

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

/* Components */

/* Buttons */
/* Buttons */
.btn {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--waid-accent-blue);
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  /* Pill shape */
  border: none;
  box-shadow: 0 4px 12px rgba(0, 86, 255, 0.4);
  /* Neon Glow */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 86, 255, 0.6);
  background: #1a6aff;
  /* Lighter blue */
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  /* Slight glass effect */
  color: var(--waid-text-main);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--waid-text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  /* Add subtl glow */
}

.btn-navy {
  background: var(--waid-bg-dark);
  /* Match the dark theme */
  color: white;
  border: 1px solid var(--waid-accent-blue);
  /* Add border to make it pop */
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-navy:hover {
  background: var(--waid-accent-blue);
  /* Turn blue on hover */
  border-color: var(--waid-accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 86, 255, 0.4);
}

.btn-large {
  font-size: 18px;
  padding: 18px 48px;
}

.btn-small {
  font-size: 14px;
  padding: 12px 24px;
}

/* Cards */
.card {
  background: var(--waid-bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--waid-text-main);
  /* height: 100%; removed to allow flex stretch */
  /* Ensure equal height */
  display: flex;
  flex-direction: column;
}

.pricing-grid .card {
  height: auto;
  flex: 1;
}

/* Light background cards for pricing on white sections */
.card.card-light-bg {
  background: white !important;
  color: var(--waid-navy) !important;
  border: 2px solid var(--waid-border-gray);
}

.card.card-light-bg h3 {
  color: var(--waid-navy) !important;
}

.card.card-light-bg p {
  color: var(--waid-gray) !important;
}

.card.card-light-bg ul {
  color: var(--waid-navy) !important;
}

/* Override btn-secondary inside light cards for visibility */
.card.card-light-bg .btn-secondary {
  background: var(--waid-navy) !important;
  color: white !important;
  border: 1px solid var(--waid-navy) !important;
}

.card.card-light-bg .btn-secondary:hover {
  background: var(--waid-accent-blue) !important;
  border-color: var(--waid-accent-blue) !important;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
  border-color: var(--waid-accent-blue);
}



.card-emphasized {
  border: 1px solid var(--waid-accent-blue);
  box-shadow: 0 0 30px rgba(0, 86, 255, 0.15);
  /* transform: scale(1.02); removed to ensure equal height alignment */
  position: relative;
  z-index: 2;
}

/* Forms */
.form-input {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #CCCCCC;
  border-radius: var(--radius-small);
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--waid-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--waid-navy);
  /* Navy for form labels on light gradient bg */
  margin-bottom: 8px;
  display: block;
}

/* Navigation */
.navbar {
  height: 80px;
  background: rgba(3, 7, 18, 0.8);
  /* Semi-transparent dark bg */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  width: 100%;
}

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

/* Enhancements for Form */
.form-container {
  background: var(--gradient-hero);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
  text-align: left;
  border: 1px solid var(--waid-border-gray);
}

.form-container .form-label {
  color: var(--waid-navy);
}

.form-container p {
  color: var(--waid-gray);
}

/* Card on Light Background */
.card-light {
  background: var(--waid-bg-card);
  color: white;
}

.card-light h3,
.card-light h4 {
  color: white;
}

.card-light p {
  color: var(--waid-text-muted);
}

/* Pricing Grid */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: stretch;
  /* Cards stretch to same height */
  flex-wrap: wrap;
}

.nav-logo {
  height: 60px;
  /* Increased from 40px */
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--waid-text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--waid-text-main);
}

/* Typography Utility Classes */
.text-navy {
  color: var(--waid-navy);
  /* Navy blue for light backgrounds */
}

/* For headings on dark card backgrounds - use white */
.card .text-navy,
.card h4.text-navy {
  color: var(--waid-text-main);
}

/* Keep navy text on light background cards */
.card.card-light-bg .text-navy,
.card.card-light-bg h4.text-navy {
  color: var(--waid-navy) !important;
}

.text-blue {
  color: var(--waid-accent-blue);
}

.text-light-blue {
  color: var(--waid-accent-cyan);
}

.text-gray {
  color: var(--waid-gray);
  /* Darker gray #64748B for better readability */
}

.text-white {
  color: white;
}

.text-dark {
  color: var(--waid-navy);
}

.trust-line {
  color: var(--waid-text-muted) !important;
}

.section-slanted {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  background: var(--waid-bg-dark);
  padding-bottom: 80px;
  /* Extra padding for slant */
  z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --h1-size: 32px;
    --h2-size: 28px;
    --section-padding: 48px 0;
  }

  .nav-menu {
    display: none;
    /* Mobile menu implementation later */
  }

  .card-emphasized {
    transform: none;
  }
}


/* Additions for Tabs and Accordions */
.tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid #CCCCCC;
  color: var(--waid-gray);
  font-size: 18px;
  font-weight: 700;
  padding: 16px 32px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--waid-navy);
}

.tab-btn.active {
  background: white;
  border-bottom: 4px solid var(--waid-blue);
  color: var(--waid-navy);
  border-radius: 6px 6px 0 0;
}

.tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex !important;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accordion */
.accordion-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  border: 1px solid rgba(0, 86, 255, 0.1);
  /* Subtle blue border */
}

.accordion-item:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.accordion-item.open {
  box-shadow: var(--shadow-medium);
  border-color: var(--waid-accent-blue);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 12px 16px;
  /* Reduced padding (was 20px 24px) */
  background: transparent;
  color: var(--waid-navy);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  width: 100%;
  text-align: left;
  border: none;
}

.accordion-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--waid-navy);
  /* Navy for readability on white accordion */
  transition: color 0.3s ease;
  margin: 0;
}

.accordion-item.open .accordion-title {
  color: var(--waid-accent-blue);
}

.accordion-icon {
  font-size: 24px;
  color: var(--waid-accent-blue);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 86, 255, 0.05);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--waid-accent-blue);
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--waid-gray);
  /* Darker gray for readability */
  line-height: 1.6;
  padding: 0 16px;
  font-size: 14px;
}

.accordion-item.open .accordion-content {
  max-height: 1000px;
  padding-bottom: 16px;
  /* Reduced padding */
  padding-top: 0;
}

/* Animations & Visual Polish */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Depth Utilities */
.hero-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* Transitions */
:root {
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 51, 102, 0.12);
}

/* Responsive Hero & Layout */
@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
  }

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

  .trust-line {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px !important;
  }

  .hero-visual {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-large {
    width: 100%;
  }
}

/* Category Accordion */
.category-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.category-header:hover {
  color: var(--waid-accent-blue);
}

.category-icon {
  font-size: 24px;
  font-weight: bold;
  color: var(--waid-accent-blue);
  transition: transform 0.3s ease;
}

.category-header.active .category-icon {
  transform: rotate(45deg);
}

.category-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.category-content.active {
  max-height: 5000px;
  /* Large enough to fit content */
  opacity: 1;
  transition: max-height 0.6s ease-in, opacity 0.4s ease-in;
}

/* Utility Classes */
.text-navy {
  color: var(--waid-navy) !important;
}

.text-white {
  color: white !important;
}

.text-blue {
  color: var(--waid-blue) !important;
}

.text-gray {
  color: var(--waid-gray) !important;
}