/* Hero Section */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #fff8f6 0%, #ffffff 40%, #f0f9f7 70%, #fef6f4 100%);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(249, 249, 249, 0.6) 100%);
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 20%, rgba(235, 104, 83, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(97, 152, 142, 0.12) 0%, transparent 50%);
  z-index: 2;
}

.hero > *:not(.hero-video-bg):not(.hero-video-overlay) {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f3 100%);
  border: 2px solid rgba(235, 104, 83, 0.25);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--coral-red);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(235, 104, 83, 0.15);
  animation: fadeInUp 0.6s ease;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--success-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--black);
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #eb6853 0%, #ff6b6b 50%, #f6a59a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(235, 104, 83, 0.4));
  font-weight: 900;
}

.hero-import-sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.import-source {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  backdrop-filter: blur(10px);
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: default;
}

.import-source:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: currentColor;
}

.import-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Import source colors */
.import-source:nth-child(1) .import-icon { color: #000000; }
.import-source:nth-child(1):hover { border-color: #000000; background: linear-gradient(135deg, #f5f5f5, #ffffff); }
.import-source:nth-child(2) .import-icon { color: #e4405f; }
.import-source:nth-child(2):hover { border-color: #e4405f; background: linear-gradient(135deg, #fff0f3, #ffffff); }
.import-source:nth-child(3) .import-icon { color: #ff0000; }
.import-source:nth-child(3):hover { border-color: #ff0000; background: linear-gradient(135deg, #fff0f0, #ffffff); }
.import-source:nth-child(4) .import-icon { color: var(--muted-teal); }
.import-source:nth-child(4):hover { border-color: var(--muted-teal); background: linear-gradient(135deg, #f0f9f7, #ffffff); }
.import-source:nth-child(5) .import-icon { color: var(--coral-red); }
.import-source:nth-child(5):hover { border-color: var(--coral-red); background: linear-gradient(135deg, #fff5f3, #ffffff); }
.import-source:nth-child(6) .import-icon { color: #f59e0b; }
.import-source:nth-child(6):hover { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb, #ffffff); }
.import-source:nth-child(7) .import-icon { color: var(--lavender-blue); }
.import-source:nth-child(7):hover { border-color: var(--lavender-blue); background: linear-gradient(135deg, #f5f3ff, #ffffff); }

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* Phone Mockup */
.hero-phone {
  position: relative;
  width: 260px;
  height: 520px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 48px;
  padding: 10px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 100px rgba(235, 104, 83, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 32px;
  background: #000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.phone-video, .phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* Stats Section */
.stats {
  padding: 80px 20px;
  background: linear-gradient(135deg, #eb6853 0%, #f08070 30%, #61988e 70%, #4a7c73 100%);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%23ffffff' fill-opacity='0.08'%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");
}

.stats::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  border-radius: 50%;
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 20px;
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral-red) 0%, #ff5252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  position: relative;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--black);
}

.section-description {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features Section */
.features {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fef9f8 50%, #f0faf8 100%);
  border-radius: 60px;
  margin-top: -30px;
}

.features::before, .features::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.features::before {
  top: 5%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(235, 104, 83, 0.1) 0%, transparent 70%);
}

.features::after {
  bottom: 10%;
  right: -3%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(97, 152, 142, 0.1) 0%, transparent 70%);
}

.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.feature-row.reverse {
  flex-direction: column;
}

.feature-content {
  flex: 1;
  max-width: 480px;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.feature-icon.gradient-1 { background: linear-gradient(135deg, #eb6853, #ff8a7a); }
.feature-icon.gradient-2 { background: linear-gradient(135deg, #61988e, #7ab8ad); }
.feature-icon.gradient-3 { background: linear-gradient(135deg, #7180b9, #9aa5d6); }
.feature-icon.gradient-4 { background: linear-gradient(135deg, #f9c74f, #ffd76a); }
.feature-icon.gradient-5 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.feature-icon.gradient-6 { background: linear-gradient(135deg, #ec4899, #f472b6); }

.feature-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--black);
}

.feature-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e8f5f2 0%, #d4f0eb 100%);
  border: 2px solid rgba(97, 152, 142, 0.3);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #3d6b62;
  box-shadow: 0 4px 12px rgba(97, 152, 142, 0.15);
}

.feature-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--coral-red), var(--muted-teal));
  margin: 0 auto;
  border-radius: 2px;
}

/* Feature Phone */
.feature-phone {
  position: relative;
  width: 240px;
  height: 480px;
  flex-shrink: 0;
}

.feature-phone .phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 40px;
  padding: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.feature-phone .phone-screen {
  border-radius: 34px;
}

.feature-phone .phone-screen::before {
  width: 90px;
  height: 26px;
  border-radius: 0 0 16px 16px;
}

.feature-phone .phone-screen::after {
  width: 70px;
  bottom: 6px;
}

.feature-phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
}

.feature-phone::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border-radius: 70px;
  z-index: -1;
  filter: blur(35px);
  opacity: 0.5;
}

.feature-phone.glow-green::before { background: radial-gradient(ellipse, rgba(97, 152, 142, 0.7) 0%, transparent 70%); }
.feature-phone.glow-yellow::before { background: radial-gradient(ellipse, rgba(249, 199, 79, 0.7) 0%, transparent 70%); }
.feature-phone.glow-purple::before { background: radial-gradient(ellipse, rgba(139, 92, 246, 0.7) 0%, transparent 70%); }
.feature-phone.glow-pink::before { background: radial-gradient(ellipse, rgba(236, 72, 153, 0.7) 0%, transparent 70%); }

/* Social Icon Row */
.feature-icon-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 28px;
  background: linear-gradient(135deg, rgba(235, 104, 83, 0.1) 0%, rgba(97, 152, 142, 0.1) 100%);
  border-radius: 100px;
  border: 2px solid rgba(235, 104, 83, 0.2);
}

.social-icon-item {
  width: 40px;
  height: 40px;
  padding: 8px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--coral-red);
  transition: all 0.3s ease;
}

.social-icon-item:hover {
  transform: scale(1.2) translateY(-4px);
  box-shadow: 0 8px 20px rgba(235, 104, 83, 0.25);
}

/* How It Works */
.how-it-works {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
  position: relative;
}

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

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

.step-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  border: 2px solid rgba(235, 104, 83, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral-red), var(--muted-teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(235, 104, 83, 0.15);
  border-color: rgba(235, 104, 83, 0.25);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eb6853, #ff8a7a);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 24px;
  box-shadow: 0 12px 30px rgba(235, 104, 83, 0.35);
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}

.step-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent 0%, #fff8f6 100%);
}

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

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbfa 100%);
  border-radius: 28px;
  padding: 36px;
  border: 2px solid rgba(235, 104, 83, 0.12);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 100px;
  font-weight: 800;
  color: rgba(235, 104, 83, 0.08);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card:hover {
  box-shadow: 0 20px 50px rgba(235, 104, 83, 0.12);
  transform: translateY(-6px);
  border-color: rgba(235, 104, 83, 0.25);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eb6853, #61988e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(235, 104, 83, 0.3);
}

.author-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}

.author-info span {
  font-size: 13px;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, #eb6853 0%, #f08070 40%, #e05545 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  animation: rotate 25s linear infinite;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: 50%;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cta-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* App Store Button */
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000000;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-app-store:hover {
  background: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.app-store-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-store-small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
}

.app-store-large {
  font-size: 20px;
  font-weight: 700;
}

.btn-app-store-inverted {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-app-store-inverted:hover {
  background: #f5f5f5;
}

/* Features Carousel */
.features-carousel-section {
  margin-top: 80px;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, rgba(97, 152, 142, 0.08) 0%, rgba(235, 104, 83, 0.06) 50%, transparent 100%);
  border-radius: 40px 40px 0 0;
  position: relative;
}

.features-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, rgba(97, 152, 142, 0.5) 30%, rgba(235, 104, 83, 0.5) 70%, transparent 90%);
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 28px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
}

.carousel-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
}

.carousel-arrow {
  width: 20px;
  height: 20px;
}

.carousel-controls {
  display: none;
  gap: 10px;
}

.carousel-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(97, 152, 142, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafa 100%);
  color: var(--muted-teal);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--muted-teal), #4a7c73);
  color: white;
  border-color: var(--muted-teal);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(97, 152, 142, 0.3);
}

.carousel-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.features-carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0 20px;
  cursor: grab;
}

.features-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 0 20px;
  width: max-content;
}

.carousel-card {
  flex: 0 0 300px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(97, 152, 142, 0.15);
  scroll-snap-align: start;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.carousel-card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  opacity: 0.3;
  transition: all 0.3s ease;
}

.carousel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(235, 104, 83, 0.25);
}

.carousel-card:hover::after {
  opacity: 0.7;
  transform: scale(1.1);
}

.carousel-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.carousel-card-icon svg {
  width: 30px;
  height: 30px;
  color: white;
  stroke: white;
}

.carousel-card-icon.gradient-1 { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
.carousel-card-icon.gradient-2 { background: linear-gradient(135deg, #4ecdc4, #44b3ab); }
.carousel-card-icon.gradient-3 { background: linear-gradient(135deg, #667eea, #5a67d8); }
.carousel-card-icon.gradient-4 { background: linear-gradient(135deg, #f6ad55, #ed8936); }
.carousel-card-icon.gradient-5 { background: linear-gradient(135deg, #9f7aea, #805ad5); }
.carousel-card-icon.gradient-6 { background: linear-gradient(135deg, #48bb78, #38a169); }

.carousel-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}

.carousel-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.carousel-card-badge {
  display: inline-flex;
  background: linear-gradient(135deg, #f0f9f7 0%, #e8f5f2 100%);
  color: #3d6b62;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(97, 152, 142, 0.25);
}

/* Carousel Controls */
.carousel-controls {
  display: none;
  gap: 10px;
}

.carousel-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(97, 152, 142, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafa 100%);
  color: var(--muted-teal);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--muted-teal), #4a7c73);
  color: white;
  border-color: var(--muted-teal);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(97, 152, 142, 0.3);
}

.carousel-arrow-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .hero-phone { width: 200px; height: 400px; }
  .feature-phone { width: 200px; height: 400px; }
  .phone-frame { border-radius: 36px; padding: 8px; }
  .phone-screen { border-radius: 30px; }
  .phone-video { border-radius: 30px; }
  .btn-app-store { padding: 12px 20px; }
  .app-store-icon { width: 30px; height: 30px; }
  .app-store-large { font-size: 17px; }
  .feature-modal-phone { width: 240px; height: 480px; }
}

@media (max-width: 639px) {
  .features-btn { display: none; }
}

@media (min-width: 640px) {
  .hero { padding: 140px 32px 80px; }
  .hero-buttons { flex-direction: row; justify-content: center; }
  .hero-phone { width: 280px; height: 560px; }
  .stats-container { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .feature-row { flex-direction: row; gap: 60px; text-align: left; }
  .feature-row.reverse { flex-direction: row-reverse; }
  .feature-content { text-align: left; }
  .feature-icon { margin: 0 0 24px 0; }
  .feature-phone { width: 280px; height: 560px; }
  .feature-content h3 { font-size: 1.75rem; }
  .feature-icon-social-row { justify-content: flex-start; }
  .carousel-controls { display: flex; }
  .carousel-hint { display: none; }
}

@media (min-width: 1024px) {
  .hero-phone { width: 320px; height: 640px; }
  .feature-row { gap: 80px; }
  .feature-phone { width: 320px; height: 640px; }
  .feature-content h3 { font-size: 2rem; }
  .feature-content p { font-size: 16px; }
}

/* In responsive section, remove the contain override and increase overlay opacity on mobile */
@media (max-width: 767px) {
  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(249, 249, 249, 0.8) 100%);
  }
}

/* AI Generate Section - Tabbed */
.ai-generate {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--background) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.ai-generate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse 80% 50% at 20% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.ai-generate > .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.ai-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
  padding: 8px;
  border-radius: 18px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid rgba(139, 92, 246, 0.15);
}

.ai-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.ai-tab.active {
  background: linear-gradient(135deg, #ffffff 0%, #fdfcff 100%);
  color: #7c3aed;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.25);
}

.ai-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-tab-icon svg {
  width: 18px;
  height: 18px;
  transition: all 0.3s ease;
}

.ai-tab .ai-tab-icon svg {
  fill: var(--text-light);
  stroke: var(--text-light);
}

.ai-tab.active .ai-tab-icon svg {
  fill: #7c3aed;
  stroke: #7c3aed;
}

.ai-tab-content {
  position: relative;
}

.ai-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.ai-tab-panel.active {
  display: block;
}

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

.ai-panel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.ai-panel-phone {
  position: relative;
  width: 260px;
  height: 520px;
}

.ai-panel-phone .phone-frame {
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}

.ai-panel-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.ai-panel-phone::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  right: -25px;
  bottom: -25px;
  border-radius: 70px;
  z-index: -1;
  filter: blur(35px);
  opacity: 0.5;
}

.ai-panel-phone.glow-purple::before {
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.7) 0%, transparent 70%);
}

.ai-panel-phone.glow-pink::before {
  background: radial-gradient(ellipse, rgba(236, 72, 153, 0.7) 0%, transparent 70%);
}

.ai-panel-content {
  max-width: 480px;
}

.ai-panel-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 14px;
}

.ai-panel-content p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.ai-panel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.example-chip {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
  padding: 12px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.25);
  transition: all 0.2s ease;
}

.example-chip:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid;
}

.tag-icon {
  width: 20px;
  height: 20px;
}

.tag-item:hover {
  transform: translateY(-3px);
}

.tag-item.tag-italian { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); color: #dc2626; }
.tag-item.tag-italian:hover { box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2); }
.tag-item.tag-healthy { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.3); color: #16a34a; }
.tag-item.tag-healthy:hover { box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2); }
.tag-item.tag-asian { background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); color: #d97706; }
.tag-item.tag-asian:hover { box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2); }
.tag-item.tag-desserts { background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.3); color: #db2777; }
.tag-item.tag-desserts:hover { box-shadow: 0 8px 20px rgba(236, 72, 153, 0.2); }

/* Feature Modal */
.feature-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.feature-modal.active {
  opacity: 1;
  visibility: visible;
}

.feature-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.feature-modal-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
}

.feature-modal.active .feature-modal-content {
  transform: translateY(0) scale(1);
}

.feature-modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
  z-index: 10;
}

.feature-modal-close:hover {
  background: var(--coral-red);
  color: white;
  transform: scale(1.1);
}

.feature-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.feature-modal-phone {
  width: 280px;
  height: 560px;
  margin: 0 auto;
}

.feature-modal-phone .phone-frame {
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.feature-modal-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

/* Hide elements */
.feature-icon-social, .social-icons-stack, .social-mini { display: none; }

/* Video controls */
video { pointer-events: none; }
video::-webkit-media-controls,
video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button { display: none !important; }
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.carousel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.carousel-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.carousel-arrow {
  width: 20px;
  height: 20px;
}

/* KEY SCROLLING STYLES */
.features-carousel {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px;
  cursor: grab;
  width: 100%;
  position: relative;
}

.features-carousel:active {
  cursor: grabbing;
}

.features-carousel::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  width: max-content; /* This is important - allows track to expand */
  min-width: 100%;
}

.carousel-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(97, 152, 142, 0.15);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.carousel-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.carousel-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.carousel-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f0f9f7 0%, #e8f5f2 100%);
  color: var(--muted-teal);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(97, 152, 142, 0.2);
}

