/* ============================================
   dresr Landing Page
   Minimal & clean, Apple-esque
   ============================================ */

:root {
    --color-bg: #FFFFFF;
    --color-bg-alt: #F8F8FA;
    --color-text: #1A1A1A;
    --color-text-secondary: #6B6B6B;
    --color-accent: #1A1A1A;
    --color-border: #E5E5E5;
    --font-stack: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1080px;
    --section-padding: 120px 24px;
    --section-padding-mobile: 80px 20px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-stack);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
}

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

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

/* ---- Layout ---- */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 100px;
    transition: opacity 0.2s;
}

.nav-cta:hover {
    opacity: 0.8;
}

/* ---- Hero ---- */
.hero {
    padding: 160px 24px 80px;
    text-align: center;
}

.hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(17px, 2.2vw, 21px);
    color: var(--color-text-secondary);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.app-store-badge {
    display: inline-block;
    transition: opacity 0.2s;
}

.app-store-badge:hover {
    opacity: 0.8;
}

.hero-image {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* ---- Phone Mockup ---- */
.phone-mockup {
    width: 280px;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    background: #000;
    padding: 12px;
}

.phone-screen {
    border-radius: 26px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
}

.placeholder-screen {
    background: linear-gradient(135deg, #F0F0F2, #E0E0E5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

/* ---- Problem Section ---- */
.problem {
    padding: var(--section-padding);
    text-align: center;
    background: var(--color-bg-alt);
}

.section-heading {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-body {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--color-text-secondary);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Feature Sections ---- */
.feature {
    padding: var(--section-padding);
}

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

.feature-reverse .feature-grid {
    direction: rtl;
}

.feature-reverse .feature-grid > * {
    direction: ltr;
}

.feature-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.feature-title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.feature-body {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

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

/* Alternate backgrounds */
.feature:nth-child(even) {
    background: var(--color-bg-alt);
}

/* ---- How It Works ---- */
.how-it-works {
    padding: var(--section-padding);
    text-align: center;
    background: var(--color-bg-alt);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-body {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* ---- Final CTA ---- */
.final-cta {
    padding: var(--section-padding);
    text-align: center;
}

.final-cta .section-body {
    margin-bottom: 36px;
}

/* ---- Footer ---- */
.footer {
    padding: 40px 24px;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 20px;
    }

    .hero {
        padding: 120px 20px 60px;
    }

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

    .feature-reverse .feature-grid {
        direction: ltr;
    }

    .feature-image {
        order: -1;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .phone-mockup {
        width: 240px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
