/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #0f172a;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-gray: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 0 60px rgba(37, 99, 235, 0.5); }
}

.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-150 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.2s; }
.delay-250 { transition-delay: 0.25s; }
.delay-300 { transition-delay: 0.3s; }
.delay-350 { transition-delay: 0.35s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-kakao {
    background: #fee500;
    color: #000;
    font-weight: 600;
}

.btn-kakao:hover {
    background: #e6cf00;
    transform: translateY(-1px);
}

.btn-youtube {
    background: #ff0000;
    color: #fff;
    gap: 10px;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 66px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 8px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 500;
}

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

.phone svg {
    opacity: 0.7;
}

/* Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
    color: #fff;
    padding: 160px 0 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(96, 165, 250, 0.2) 0%, transparent 40%);
    animation: pulse 8s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.hero-features li svg {
    color: #4ade80;
}

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

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    position: relative;
}

.hero-mockup img {
    max-width: 380px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

.mockup-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.4) 0%, transparent 70%);
    animation: glow 4s ease-in-out infinite;
    z-index: -1;
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    animation: float 5s ease-in-out infinite;
}

.card-icon {
    font-size: 1.2rem;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: -1s;
}

.card-2 {
    bottom: 30%;
    left: -5%;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    right: 0;
    animation-delay: -3s;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* About Section with Video Background */
.about-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.video-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
    overflow: hidden;
}

.video-background #youtube-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .video-background #youtube-bg {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background #youtube-bg {
        width: 177.78vh;
    }
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.8) 100%);
}

.about-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.about-content h2 .highlight {
    color: var(--primary-light);
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: 50px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 24px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(8px);
}

.about-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon svg {
    stroke: #fff;
}

.about-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.about-text p {
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(96, 165, 250, 0.1) 100%);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header.light h2,
.section-header.light p {
    color: #fff;
}

.section-header.light .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Download */
.download {
    padding: 100px 0;
    background: var(--bg-gray);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-block;
    transition: var(--transition);
    border-radius: 12px;
    overflow: hidden;
}

.store-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.store-btn img {
    height: 56px;
}


/* App Features */
.app-features {
    padding: 100px 0;
    background: #fff;
}

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

.feature-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 58, 138, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-overlay {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    filter: grayscale(1) brightness(100);
}

.feature-content {
    padding: 28px;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Admin Features */
.admin-features {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.admin-features::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(96, 165, 250, 0.1) 0%, transparent 40%);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
}

.admin-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.admin-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admin-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.admin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.admin-card:hover .admin-image img {
    transform: scale(1.08);
}

.admin-info {
    padding: 24px;
}

.admin-num {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.admin-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.admin-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-muted);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 66px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 8px 0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info p {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer-info p strong {
    color: #fff;
}

.footer-info p span {
    margin-right: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    fill: #fff;
}

.footer-copy {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .about-content h2 {
        font-size: 2.2rem;
    }

    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .nav {
        display: none;
    }

    .header-right {
        gap: 12px;
    }

    .phone {
        display: none;
    }

    .hero {
        padding: 130px 0 100px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-features {
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-mockup img {
        max-width: 280px;
    }

    .floating-card {
        display: none;
    }

    .about-section {
        padding: 80px 0;
        min-height: auto;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-feature {
        padding: 18px 20px;
    }

    .about-icon {
        width: 48px;
        height: 48px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .feature-grid,
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-main .footer-brand {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-info p span {
        display: block;
        margin-right: 0;
        margin-bottom: 4px;
    }
}

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

    .hero {
        padding: 110px 0 80px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .about-content h2 {
        font-size: 1.5rem;
    }

    .about-lead {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .admin-image {
        height: 150px;
    }
}
