:root {
    --bg-color: #050508;
    --text-primary: #ffffff;
    --text-secondary: #8e8e93;
    --accent-orange: #ff9500;
    --accent-green: #34c759;
    --accent-blue: #32ade6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,149,0,0.3) 0%, rgba(255,149,0,0) 70%);
}

.blob-2 {
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(52,199,89,0.2) 0%, rgba(52,199,89,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
    100% { transform: translate(-50px, 100px) scale(0.9); }
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

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

.nav-btn {
    background: var(--accent-orange);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 149, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 60px;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

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

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-orange), #ff5e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-group {
    margin-bottom: 60px;
}

.coming-soon-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
}

.coming-soon-tag .icon {
    font-size: 20px;
}

.stats-row {
    display: flex;
    gap: 16px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    flex: 1;
}

.stat-icon {
    font-size: 24px;
}

.stat-info h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Hero Visual (Mockup) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 50px;
    border: 8px solid #222;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 0 1px #333;
    position: relative;
    overflow: hidden;
    transform: rotate(-5deg) translateY(-20px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-mockup img {
    width: 106%;
    height: auto;
    margin-left: -3%;
    margin-top: -48px;
    display: block;
}

.phone-mockup:hover {
    transform: rotate(0deg) translateY(0);
}

/* Notch removed to prevent status bar clash */

.screen-placeholder {
    width: 100%;
    height: 100%;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(180deg, #111 0%, #050508 100%);
}

.mockup-header h2 {
    font-size: 24px;
    font-weight: 800;
}

.mockup-header .date {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.mockup-habit {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-habit.green { border-left: 4px solid var(--accent-green); }
.mockup-habit.orange { border-left: 4px solid var(--accent-orange); }
.mockup-habit.blue { border-left: 4px solid var(--accent-blue); }

.mh-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.mh-info span {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

.mh-check {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.mockup-habit.green .mh-check {
    background: var(--accent-green);
    color: #fff;
}

/* Features Section */
.features-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.fc-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

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

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

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 5% 30px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 14px;
    max-width: 300px;
}

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

.link-group h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .stats-row {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
