:root {
  --primary: #e43f3f;
  --primary-dark: #c53030;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

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

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none !important;
}

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

.nav-links a {
  color: var(--dark);
  font-weight: 500;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

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

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

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55)),
    url('https://images.unsplash.com/photo-1436491864332-8a88a89392b7?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 900px;
}

.hero p {
  font-size: clamp(16px, 2.2vw, 22px);
  margin-bottom: 32px;
  opacity: 0.95;
  max-width: 640px;
}

.hero .btn {
  font-size: 17px;
  padding: 14px 28px;
}

/* Features */
.features {
  padding: 100px 24px;
  background: var(--white);
}

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

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

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

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

.feature-text h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 17px;
  color: var(--gray);
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Testimonials */
.testimonials {
  padding: 100px 24px;
  background: var(--light-gray);
}

.testimonials h3 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.testimonial {
  background: var(--white);
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stars {
  color: #ffc107;
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 17px;
  color: var(--dark);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray);
}

/* CTA band */
.cta {
  padding: 120px 24px;
  background:
    linear-gradient(135deg, rgba(228, 63, 63, 0.9), rgba(197, 48, 48, 0.95)),
    url('https://images.unsplash.com/photo-1526778548025-f4bdd372d51c?w=1920&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-bottom: 24px;
}

.cta p {
  font-size: 19px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.cta .btn {
  background: var(--white);
  color: var(--primary);
  font-size: 17px;
  padding: 14px 32px;
}

.cta .btn:hover {
  background: var(--light-gray);
}

/* Footer */
.footer {
  padding: 48px 24px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 12px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 14px;
  opacity: 0.7;
}

/* Legal pages */
.page-hero {
  padding: 140px 24px 60px;
  background: var(--light-gray);
  border-bottom: 1px solid #e9ecef;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.legal-content {
  padding: 60px 24px 80px;
}

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

.legal-container h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 16px;
}

.legal-container h2:first-child {
  margin-top: 0;
}

.legal-container p {
  color: #444;
  margin-bottom: 16px;
  line-height: 1.7;
}

.legal-container ul {
  margin: 0 0 24px 20px;
  color: #444;
}

.legal-container li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}
