/* DayBits Landing Page CSS */

:root {
    --bg-dark: #0f1013;
    --bg-card: rgba(255, 255, 255, 0.04);
    --primary: #f27059;
    --primary-glow: rgba(242, 112, 89, 0.15);
    --secondary: #ffac81;
    --accent: #fec5bb;
    --text-main: #f8f9fa;
    --text-muted: #a0a5b1;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-outfit: 'Outfit', 'Noto Sans KR', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-outfit);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Background Gradients Glows */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242, 112, 89, 0.12) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 172, 129, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Container */
.nav-container, .hero-container, .section-container, .download-container, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24.dp;
    width: 100%;
}

/* Navigation */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 16, 19, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.nav-logo {
    text-decoration: none;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.logo-text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.github-link {
    border: 1px solid var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.github-link:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 0 24px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 10px 20px rgba(242, 112, 89, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(242, 112, 89, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-graphic {
    display: flex;
    justify-content: center;
}

.phone-mockup-wrapper {
    position: relative;
    width: 320px;
    border-radius: 40px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.phone-img {
    width: 100%;
    border-radius: 32px;
    display: block;
}

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

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

.section-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 0 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(242, 112, 89, 0.3);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

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

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

/* Download Section */
.download-section {
    padding: 100px 0 140px;
}

.download-container {
    padding: 0 24px;
}

.download-content {
    background: linear-gradient(135deg, rgba(242, 112, 89, 0.08) 0%, rgba(255, 172, 129, 0.03) 100%);
    border: 1px solid rgba(242, 112, 89, 0.15);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.download-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.download-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    justify-content: center;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--text-main);
    color: var(--bg-dark);
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    background-color: #ffffff;
}

.btn-icon {
    font-size: 20px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background-color: #0b0c0e;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Responsive Grid & Layout */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 46px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* simple hidden layout for mobile */
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
