/* ========================================
   Get 'Er Fed - Marketing Website Styles
   ======================================== */

/* CSS Variables */
:root {
  --primary: #009A49;
  --primary-dark: #007a3a;
  --primary-light: #00b856;
  --secondary: #222428;
  --tertiary: #ffce00;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
}

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

.nav-link {
  font-weight: 500;
  color: var(--gray-600);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  border-bottom: 1px solid var(--gray-100);
  z-index: 999;
}

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

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

.mobile-link:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: radial-gradient(circle at 90% 10%, rgba(0, 154, 73, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(255, 206, 0, 0.08) 0%, transparent 40%),
              linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009a49' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 24px;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 40px;
  max-width: 500px;
}

.app-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Waitlist Form */
.waitlist-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.waitlist-form {
  max-width: 420px;
}

.input-group {
  display: flex;
  gap: 8px;
}

.input-group input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-900);
  transition: all 0.2s ease;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 154, 73, 0.1);
}

.input-group .btn {
  padding: 12px 20px;
  white-space: nowrap;
}

.btn-icon {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}

.form-success-message {
  color: var(--primary);
  font-weight: 600;
  margin-top: 8px;
  font-size: 14px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.app-btn svg {
  width: 28px;
  height: 28px;
}

.app-btn .small {
  display: block;
  font-size: 11px;
  opacity: 0.9;
}

.app-btn .big {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.app-btn-ios {
  background: var(--secondary);
}

.app-btn-android {
  background: var(--primary);
}

/* Phone Mockup */
.hero-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--secondary);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
}

.app-preview {
  padding: 16px;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--secondary);
}

.preview-logo {
  width: 24px;
  height: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.preview-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 12px;
  margin-bottom: 12px;
}

.preview-restaurant {
  display: flex;
  gap: 12px;
  align-items: center;
}

.preview-img {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius: var(--radius);
}

.preview-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview-info strong {
  font-size: 14px;
  color: var(--gray-900);
}

.preview-info span {
  font-size: 12px;
  color: var(--gray-500);
}

.preview-info .rating {
  color: var(--tertiary);
  font-weight: 600;
}

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

.section-title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 60px;
}

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

.feature-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  background: var(--gray-50);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 20px;
  background: rgba(0, 154, 73, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

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

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
}

/* Restaurant Section */
.restaurants {
  padding: 100px 0;
  background: var(--gray-50);
}

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.restaurants-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.restaurants-text p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.benefits-list .check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.pricing-badge {
  position: absolute;
  top: 32px;
  right: -60px;
  width: 200px;
  text-align: center;
  background: var(--tertiary);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
}

.pricing-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
}

.old-price {
  font-size: 24px;
  color: var(--gray-400);
  text-decoration: line-through;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 8px 0;
}

.price .currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.price .amount {
  font-size: 64px;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1;
}

.price .period {
  font-size: 18px;
  color: var(--gray-500);
}

.pricing-note {
  font-size: 14px;
  color: var(--gray-500);
}

.pricing-features {
  margin-bottom: 24px;
}

.pricing-features h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.pricing-features ul {
  list-style: none;
}

.pricing-features li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  font-size: 15px;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.pricing-addons {
  background: var(--gray-50);
  margin: 0 -40px;
  padding: 24px 40px;
  margin-bottom: 24px;
}

.pricing-addons h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.addon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.addon:last-child {
  border-bottom: none;
}

.addon-info strong {
  display: block;
  font-size: 15px;
  color: var(--gray-900);
}

.addon-info span {
  font-size: 13px;
  color: var(--gray-500);
}

.addon-price {
  font-weight: 700;
  color: var(--primary);
}

.pricing-cta-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--secondary);
  text-align: center;
}

.cta h2 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 40px;
}

.cta .app-buttons {
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-800);
}

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

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--gray-400);
  padding: 6px 0;
}

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

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .app-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

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

  .restaurants-content {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    max-width: 500px;
    margin: 0 auto;
  }

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

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

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

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

  .hero {
    padding: 120px 0 60px;
  }

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

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

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card {
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }

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

  .restaurants-text h2 {
    font-size: 28px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-addons {
    margin: 0 -24px;
    padding: 24px;
  }

  .price .amount {
    font-size: 52px;
  }

  .cta h2 {
    font-size: 32px;
  }

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

  .app-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Legal Pages */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-page h1 {
  font-size: 40px;
  margin-bottom: 8px;
}

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

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

.legal-page h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page p {
  margin-bottom: 16px;
}

.legal-page ul, .legal-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page li {
  margin-bottom: 8px;
}

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

.legal-page a:hover {
  text-decoration: underline;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--secondary);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