/* AI Generate Section */
.ai-generate {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    #faf8ff 0%,
    #ffffff 50%,
    #f8f5ff 100%
  );
  position: relative;
  overflow: hidden;
}

.ai-generate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse 80% 50% at 20% 30%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 70%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Tabs */
.ai-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
  padding: 6px;
  border-radius: 16px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.ai-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  min-width: 0;
}

.ai-tab.active {
  background: linear-gradient(135deg, #ffffff 0%, #fdfcff 100%);
  color: #7c3aed;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

/* AI Tab Icon Styles */
.ai-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-tab-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}

/* Default state - gray */
.ai-tab .ai-tab-icon svg {
  fill: var(--text-light);
  stroke: var(--text-light);
}

/* Active state - coral red */
.ai-tab.active .ai-tab-icon svg {
  fill: var(--coral-red);
  stroke: var(--coral-red);
}

.ai-tab:hover .ai-tab-icon svg {
  transform: scale(1.1);
}

/* Tab Content */
.ai-tab-content {
  position: relative;
}

.ai-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.ai-tab-panel.active {
  display: block;
}

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

/* Panel Layout */
.ai-panel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

/* Phone in Panel */
.ai-panel-phone {
  position: relative;
  width: 260px;
  height: 520px;
  flex-shrink: 0;
}

.ai-panel-phone .phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ai-panel-phone .phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.ai-panel-phone .phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.ai-panel-phone .phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.ai-panel-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.ai-panel-phone::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 60px;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.ai-panel-phone.glow-purple::before {
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.6) 0%,
    transparent 70%
  );
}

