/* ============================================
   CHATOREE - Food Delivery Website
   Brand Color: #FF6B35 (Vibrant Orange)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --primary-light: #FF8F66;
  --secondary: #2D3436;
  --accent-green: #00B894;
  --text-dark: #2D3436;
  --text-medium: #636E72;
  --text-light: #B2BEC3;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-cream: #FFF8F5;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-orange: 0 8px 30px rgba(255,107,53,0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text-dark); background: var(--bg-white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { color: var(--text-medium); line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { margin-bottom: 16px; }
.section-title p { max-width: 600px; margin: 0 auto; }
.highlight { color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; border-radius: var(--radius-xl); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; transition: var(--transition); font-family: inherit; }
.btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(255,107,53,0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: var(--bg-cream); transform: translateY(-2px); }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.05); transition: var(--transition); }
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.logo-icon { width: 45px; height: 45px; background: var(--primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-orange); }
.logo-icon svg { width: 28px; height: 28px; fill: white; }
.nav-links { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-links a { font-weight: 500; color: var(--text-medium); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-btn span { width: 25px; height: 3px; background: var(--text-dark); border-radius: 3px; transition: var(--transition); }
.mobile-nav { display: none; position: fixed; top: 80px; left: 0; right: 0; bottom: 0; background: white; padding: 40px 24px; z-index: 999; }
.mobile-nav.active { display: block; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.mobile-nav-links a { font-size: 1.25rem; font-weight: 500; color: var(--text-dark); }
.mobile-nav-links a:hover { color: var(--primary); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%); position: relative; overflow: hidden; padding-top: 80px; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%); border-radius: 50%; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text { max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,53,0.1); color: var(--primary); padding: 8px 16px; border-radius: var(--radius-xl); font-size: 0.875rem; font-weight: 600; margin-bottom: 24px; }
.hero-text h1 { margin-bottom: 24px; line-height: 1.2; }
.hero-tagline { font-size: 1.25rem; color: var(--text-medium); margin-bottom: 40px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; }
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.875rem; color: var(--text-medium); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mockup { position: relative; width: 280px; }
.phone-frame { width: 100%; border-radius: 36px; box-shadow: var(--shadow-lg); overflow: hidden; background: #1a1a1a; padding: 8px; }
.phone-frame img { width: 100%; display: block; border-radius: 28px; }
.phone-mockup-2 { position: absolute; right: -60px; top: 80px; width: 220px; transform: rotate(5deg); }
.phone-mockup-2 .phone-frame { box-shadow: var(--shadow-md); }
.floating-card { position: absolute; background: white; border-radius: var(--radius-lg); padding: 16px 20px; box-shadow: var(--shadow-md); animation: float 3s ease-in-out infinite; }
.floating-card-1 { top: 15%; left: -20px; animation-delay: 0s; }
.floating-card-2 { bottom: 25%; right: -40px; animation-delay: 1.5s; }
.floating-card-icon { width: 40px; height: 40px; background: var(--bg-cream); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; font-size: 1.25rem; }
.floating-card-text { font-weight: 600; font-size: 0.875rem; }
.floating-card-subtext { font-size: 0.75rem; color: var(--text-light); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* How It Works */
.how-it-works { background: var(--bg-white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-card { text-align: center; padding: 40px 24px; border-radius: var(--radius-lg); background: var(--bg-light); transition: var(--transition); position: relative; }
.step-card:hover { background: white; box-shadow: var(--shadow-md); transform: translateY(-5px); }
.step-number { position: absolute; top: 16px; left: 16px; width: 28px; height: 28px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 600; }
.step-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: var(--shadow-orange); font-size: 2rem; }
.step-card h3 { margin-bottom: 12px; }
.step-card p { font-size: 0.9rem; }

/* Features */
.features { background: var(--bg-cream); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: white; padding: 40px 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.feature-icon { width: 60px; height: 60px; background: var(--bg-cream); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.5rem; }
.feature-card h3 { margin-bottom: 12px; }

/* App Showcase */
.app-showcase { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; position: relative; overflow: hidden; }
.app-showcase::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: rgba(255,255,255,0.1); border-radius: 50%; }
.app-showcase .section-title h2, .app-showcase .section-title p { color: white; }
.app-showcase .section-title p { opacity: 0.9; }
.app-screens { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.app-screen { width: 200px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); background: #1a1a1a; padding: 6px; transition: var(--transition); }
.app-screen:hover { transform: translateY(-10px) scale(1.02); }
.app-screen img { width: 100%; border-radius: 24px; display: block; }
.app-screen:nth-child(2), .app-screen:nth-child(4) { margin-top: 40px; }

/* Download CTA */
.download-cta { background: var(--bg-white); text-align: center; }
.download-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--text-dark); color: white; padding: 14px 28px; border-radius: var(--radius-md); transition: var(--transition); }
.store-btn:hover { background: var(--primary); transform: translateY(-3px); }
.store-btn svg { width: 28px; height: 28px; fill: white; }
.store-btn-text { text-align: left; }
.store-btn-small { font-size: 0.7rem; opacity: 0.8; }
.store-btn-large { font-size: 1rem; font-weight: 600; }

