:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --secondary: #34d399;
    --background: #0a0a0a;
    --surface: #1a1a1a;
    --surface-light: #2a2a2a;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2;
}

span.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-text .badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Phone Mockup */
.hero-visual {
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    z-index: 2;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    border: 10px solid #1a1a1a;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.glass-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: -20%;
}

.card-2 {
    bottom: 15%;
    right: -25%;
    animation-delay: -3s;
}

.glass-float i {
    color: var(--primary);
    font-size: 1.25rem;
}

.glass-float span {
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-bg-gradient {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
    filter: blur(60px);
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    border-bottom: 1px solid var(--glass-border);
    background: linear-gradient(to bottom, transparent, rgba(16, 185, 129, 0.05));
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* AI Deep Dive */
.ai-deep-dive {
    padding: 10rem 0;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.ai-visual {
    display: flex;
    justify-content: center;
}

.ai-core {
    width: 200px;
    height: 200px;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
    position: relative;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.3);
}

.ai-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(2px);
}

.p1 {
    top: -20px;
    left: 50%;
    animation: particle1 4s infinite linear;
}

.p2 {
    bottom: -20px;
    left: 20%;
    animation: particle2 5s infinite linear;
}

.p3 {
    right: -20px;
    top: 30%;
    animation: particle3 3s infinite linear;
}

@keyframes particle1 {
    0% {
        transform: rotate(0deg) translateX(120px);
    }

    100% {
        transform: rotate(360deg) translateX(120px);
    }
}

@keyframes particle2 {
    0% {
        transform: rotate(0deg) translateX(110px);
    }

    100% {
        transform: rotate(-360deg) translateX(110px);
    }
}

@keyframes particle3 {
    0% {
        transform: rotate(0deg) translateX(130px);
    }

    100% {
        transform: rotate(360deg) translateX(130px);
    }
}

.ai-features {
    list-style: none;
    margin-top: 2rem;
}

.ai-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.ai-features i {
    color: var(--primary);
}

/* Trending Section */
.trending {
    padding: 10rem 0;
    background: #050505;
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.recipe-card {
    background: var(--surface);
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.recipe-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.recipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recipe-card:hover .recipe-img img {
    transform: scale(1.1);
}

.recipe-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
}

.recipe-info {
    padding: 2rem;
}

.recipe-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.recipe-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.recipe-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.recipe-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recipe-meta i {
    color: var(--primary);
}

/* Comparison Section */
.comparison {
    padding: 10rem 0;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.comp-card {
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    background: var(--surface);
}

.comp-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.before .comp-label {
    color: #ef4444;
}

.after .comp-label {
    color: var(--primary);
}

.after {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.comp-card ul {
    list-style: none;
}

.comp-card li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.before li i {
    color: #ef4444;
    margin-top: 5px;
}

.after li i {
    color: var(--primary);
    margin-top: 5px;
}

/* FAQ Section */
.faq {
    padding: 10rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--surface);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--surface-light);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--primary);
}

/* Roadmap */
.roadmap {
    padding: 10rem 0;
    background: radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.road-card {
    padding: 3rem;
    background: var(--surface);
    border-radius: 2rem;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
}

.road-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.road-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 1.5rem;
}

/* Newsletter */
.newsletter {
    padding: 10rem 0;
}

.nw-content {
    background: linear-gradient(135deg, var(--surface), #0a0a0a);
    padding: 5rem;
    border-radius: 3rem;
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.nw-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.nw-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.nw-form input {
    flex: 1;
    background: #050505;
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
}

.nw-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.features {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Features - Bento Grid */
.features-grid.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 2rem;
}

.feature-card.bento-wide {
    grid-column: span 2;
}

.feature-card {
    background: var(--surface);
    padding: 3rem;
    border-radius: 2.5rem;
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: var(--surface-light);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.1);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.1);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

@media (max-width: 1024px) {
    .features-grid.bento {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card.bento-wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .features-grid.bento {
        grid-template-columns: 1fr;
    }
}

/* How it works */
.how-it-works {
    padding: 10rem 0;
    background: #0d0d0d;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--glass-border);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 30%;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 auto 2rem;
    color: white;
}

.step-info h3 {
    margin-bottom: 1rem;
}

.step-info p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
    }

    .card-2 {
        right: 0;
    }

    .card-1 {
        left: 0;
    }

    .ai-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .ai-visual {
        order: 2;
    }

    .ai-text {
        order: 1;
    }

    .ai-features li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .stats-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .steps-container {
        flex-direction: column;
        gap: 4rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .nw-content {
        flex-direction: column;
        text-align: center;
        padding: 4rem 2rem;
        gap: 3rem;
    }

    .nw-form {
        width: 100%;
        max-width: none;
    }

    .steps-container::before {
        display: none;
    }

    .step-item {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 3rem;
    }
}