.ai-panel-phone.glow-pink::before {
  background: radial-gradient(
    ellipse,
    rgba(236, 72, 153, 0.6) 0%,
    transparent 70%
  );
}

/* Panel Content */
.ai-panel-content {
  max-width: 480px;
}

.ai-panel-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ai-panel-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ai-panel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.example-chip {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.2s ease;
}

.example-chip:hover {
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid;
}

.tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tag-item:hover .tag-icon {
  transform: scale(1.15);
}

.tag-item:hover {
  transform: translateY(-2px);
}

/* Italian - Warm Red/Orange */
.tag-item.tag-italian {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
}

.tag-item.tag-italian .tag-icon {
  color: #ef4444;
}

.tag-item.tag-italian:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Healthy - Fresh Green */
.tag-item.tag-healthy {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.tag-item.tag-healthy .tag-icon {
  color: #22c55e;
}

.tag-item.tag-healthy:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* Asian - Golden Orange */
.tag-item.tag-asian {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #d97706;
}

.tag-item.tag-asian .tag-icon {
  color: #f59e0b;
}

.tag-item.tag-asian:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Desserts - Sweet Pink/Purple */
.tag-item.tag-desserts {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.25);
  color: #db2777;
}

.tag-item.tag-desserts .tag-icon {
  color: #ec4899;
}

