/* BREED-TO-BOWL - Beautiful Design (matching original) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green: #5B7553;
  --green-dark: #4A6344;
  --green-light: #6B8B5E;
  --green-pale: #EDF4EB;
  --cream: #FDFCF9;
  --cream-dark: #F8F6F1;
  --warm: #FBF9F4;
  --orange: #E8A87C;
  --text: #2D3A2D;
  --text-light: #6B7B6B;
  --white: #FFFFFF;
  --border: #E8EBE6;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--cream); color: var(--text); line-height: 1.6; font-size: 16px; }
h1, h2, h3 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.2; color: var(--text); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav { background: var(--cream); padding: 20px 0; position: sticky; top: 0; z-index: 100; }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Lora', serif; font-size: 24px; font-weight: 600; color: var(--green); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; padding: 10px 18px; border-radius: 8px; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-pale); }
.mobile-btn { display: none; background: var(--green-pale); border: none; font-size: 20px; padding: 10px 14px; border-radius: 8px; cursor: pointer; color: var(--green); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); flex-direction: column; gap: 4px; }
.mobile-menu.active { display: flex; }
.mobile-menu a { padding: 14px 16px; text-decoration: none; color: var(--text); font-weight: 500; border-radius: 8px; }
.mobile-menu a:hover { background: var(--green-pale); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 50px; font-weight: 600; font-size: 15px; text-decoration: none; border: none; cursor: pointer; transition: all .25s; font-family: 'Inter', sans-serif; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(91,117,83,0.3); }
.btn-secondary { background: var(--white); color: var(--text); border: 2px solid var(--border); }
.btn-secondary:hover { border-color: var(--green); background: var(--green-pale); }
.btn-white { background: var(--white); color: var(--green); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* HERO - Matching screenshot exactly */
.hero { padding: 60px 0 80px; background: linear-gradient(180deg, var(--cream) 0%, var(--warm) 40%, var(--green-pale) 100%); min-height: 90vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 540px; }
.hero h1 { font-size: 56px; margin-bottom: 24px; font-weight: 600; letter-spacing: -0.5px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero-text { font-size: 18px; color: var(--text-light); margin-bottom: 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { width: 100%; max-width: 500px; height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Floating cards on hero image */
.hero-card { position: absolute; background: var(--white); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; }
.hero-card.top { top: 20px; right: -20px; }
.hero-card.bottom { bottom: 60px; left: -30px; }
.hero-card-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.hero-card-icon.green { background: var(--green-pale); }
.hero-card-icon.red { background: #FEE2E2; }
.hero-card-text { font-size: 13px; color: var(--text-light); }
.hero-card-text strong { display: block; font-size: 20px; color: var(--text); font-weight: 700; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-label { display: inline-block; background: var(--green-pale); color: var(--green); padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.section-header h2 { font-size: 42px; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-light); line-height: 1.6; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; border: 1px solid var(--border); position: relative; transition: all .3s; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step-num { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; background: var(--green); color: var(--white); border-radius: 50%; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.step-icon { font-size: 40px; margin: 12px 0 18px; }
.step-card h3 { font-size: 18px; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 600; }
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); transition: all .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 60px; height: 60px; background: var(--green-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 600; }
.feature-card p { font-size: 15px; color: var(--text-light); line-height: 1.6; }

/* RECIPES */
.recipes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.recipe-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all .3s; cursor: pointer; }
.recipe-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.recipe-img { height: 200px; overflow: hidden; position: relative; }
.recipe-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.recipe-card:hover .recipe-img img { transform: scale(1.08); }
.recipe-badge { position: absolute; top: 14px; right: 14px; padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; background: var(--green); color: var(--white); }
.recipe-content { padding: 24px; }
.recipe-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.tag { background: var(--green-pale); color: var(--green); padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.recipe-card h3 { font-size: 18px; margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 600; }
.recipe-meta { display: flex; gap: 16px; font-size: 14px; color: var(--text-light); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--border); }
.stars { color: #F59E0B; font-size: 18px; margin-bottom: 16px; letter-spacing: 3px; }
.testimonial-card > p { font-size: 16px; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 15px; font-weight: 600; }
.testimonial-author span { font-size: 13px; color: var(--text-light); }

/* CTA */
.cta-section { padding: 40px 0 100px; }
.cta-card { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); border-radius: var(--radius-lg); padding: 80px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.cta-card h2 { color: var(--white); font-size: 40px; margin-bottom: 16px; position: relative; }
.cta-card > p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 500px; margin: 0 auto 32px; position: relative; }

/* PAGE HEADER */
.page-header { background: linear-gradient(180deg, var(--cream) 0%, var(--warm) 100%); padding: 80px 0; text-align: center; }
.page-header h1 { font-size: 48px; margin-bottom: 16px; }
.page-header p { font-size: 18px; color: var(--text-light); max-width: 500px; margin: 0 auto; }

/* FORMS */
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 16px 18px; border: 2px solid var(--border); border-radius: 12px; font-size: 15px; font-family: 'Inter', sans-serif; transition: all .2s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-pale); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* GENERATOR */
.generator-container { max-width: 800px; margin: 0 auto; }
.generator-box { background: var(--white); padding: 48px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.generator-box h2 { font-size: 28px; margin-bottom: 8px; }
.generator-box > p { color: var(--text-light); margin-bottom: 32px; font-size: 16px; }

/* BREED INFO */
.breed-info { background: linear-gradient(135deg, var(--green-pale) 0%, #D8EDCF 100%); padding: 28px; border-radius: var(--radius); margin: 28px 0; border-left: 4px solid var(--green); display: none; }
.breed-info h3 { font-size: 20px; color: var(--green); margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.breed-meta { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.breed-info h4 { font-size: 15px; margin: 18px 0 10px; font-family: 'Inter', sans-serif; font-weight: 600; }
.breed-info ul { margin-left: 20px; color: var(--text-light); font-size: 14px; line-height: 1.9; }
.breed-info .tip { margin-top: 18px; padding: 16px; background: var(--white); border-radius: 10px; font-size: 14px; line-height: 1.6; }

/* PANTRY */
.pantry-section { background: var(--warm); padding: 28px; border-radius: var(--radius); margin: 28px 0; border: 2px dashed #E0D5C5; }
.pantry-section h3 { font-size: 18px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.pantry-section > p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.ing-cat { margin-bottom: 16px; }
.ing-label { font-size: 12px; font-weight: 600; color: var(--text-light); display: block; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--white); border: 2px solid var(--border); padding: 10px 16px; border-radius: 50px; font-size: 14px; cursor: pointer; transition: all .2s; font-family: 'Inter', sans-serif; }
.chip:hover { border-color: var(--green); }
.chip.selected { background: var(--green); color: var(--white); border-color: var(--green); }
.sel-count { margin-top: 16px; padding: 12px 16px; background: var(--white); border-radius: 10px; font-size: 14px; color: var(--text-light); }

/* GENERATED RECIPE */
#recipeResult { display: none; }
.recipe-box { background: linear-gradient(135deg, var(--green-pale) 0%, #D8EDCF 100%); padding: 36px; border-radius: var(--radius); margin-top: 32px; }
.recipe-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.recipe-box h3 { font-size: 26px; color: var(--green); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; }
.recipe-sub { color: var(--text-light); font-size: 15px; }
.recipe-note { padding: 16px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; }
.recipe-note.pantry { background: #FEF3E2; border-left: 4px solid var(--orange); }
.recipe-note.age { background: rgba(91,117,83,0.12); border-left: 4px solid var(--green); }
.recipe-section { margin-bottom: 28px; }
.recipe-section h4 { font-size: 16px; margin-bottom: 12px; font-weight: 600; }
.recipe-section h4 span { font-weight: 400; color: var(--text-light); }
.recipe-section ul, .recipe-section ol { margin-left: 22px; color: var(--text-light); font-size: 15px; line-height: 1.9; }
.recipe-section ol li { margin-bottom: 10px; }
.recipe-actions { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(0,0,0,0.1); display: flex; gap: 14px; flex-wrap: wrap; }
.loading { text-align: center; padding: 60px; }
.spinner { width: 48px; height: 48px; border: 4px solid var(--green-pale); border-top-color: var(--green); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 18px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-content h2 { font-size: 36px; margin-bottom: 20px; }
.about-content p { color: var(--text-light); margin-bottom: 16px; line-height: 1.8; font-size: 16px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-info h2 { font-size: 36px; margin-bottom: 16px; }
.contact-info > p { color: var(--text-light); margin-bottom: 36px; line-height: 1.7; font-size: 16px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 28px; }
.contact-icon { width: 56px; height: 56px; background: var(--green-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.contact-item h4 { font-size: 16px; margin-bottom: 4px; font-weight: 600; }
.contact-item p { color: var(--text-light); font-size: 15px; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 24px; margin-bottom: 28px; }
.success { text-align: center; padding: 50px 20px; }
.success-icon { font-size: 56px; margin-bottom: 20px; }
.success h3 { margin-bottom: 10px; font-size: 24px; }
.success p { color: var(--text-light); font-size: 16px; }

/* FOOTER */
footer { background: var(--text); color: var(--white); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand h3 { font-size: 24px; margin-bottom: 14px; font-family: 'Lora', serif; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.6; }
.footer-links h4 { font-size: 14px; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; text-align: center; color: rgba(255,255,255,0.5); font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero { padding: 50px 0 70px; min-height: auto; }
  .hero h1 { font-size: 44px; }
  .hero-image { max-width: 500px; margin: 0 auto; }
  .hero-card.top { right: 10px; }
  .hero-card.bottom { left: 10px; }
  .features-grid, .recipes-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-btn { display: flex; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 36px; text-align: center; }
  .hero-text { text-align: center; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-image img { height: 350px; }
  .hero-card { display: none; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 32px; }
  .features-grid, .recipes-grid, .testimonials-grid, .steps-grid { grid-template-columns: 1fr; }
  .page-header { padding: 60px 0; }
  .page-header h1 { font-size: 36px; }
  .generator-box { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-card { padding: 50px 28px; }
  .cta-card h2 { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* NEWSLETTER COMPONENTS */
.newsletter-banner { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); padding: 40px; border-radius: var(--radius-lg); margin: 40px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.newsletter-banner h3 { color: var(--white); font-size: 24px; margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 600; }
.newsletter-banner p { color: rgba(255,255,255,0.9); font-size: 15px; }
.newsletter-banner .email-input { display: flex; gap: 12px; }
.newsletter-banner input { padding: 14px 18px; border: none; border-radius: 50px; font-size: 15px; width: 260px; }
.newsletter-banner input:focus { outline: 2px solid var(--white); }

.newsletter-popup { position: fixed; bottom: 24px; right: 24px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 28px; max-width: 380px; z-index: 999; display: none; border: 1px solid var(--border); }
.newsletter-popup.show { display: block; animation: slideUp 0.4s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.popup-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-light); padding: 4px 8px; }
.popup-close:hover { color: var(--text); }
.newsletter-popup h4 { font-size: 20px; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.newsletter-popup > p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; line-height: 1.5; }
.newsletter-popup input { width: 100%; padding: 14px 16px; border: 2px solid var(--border); border-radius: 10px; font-size: 15px; margin-bottom: 12px; }
.newsletter-popup input:focus { outline: none; border-color: var(--green); }
.newsletter-popup .btn { width: 100%; }
.popup-note { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 12px; }

@media (max-width: 768px) {
  .newsletter-banner { text-align: center; justify-content: center; }
  .newsletter-banner .email-input { flex-direction: column; width: 100%; }
  .newsletter-banner input { width: 100%; }
  .newsletter-popup { bottom: 16px; right: 16px; left: 16px; max-width: none; }
}

/* PAYWALL */
.paywall-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); z-index: 1000; display: none; justify-content: center; align-items: center; padding: 20px; }
.paywall-overlay.show { display: flex; }
.paywall-box { background: var(--white); border-radius: var(--radius-lg); padding: 48px; max-width: 480px; text-align: center; position: relative; }
.paywall-box .close-btn { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-light); }
.paywall-icon { font-size: 64px; margin-bottom: 20px; }
.paywall-box h2 { font-size: 28px; margin-bottom: 12px; }
.paywall-box > p { color: var(--text-light); margin-bottom: 24px; line-height: 1.6; }
.paywall-features { list-style: none; text-align: left; margin: 24px 0; background: var(--green-pale); padding: 20px 24px; border-radius: var(--radius); }
.paywall-features li { padding: 8px 0; font-size: 14px; }
.paywall-features li::before { content: '✓ '; color: var(--green); font-weight: bold; }
.paywall-price { font-size: 14px; color: var(--text-light); margin-top: 16px; }
.paywall-price strong { color: var(--green); font-size: 24px; }
.content-blurred { filter: blur(5px); pointer-events: none; user-select: none; }
