:root {
    --coral: #EF767A;
    --coral-light: #F49296;
    --coral-dark: #E05A5E;
    --blue: #456990;
    --blue-light: #5A7FA6;
    --yellow: #F6F5AE;
    --cream: #FDFCF8;
    --green: #7BC47F;
    --gray-light: #E5E5E5;
    --gray-medium: #999999;
    --gray-dark: #666666;
    --black: #1A1A1A;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, var(--cream), transparent);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    font-style: italic;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--coral);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero h1 span {
    color: var(--coral);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: var(--coral);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(239, 118, 122, 0.3);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: var(--black);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--black);
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--cream);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-preview {
    text-align: center;
    padding: 2rem;
}

.dose-logo-animated {
    font-size: 2.5rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    color: var(--black);
}

.letter {
    color: var(--black);
}

.o-letter {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.o-outer {
    position: absolute;
    width: 28px;
    height: 28px;
    border: 3px solid var(--black);
    border-radius: 50%;
}

.o-inner {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--coral);
    border-radius: 50%;
    animation: pulse-coral 2s ease-in-out infinite;
}

@keyframes pulse-coral {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.preview-text {
    color: var(--gray-medium);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.progress-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.progress-ring svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ring-bg {
    fill: none;
    stroke: var(--gray-light);
    stroke-width: 8;
}

.ring-progress {
    fill: none;
    stroke: var(--coral);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 85;
    animation: progress-animation 4s ease-in-out infinite;
}

@keyframes progress-animation {
    0% { stroke-dashoffset: 283; }
    50% { stroke-dashoffset: 85; }
    100% { stroke-dashoffset: 283; }
}

.progress-time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--black);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-light);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--yellow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card:nth-child(2) .feature-icon {
    background: var(--coral);
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
}

.feature-card:nth-child(3) .feature-icon {
    background: var(--blue);
}

.feature-card:nth-child(4) .feature-icon {
    background: var(--green);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.feature-card p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--black);
}

.about p {
    color: var(--gray-dark);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.about p:last-child {
    color: var(--coral);
    font-weight: 600;
    font-size: 1.25rem;
}

/* Footer */
footer {
    padding: 4rem 2rem 2rem;
    background: var(--cream);
    border-top: 1px solid var(--gray-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--gray-dark);
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--gray-dark);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--coral);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 2rem;
    }

    .phone-mockup {
        width: 240px;
        height: 500px;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}
