@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&display=swap');

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

:root {
    --bg: #1A1A1A;
    --card: #2A2A2A;
    --accent: #D5FF5F;
    --text: #FFFFFF;
    --text-secondary: #8A8A8E;
    --text-tertiary: #636366;
    --destructive: #FF453A;
    --blue: #4AB8F0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 24px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(213, 255, 95, 0.1);
}

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

.header-logo {
    height: 30px;
}

.header-cta {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.header-cta:hover {
    opacity: 0.85;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero {
    background-image: url('/assets/hero-bg.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero::before {
    display: none;
}

.hero-split {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
}

.hero-text {
    flex: 1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-phone {
    flex: 0 0 auto;
}

.hero-phone-img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
}

.hero-icon {
    width: 120px;
    height: 120px;
    border-radius: 0;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

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

.hero .subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: white;
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: inline-block;
    padding: 14px 36px;
    background: var(--accent);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(213, 255, 95, 0.25);
}

.hero-badge {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* iPhone Frame */
.iphone-frame {
    width: 280px;
    height: 580px;
    background: #000;
    border-radius: 40px;
    border: 4px solid #333;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.iphone-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #000;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.iphone-small {
    width: 240px;
    height: 500px;
    border-radius: 36px;
}

/* Phone Showcase */
.phone-showcase {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

.phone-item {
    text-align: center;
}

.phone-label {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section .lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
}

.section-tight {
    padding-top: 0;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s;
}

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

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Routines showcase */
.routines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 20px 0;
}

.routine-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2/1;
}

.routine-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.routine-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

.routine-card .overlay span {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin: 20px 0 60px;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat .label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 120px 24px;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(213, 255, 95, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

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

    .hero-phone-img {
        width: 300px;
    }

    .iphone-frame {
        width: 240px;
        height: 500px;
        border-radius: 36px;
    }
}

@media (max-width: 640px) {
    .header-logo {
        height: 18px;
    }


    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-icon {
        width: 88px;
        height: 88px;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .phone-showcase {
        gap: 20px;
    }

    .iphone-small {
        width: 160px;
        height: 340px;
        border-radius: 24px;
    }

    .iphone-small .iphone-notch {
        width: 80px;
        height: 18px;
        border-radius: 0 0 12px 12px;
    }
}
