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

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #f6f6f6;
  --gray-100: #eeeeee;
  --gray-200: #e2e2e2;
  --gray-300: #cbcbcb;
  --gray-400: #afafaf;
  --gray-500: #6b6b6b;
  --gray-600: #545454;
  --gray-700: #333333;
  --accent: #e85a6a;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
}

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

nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--gray-500);
}

.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

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

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

.btn-secondary {
  background: var(--gray-100);
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-app-store {
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-app-store:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
}

.btn-google-play {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-google-play:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--black);
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: var(--gray-600);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Section */
.section {
  padding: 80px 24px;
}

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

.section-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s;
}

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

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

.card p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Image Container */
.img-container {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

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

/* Card media (top image like Uber) */
.card-media {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--gray-100);
  aspect-ratio: 16 / 9;
  display: block;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Feature Section with Image */
.feature-section {
  background: var(--gray-50);
}

/* Section-specific overrides */
#ai-recipes {
  background: var(--white);
}

/* CTA Section */
.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  color: var(--gray-300);
}

/* Footer */
footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 24px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.footer-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section a {
  display: block;
  color: var(--gray-300);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 32px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--gray-700);
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
}

/* Support Page Styles */
.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--white);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.faq-toggle {
  font-size: 24px;
  color: var(--black);
  transition: transform 0.3s;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer p, .faq-answer ul {
  margin: 0 0 16px 0;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 1000px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.contact-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-card h3 {
  margin-bottom: 12px;
  color: var(--black);
}

.contact-card p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.search-box {
  max-width: 600px;
  margin: 0 auto 48px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 48px 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--black);
}

.search-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--gray-400);
}

.category-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-tab {
  padding: 10px 24px;
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.category-tab:hover, .category-tab.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

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

  nav {
    gap: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
