/* Tomu Landing Page Styles */

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

:root {
    --cream: #FAF9F7;
    --cream-dark: #F5F3F0;
    --terracotta: #C4826E;
    --terracotta-light: #D4A594;
    --terracotta-dark: #A66B58;
    --warm-gray: #9A9590;
    --charcoal: #3D3D3D;
    --text-light: #B5B0AA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Breathing Circle */
.breathing-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin-bottom: 3rem;
}

.breathing-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(196, 130, 110, 0.2);
}

.breathing-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, 
        var(--terracotta-light) 0%, 
        var(--terracotta) 60%, 
        var(--terracotta-dark) 100%);
    box-shadow: 
        0 0 60px rgba(196, 130, 110, 0.4),
        0 0 100px rgba(196, 130, 110, 0.2);
    animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% {
        width: 140px;
        height: 140px;
        box-shadow: 
            0 0 40px rgba(196, 130, 110, 0.3),
            0 0 80px rgba(196, 130, 110, 0.15);
    }
    50% {
        width: 200px;
        height: 200px;
        box-shadow: 
            0 0 80px rgba(196, 130, 110, 0.5),
            0 0 120px rgba(196, 130, 110, 0.25);
    }
}

.logo {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.logo-dot {
    color: var(--terracotta);
}

.tagline {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 400;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.origin {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    text-align: center;
}

.philosophy-line {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 3rem;
    text-align: center;
}

.app-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.5rem;
    background: var(--terracotta);
    color: var(--cream);
    text-decoration: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 130, 110, 0.3);
}

.app-store-btn:hover {
    background: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(196, 130, 110, 0.4);
}

.app-store-btn svg {
    width: 22px;
    height: 22px;
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    color: var(--text-light);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Philosophy Section */
.philosophy {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 3rem;
}

.principles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.principle {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
}

.principle h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.principle p {
    font-size: 1rem;
    color: var(--warm-gray);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: var(--cream-dark);
}

.features-inner {
    max-width: 900px;
    margin: 0 auto;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-visual {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
}

.feature-content {
    flex: 1;
    min-width: 280px;
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    line-height: 1.8;
}

/* Preset Pills */
.preset-demo,
.sound-demo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.preset-pill,
.sound-pill {
    padding: 0.75rem 1.5rem;
    background: var(--cream);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--charcoal);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.preset-pill.active {
    background: var(--charcoal);
    color: var(--cream);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.sound-pill.active {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Timer Demo */
.timer-demo {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: baseline;
}

.timer-option {
    font-size: 1.1rem;
    color: var(--warm-gray);
}

.timer-option.active {
    color: var(--charcoal);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Pricing Section */
.pricing {
    padding: 6rem 2rem;
    text-align: center;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 3rem;
}

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.pricing-card {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 2px solid var(--terracotta);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Best Value';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terracotta);
    color: var(--cream);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.pricing-card .price {
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--terracotta);
    margin-bottom: 0.25rem;
}

.pricing-card .period {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 1.25rem;
}

.pricing-card .trial {
    font-size: 0.85rem;
    color: var(--terracotta-dark);
    padding: 0.5rem 1rem;
    background: rgba(196, 130, 110, 0.1);
    border-radius: 20px;
    display: inline-block;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--cream-dark);
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.footer-meaning {
    font-size: 1rem;
    font-style: italic;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--warm-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Simple Pages */
.simple-page {
    min-height: 100vh;
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.simple-page h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--charcoal);
}

.simple-page h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.simple-page p {
    margin-bottom: 1rem;
    color: var(--warm-gray);
}

.simple-page a {
    color: var(--terracotta);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--warm-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--terracotta);
}

/* Responsive */
@media (max-width: 768px) {
    .feature-row,
    .feature-row:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 500px) {
    .principles {
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .timer-demo {
        gap: 1rem;
    }
}