.tag-item.tag-desserts:hover {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

/* Simple Feature Card (no phone) */
.feature-card-simple {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-simple .feature-icon {
  width: 72px;
  height: 72px;
  font-size: 32px;
  margin: 0 auto 20px;
}

.feature-card-simple h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-card-simple p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card-simple .feature-badge {
  display: inline-flex;
}

@media (max-width: 768px) {
  .feature-card-simple {
    padding: 32px 24px;
    margin: 0 20px;
  }

  .feature-card-simple .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .feature-card-simple h3 {
    font-size: 1.25rem;
  }

  .feature-card-simple p {
    font-size: 15px;
  }
}

/* Features Carousel Section */
.features-carousel-section {
  margin-top: 80px;
  padding: 60px 0 40px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(
    180deg,
    rgba(97, 152, 142, 0.08) 0%,
    rgba(235, 104, 83, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 40px 40px 0 0;
  position: relative;
}

.features-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(97, 152, 142, 0.4) 30%,
    rgba(235, 104, 83, 0.4) 70%,
    transparent 100%
  );
}

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

.carousel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.carousel-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.carousel-arrow {
  width: 20px;
  height: 20px;
}

.features-carousel {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px;
  cursor: grab;
  width: 100%;
  position: relative;
}

.features-carousel:active {
  cursor: grabbing;
}

.features-carousel::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  width: max-content; /* This is important - allows track to expand */
  min-width: 100%;
}

.carousel-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(97, 152, 142, 0.15);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.carousel-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.carousel-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.carousel-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f0f9f7 0%, #e8f5f2 100%);
  color: var(--muted-teal);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(97, 152, 142, 0.2);
}

