/* Glasgow Eats - Shared Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f5f5f5;
  color: #1a1a1a;
  line-height: 1.6;
}

/* ============================================
   Shared header (privacy, terms, confirmed)
   ============================================ */
.header {
  background: #0033A0;
  padding: 28px 24px;
  text-align: center;
}

.header h1 {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================
   Shared content container (privacy, terms)
   ============================================ */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.page-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.last-updated {
  color: #888;
  font-size: 14px;
  margin-bottom: 32px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 12px;
}

p, ul, ol {
  color: #444;
  font-size: 15px;
  margin-bottom: 16px;
}

ul, ol {
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

a {
  color: #0033A0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Shared footer (privacy, terms, confirmed) */
.footer {
  text-align: center;
  padding: 24px;
  color: #999;
  font-size: 13px;
  border-top: 1px solid #eee;
  margin-top: 48px;
}

/* ============================================
   Landing Page Hero
   ============================================ */
.landing-hero {
  background: linear-gradient(135deg, #0033A0 0%, #001d6e 100%);
  padding: 64px 24px 56px;
  text-align: center;
}

.landing-logo {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.landing-hero h1 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.landing-tagline {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px !important;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px !important;
}

.landing-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 17px !important;
  max-width: 520px;
  margin: 0 auto 32px !important;
  line-height: 1.6;
}

/* Store buttons */
.landing-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1a1a1a;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
}

.store-btn span small {
  font-weight: 400;
  font-size: 10px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   Landing Sections
   ============================================ */
.landing-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 40px;
  margin-top: 0;
}

/* How It Works - Steps */
.steps {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.step {
  flex: 1;
  text-align: center;
  max-width: 280px;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: #e8eef8;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #0033A0;
}

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

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.step p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Features Section */
.features-section {
  background: #ffffff;
  max-width: 100%;
  padding: 64px 24px;
}

.features-section .section-title {
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.feature {
  text-align: center;
  padding: 24px 16px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: #e8eef8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #0033A0;
}

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

.feature h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.feature p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Restaurant CTA */
.restaurant-cta {
  text-align: center;
  max-width: 600px;
}

.restaurant-cta p {
  color: #666;
  font-size: 16px;
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-block;
  background: #0033A0;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background: #002580;
  transform: translateY(-1px);
  text-decoration: none;
}

/* ============================================
   Landing Footer
   ============================================ */
.landing-footer {
  background: #1a1a1a;
  padding: 32px 24px;
  text-align: center;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.landing-footer p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin-bottom: 0;
}

/* ============================================
   Legacy landing page styles (keep for compat)
   ============================================ */
.hero {
  text-align: center;
  padding: 48px 24px;
}

.hero h2 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.hero p {
  color: #666;
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
}

.links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  display: inline-block;
  background: #0033A0;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.links a:hover {
  background: #002580;
  text-decoration: none;
}

.links a.outline {
  background: transparent;
  color: #0033A0;
  border: 2px solid #0033A0;
}

.links a.outline:hover {
  background: #0033A010;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .landing-hero {
    padding: 48px 20px 40px;
  }

  .landing-hero h1 {
    font-size: 28px;
  }

  .landing-subtitle {
    font-size: 15px !important;
  }

  .landing-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 220px;
    justify-content: center;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

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

  .section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .landing-section {
    padding: 48px 20px;
  }
}
