/* ═══════════════════════════════════════════════════════════════════════════
   따종디엔핑 코리아 컴퍼니 - 디자인 시스템
   중국 레드 + 골드 + 모던 다크 테마
   ═══════════════════════════════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────────────────────────────────
   CSS Variables
   ─────────────────────────────────────────────────────────────────────────── */
:root {
    /* Primary Colors */
    --china-red: #E41E20;
    --china-red-dark: #B31618;
    --china-red-light: #FF4244;
    --gold: #FFD700;
    --gold-dark: #DAA520;
    --gold-light: #FFE55C;

    /* Dark Theme */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* Spacing */
    --space-xs: 0.35rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;

    /* Typography */
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Noto Sans KR', sans-serif;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ───────────────────────────────────────────────────────────────────────────
   Reset & Base
   ─────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* ───────────────────────────────────────────────────────────────────────────
   Typography
   ─────────────────────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
}

h4 {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--china-red) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--gold);
}

.text-red {
    color: var(--china-red);
}

/* ───────────────────────────────────────────────────────────────────────────
   Layout
   ─────────────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.flex-between {
    justify-content: space-between;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-col {
    flex-direction: column;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

/* ───────────────────────────────────────────────────────────────────────────
   Navigation
   ─────────────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: var(--space-xs) 0;
    background: rgba(10, 10, 15, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--china-red), var(--gold));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
}

.nav-link {
    position: relative;
    padding: var(--space-xs) 0;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--china-red);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: var(--space-xs) var(--space-sm);
    background: var(--china-red);
    border-radius: var(--radius-sm);
    color: white !important;
}

.nav-cta:hover {
    background: var(--china-red-light);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ───────────────────────────────────────────────────────────────────────────
   Hero Section
   ─────────────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-gradient);
}

/* Compact Page Header for sub-pages */
.page-header {
    padding: 80px 0 20px;
    background: linear-gradient(135deg, rgba(228, 30, 32, 0.1), rgba(255, 215, 0, 0.05));
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    margin: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(228, 30, 32, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease;
}

.hero-badge .emoji {
    font-size: 1.2rem;
}

.hero h1 {
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    animation: fadeInUp 0.8s ease 0.8s both;
}

/* ───────────────────────────────────────────────────────────────────────────
   Buttons
   ─────────────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--china-red), var(--china-red-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(228, 30, 32, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(228, 30, 32, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #1a1a2e;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ───────────────────────────────────────────────────────────────────────────
   Cards
   ─────────────────────────────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition-normal);
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    border-color: var(--china-red);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--china-red), var(--gold));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.card h4 {
    margin-bottom: var(--space-xs);
}

.card p {
    font-size: 1rem;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

/* Feature Card */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--china-red), var(--gold));
}

/* Stats Card */
.stats-card {
    text-align: center;
    padding: var(--space-lg);
}

.stats-card .number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--china-red), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-card .label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* ───────────────────────────────────────────────────────────────────────────
   Funnel Steps
   ─────────────────────────────────────────────────────────────────────────── */
.funnel-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.funnel-step {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--china-red), var(--gold));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-bottom: var(--space-xs);
    color: var(--gold);
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--china-red), transparent);
    margin-left: 29px;
}

/* ───────────────────────────────────────────────────────────────────────────
   Pricing / Service
   ─────────────────────────────────────────────────────────────────────────── */
.price-highlight {
    text-align: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, rgba(228, 30, 32, 0.1), rgba(255, 215, 0, 0.1));
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.price-amount {
    font-size: 5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.price-unit {
    font-size: 2rem;
    color: var(--text-secondary);
}

.price-note {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

.price-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--china-red);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-top: var(--space-sm);
}

/* ───────────────────────────────────────────────────────────────────────────
   Process Steps
   ─────────────────────────────────────────────────────────────────────────── */
.process-timeline {
    position: relative;
    padding-left: 40px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--china-red), var(--gold));
}

.process-item {
    position: relative;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--china-red);
}

.process-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--china-red);
    border-radius: var(--radius-full);
    border: 3px solid var(--bg-dark);
}

.process-number {
    position: absolute;
    left: -55px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────────────────────────
   Testimonials / Cases
   ─────────────────────────────────────────────────────────────────────────── */
.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-sm);
    left: var(--space-md);
    font-size: 4rem;
    color: var(--china-red);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    padding-top: var(--space-md);
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--china-red), var(--gold));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-info h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Case Study Stats */
.case-stats {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.case-stat {
    text-align: center;
    flex: 1;
    padding: var(--space-sm);
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
}

.case-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.case-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ───────────────────────────────────────────────────────────────────────────
   Contact Form
   ─────────────────────────────────────────────────────────────────────────── */
.contact-section {
    background: linear-gradient(135deg, rgba(228, 30, 32, 0.05), rgba(255, 215, 0, 0.05));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info h3 {
    margin-bottom: var(--space-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-form {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--china-red);
    box-shadow: 0 0 0 3px rgba(228, 30, 32, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ───────────────────────────────────────────────────────────────────────────
   Footer
   ─────────────────────────────────────────────────────────────────────────── */
.footer {
    background: var(--bg-card);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.95rem;
}

.footer-links h5 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--gold);
}

.footer-links ul li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--china-red);
    transform: translateY(-3px);
}

/* ───────────────────────────────────────────────────────────────────────────
   Animations
   ─────────────────────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease both;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease both;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease both;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Animation Delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* ───────────────────────────────────────────────────────────────────────────
   Scroll Reveal
   ─────────────────────────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ───────────────────────────────────────────────────────────────────────────
   Utilities
   ─────────────────────────────────────────────────────────────────────────── */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-0 {
    margin-top: 0;
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ───────────────────────────────────────────────────────────────────────────
   Responsive
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .funnel-step {
        flex-direction: column;
        text-align: center;
    }

    .step-connector {
        margin: 0 auto;
    }
}

/* ───────────────────────────────────────────────────────────────────────────
   Comparison Table
   ─────────────────────────────────────────────────────────────────────────── */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: linear-gradient(135deg, var(--china-red), var(--china-red-dark));
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--bg-card-hover);
}

.check-icon {
    color: #4ade80;
    font-size: 1.2rem;
}

.cross-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* ───────────────────────────────────────────────────────────────────────────
   FAQ Accordion
   ─────────────────────────────────────────────────────────────────────────── */
.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-md);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--china-red);
    transition: var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-md) var(--space-md);
    max-height: 500px;
}

/* ───────────────────────────────────────────────────────────────────────────
   KakaoTalk Button
   ─────────────────────────────────────────────────────────────────────────── */
.btn-kakao {
    background: #FEE500;
    color: #3C1E1E;
    font-weight: 700;
}

.btn-kakao:hover {
    background: #FFEB3B;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(254, 229, 0, 0.4);
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.fixed-cta .btn {
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}