.ai-generate {
  padding: 100px 20px;
  background: linear-gradient(
    180deg,
    #faf8ff 0%,
    #ffffff 50%,
    #f8f5ff 100%
  );
  position: relative;
  overflow: hidden;
}

.ai-generate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse 80% 50% at 20% 30%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 70%,
      rgba(236, 72, 153, 0.08) 0%,
      transparent 50%
    );
  pointer-events: none;
}

/* Tabs */
.ai-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.08) 100%);
  padding: 6px;
  border-radius: 16px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.ai-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  min-width: 0;
}

.ai-tab.active {
  background: linear-gradient(135deg, #ffffff 0%, #fdfcff 100%);
  color: #7c3aed;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

.ai-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-tab-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}

.ai-tab .ai-tab-icon svg {
  fill: var(--text-light);
  stroke: var(--text-light);
}

.ai-tab.active .ai-tab-icon svg {
  fill: var(--coral-red);
  stroke: var(--coral-red);
}

.ai-tab:hover .ai-tab-icon svg {
  transform: scale(1.1);
}

/* Tab Content */
.ai-tab-content {
  position: relative;
}

.ai-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.ai-tab-panel.active {
  display: block;
}

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

/* Panel Layout */
.ai-panel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

/* Phone in Panel */
.ai-panel-phone {
  position: relative;
  width: 260px;
  height: 520px;
  flex-shrink: 0;
}

.ai-panel-phone .phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ai-panel-phone .phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.ai-panel-phone .phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.ai-panel-phone .phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.ai-panel-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.ai-panel-phone::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 60px;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.ai-panel-phone.glow-purple::before {
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.6) 0%,
    transparent 70%
  );
}

.ai-panel-phone.glow-pink::before {
  background: radial-gradient(
    ellipse,
    rgba(236, 72, 153, 0.6) 0%,
    transparent 70%
  );
}

/* Panel Content */
.ai-panel-content {
  max-width: 480px;
}

.ai-panel-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ai-panel-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ai-panel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.example-chip {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.2s ease;
}

.example-chip:hover {
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid;
}

.tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tag-item:hover .tag-icon {
  transform: scale(1.15);
}

.tag-item:hover {
  transform: translateY(-2px);
}

/* Italian - Warm Red/Orange */
.tag-item.tag-italian {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
}

.tag-item.tag-italian .tag-icon {
  color: #ef4444;
}

.tag-item.tag-italian:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Healthy - Fresh Green */
.tag-item.tag-healthy {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.tag-item.tag-healthy .tag-icon {
  color: #22c55e;
}

.tag-item.tag-healthy:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* Asian - Golden Orange */
.tag-item.tag-asian {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #d97706;
}

.tag-item.tag-asian .tag-icon {
  color: #f59e0b;
}

.tag-item.tag-asian:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Desserts - Sweet Pink/Purple */
.tag-item.tag-desserts {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.25);
  color: #db2777;
}

.tag-item.tag-desserts .tag-icon {
  color: #ec4899;
}

.tag-item.tag-desserts:hover {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

/* Simple Feature Card (no phone) */
.feature-card-simple {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-simple .feature-icon {
  width: 72px;
  height: 72px;
  font-size: 32px;
  margin: 0 auto 20px;
}

.feature-card-simple h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-card-simple p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card-simple .feature-badge {
  display: inline-flex;
}

@media (max-width: 768px) {
  .feature-card-simple {
    padding: 32px 24px;
    margin: 0 20px;
  }

  .feature-card-simple .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .feature-card-simple h3 {
    font-size: 1.25rem;
  }

  .feature-card-simple p {
    font-size: 15px;
  }
}

/* Features Carousel Section */
.features-carousel-section {
  margin-top: 80px;
  padding: 60px 0 40px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(
    180deg,
    rgba(97, 152, 142, 0.08) 0%,
    rgba(235, 104, 83, 0.05) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 40px 40px 0 0;
  position: relative;
}

.features-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(97, 152, 142, 0.4) 30%,
    rgba(235, 104, 83, 0.4) 70%,
    transparent 100%
  );
}

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

.carousel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.carousel-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.carousel-arrow {
  width: 20px;
  height: 20px;
}

/* KEY SCROLLING STYLES */
.features-carousel {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px;
  cursor: grab;
  width: 100%;
  position: relative;
}

.features-carousel:active {
  cursor: grabbing;
}

.features-carousel::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  width: max-content; /* This is important - allows track to expand */
  min-width: 100%;
}

