:root {
    --primary-color: #e10600; /* F1 Red */
    --bg-dark: #15151e;
    --bg-card: #1f1f27;
    --text-main: #ffffff;
    --text-muted: #949498;
    --accent: #ff1e1e;
}

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

body {
    font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(21, 21, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -1px;
    color: var(--primary-color);
}

.links {
    display: flex;
    align-items: center;
    gap: 30px;
    white-space: nowrap;
}

.links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700 !important;
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    background-color: #ff1a14;
    transform: translateY(-2px);
}

.hero {
    padding-top: 180px;
    padding-bottom: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

.hero-text p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.store-btn {
    background-color: white;
    color: black;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s;
}

.store-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.hero-image {
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    transform: rotateY(-15deg) rotateX(10deg);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px) rotateY(-15deg) rotateX(10deg); }
    50% { transform: translateY(-20px) rotateY(-15deg) rotateX(10deg); }
    100% { transform: translateY(0px) rotateY(-15deg) rotateX(10deg); }
}

.features {
    padding: 100px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.preview {
    padding: 100px 0;
    background: #0d0d12;
}

.screenshot-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

.screen-item img {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta {
    padding: 120px 0;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-section {
    padding: 0 0 120px;
    text-align: center;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-section p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.contact-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 1px rgba(225, 6, 0, 0.25), 0 10px 30px rgba(225, 6, 0, 0.2);
}

.contact-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 { font-size: 48px; }
    .hero-image img { margin: 0 auto; transform: none; }
    .hero-btns { justify-content: center; }
    .feature-grid { grid-template-columns: 1fr; }
    .screenshot-carousel { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .contact-section h2 { font-size: 30px; }
}

@media (max-width: 600px) {
    header { height: 70px; }
    .container { padding: 0 16px; }
    .logo { font-size: 20px; }
    .links { gap: 12px; }
    .links a { font-size: 13px; }
    .btn-primary { padding: 8px 16px; font-size: 13px; border-radius: 6px; }
    .hero { padding-top: 140px; }
    
    footer .container { flex-direction: column; text-align: center; gap: 12px; font-size: 13px; }
    .footer-links { justify-content: center; white-space: nowrap; }
}
