/* ==========================================================================
   AVORA AI CALORIE TRACKER LANDING PAGE STYLES - ULTRA PREMIUM REFINEMENT
   ========================================================================== */

:root {
    --bg-dark: #0A0D0B;
    --bg-card: rgba(18, 24, 21, 0.95);
    --bg-card-border: rgba(255, 255, 255, 0.08);
    --primary: #10B981;
    --primary-light: #22C55E;
    --primary-glow: rgba(34, 197, 94, 0.25);
    --accent-orange: #FF7D32;
    --accent-blue: #0088FF;
    --text-white: #FFFFFF;
    --text-grey: #94A3B8;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-lg: 24px;
    --radius-md: 14px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #00C853 0%, #00A36C 50%, #4EED97 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 163, 108, 0.12);
    border: 1px solid rgba(0, 163, 108, 0.3);
    color: #00C853;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #00C853;
    border-radius: 50%;
    box-shadow: 0 0 10px #00C853;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00C853 0%, #00A36C 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 200, 83, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-playstore {
    background: #000000;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.btn-playstore:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--primary-glow);
}

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

.btn-playstore .btn-small {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-grey);
}

.btn-playstore .btn-big {
    font-size: 17px;
    font-weight: 700;
}

.btn-large {
    padding: 16px 36px;
}

/* Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 11, 9, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 163, 108, 0.15);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand-icon {
    font-size: 26px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-light);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-grey);
    margin-bottom: 36px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-label {
    font-size: 13px;
    color: var(--text-grey);
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
}

/* Samsung Galaxy A21s Smartphone Frame Shell */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
}

.phone-glow {
    position: absolute;
    width: 320px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(50px);
    z-index: 1;
}

.phone-frame {
    position: relative;
    background: #000;
    border-radius: 34px;
    border: 6px solid #141C17;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 163, 108, 0.35);
    overflow: hidden;
    z-index: 2;
    transition: var(--transition);
}

/* Samsung Galaxy A21s Side Power & Volume Buttons */
.phone-frame::before {
    content: '';
    position: absolute;
    right: -9px;
    top: 100px;
    width: 3px;
    height: 65px;
    background: #1B2921;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 85px 0 #1B2921;
}