.carousel-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(97, 152, 142, 0.15);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.carousel-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.carousel-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.carousel-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f0f9f7 0%, #e8f5f2 100%);
  color: var(--muted-teal);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(97, 152, 142, 0.2);
}

/* Carousel Controls */
.carousel-controls {
  display: none;
  gap: 8px;
}

.carousel-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(97, 152, 142, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafa 100%);
  color: var(--muted-teal);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow-btn:hover:not(:disabled) {
  background: var(--muted-teal);
  color: white;
  border-color: var(--muted-teal);
  transform: scale(1.1);
}

.carousel-arrow-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (min-width: 768px) {
  .carousel-controls {
    display: flex;
  }
  
  .carousel-hint {
    display: none;
  }
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(97, 152, 142, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(97, 152, 142, 0.5);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: linear-gradient(135deg, var(--coral-red) 0%, var(--muted-teal) 100%);
  width: 28px;
  border-radius: 5px;
}

/* Social Icon Row Enhancement */
.feature-icon-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px 24px;
  background: linear-gradient(135deg, rgba(235, 104, 83, 0.08) 0%, rgba(97, 152, 142, 0.08) 100%);
  border-radius: 100px;
  border: 1px solid rgba(235, 104, 83, 0.15);
}

.social-icon-item {
  width: 36px;
  height: 36px;
  padding: 6px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: var(--coral-red);
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.social-icon-item:hover {
  transform: scale(1.2) translateY(-2px);
  color: #ff5252;
  box-shadow: 0 6px 16px rgba(235, 104, 83, 0.25);
}

/* Hide video controls and play button overlay */
video {
  pointer-events: none;
}

video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

video::-webkit-media-controls-panel {
  display: none !important;
}

video::-webkit-media-controls-play-button {
  display: none !important;
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-app-store:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.app-store-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.app-store-small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.app-store-large {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Inverted App Store Button (for coral background) */
.btn-app-store-inverted {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-app-store-inverted:hover {
  background: #f5f5f5;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .btn-app-store {
    padding: 10px 20px;
    gap: 10px;
  }

  .app-store-icon {
    width: 30px;
    height: 30px;
  }

  .app-store-small {
    font-size: 10px;
  }

  .app-store-large {
    font-size: 17px;
  }
}

/* Responsive - Landing */
@media (max-width: 480px) {
  .hero-phone {
    width: 200px;
    height: 400px;
  }

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

  .phone-frame {
    border-radius: 36px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 30px;
  }

  .phone-screen::before {
    width: 80px;
    height: 24px;
    border-radius: 0 0 14px 14px;
  }

  .phone-screen::after {
    width: 70px;
    height: 3px;
    bottom: 6px;
  }

  .phone-video {
    border-radius: 30px;
  }
}

@media (min-width: 481px) and (max-width: 639px) {
  .hero-phone {
    width: 240px;
    height: 480px;
  }
}

@media (min-width: 640px) {
  .hero {
    padding: 140px 32px 80px;
  }
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  .hero-phone {
    width: 280px;
    height: 560px;
  }
  .stats-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .hero-video-bg {
    object-fit: cover;
  }

  .feature-row {
    flex-direction: row;
    gap: 60px;
    text-align: left;
  }
  .feature-row.reverse {
    flex-direction: row-reverse;
  }
  .feature-content {
    text-align: left;
  }
  .feature-icon {
    margin: 0 0 20px 0;
  }
  .feature-phone {
    width: 280px;
    height: 560px;
  }
  .feature-content h3 {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-phone {
    width: 320px;
    height: 640px;
  }
  .feature-row {
    gap: 80px;
  }
  .feature-phone {
    width: 320px;
    height: 640px;
  }
  .feature-content h3 {
    font-size: 2rem;
  }
  .feature-content p {
    font-size: 16px;
  }
}

/* In responsive section, remove the contain override and increase overlay opacity on mobile */
@media (max-width: 767px) {
  .hero-video-overlay {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.65) 0%,
      rgba(249, 249, 249, 0.75) 100%
    );
  }
}

/* AI Generate Section - Tabbed */
.ai-generate {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--background) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.ai-generate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(139, 92, 246, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(236, 72, 153, 0.06) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.ai-generate > .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

/* Tabs */
.ai-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 40px;
  background: rgba(0, 0, 0, 0.03);
  padding: 5px;
  border-radius: 14px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.ai-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  min-width: 0; /* Allow shrinking */
}

.ai-tab.active {
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* AI Tab Icon Styles */
.ai-tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-tab-icon svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}

/* Default state - gray */
.ai-tab .ai-tab-icon svg {
  fill: var(--text-light);
  stroke: var(--text-light);
}

/* Active state - coral red */
.ai-tab.active .ai-tab-icon svg {
  fill: var(--coral-red);
  stroke: var(--coral-red);
}

.ai-tab:hover .ai-tab-icon svg {
  transform: scale(1.1);
}

/* Tab Content */
.ai-tab-content {
  position: relative;
}

.ai-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.ai-tab-panel.active {
  display: block;
}

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

/* Panel Layout */
.ai-panel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

/* Phone in Panel */
.ai-panel-phone {
  position: relative;
  width: 260px;
  height: 520px;
  flex-shrink: 0;
}

.ai-panel-phone .phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ai-panel-phone .phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.ai-panel-phone .phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.ai-panel-phone .phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.ai-panel-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.ai-panel-phone::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 60px;
  z-index: -1;
  filter: blur(30px);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.ai-panel-phone.glow-purple::before {
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.6) 0%,
    transparent 70%
  );
}

