:root {
    --primary-color: #4facfe;
    --secondary-color: #00f2fe;
    --text-color: #333;
    --text-light: #fff;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --gradient-bg: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: "Poppins", "Noto Sans KR", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    padding: 15px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light); /* Assuming hero bg is dark/gradient */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; /* Header space */
    color: var(--text-light);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
}

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-placeholder {
    width: 300px;
    height: 600px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    border: 8px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mockup-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* or cover depending on the asset */
    /* border-radius: 20px; */
    transition: opacity 0.5s ease-in-out;
}

.mockup-placeholder.no-image::after {
    content: "Screen";
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

/* Buttons */
.app-buttons {
    display: flex;
    gap: 15px;
}

.store-btn {
    display: flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.store-btn.glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: #333;
}
.store-btn.glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

.store-btn i {
    font-size: 2rem;
    margin-right: 12px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-text span:first-child {
    font-size: 0.7rem;
    text-transform: uppercase;
}

.btn-text span:last-child {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Features */
.features {
    padding: 60px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: #fff;
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

/* CTA */
.cta {
    padding: 60px 0;
    text-align: center;
    background-image: var(--gradient-bg);
    color: white;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta .app-buttons {
    justify-content: center;
}

/* Footer */
footer {
    background: #f1f1f1;
    padding: 20px 0;
    text-align: center;
    color: #666;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 60px;
    }

    .app-buttons {
        justify-content: center;
    }

    .hero {
        padding-bottom: 100px;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .mockup-placeholder {
        width: 250px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .store-btn {
        padding: 8px 15px;
    }

    .btn-text span:last-child {
        font-size: 1rem;
    }
}