/* Restaurants Preview */
.restaurants-preview { background: var(--bg-light); }
.restaurants-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.restaurant-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.restaurant-card:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }
.restaurant-img { height: 140px; background: var(--bg-cream); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.restaurant-info { padding: 20px; }
.restaurant-info h4 { font-size: 1rem; margin-bottom: 4px; }
.restaurant-cuisine { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.restaurant-meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; }
.restaurant-rating { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-green); color: white; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.restaurant-time { color: var(--text-medium); }
.restaurants-cta { text-align: center; margin-top: 50px; }

/* Partner Section */
.partner-section { background: var(--bg-cream); }
.partner-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.partner-benefits { list-style: none; margin: 30px 0; }
.partner-benefits li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 1rem; }
.partner-benefits li::before { content: '✓'; width: 24px; height: 24px; background: var(--accent-green); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; margin-top: 2px; }
.partner-form-card { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.partner-form-card h3 { margin-bottom: 24px; text-align: center; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 2px solid #E8E8E8; border-radius: var(--radius-md); font-size: 1rem; font-family: inherit; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.form-checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.form-checkbox a { color: var(--primary); }
.form-submit { width: 100%; margin-top: 10px; }
.form-success { display: none; text-align: center; padding: 40px; }
.form-success.show { display: block; }
.form-success-icon { width: 80px; height: 80px; background: var(--accent-green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2.5rem; color: white; }

/* Footer */
.footer { background: var(--text-dark); color: white; padding: 60px 0 30px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand .logo-icon { background: var(--primary); }
.footer-brand p { color: rgba(255,255,255,0.7); margin-bottom: 20px; max-width: 300px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { background: var(--primary); }
.social-link svg { width: 18px; height: 18px; fill: white; }
.footer-links h4 { color: white; font-size: 1rem; margin-bottom: 20px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.fssai-badge { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.1); padding: 8px 16px; border-radius: var(--radius-sm); }
.fssai-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* Page Headers */
.page-header { background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%); padding: 140px 0 60px; text-align: center; }
.page-header h1 { margin-bottom: 16px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.9rem; color: var(--text-medium); }
.breadcrumb a:hover { color: var(--primary); }

/* Legal Pages */
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 16px; padding-top: 20px; border-top: 1px solid #eee; }
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin: 16px 0 16px 24px; color: var(--text-medium); }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text-dark); }
.legal-updated { background: var(--bg-light); padding: 16px 20px; border-radius: var(--radius-md); margin-bottom: 30px; font-size: 0.9rem; }

/* Contact Page */
.contact-section { background: var(--bg-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-info-card { background: white; padding: 30px; border-radius: var(--radius-lg); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.contact-info-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.1rem; }
.contact-info-card h3 span { font-size: 1.5rem; }
.contact-info-card p, .contact-info-card a { color: var(--text-medium); display: block; margin-bottom: 8px; }
.contact-info-card a:hover { color: var(--primary); }
.contact-form-card { background: white; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* About Page */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); border-radius: var(--radius-lg); padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.about-image img { width: 220px; border-radius: 30px; box-shadow: var(--shadow-lg); }
.about-story h2 { margin-bottom: 20px; }
.about-story p { margin-bottom: 16px; }
.about-values { background: var(--bg-light); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.value-card { background: white; padding: 40px 30px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); }
.value-icon { width: 70px; height: 70px; background: var(--bg-cream); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 2rem; }
.value-card h3 { margin-bottom: 12px; }
.company-info { background: var(--bg-cream); }
.company-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.company-info-card { background: white; padding: 30px; border-radius: var(--radius-lg); }
.company-info-card h4 { color: var(--primary); margin-bottom: 12px; font-size: 1rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .phone-mockup-2 { right: -40px; width: 180px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .restaurants-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-content { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .section { padding: 60px 0; }
  .steps-grid, .features-grid, .restaurants-grid, .values-grid, .company-info-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
  .social-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .app-screen { width: 160px; }
  .form-row { grid-template-columns: 1fr; }
  .phone-mockup { width: 240px; }
  .phone-mockup-2 { display: none; }
  .floating-card { display: none; }
  .hero-stats { flex-direction: column; gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 280px; }
  .download-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 280px; justify-content: center; }
}
