/* 
==============================================
🎨 PREMIUM 3D DESIGN SYSTEM 2024
==============================================
첨부된 APP Download Review 템플릿 기반 3D 디자인
- 강한 입체감 있는 그림자 효과
- 글래스모피즘 (Glassmorphism)
- 3D 드롭 섀도우
- 현대적 카드 디자인
==============================================
*/

/* 폰트 시스템 */
@import url('fonts.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* 디자인 토큰 - 새로운 3D 이미지 기반 */
:root {
    /* === 메인 색상 팔레트 (새 이미지 기반) === */
    --primary-gradient: linear-gradient(135deg, #E8E4F3 0%, #F0ECFF 50%, #F8F6FF 100%);
    --card-background: rgba(255, 255, 255, 0.9);
    --card-background-hover: rgba(255, 255, 255, 0.95);
    
    /* 텍스트 색상 */
    --text-primary: #6B46C1;
    --text-secondary: #7C3AED;
    --text-muted: #9CA3AF;
    --text-dark: #374151;
    --text-light: #6B7280;
    
    /* 아이콘 색상 */
    --icon-primary: #4F46E5;
    --icon-secondary: #6366F1;
    --icon-background: rgba(79, 70, 229, 1);
    
    /* 통신사별 브랜드 색상 */
    --kt-primary: #EA002C;
    --kt-secondary: #FF4757;
    --kt-gradient: linear-gradient(135deg, #EA002C 0%, #FF4757 100%);
    --kt-light: rgba(234, 0, 44, 0.1);
    
    --lgu-primary: #C41E3A;
    --lgu-secondary: #E91E63;
    --lgu-gradient: linear-gradient(135deg, #C41E3A 0%, #E91E63 100%);
    --lgu-light: rgba(196, 30, 58, 0.1);
    
    --sk-primary: #FF6B00;
    --sk-secondary: #FF8F00;
    --sk-gradient: linear-gradient(135deg, #FF6B00 0%, #FF8F00 100%);
    --sk-light: rgba(255, 107, 0, 0.1);
    
    /* 3D 그림자 시스템 - 강한 입체감 */
    --shadow-3d-light: 0 8px 32px rgba(139, 92, 246, 0.15);
    --shadow-3d-medium: 0 12px 40px rgba(139, 92, 246, 0.2);
    --shadow-3d-strong: 0 20px 60px rgba(139, 92, 246, 0.25);
    --shadow-3d-card: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-3d-hover: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    
    /* 블러 효과 */
    --blur-light: blur(12px);
    --blur-medium: blur(20px);
    --blur-strong: blur(30px);
    
    /* 간격 시스템 */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* 보더 반지름 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 28px;
    --radius-full: 9999px;
    
    /* 트랜지션 */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 폰트 시스템 */
    --font-primary: 'GmarketSans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
}

/* === 글로벌 리셋 === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--primary-gradient);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 배경 장식 요소 - 더 강한 3D 효과 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 58, 237, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: -1;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, -40px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

/* === 컨테이너 시스템 === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

/* === 타이포그래피 === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

h1 {
    font-size: var(--font-size-4xl);
    text-align: center;
    margin-bottom: var(--space-2xl);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(107, 70, 193, 0.3);
}

h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    line-height: 1.7;
}

.intro-text {
    font-size: var(--font-size-lg);
    text-align: center;
    color: var(--text-light);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === 3D 카드 시스템 === */
.card {
    background: var(--card-background);
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-3d-card);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.card:hover {
    background: var(--card-background-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-3d-hover);
}

.card:hover::after {
    opacity: 1;
}

/* === 아이콘 컨테이너 === */
.icon-container {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.provider-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
    background: var(--icon-background);
    padding: var(--space-md);
    box-shadow: var(--shadow-3d-medium);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: var(--icon-background);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--font-size-xl);
    box-shadow: var(--shadow-3d-medium);
    margin: 0 auto var(--space-md);
    transition: all var(--transition-normal);
}

.icon-circle:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d-strong);
}

/* === 버튼 시스템 === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-3d-medium);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d-strong);
}

.btn-primary {
    background: var(--kt-gradient);
    color: white;
}

.btn-secondary {
    background: var(--card-background);
    color: var(--text-primary);
    border: 2px solid var(--icon-primary);
    backdrop-filter: var(--blur-light);
}

.btn-secondary:hover {
    background: var(--icon-primary);
    color: white;
}

/* === 그리드 시스템 === */
.grid {
    display: grid;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* === 특수 컴포넌트 === */
.feature-card {
    background: var(--card-background);
    backdrop-filter: var(--blur-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-3d-card);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-3d-hover);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--icon-background);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: white;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-3d-medium);
    transition: all var(--transition-normal);
}

