/* Koonisoo Landing Page Styles */

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

:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --secondary: #6366F1;
    --accent: #F59E0B;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --teal-500: #14b8a6;
    --pink-500: #ec4899;
    --violet-500: #8b5cf6;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --violet-600: #7c3aed;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--gray-800);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Utility Classes ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-pattern {
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310B981' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.5rem;
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    color: var(--gray-600);
    transition: color 0.2s;
}

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

.nav-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: var(--gray-600);
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    padding-bottom: 1rem;
}

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

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-menu-links a {
    padding: 0.5rem 0;
    color: var(--gray-600);
    transition: color 0.2s;
}

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

.mobile-menu-links .nav-btn {
    text-align: center;
    margin-top: 0.5rem;
}

/* ===== Hero Section ===== */
.hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
    }
}

.hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-description {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s;
    text-align: center;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: border-color 0.2s, color 0.2s;
    text-align: center;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 16rem;
    height: 16rem;
    object-fit: contain;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

@media (min-width: 1024px) {
    .hero-image img {
        width: 20rem;
        height: 20rem;
    }
}

/* ===== Features Section ===== */
.features {
    padding: 4rem 0;
    background: var(--white);
}

@media (min-width: 1024px) {
    .features {
        padding: 6rem 0;
    }
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-description {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card.green {
    background: linear-gradient(to bottom right, #ecfdf5, #d1fae5);
}

.feature-card.indigo {
    background: linear-gradient(to bottom right, #eef2ff, #e9d5ff);
}

.feature-card.amber {
    background: linear-gradient(to bottom right, #fffbeb, #ffedd5);
}

.feature-card.cyan {
    background: linear-gradient(to bottom right, #ecfeff, #ccfbf1);
}

.feature-card.pink {
    background: linear-gradient(to bottom right, #fdf2f8, #ffe4e6);
}

.feature-card.violet {
    background: linear-gradient(to bottom right, #f5f3ff, #e9d5ff);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.green {
    background: rgba(16, 185, 129, 0.1);
}

.feature-icon.indigo {
    background: rgba(99, 102, 241, 0.1);
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.1);
}

.feature-icon.cyan {
    background: rgba(20, 184, 166, 0.1);
}

.feature-icon.pink {
    background: rgba(236, 72, 153, 0.1);
}

.feature-icon.violet {
    background: rgba(139, 92, 246, 0.1);
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-icon.green svg {
    color: var(--primary);
}

.feature-icon.indigo svg {
    color: var(--secondary);
}

.feature-icon.amber svg {
    color: var(--accent);
}

.feature-icon.cyan svg {
    color: var(--teal-500);
}

.feature-icon.pink svg {
    color: var(--pink-500);
}

.feature-icon.violet svg {
    color: var(--violet-500);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray-600);
}

/* ===== AI Section ===== */
.ai-section {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .ai-section {
        padding: 6rem 0;
    }
}

.ai-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ai-content {
        flex-direction: row;
    }
}

.ai-demo {
    flex: 1;
}

.ai-demo-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .ai-demo-box {
        padding: 3rem;
    }
}

.ai-demo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-demo-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-demo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

.ai-demo-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
}

.ai-messages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-message {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.ai-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .ai-text {
        text-align: left;
    }
}

.ai-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .ai-title {
        font-size: 2.25rem;
    }
}

.ai-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-feature svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

/* ===== Challenges Section ===== */
.challenges {
    padding: 4rem 0;
    background: var(--gray-50);
}

@media (min-width: 1024px) {
    .challenges {
        padding: 6rem 0;
    }
}

.challenges-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .challenges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.challenge-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.challenge-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.challenge-header {
    padding: 1.5rem;
}

.challenge-header.gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.challenge-header.amber {
    background: linear-gradient(to right, var(--amber-500), #f97316);
}

.challenge-header.violet {
    background: linear-gradient(to right, var(--violet-500), #a855f7);
}

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

.challenge-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.challenge-duration {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.challenge-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 1rem;
}

.challenge-body {
    padding: 1.5rem;
}

.challenge-description {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.challenge-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.challenge-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.challenge-feature svg {
    width: 1.25rem;
    height: 1.25rem;
}

.challenge-feature.green svg {
    color: var(--primary);
}

.challenge-feature.amber svg {
    color: var(--amber-500);
}

.challenge-feature.violet svg {
    color: var(--violet-500);
}

.challenge-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.75rem;
    border-radius: 0.75rem;
    font-weight: 500;
    color: var(--white);
    transition: background 0.2s;
}

.challenge-btn.green {
    background: var(--primary);
}

.challenge-btn.green:hover {
    background: var(--primary-dark);
}

.challenge-btn.amber {
    background: var(--amber-500);
}

.challenge-btn.amber:hover {
    background: var(--amber-600);
}

.challenge-btn.violet {
    background: var(--violet-500);
}

.challenge-btn.violet:hover {
    background: var(--violet-600);
}

/* ===== CTA Section ===== */
.cta {
    padding: 4rem 0;
    background: var(--white);
}

@media (min-width: 1024px) {
    .cta {
        padding: 6rem 0;
    }
}

.cta-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.5rem;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* ===== Showcase Sections ===== */
.showcase {
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .showcase {
        padding: 6rem 0;
    }
}

.showcase-food {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.showcase-movement {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.showcase-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .showcase-content {
        flex-direction: row;
        gap: 4rem;
    }
}

.showcase-reverse {
    flex-direction: column;
}

@media (min-width: 1024px) {
    .showcase-reverse {
        flex-direction: row-reverse;
    }
}

.showcase-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .showcase-image img {
        max-width: 450px;
    }
}

.showcase-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .showcase-text {
        text-align: left;
    }
}

.showcase-label {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.showcase-label-green {
    background: var(--primary);
}

.showcase-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .showcase-title {
        font-size: 2.25rem;
    }
}

.showcase-description {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    max-width: 500px;
}

@media (min-width: 1024px) {
    .showcase-description {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Nutrition Card */
.nutrition-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .nutrition-card {
        margin: 0;
    }
}

.nutrition-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.nutrition-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.nutrition-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.nutrition-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.nutrition-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.nutrition-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Movement Benefits */
.movement-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.movement-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.benefit-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.benefit-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.benefit-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.benefit-text span {
    font-size: 0.875rem;
    color: var(--gray-700);
}

