:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --secondary: #22c55e;
    --accent: #3b82f6;
    --dark: #0f172a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    font-size: 28px;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

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

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

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

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
    padding: 10px 22px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border: none;
}

.btn-white:hover {
    background: var(--gray-100);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fff 0%, #fff7ed 50%, #ffedd5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.arrow {
    margin-left: 8px;
    transition: transform 0.2s;
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 15px;
    color: var(--gray-600);
}

/* Recipe Card Preview */
.recipe-card-preview {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    margin-left: auto;
}

.recipe-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.recipe-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.recipe-time {
    color: var(--gray-500);
    font-size: 14px;
}

.recipe-card-preview h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.recipe-subtitle {
    color: var(--gray-500);
    font-size: 16px;
    margin-bottom: 20px;
}

.recipe-ingredients {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.ingredient-tag {
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 14px;
}

.recipe-meta {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 13px;
    color: var(--gray-500);
}

.meta-value {
    font-weight: 600;
    color: var(--dark);
}

/* Generator Section */
.generator-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.generator-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--dark);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: border-color 0.2s;
}

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

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.radio-card:hover {
    border-color: var(--primary);
}

.radio-card input {
    display: none;
}

.radio-card input:checked + .radio-icon + span {
    color: var(--primary);
}

.radio-card:has(input:checked) {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.05);
}

.radio-icon {
    font-size: 32px;
}

.form-hint {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.ingredient-category h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-700);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--gray-700);
}

.checkbox input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.loading-state {
    text-align: center;
    padding: 60px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Recipes Section */
.recipes-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.recipe-card-large {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.recipe-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.recipe-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.recipe-image-icon {
    font-size: 64px;
}

.recipe-content {
    padding: 32px;
}

.recipe-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.recipe-chinese {
    color: var(--gray-500);
    font-size: 16px;
    margin-bottom: 16px;
}

.recipe-desc {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.recipe-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    color: var(--gray-600);
    font-size: 14px;
}

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

.tag {
    background: var(--gray-100);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.tag.vet-approved {
    background: rgba(34, 197, 94, 0.1);
    color: var(--secondary);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    border: 2px solid var(--gray-200);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
}

.price-period {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}

.features-list li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand .logo {
    font-size: 32px;
}

.footer-brand .brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .recipe-card-preview {
        margin: 0 auto;
    }
    
    .features-grid,
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .form-grid,
    .ingredients-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
