/* Soft Landing - GitHub Pages Styles */
/* Design system colors from the app */

:root {
    --color-background: #0D0D0D;
    --color-surface: #1A1A1A;
    --color-surface-elevated: #242424;
    --color-accent: #5B8FA8;
    --color-accent-hover: #6BA0B9;
    --color-primary-text: #F0F0F0;
    --color-secondary-text: #A0A0A0;
    --color-muted-text: #666666;

    --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    --max-width: 1200px;
    --content-width: 800px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-primary-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: var(--spacing-sm) var(--spacing-md);
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary-text);
}

.lang-switcher {
    display: flex;
    gap: var(--spacing-xs);
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--color-muted-text);
    color: var(--color-secondary-text);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.lang-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-background);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-2xl) var(--spacing-md);
    padding-top: calc(var(--spacing-2xl) + 60px);
    text-align: center;
    gap: var(--spacing-xl);
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        gap: var(--spacing-2xl);
    }
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-secondary-text);
    margin-bottom: var(--spacing-lg);
}

.hero-cta {
    margin-bottom: var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-background);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.hero-trial {
    font-size: 0.875rem;
    color: var(--color-muted-text);
}

/* Phone Mockup */
.hero-visual {
    flex-shrink: 0;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--color-surface);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 0 0 2px var(--color-surface-elevated),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-background);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.app-preview {
    text-align: center;
}

.preview-question {
    font-size: 1.125rem;
    color: var(--color-primary-text);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.mood-emojis {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    font-size: 2rem;
}

.mood-emojis span {
    opacity: 0.6;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mood-emojis span:nth-child(4) {
    opacity: 1;
    transform: scale(1.2);
}

/* Sections */
section {
    padding: var(--spacing-2xl) var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Features */
.features {
    background: var(--color-surface);
}

.feature-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--color-surface-elevated);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--color-secondary-text);
    font-size: 0.9375rem;
}

/* How it works */
.how-it-works {
    max-width: var(--content-width);
    margin: 0 auto;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        gap: var(--spacing-xl);
    }
}

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

.step-number {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 auto var(--spacing-sm);
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.step p {
    color: var(--color-secondary-text);
    font-size: 0.9375rem;
}

/* Not Therapy Section */
.not-therapy {
    background: var(--color-surface);
}

.not-therapy-content {
    max-width: var(--content-width);
    margin: 0 auto;
    text-align: center;
}

.not-therapy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--spacing-md);
}

.not-therapy p {
    color: var(--color-secondary-text);
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Download Section */
.download {
    text-align: center;
    padding-bottom: var(--spacing-2xl);
}

.download-subtitle {
    color: var(--color-secondary-text);
    margin-bottom: var(--spacing-lg);
}

.app-store-badge {
    display: inline-block;
    margin-bottom: var(--spacing-sm);
    transition: transform 0.2s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-svg {
    height: 50px;
    width: auto;
}

.download-price {
    color: var(--color-muted-text);
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: var(--color-surface);
    padding: var(--spacing-lg) var(--spacing-md);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--color-secondary-text);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.footer-copy {
    color: var(--color-muted-text);
    font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .mood-emojis {
        font-size: 1.5rem;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual,
.feature-card,
.step {
    animation: fadeIn 0.6s ease forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }

.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.2s; }
