/* landing_new.css - Design Premium, Mobile-First & Rich Aesthetics */

:root {
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-glow: rgba(255, 159, 67, 0.25);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Background Pattern Global */
.landing-page-wrapper {
    background-color: var(--darker-bg);
    background-image: url("/static/images/kitchen_pattern.png");
    background-repeat: repeat;
    background-size: 500px;
    background-attachment: fixed;
    position: relative;
}

/* Integrazione Navbar & Sfondo Global per Landing */
body.landing-body-premium {
    padding-top: 0 !important;
    background-color: var(--darker-bg) !important;
    background-image: url("/static/images/kitchen_pattern.png") !important;
    background-repeat: repeat !important;
    background-attachment: fixed !important;
    background-size: 500px !important;
}

body.landing-body-premium .navbar-floating {
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.75rem;
}

.landing-page-wrapper::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, 
        rgba(10,10,10,0.8) 0%, 
        rgba(10,10,10,0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Hero Section */
.landing-hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem); /* Responsive font size */
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(255, 159, 67, 0.15);
}

.text-gradient-premium {
    background: linear-gradient(135deg, #fff 20%, var(--primary-color) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Containers (Riquadri Sezioni) */
.section-wrapper {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.section-dark-elevated {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Community Recipe Cards (Schede Ricche) */
.recipe-preview-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.recipe-preview-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 159, 67, 0.05), transparent 70%);
    pointer-events: none;
}

.recipe-preview-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 159, 67, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 159, 67, 0.1);
}

/* Magic Input (Central Box) */
.magic-input-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    z-index: 10;
}

.magic-input-container {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    transition: all 0.4s ease;
}

.magic-input-container:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 50px rgba(255, 159, 67, 0.3);
}

.magic-input {
    background: transparent;
    border: none;
    color: white;
    padding: 1rem 1.5rem;
    width: 100%;
    font-size: 1.2rem;
    outline: none !important;
}

.btn-magic {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #ff7f0e);
    color: white;
    border: none;
    border-radius: 2.5rem;
    padding: 1rem 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

/* Bento Box Comparison */
.bento-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3rem;
    padding: 3rem;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}

.feature-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,159,67,0.2);
}

/* --- Real-App UI Mirroring (Comparison) --- */
.comparison-generic-chat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
}

.comparison-chef-card {
    background: #111111;
    border: 1px solid rgba(255, 159, 67, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 159, 67, 0.05);
    padding: 1.25rem;
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.comparison-chef-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff9f43);
}

.badge-real-app {
    background: rgba(255, 159, 67, 0.12);
    color: #ff9f43;
    border: 1px solid rgba(255, 159, 67, 0.25);
    font-size: 0.6rem;
    padding: 0.25rem 0.6rem;
    border-radius: 50rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.badge-stellata-real {
    background: linear-gradient(90deg, #1e3799, #0984e3);
    color: white;
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.4);
}

.meta-pill-real {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 0.5rem;
}

.text-gradient-real {
    background: linear-gradient(90deg, #fff 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modale Magic Verification Dots */
.verification-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(46, 213, 115, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verification-dot i {
    font-size: 7px;
    color: #2ed573;
}

/* Rate Limit Modal Premium */
.rate-limit-modal-content {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 159, 67, 0.2);
    box-shadow: 0 50px 100px rgba(0,0,0,0.8), 0 0 30px rgba(255, 159, 67, 0.05);
}

.icon-lock-glow {
    font-size: 5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 20px rgba(255, 159, 67, 0.4));
    animation: bounce-slow 3s infinite ease-in-out;
}

/* Footer & Dividers Refinement */
.footer-divider {
    height: 1px;
    width: 60%;
    margin: 0 auto 3rem auto;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    border: none;
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Utilities & Glow Effects */
.h-fit-content { height: fit-content; }
.text-xxs { font-size: 0.65rem; }
.bg-primary-soft { background: rgba(255, 159, 67, 0.1); }
.border-white-05 { border-top: 1px solid rgba(255,255,255,0.08); width: 80%; margin: 0 auto; }
.font-monospace { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; }
.drop-shadow-glow { filter: drop-shadow(0 0 15px var(--primary-glow)); }
.font-heading { letter-spacing: -1px; }

/* Animations Hub */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Tweeks */
@media (max-width: 768px) {
    .landing-hero { padding-top: 6rem; padding-bottom: 4rem; }
    .magic-input-container { flex-direction: column; border-radius: 2rem; padding: 1.5rem; }
    .bento-container { padding: 1.5rem; border-radius: 2rem; }
    .btn-magic { width: 100%; margin-top: 1rem; }
}
