/* ===================================
   ClasRing Landing Page Styles
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --color-primary: #764BA2;
    --color-primary-light: #9B6DC6;
    --color-primary-dark: #5A3A7E;
    --color-secondary: #D4AF37;
    --color-secondary-light: #E5C565;
    --color-accent: #2B1246;
    --color-background: #F8F9FA;
    --color-background-alt: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #E5E7EB;
    --color-white: #FFFFFF;
    --color-black: #000000;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764BA2 50%, #f093fb 100%);
    --gradient-hero: linear-gradient(135deg, #2B1246 0%, #764BA2 50%, #667eea 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #F5D77A 50%, #D4AF37 100%);

    /* Typography */
    --font-primary: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Montserrat', var(--font-primary);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(118, 75, 162, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-loader: 500;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
    overflow: hidden;
}

/* SVG 기본 크기 제한 - 캐시 문제 방지 */
svg {
    max-width: 100%;
    height: auto;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===================================
   Loader
   =================================== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-ring {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-text {
    margin-top: var(--space-lg);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    padding: var(--space-lg) 0;
    transition: all var(--transition-base);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.nav.scrolled .nav-logo-text {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition-fast);
}

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

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

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-dropdown-toggle::after {
    content: '';
    border: 4px solid transparent;
    border-top-color: currentColor;
    margin-top: 2px;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 200px !important;
    display: flex !important;
    flex-direction: column !important;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-dropdown);
    margin-top: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text);
    font-size: 0.9rem;
    transition: background var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--color-background);
    color: var(--color-primary);
}

.nav-dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--color-border);
    margin: var(--space-sm) 0;
}

.nav-dropdown-label {
    padding: var(--space-xs) var(--space-lg);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-base);
}

.nav.scrolled .nav-toggle span {
    background: var(--color-text);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active .nav-link {
        color: var(--color-text);
        padding: var(--space-md) 0;
    }

    /* Mobile Dropdown */
    .nav-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--color-background);
        border-radius: var(--radius-md);
        margin: var(--space-sm) 0;
        opacity: 1;
        visibility: visible;
        padding: var(--space-sm);
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-menu.active .nav-dropdown {
        width: 100%;
    }

    .nav-menu.active .nav-dropdown-toggle {
        color: var(--color-text);
        padding: var(--space-md) 0;
        font-size: 0.95rem;
        font-weight: 500;
    }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

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

.nav.scrolled .btn-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.nav.scrolled .btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-ghost {
    color: var(--color-white);
    border: 2px solid transparent;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 15s infinite ease-in-out;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-text {
    color: var(--color-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
}

.hero-stat-unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.hero-stat-label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: var(--space-xs);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-phone {
    position: relative;
    z-index: 1;
}

.hero-phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.hero-phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    background: var(--color-background);
}

.hero-phone-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.4) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

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

/* Floating Cards */
.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--color-white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
    z-index: 10;
}

.hero-float-card-1 {
    top: 10%;
    right: -20px;
    animation-delay: 0s;
}

.hero-float-card-2 {
    bottom: 20%;
    left: -40px;
    animation-delay: 2s;
}

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

.float-card-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
    border-radius: var(--radius-md);
}

.float-card-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text);
}

.float-card-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.hero-scroll-icon {
    width: 24px;
    height: 24px;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-icon svg {
    width: 100%;
    height: 100%;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ===================================
   Sections (Placeholder)
   =================================== */
.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background: var(--color-white);
}

.section-placeholder {
    text-align: center;
    padding: var(--space-4xl) 0;
    color: var(--color-text-muted);
    font-size: 1.25rem;
}

/* ===================================
   Section Header (공통)
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===================================
   Problem & Solution Section
   =================================== */
.section-problem {
    background: linear-gradient(180deg, var(--color-background) 0%, var(--color-white) 100%);
    overflow: hidden;
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-xl);
    align-items: start;
}

/* Column Labels */
.column-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    width: fit-content;
}