.ai-panel-phone.glow-pink::before {
  background: radial-gradient(
    ellipse,
    rgba(236, 72, 153, 0.6) 0%,
    transparent 70%
  );
}

/* Panel Content */
.ai-panel-content {
  max-width: 480px;
}

.ai-panel-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.ai-panel-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.ai-panel-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.example-chip {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(139, 92, 246, 0.2);
  transition: all 0.2s ease;
}

.example-chip:hover {
  background: rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid;
}

.tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tag-item:hover .tag-icon {
  transform: scale(1.15);
}

.tag-item:hover {
  transform: translateY(-2px);
}

/* Italian - Warm Red/Orange */
.tag-item.tag-italian {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
}

.tag-item.tag-italian .tag-icon {
  color: #ef4444;
}

.tag-item.tag-italian:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Healthy - Fresh Green */
.tag-item.tag-healthy {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.25);
  color: #16a34a;
}

.tag-item.tag-healthy .tag-icon {
  color: #22c55e;
}

.tag-item.tag-healthy:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* Asian - Golden Orange */
.tag-item.tag-asian {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: #d97706;
}

.tag-item.tag-asian .tag-icon {
  color: #f59e0b;
}

.tag-item.tag-asian:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

/* Desserts - Sweet Pink/Purple */
.tag-item.tag-desserts {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.25);
  color: #db2777;
}

.tag-item.tag-desserts .tag-icon {
  color: #ec4899;
}

.tag-item.tag-desserts:hover {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.4);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
}

/* Simple Feature Card (no phone) */
.feature-card-simple {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-simple .feature-icon {
  width: 72px;
  height: 72px;
  font-size: 32px;
  margin: 0 auto 20px;
}

.feature-card-simple h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.feature-card-simple p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card-simple .feature-badge {
  display: inline-flex;
}

@media (max-width: 768px) {
  .feature-card-simple {
    padding: 32px 24px;
    margin: 0 20px;
  }

  .feature-card-simple .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .feature-card-simple h3 {
    font-size: 1.25rem;
  }

  .feature-card-simple p {
    font-size: 15px;
  }
}

/* Features Carousel Section */
.features-carousel-section {
  margin-top: 60px;
  padding: 40px 0 20px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(
    180deg,
    rgba(232, 245, 242, 0.5) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 32px 32px 0 0;
  position: relative;
}

.features-carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(97, 152, 142, 0.3),
    transparent
  );
}

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

.carousel-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
}

.carousel-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  animation: hint-pulse 2s ease-in-out infinite;
}

@keyframes hint-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(4px);
  }
}

.carousel-arrow {
  width: 20px;
  height: 20px;
}

/* KEY SCROLLING STYLES */
.features-carousel {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 20px;
  cursor: grab;
  width: 100%;
  position: relative;
}

.features-carousel:active {
  cursor: grabbing;
}

.features-carousel::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

/* KEY FIX: Track must be wider than viewport */
.carousel-track {
  display: flex;
  gap: 16px;
  padding: 0 20px;
  width: max-content; /* This is important - allows track to expand */
  min-width: 100%;
}

.carousel-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  background: var(--white);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* Add subtle gradient overlay on hover */
.carousel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(235, 104, 83, 0.02) 0%,
    rgba(97, 152, 142, 0.02) 100%
  );
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.carousel-card:hover::before {
  opacity: 1;
}

/* Carousel card clickable indicator - subtle version */
.carousel-card {
  cursor: pointer;
  position: relative;
}

/* Subtle expand icon in corner */
.carousel-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.carousel-card:hover::after {
  opacity: 0.8;
  transform: scale(1.1);
}

/* Remove the old ::before pseudo-element */
.carousel-card::before {
  display: none;
}

.carousel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(235, 104, 83, 0.2);
}