.samsung-camera {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 11px;
    height: 11px;
    background: #000;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 30;
    box-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.phone-speaker {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 3px;
    background: #111A14;
    border-radius: 4px;
    z-index: 25;
}

.phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.hero-phone {
    width: 290px;
    height: 590px;
}

/* Floating Pill Badges - Neatly floating alongside phone */
.floating-pill {
    position: absolute;
    z-index: 20;
    background: rgba(12, 22, 17, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid var(--primary-light);
    color: #FFF;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    animation: float 4s ease-in-out infinite alternate;
    white-space: nowrap;
}

.pill-1 {
    top: 60px;
    left: -75px;
    animation-delay: 0s;
}

.pill-2 {
    bottom: 80px;
    right: -75px;
    animation-delay: 1.5s;
}

.pill-3 {
    top: 310px;
    left: -85px;
    border-color: var(--accent-orange);
    animation-delay: 2.5s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

/* Features Section */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 38px;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.section-subtitle {
    color: var(--text-grey);
    font-size: 17px;
}

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

.feature-card {
    background: #0E1310;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 36px 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.feature-card-scanner:hover { border-color: rgba(255, 107, 74, 0.4); }
.feature-card-chef:hover { border-color: rgba(245, 158, 11, 0.4); }
.feature-card-water:hover { border-color: rgba(56, 189, 248, 0.4); }
.feature-card-streak:hover { border-color: rgba(239, 68, 68, 0.4); }

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    transition: var(--transition);
}

/* Feature 1: AI Scanner - Coral/Warm Amber */
.icon-scanner {
    background: rgba(255, 107, 74, 0.12);
    border: 1px solid rgba(255, 107, 74, 0.25);
    color: #FF6B4A;
}

/* Feature 2: AI Chef - Honey Gold */
.icon-chef {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #F59E0B;
}

/* Feature 3: Hydration - Sky Blue/Cyan */
.icon-water {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38BDF8;
}

/* Feature 4: Streaks - Crimson Flame */
.icon-streak {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #EF4444;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #F8FAFC;
}

.feature-card p {
    color: var(--text-grey);
    font-size: 15px;
    margin-bottom: 24px;
}

.feature-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-chip {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
}

.chip-scanner { color: #FFA07A; border-color: rgba(255, 107, 74, 0.2); background: rgba(255, 107, 74, 0.06); }
.chip-chef { color: #FCD34D; border-color: rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.06); }
.chip-water { color: #7DD3FC; border-color: rgba(56, 189, 248, 0.2); background: rgba(56, 189, 248, 0.06); }
.chip-streak { color: #FCA5A5; border-color: rgba(239, 68, 68, 0.2); background: rgba(239, 68, 68, 0.06); }

/* Interactive AI Chef Demo Widget */
.interactive-demo {
    background: radial-gradient(circle at center, rgba(0, 163, 108, 0.14) 0%, rgba(7, 11, 9, 1) 70%);
}

.demo-box {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 28px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.ingredient-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-grey);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.tag.active, .tag:hover {
    background: rgba(0, 200, 83, 0.2);
    border-color: var(--primary-light);
    color: #FFF;
}

.calorie-slider-group {
    margin: 24px 0 32px;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 10px;
}

.calorie-val {
    color: var(--primary-light);
    font-weight: 700;
}

.slider {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
    accent-color: var(--primary-light);
}

/* Recipe Preview Card Styling - Clean UI No Images */
.recipe-card-preview {
    background: linear-gradient(145deg, #0C1611 0%, #070D0A 100%);
    border: 1px solid var(--primary-light);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.recipe-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.recipe-type-tag {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.recipe-preview-header h4 {
    font-size: 20px;
    color: #FFF;
}

.recipe-time-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-grey);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

/* Macro Bars Container */
.macro-bars-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.macro-bar-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.macro-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-grey);
}

.macro-bar-label strong {
    color: #FFF;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.fill-kcal { background: linear-gradient(90deg, #FF7D32, #FFA066); }
.fill-protein { background: linear-gradient(90deg, #00C853, #4EED97); }
.fill-carbs { background: linear-gradient(90deg, #0088FF, #55B3FF); }

.recipe-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip-mini {
    background: rgba(0, 200, 83, 0.1);
    color: #00C853;
    border: 1px solid rgba(0, 200, 83, 0.25);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 163, 108, 0.3);
    margin-bottom: 16px;
}

.food-plate-icon {
    font-size: 44px;
    margin-bottom: 6px;
}

.food-plate-preview span {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-light);
}

.macro-row {
    display: flex;
    gap: 10px;
    margin: 12px 0;
}

.macro-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.macro-pill.kcal { background: rgba(255, 125, 50, 0.15); color: #FF7D32; }
.macro-pill.protein { background: rgba(0, 200, 83, 0.15); color: #00C853; }
.macro-pill.carbs { background: rgba(0, 136, 255, 0.15); color: #0088FF; }

.recipe-desc {
    color: var(--text-grey);
    font-size: 13px;
}

/* App Screenshots Gallery */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-phone {
    width: 100%;
    height: 420px;
    border-radius: 28px;
    border: 5px solid #141C17;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.gallery-phone .samsung-camera {
    top: 8px;
    left: 10px;
    width: 8px;
    height: 8px;
}

.gallery-caption {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-grey);
    text-align: center;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: left;
}

.stars {
    color: #FFD700;
    margin-bottom: 12px;
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-grey);
    margin-bottom: 20px;
    font-style: italic;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    font-size: 24px;
}

.user-sub {
    display: block;
    font-size: 11px;
    color: var(--text-grey);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 163, 108, 0.2) 0%, rgba(7, 11, 9, 1) 100%);
    border-top: 1px solid var(--bg-card-border);
    border-bottom: 1px solid var(--bg-card-border);
}

.cta-title {
    font-size: 38px;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: var(--text-grey);
    font-size: 18px;
    margin-bottom: 36px;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: #050806;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand p {
    color: var(--text-grey);
    font-size: 13px;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-grey);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .demo-box {
        grid-template-columns: 1fr;
    }
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 38px;
    }
    .nav-links {
        display: none;
    }
    .screenshots-gallery {
        grid-template-columns: 1fr;
    }
}
