/* Fleetfinity v2 - Modern Design System */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  --color-primary-50: #eff6ff;
  --color-secondary: #10b981;
  --color-secondary-dark: #059669;
  --color-accent: #f59e0b;
  --color-dark: #0f172a;
  --color-heading: #1e293b;
  --color-text: #475569;
  --color-text-light: #64748b;
  --color-border: #e2e8f0;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-5xl) 0;
}

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

.section--dark {
  background: var(--color-bg-dark);
  color: #cbd5e1;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-header .overline {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text-light);
}

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

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn--green {
  background: var(--color-secondary);
  color: #fff;
}

.btn--green:hover {
  background: var(--color-secondary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

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

.btn--white:hover {
  background: #f1f5f9;
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.header__logo img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__actions .login-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + var(--space-5xl));
  padding-bottom: var(--space-5xl);
  background: linear-gradient(135deg, var(--color-primary-50) 0%, #fff 50%, #ecfdf5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero h1 {
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.hero__trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.hero__image {
  position: relative;
  z-index: 1;
}

.hero__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   Social Proof / Logos
   ============================================ */
.social-proof {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.social-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-mini {
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base);
}

.testimonial-mini:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-mini__stars {
  color: var(--color-accent);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
  letter-spacing: 2px;
}

.testimonial-mini__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.testimonial-mini__author {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.testimonial-mini__author strong {
  color: var(--color-heading);
  font-weight: 600;
}

.trust-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-2xl);
}

.trust-tags__label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.trust-tag {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================
   SEO Content Section
   ============================================ */
.seo-content {
  max-width: 800px;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 1.375rem;
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content p {
  color: var(--color-text);
  line-height: 1.8;
}

/* ============================================
   Features Section
   ============================================ */
.feature-card {
  padding: var(--space-2xl);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.feature-card h3 a {
  color: var(--color-heading);
}

.feature-card h3 a:hover {
  color: var(--color-primary);
}

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

/* ============================================
   Split Section (Image + Content)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.split__content .overline {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.split__content h2 {
  margin-bottom: var(--space-lg);
}

.split__content p {
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.check-list {
  display: grid;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.check-list__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.check-list__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1fae5;
  color: var(--color-secondary);
  border-radius: 50%;
  margin-top: 2px;
}

.check-list__icon svg {
  width: 14px;
  height: 14px;
}

.check-list__text {
  font-size: 0.9375rem;
}

.check-list__text strong {
  color: var(--color-heading);
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: var(--space-md);
}

.cta-banner p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-2xl);
}

.cta-banner__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Industries Section
   ============================================ */
.industry-card {
  display: block;
  padding: var(--space-xl);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  color: var(--color-text);
}

.industry-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--color-text);
}

.industry-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-lg);
  font-size: 1.75rem;
}

.industry-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.industry-card p {
  font-size: 0.875rem;
  color: var(--color-text-light);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-heading);
  font-size: 0.9375rem;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.faq-item__question::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(-45deg);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-item__question::before {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-lg);
  padding-left: calc(var(--space-lg) + 8px + var(--space-md));
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-item__answer {
  display: block;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card--popular {
  border-color: var(--color-primary);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.pricing-card--popular::before {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

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

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.pricing-card__features {
  flex: 1;
  margin-bottom: var(--space-xl);
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.pricing-card__features li::before {
  content: '';
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================
   Security / Trust Section
   ============================================ */
.trust-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.trust-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.trust-icon__circle {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.75rem;
}

.trust-icon__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-heading);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-bg-dark);
  color: #94a3b8;
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__brand img {
  height: 32px;
}

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

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer h6 {
  color: #f1f5f9;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  color: #94a3b8;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.875rem;
}

/* ============================================
   Page Header (Subpages)
   ============================================ */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: linear-gradient(135deg, var(--color-primary-50) 0%, #fff 100%);
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.breadcrumb a {
  color: var(--color-primary);
}

.breadcrumb .sep {
  color: var(--color-border);
}

/* ============================================
   Content Pages (Legal, Blog, etc.)
   ============================================ */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-4xl) 1.5rem;
}

.content-page h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.content-page h3 {
  font-size: 1.25rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.content-page p {
  line-height: 1.8;
}

.content-page ul, .content-page ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.content-page ul {
  list-style: disc;
}

.content-page ol {
  list-style: decimal;
}

.content-page li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* ============================================
   Contact Form
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-xl);
}

.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.blog-card__body h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
}

.blog-card__body h3 a {
  color: var(--color-heading);
}

.blog-card__body h3 a:hover {
  color: var(--color-primary);
}

.blog-card__body p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

/* ============================================
   Blog Article
   ============================================ */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.article h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article p {
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.article ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--space-lg);
}

.article li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

/* ============================================
   SVG Icons (inline)
   ============================================ */
.icon-svg {
  display: inline-flex;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
}

.animate-on-scroll.visible {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .split {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .split--reverse {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  :root {
    --space-5xl: 4rem;
    --space-4xl: 3rem;
  }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #fff;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
    z-index: 1001;
  }

  .header__nav.open {
    display: flex;
  }

  .header__nav a {
    display: block;
    padding: var(--space-md) var(--space-xl);
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--color-border);
  }

  .menu-toggle {
    display: flex;
  }

  .header__actions .btn {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__image {
    max-width: 400px;
    margin: 0 auto;
  }

  .social-proof__grid {
    grid-template-columns: 1fr;
  }

  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }
}

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

  .hero__cta .btn {
    width: 100%;
  }

  .cta-banner__buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner__buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   Print styles
   ============================================ */
@media print {
  .header, .footer, .cta-banner {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