.feature-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3d-strong);
}

.feature-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* === 리스트 스타일 === */
.styled-list {
    list-style: none;
    padding: 0;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    backdrop-filter: var(--blur-light);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-3d-light);
}

.styled-list li:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateX(8px) translateY(-2px);
    box-shadow: var(--shadow-3d-medium);
}

.styled-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--icon-background);
    color: white;
    font-weight: bold;
    font-size: var(--font-size-sm);
    flex-shrink: 0;
    box-shadow: var(--shadow-3d-light);
}

/* === 인용구 스타일 === */
.quote {
    background: var(--card-background);
    backdrop-filter: var(--blur-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    position: relative;
    border-left: 4px solid var(--icon-primary);
    box-shadow: var(--shadow-3d-card);
    transition: all var(--transition-normal);
}

.quote:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d-hover);
}

.quote::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: var(--space-lg);
    font-size: 5rem;
    color: var(--icon-primary);
    opacity: 0.2;
    font-family: serif;
}

.quote-text {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.quote-author {
    text-align: right;
    color: var(--text-light);
    font-weight: 600;
}

/* === 상태 표시기 === */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    box-shadow: var(--shadow-3d-light);
    transition: all var(--transition-normal);
}

.status-indicator:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3d-medium);
}

.status-success {
    background: rgba(34, 197, 94, 0.15);
    color: #059669;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-warning {
    background: rgba(245, 158, 11, 0.15);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-error {
    background: rgba(239, 68, 68, 0.15);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-info {
    background: rgba(59, 130, 246, 0.15);
    color: #2563EB;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* === 액션 바 === */
.sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-background);
    backdrop-filter: var(--blur-medium);
    -webkit-backdrop-filter: var(--blur-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-md);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
}

.action-button {
    flex: 1;
    max-width: 200px;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-3d-medium);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d-strong);
}

/* === FAQ 섹션 === */
.faq-section {
    margin-top: var(--space-2xl);
}

.faq-item {
    background: var(--card-background);
    backdrop-filter: var(--blur-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-3d-card);
    transition: all var(--transition-normal);
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3d-hover);
}

.faq-question {
    padding: var(--space-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.6);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-light);
    line-height: 1.7;
    display: none;
    animation: fadeIn var(--transition-normal);
}

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

/* === 반응형 디자인 === */
@media (max-width: 768px) {
    .container {
        padding: var(--space-md);
    }
    
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-xl);
    }
    
    .card {
        padding: var(--space-lg);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .sticky-action-bar {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .action-button {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--space-sm);
    }
    
    h1 {
        font-size: var(--font-size-2xl);
    }
    
    .card {
        padding: var(--space-md);
    }
    
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--font-size-sm);
    }
}

/* === 애니메이션 === */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-left {
    animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-slide-right {
    animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 스크롤바 스타일링 === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
    background: var(--icon-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-3d-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
    box-shadow: var(--shadow-3d-medium);
}

/* === 접근성 === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === 다크모드 지원 === */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-gradient: linear-gradient(135deg, #1a1625 0%, #2d1b3d 50%, #3d2352 100%);
        --card-background: rgba(255, 255, 255, 0.08);
        --card-background-hover: rgba(255, 255, 255, 0.12);
        --text-dark: #f8fafc;
        --text-light: #cbd5e1;
    }
}

/* === 프린트 스타일 === */
@media print {
    body {
        background: white;
    }
    
    .sticky-action-bar,
    .btn,
    .action-button {
        display: none;
    }
    
    .card {
        background: white;
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
}




