/* BookSea Landing Page Styles - Modern Edition */

:root {
  /* Fresher, more vibrant color palette */
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #1e40af;
  --secondary: #0f172a;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --accent: #8b5cf6;

  /* Shadows - lighter, more subtle */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);

  /* Border radius - modern, more rounded */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Skip to Content Link */
.skip-to-content {
  position: fixed;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 20px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 16px;
}

/* Header - Glass morphism enhanced */
header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--dark);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: var(--gray-light);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--gray);
  text-decoration: none;
  margin: 0;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--dark);
  background-color: var(--gray-light);
}

/* Sign Up - primary action, filled */
.nav-link.signup {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-weight: 600;
}

.nav-link.signup:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-1px);
}

/* Login - secondary action, ghost/outline */
.nav-link.cta {
  background: transparent;
  color: var(--dark);
  font-weight: 500;
  border: 1px solid var(--gray-light);
}

.nav-link.cta:hover {
  background: var(--gray-light);
  color: var(--dark);
  border-color: var(--gray);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.75rem;
  margin-bottom: 24px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: 1.35rem;
  max-width: 700px;
  margin: 0 auto 48px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin: 48px 0;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.hero-stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: var(--shadow-glow);
}

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

.btn-secondary:hover {
  background: #1e293b;
}

/* Sections */
.section {
  padding: 80px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 48px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

/* Features - Modern cards without top stripe */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.feature {
  background-color: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--gray-light);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(59, 130, 246, 0.2);
}

/* Removed feature::before top stripe */

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-md);
  color: var(--white);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--gray-light);
  transition: all 0.2s ease;
}

.trust-badge:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.trust-badge-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.trust-badge-icon svg {
  width: 20px;
  height: 20px;
}

/* How It Works */
.how-it-works {
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

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

.steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all 0.2s ease;
}

.step:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.2);
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h4 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step-content p {
  margin: 0;
  color: var(--gray);
  line-height: 1.6;
}

/* Key Points (if still used) */
.key-points {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 48px;
  border: 1px solid var(--gray-light);
}

.key-point {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  padding: 24px;
  background: var(--light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.key-point:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.key-point:last-child {
  margin-bottom: 0;
}

.key-point-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-point-icon svg {
  width: 18px;
  height: 18px;
}

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

.pricing-card {
  background-color: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  border: 1px solid var(--gray-light);
  transition: all 0.3s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pricing-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray);
  display: block;
  margin-top: 4px;
  -webkit-text-fill-color: var(--gray);
}

.pricing-features {
  margin: 24px 0;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  margin-bottom: 10px;
  list-style: none;
  font-size: 0.95rem;
  color: var(--gray);
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  margin-right: 12px;
  background-image: 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");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.commission-note {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 20px;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.contact-form-container {
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 48px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-link {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--gray);
  margin-top: 24px;
}

/* FAQ Accordion Styles */
.faq-item {
  margin-bottom: 8px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s ease;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: var(--radius-sm);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item summary:hover {
  background-color: var(--light);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  color: var(--gray);
  line-height: 1.6;
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* "You're in Control" section */
.control-section {
  margin-top: 64px;
  text-align: center;
}

.control-section h3 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.control-section p {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  color: var(--gray);
}

.control-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

/* Secondary CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(139, 92, 246, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Mobile menu styles */
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 12px;
    flex-direction: column;
    min-width: 220px;
    gap: 4px;
    border: 1px solid var(--gray-light);
  }

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

  .nav-link {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .header-container {
    flex-direction: row;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  .features {
    gap: 16px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  .trust-badges {
    gap: 12px;
  }

  .trust-badge {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .nav-link {
    margin: 0;
    padding: 10px 14px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 260px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .feature {
    padding: 28px 24px;
  }

  .feature h3 {
    font-size: 1.15rem;
  }

  .pricing-price {
    font-size: 2.25rem;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px;
  }

  .key-points {
    padding: 20px;
  }

  .key-point {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