.carousel-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.carousel-card-icon svg {
  width: 28px;
  height: 28px;
  color: white;
  stroke: white;
  position: relative;
  z-index: 1;
}

.carousel-card-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  filter: blur(0);
  z-index: 0;
}

.carousel-card-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
  z-index: 0;
}

/* Gradient backgrounds for icons */
.carousel-card-icon.gradient-1 {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.35);
}

.carousel-card-icon.gradient-2 {
  background: linear-gradient(135deg, #4ecdc4 0%, #44b3ab 100%);
  box-shadow: 0 8px 20px rgba(78, 205, 196, 0.35);
}

.carousel-card-icon.gradient-3 {
  background: linear-gradient(135deg, #667eea 0%, #5a67d8 100%);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.35);
}

.carousel-card-icon.gradient-4 {
  background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
  box-shadow: 0 8px 20px rgba(246, 173, 85, 0.35);
}

.carousel-card-icon.gradient-5 {
  background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
  box-shadow: 0 8px 20px rgba(159, 122, 234, 0.35);
}

.carousel-card-icon.gradient-6 {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  box-shadow: 0 8px 20px rgba(72, 187, 120, 0.35);
}

/* Hover effect for icons */
.carousel-card:hover .carousel-card-icon {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-card-icon svg {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

@media (min-width: 481px) and (max-width: 639px) {
  .features-carousel-section {
    margin-top: 80px;
  }

  .carousel-card {
    flex: 0 0 340px;
    width: 340px;
    min-width: 340px;
    max-width: 340px;
  }
}

/* Carousel card clickable */
.carousel-card {
  cursor: pointer;
}

/* Feature Modal */
.feature-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feature-modal.active {
  opacity: 1;
  visibility: visible;
}

.feature-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.feature-modal-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.3s ease;
}

.feature-modal.active .feature-modal-content {
  transform: translateY(0) scale(1);
}

.feature-modal-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  color: var(--text-medium);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}

.feature-modal-close:hover {
  background: var(--coral-red);
  color: white;
  transform: scale(1.1);
}

.feature-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-modal-phone {
  width: 280px;
  height: 560px;
  margin: 0 auto;
}

.feature-modal-phone .phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-modal-phone .phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
}

.feature-modal-phone .phone-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.feature-modal-phone .phone-screen::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 10;
}

.feature-modal-phone .phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

@media (max-width: 480px) {
  .feature-modal-phone {
    width: 240px;
    height: 480px;
  }

  .feature-modal-phone .phone-frame {
    border-radius: 36px;
    padding: 8px;
  }

  .feature-modal-phone .phone-screen {
    border-radius: 30px;
  }

  .feature-modal-phone .phone-screen::before {
    width: 80px;
    height: 22px;
    border-radius: 0 0 14px 14px;
  }

  .feature-modal-phone .phone-screen img {
    border-radius: 30px;
  }

  .feature-modal-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .feature-modal-close {
    top: -5px;
    right: 0;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
}

/* Social Media Import - Icons in a Row */
.feature-icon-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.social-icon-item {
  width: 32px;
  height: 32px;
  color: var(--coral-red);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon-item:hover {
  transform: scale(1.15) translateY(-2px);
  color: #ff5252;
}

/* Remove old stacked styles if they exist */
.feature-icon-social,
.social-icons-stack,
.social-mini {
  display: none;
}

.social-mini.tiktok {
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.social-mini.instagram {
  bottom: 0;
  left: 0;
  z-index: 2;
}

.social-mini.youtube {
  bottom: 0;
  right: 0;
  z-index: 1;
}

/* Hover animation - icons spread out and grow */
.feature-icon-social:hover .social-mini.tiktok {
  transform: translateX(-50%) translateY(-6px) scale(1.15);
}

.feature-icon-social:hover .social-mini.instagram {
  transform: translateX(-6px) translateY(4px) scale(1.15);
}

.feature-icon-social:hover .social-mini.youtube {
  transform: translateX(6px) translateY(4px) scale(1.15);
}

/* Gradient background for social icon container */
.feature-icon-social.gradient-2 {
  background: linear-gradient(135deg, var(--coral-red) 0%, #ff5252 100%);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
}

@media (max-width: 480px) {
  .ai-tab-icon svg {
    width: 16px;
    height: 16px;
  }

  .feature-icon-social {
    width: 56px;
    height: 56px;
  }

  .social-icons-stack {
    width: 38px;
    height: 38px;
  }

  .social-mini {
    width: 18px;
    height: 18px;
    padding: 2px;
  }
}

/* Hide video controls and play button overlay */
video {
  pointer-events: none;
}

video::-webkit-media-controls {
  display: none !important;
}

video::-webkit-media-controls-enclosure {
  display: none !important;
}

video::-webkit-media-controls-panel {
  display: none !important;
}

video::-webkit-media-controls-play-button {
  display: none !important;
}

video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

video::-webkit-media-controls-overlay-play-button {
  display: none !important;
}
