:root {
    --bg-color: #000000;
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --accent-glow: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    border-radius: 8px;
}

.nav-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 300;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Typography base */
h1, h2, h3 {
    letter-spacing: -0.03em;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero .highlight {
    color: var(--text-secondary);
}

.promo-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* App Screenshots Showcase */

.clock-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    opacity: 0.8;
}

.app-screenshots {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    height: 600px;
}

.screenshots-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.screenshot {
    position: absolute;
    height: 100%;
    max-height: 550px;
    object-fit: contain;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 0 1px #333;
    border: 8px solid #1a1a1a;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), z-index 0.5s, opacity 0.5s;
    background-color: #000;
}

.screenshot.s-left {
    transform: translateX(-40%) scale(0.85) rotate(-5deg);
    z-index: 1;
    opacity: 0.6;
}

.screenshot.s-right {
    transform: translateX(40%) scale(0.85) rotate(5deg);
    z-index: 1;
    opacity: 0.6;
}

.screenshot.s-center {
    transform: translateX(0) scale(1) translateY(-20px);
    z-index: 2;
}

.app-screenshots:hover .screenshot.s-left {
    transform: translateX(-50%) scale(0.9) rotate(-8deg);
    opacity: 0.9;
}

.app-screenshots:hover .screenshot.s-right {
    transform: translateX(50%) scale(0.9) rotate(8deg);
    opacity: 0.9;
}

.app-screenshots:hover .screenshot.s-center {
    transform: translateX(0) scale(1.05) translateY(-30px);
}

/* Description Section */
.description-section {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.large-text {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 200;
    line-height: 1.4;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.secondary-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.features-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.features-header h2 {
    font-size: clamp(3rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.1;
    font-weight: 200;
}

.feature-carousel {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 0 1px #333;
    border: 6px solid #1a1a1a;
    background-color: #000;
    overflow: hidden;
}

.feature-carousel img {
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.feature-carousel img:first-child {
    position: relative;
}

.feature-carousel img.active {
    opacity: 1;
}

.features-list {
    display: flex;
    flex-direction: column;
}

.feature-item {
    padding: 40px 0;
    border-bottom: 1px solid var(--card-border);
    text-align: center;
}

.feature-item:first-child {
    padding-top: 0;
}

.feature-item h3 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

@media (min-width: 800px) {
    .features-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 100px;
    }
    
    .features-header {
        position: sticky;
        top: 120px;
        flex: 1;
    }

    .features-header h2 {
        text-align: left;
    }

    .feature-carousel {
        margin: 0;
    }
    
    .features-list {
        flex: 1.5;
    }

    .feature-item {
        text-align: left;
    }
}

/* Footer CTA */
footer {
    padding: 100px 5% 40px;
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(20, 20, 20, 0.8));
    border-top: 1px solid var(--card-border);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto 80px;
}

.footer-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    font-weight: 200;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

@media (min-width: 600px) {
    .download-links {
        flex-direction: row;
    }
}

.store-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 300;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 100%;
    max-width: 250px;
}

.store-btn.apple {
    background-color: #ffffff;
    color: #000000;
}

.store-btn.image-btn {
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    width: auto;
    max-width: none;
}

.store-btn.image-btn img {
    height: 56px;
    display: block;
    object-fit: contain;
}

.store-btn.google {
    background-color: var(--card-bg);
    color: #ffffff;
    border: 1px solid var(--card-border);
}

.store-btn:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.footer-links {
    margin-top: 40px;
    margin-bottom: 20px;
}

.support-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.support-link:hover {
    color: var(--text-primary);
}

.copyright {
    color: #555555;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--text-primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
