:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --secondary: #10B981;
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Background Blobs for vibrant feel */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 2.7rem;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-muted);
}

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

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Stats */
.stats-container {
    display: flex;
    gap: 1.5rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 16px;
    flex: 1;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Mockup Panel */
.glass-panel {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-panel:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #eab308;
}

.green {
    background: #22c55e;
}

.mockup-body {
    padding: 2rem;
}

.mockup-body h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #e2e8f0;
}

.skeleton {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.skeleton-title {
    width: 40%;
    height: 20px;
    margin-bottom: 1.5rem;
}

.skeleton-text {
    width: 100%;
}

.skeleton-text.short {
    width: 70%;
    margin-bottom: 2rem;
}

.chart-mockup {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
    margin-top: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), #a855f7);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
}

.bar-1 {
    height: 40%;
}

.bar-2 {
    height: 60%;
}

.bar-3 {
    height: 30%;
}

.bar-4 {
    height: 80%;
}

.bar-5 {
    height: 50%;
}

/* Responsive & Mobile Optimizations */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 10rem 2rem 4rem;
        text-align: center;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
        max-width: 100%;
    }

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

    .glass-panel {
        transform: none;
        max-width: 550px;
        margin: 0 auto;
    }

    .glass-panel:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {

    /* 내비게이션 모바일 슬림화 및 로고 크기 축소 */
    .nav-container {
        padding: 1rem 1.25rem;
    }

    .logo {
        font-size: 1.65rem !important;
        /* 모바일 최적 텍스트 */
        gap: 0.4rem;
    }

    .logo-icon {
        font-size: 1.9rem !important;
        /* 모바일 최적 아이콘 */
    }

    .nav-actions {
        gap: 0.6rem;
    }

    .nav-actions .btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.85rem;
    }

    /* 히어로 영역 모바일 최적화 */
    .hero {
        padding: 7rem 1.25rem 3rem;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    /* 히어로 버튼 세로 적층 (터치 면적 극대화) */
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 0.85rem;
    }

    /* 하단 스탯 그리드 세로 정렬 */
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }

    .glass-card {
        text-align: center;
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* 이용자 현황 쇼케이스 모바일 튜닝 */
    .showcase-section {
        padding: 0 1.25rem;
        margin-bottom: 5rem;
    }

    .showcase-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .company-card {
        padding: 1.5rem !important;
        min-height: 180px !important;
    }

    /* 중요 안전 공지사항 모바일 튜닝 */
    .notice-section {
        margin-top: 3rem;
        padding: 0 1.25rem;
    }

    .notice-container {
        padding: 1.5rem 1.25rem !important;
    }

    .notice-title {
        font-size: 1.15rem !important;
        flex-direction: column;
        gap: 4px;
    }

    .notice-subtitle {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {

    /* 아주 좁은 화면에서의 텍스트 깨짐 추가 방지 */
    .logo span:last-child {
        font-size: 1.4rem !important;
        /* 회사 영문 텍스트 극초소형 */
    }

    .nav-actions .btn-outline {
        display: none;
        /* 로그인 버튼 숨겨서 주행동 버튼 공간 확보 */
    }

    .hero-title {
        font-size: 1.9rem;
    }
}