/* ==========================================================================
   CollegeSeats Landing Page Styles
   ========================================================================== */

/* CSS Custom Properties */
:root {
  /* Colors */
  --primary: #0080ee;
  --primary-light: #6BA8F0;
  --primary-dark: #3A7BC8;
  --accent-green: #28A745;
  --text-dark: #1F2937;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-gray: #F3F4F6;
  --border-color: #E5E7EB;

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

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

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

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

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

ul {
  list-style: none;
}

/* ==========================================================================
   Container & Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-gray);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-badge {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 6px 0;
  transition: transform 0.3s ease;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  color: var(--text-gray);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}

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

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-cta:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
}

.trust-badge svg {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.feature-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works {
  background: var(--bg-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 24px;
}

.step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stat {
  background: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
}

.about-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.about-stat p {
  color: var(--text-gray);
  font-size: 18px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq {
  background: var(--bg-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.faq-item p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  background: var(--primary);
  color: white;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--primary);
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
}

.contact-email:hover {
  color: var(--primary-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  color: var(--text-light);
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--text-light);
  padding: 8px 0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}

/* ==========================================================================
   Legal Pages (Terms & Privacy)
   ========================================================================== */

.legal-page {
  padding: 120px 0 80px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.legal-content .last-updated {
  color: var(--text-gray);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.7;
  list-style: disc;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .features-grid {
    gap: 24px;
  }

  .feature-card {
    padding: 32px;
  }

  .about-content {
    gap: 40px;
  }
}

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

  .mobile-menu-btn {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 16px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 32px;
  }

  /* How It Works */
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* About */
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text h2 {
    font-size: 32px;
  }

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

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero-cta {
    padding: 14px 24px;
    font-size: 16px;
  }

  section {
    padding: 60px 0;
  }

  .feature-card {
    padding: 24px;
  }

  .legal-content h1 {
    font-size: 28px;
  }
}