.column-label-before {
    background: linear-gradient(135deg, #ff6b6b20, #ee5a5a10);
    color: #d63031;
}

.column-label-after {
    background: linear-gradient(135deg, #00b89420, #00966810);
    color: #00b894;
}

.label-icon {
    font-size: 1.3rem;
}

/* Problem Cards */
.problem-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    border-left: 4px solid #ff6b6b;
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.problem-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.problem-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.problem-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.problem-time {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: #ff6b6b15;
    color: #d63031;
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

/* Arrow */
.problem-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.arrow-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    animation: pulse-arrow 2s ease-in-out infinite;
}

.arrow-circle svg {
    width: 28px;
    height: 28px;
    color: var(--color-white);
}

@keyframes pulse-arrow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.arrow-text {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
}

/* Solution Cards */
.solution-card {
    background: linear-gradient(135deg, var(--color-white) 0%, #f8f5ff 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-primary);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.solution-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.solution-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.solution-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.solution-benefit {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

/* Scale Banner */
.scale-banner {
    margin-top: var(--space-4xl);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.scale-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.scale-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: var(--space-xl);
}

/* Orbital Animation */
.scale-orbit {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.scale-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    z-index: 10;
}

.scale-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
}

.scale-ring {
    position: absolute;
    inset: 0;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: orbit-counter-rotate 20s linear infinite;
}

@keyframes orbit-counter-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.orbit-item-1 {
    top: 0;
    left: 50%;
}

.orbit-item-2 {
    top: 50%;
    left: 100%;
}

.orbit-item-3 {
    top: 100%;
    left: 50%;
}

.orbit-item-4 {
    top: 50%;
    left: 0;
}

.orbit-icon {
    font-size: 2rem;
    background: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.orbit-label {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ===================================
   Features Section
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    perspective: 1000px;
}

.feature-card-inner {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    height: 100%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-xl), 0 20px 40px rgba(118, 75, 162, 0.15);
}

.feature-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
}

.feature-icon {
    font-size: 2rem;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* ===================================
   User Journey (Tabs) Section
   =================================== */
.user-tabs {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-dark) 100%);
    padding: var(--space-sm);
    gap: var(--space-sm);
}

.tab-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all var(--transition-base);
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.tab-btn.active {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.tab-icon {
    font-size: 1.8rem;
}

.tab-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.tabs-content {
    padding: var(--space-2xl);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.tab-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.tab-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.tab-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-features li {
    display: flex;
    flex-direction: column;
    padding: var(--space-md);
    background: var(--color-background);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border-left: 3px solid var(--color-primary);
}

.tab-features li strong {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.tab-features li span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.tab-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 30px 60px rgba(0, 0, 0, 0.3);
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

/* Phone Stack (여러 폰 스택 효과) */
.phone-stack {
    position: relative;
    width: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-stack .stack-item {
    position: absolute;
    width: 200px;
    height: 400px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.85;
    filter: brightness(0.9);
}

/* 3개일 때 - 기울기 증가, 간격 확대 */
.phone-stack .stack-item:nth-child(1) {
    transform: translateX(-130px) rotate(-22deg);
    z-index: 1;
}

.phone-stack .stack-item:nth-child(2) {
    transform: translateX(0) rotate(0deg);
    z-index: 3;
}

.phone-stack .stack-item:nth-child(3) {
    transform: translateX(130px) rotate(22deg);
    z-index: 1;
}

/* 2개일 때 - last-child 사용 */
.phone-stack .stack-item:first-child:nth-last-child(2) {
    transform: translateX(-80px) rotate(-15deg);
    z-index: 1;
}

.phone-stack .stack-item:first-child:nth-last-child(2) + .stack-item {
    transform: translateX(80px) rotate(15deg);
    z-index: 1;
}

/* Active state - 클릭한 이미지 강조 (위치 유지) */
.phone-stack .stack-item.active {
    opacity: 1 !important;
    filter: brightness(1) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* 3개일 때 각 위치별 active 상태 */
.phone-stack .stack-item:nth-child(1).active {
    transform: translateX(-130px) rotate(-22deg) scale(1.05);
    z-index: 10 !important;
}

.phone-stack .stack-item:nth-child(2).active {
    transform: translateX(0) rotate(0deg) scale(1.05);
    z-index: 10 !important;
}

.phone-stack .stack-item:nth-child(3).active {
    transform: translateX(130px) rotate(22deg) scale(1.05);
    z-index: 10 !important;
}

/* 2개일 때 active 상태 */
.phone-stack .stack-item:first-child:nth-last-child(2).active {
    transform: translateX(-80px) rotate(-15deg) scale(1.05);
    z-index: 10 !important;
}

.phone-stack .stack-item:first-child:nth-last-child(2) + .stack-item.active {
    transform: translateX(80px) rotate(15deg) scale(1.05);
    z-index: 10 !important;
}

.phone-stack .stack-item:hover:not(.active) {
    opacity: 0.95;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Dashboard Scatter (탁자 위 산만한 배치)
   =================================== */
.dashboard-scatter {
    margin-top: var(--space-2xl);
}

.scatter-container {
    position: relative;
    width: 100%;
    height: 700px;
    margin: 0 auto;
    perspective: 1000px;
}

.scatter-item {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 220px;
    cursor: pointer;
    transform: rotate(var(--rotate));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.scatter-item img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.scatter-item:hover {
    z-index: 50;
    transform: rotate(0deg) scale(1.15) translateY(-10px);
}

.scatter-item:hover img {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 15px 30px rgba(118, 75, 162, 0.2);
    border-color: var(--color-primary);
}

.scatter-label {
    display: block;
    text-align: center;
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.scatter-item:hover .scatter-label {
    opacity: 1;
    transform: translateY(0);
}

.scatter-hint {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

/* Scatter Overlay (확대 보기) */
.scatter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.scatter-overlay.active {
    opacity: 1;
    visibility: visible;
}

.scatter-expanded {
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scatter-overlay.active .scatter-expanded {
    transform: scale(1);
}

.scatter-expanded img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.expanded-label {
    text-align: center;
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: var(--space-lg);
}

.scatter-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scatter-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* 반응형 - 태블릿 */
@media (max-width: 1024px) {
    .scatter-container {
        height: 600px;
    }

    .scatter-item {
        width: 180px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .scatter-container {
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .scatter-item {
        position: relative;
        left: auto !important;
        top: auto !important;
        width: 100%;
        transform: rotate(0deg) !important;
    }

    .scatter-item:hover {
        transform: scale(1.02) !important;
    }

    .scatter-label {
        opacity: 1;
        transform: translateY(0);
    }

    .scatter-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ===================================
   Download CTA Section
   =================================== */
.download-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
}

.download-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
}

.download-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.download-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.store-badge {
    display: inline-block;
    transition: all 0.3s ease;
}

.store-badge svg {
    height: 50px;
    width: auto;
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* 펄스 애니메이션 */
.store-badge {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(212, 175, 55, 0.2);
    }
}

.download-features {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.95rem;
}

.download-feature .feature-icon {
    width: 24px;
    height: 24px;
    background: var(--color-gold);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

/* 플로팅 폰 비주얼 */
.download-visual {
    position: relative;
    height: 500px;
}

.phone-float {
    position: absolute;
    transition: transform 0.3s ease;
}

.phone-float-1 {
    top: 0;
    left: 10%;
    z-index: 2;
    animation: float-phone-1 4s ease-in-out infinite;
}

.phone-float-2 {
    top: 80px;
    right: 5%;
    z-index: 1;
    animation: float-phone-2 4s ease-in-out infinite;
    animation-delay: -2s;
}

.phone-float .phone-mockup {
    width: 200px;
    height: 400px;
}

@keyframes float-phone-1 {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

@keyframes float-phone-2 {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) rotate(7deg);
    }
}

/* 배경 장식 */
.download-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* 반응형 */
@media (max-width: 968px) {
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .download-features {
        justify-content: center;
    }

    .download-visual {
        height: 350px;
        margin-top: var(--space-xl);
    }

    .phone-float-1 {
        left: 15%;
    }

    .phone-float-2 {
        right: 15%;
    }

    .phone-float .phone-mockup {
        width: 160px;
        height: 320px;
    }
}

@media (max-width: 576px) {
    .download-visual {
        height: 280px;
    }

    .phone-float .phone-mockup {
        width: 130px;
        height: 260px;
    }

    .phone-float-1 {
        left: 5%;
    }

    .phone-float-2 {
        right: 5%;
    }

    .store-badge svg {
        height: 45px;
    }
}

/* ===================================
   FAQ Section
   =================================== */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
}

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

.faq-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-xl) var(--space-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* 반응형 */
@media (max-width: 768px) {
    .faq-question {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.95rem;
    }

    .faq-answer p {
        padding: 0 var(--space-lg) var(--space-md);
        font-size: 0.9rem;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

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

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.footer-slogan {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--color-secondary);
}

.footer-column a {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: var(--space-sm);
    transition: opacity var(--transition-fast);
}

.footer-column a:hover {
    opacity: 1;
}

.footer-legal {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-legal-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal-links a {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-legal-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-visual {
        margin-top: var(--space-2xl);
    }

    .hero-float-card-1 {
        right: 5%;
    }

    .hero-float-card-2 {
        left: 5%;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .problem-arrow {
        padding-top: 0;
        flex-direction: row;
        gap: var(--space-md);
    }

    .arrow-circle {
        transform: rotate(90deg);
    }

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1 1 45%;
    }

    .tab-panel-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tab-visual {
        order: -1;
        margin-bottom: var(--space-xl);
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }

    .tab-features li {
        text-align: left;
    }

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

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

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .hero-stat-divider {
        width: 50px;
        height: 1px;
    }

    .hero-phone-frame {
        width: 240px;
        height: 500px;
    }

    .hero-float-card {
        display: none;
    }

    .problem-card,
    .solution-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-lg) var(--space-md);
    }

    .problem-time,
    .solution-benefit {
        position: static;
        margin-top: var(--space-md);
        display: inline-block;
    }

    .column-label {
        margin: 0 auto var(--space-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }
}
