.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.hero-stat:nth-child(1) { grid-column: span 2; }

.hero-stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-icon svg {
    width: 24px;
    height: 24px;
}

.hero-stat-icon.purple { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.hero-stat-icon.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.hero-stat-icon.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

.hero-stat h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.hero-stat p {
    font-size: 0.9rem;
    color: #94a3b8;
}

.intro {
    padding: 80px 0;
    background: #f8fafc;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 24px;
    font-weight: 700;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
}

.tools-section {
    padding: 80px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.15rem;
    color: #64748b;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.bento-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

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

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 36px;
}

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

.bento-card .tool-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bento-large .tool-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
}

.bento-large .tool-icon svg {
    width: 36px;
    height: 36px;
}

.tool-icon svg {
    width: 28px;
    height: 28px;
}

.bento-card h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.bento-large h3 {
    font-size: 1.6rem;
}

.bento-card p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.bento-large p {
    font-size: 1.05rem;
}

.tool-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.tool-actions .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
    border-radius: 10px;
}

.bento-large .tool-actions .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.breathing-card { --accent: #10b981; }
.breathing-card::before { background: linear-gradient(90deg, #10b981, #34d399); }
.breathing-card .tool-icon { background: #ecfdf5; color: #10b981; }

.pomodoro-card { --accent: #f59e0b; }
.pomodoro-card::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.pomodoro-card .tool-icon { background: #fffbeb; color: #f59e0b; }

.meditation-card { --accent: #6366f1; }
.meditation-card::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.meditation-card .tool-icon { background: #eef2ff; color: #6366f1; }

.habit-card { --accent: #8b5cf6; }
.habit-card::before { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.habit-card .tool-icon { background: #f5f3ff; color: #8b5cf6; }

.sleep-card { --accent: #3b82f6; }
.sleep-card::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.sleep-card .tool-icon { background: #eff6ff; color: #3b82f6; }

.eye-card { --accent: #06b6d4; }
.eye-card::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.eye-card .tool-icon { background: #ecfeff; color: #06b6d4; }

.water-card { --accent: #0ea5e9; }
.water-card::before { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.water-card .tool-icon { background: #f0f9ff; color: #0ea5e9; }

.stretch-card { --accent: #ec4899; }
.stretch-card::before { background: linear-gradient(90deg, #ec4899, #f472b6); }
.stretch-card .tool-icon { background: #fdf2f8; color: #ec4899; }

.focus-card { --accent: #eab308; }
.focus-card::before { background: linear-gradient(90deg, #eab308, #facc15); }
.focus-card .tool-icon { background: #fefce8; color: #eab308; }

.mood-card { --accent: #f97316; }
.mood-card::before { background: linear-gradient(90deg, #f97316, #fb923c); }
.mood-card .tool-icon { background: #fff7ed; color: #f97316; }

.btn-tool {
    background: #1e293b;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-tool:hover {
    background: #334155;
}

.btn-tutorial {
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-tutorial:hover {
    background: #e2e8f0;
}

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

    .bento-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .intro {
        padding: 60px 0;
    }

    .intro-content h2 {
        font-size: 2rem;
    }

    .tools-section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-stat:nth-child(1) {
        grid-column: span 1;
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

    .tool-actions {
        flex-direction: column;
    }

    .tool-actions .btn {
        width: 100%;
        text-align: center;
    }
}
