/* ============================================
   Vega3D - Professional 3D CAD Viewer
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #3385d6;
    --secondary: #1a1a2e;
    --accent: #00d4ff;

    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --black: #000000;

    /* Typography */
    --font-primary: 'Roboto', 'Noto Sans KR', sans-serif;
    --font-mono: 'Fira Code', 'Consolas', monospace;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --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 40px rgba(0, 0, 0, 0.2);

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

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

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

.btn-white:hover {
    background-color: var(--gray-100);
    color: var(--primary-dark);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-viewer {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-viewer:hover {
    background: var(--primary-dark);
    color: var(--white);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-utility,
.btn-baduk {
    background: #3d4450;
    color: #b8bcc4;
    border: 1px solid #4a5162;
}

.btn-utility:hover,
.btn-baduk:hover {
    background: #4a5162;
    color: #fff;
    border-color: #5a6275;
    transform: translateY(-1px);
}

/* ============================================
   Launch Banner
   ============================================ */

.launch-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    animation: bannerPulse 2s ease-in-out infinite;
}

@keyframes bannerPulse {
    0%, 100% {
        opacity: 1;
        background: linear-gradient(90deg, #0066cc, #00aaff);
    }
    50% {
        opacity: 0.85;
        background: linear-gradient(90deg, #0052a3, #0088cc);
    }
}

/* ============================================
   Header & Navigation
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.nav {
    height: 70px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo:hover {
    color: var(--gray-900);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-box {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.footer-logo-link {
    margin-bottom: 0.5rem;
}

.footer-logo-box {
    height: 50px;
}

.footer-logo-text {
    height: 45px;
    filter: brightness(1.2);
}

/* Hero Logo Box - 우측 상단 */
.footer-logo-box-img {
    width: 200px;
    height: auto;
    margin-top: 1rem;
    opacity: 0.85;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: auto;
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: color var(--transition-fast);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1.25rem;
}

.lang-selected:hover {
    background: var(--gray-200);
    border-color: var(--gray-300);
}

.lang-flag {
    font-size: 1.25rem;
    line-height: 1;
}

.lang-flag-img {
    width: 32px;
    height: 22px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1001;
    min-width: 140px;
    overflow: hidden;
}

.language-selector:hover .lang-dropdown,
.language-selector.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.lang-option:hover {
    background: var(--gray-100);
}

.lang-option.active {
    background: var(--primary);
    color: var(--white);
}

.lang-option .lang-flag {
    font-size: 1.25rem;
}

.lang-option .lang-flag-img {
    width: 32px;
    height: 22px;
}

.lang-option .lang-name {
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--gray-800);
    transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 50%, var(--gray-100) 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(0, 102, 204, 0.05) 0%, transparent 40%);
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--container-padding);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-shadow: none;
}

.hero-title-blink {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5), 0 0 20px rgba(255, 0, 0, 0.3);
    animation: heroTitleBlink 0.5s ease-in-out infinite;
}

@keyframes heroTitleBlink {
    0%, 100% {
        opacity: 1;
        color: #ff0000;
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.5);
    }
    50% {
        opacity: 0.6;
        color: #cc0000;
        text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
    }
}

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ============================================
   Products Section
   ============================================ */

.products {
    background-color: var(--gray-50);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
}

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

.product-card.featured {
    border-color: var(--primary);
    position: relative;
}

.product-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Coming Soon Badge - Gold Medal Style */
.coming-soon-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #ff9500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #8B4513;
    text-shadow: 0 1px 1px rgba(255,255,255,0.5);
    box-shadow:
        0 4px 15px rgba(255, 193, 7, 0.5),
        inset 0 2px 4px rgba(255,255,255,0.5),
        inset 0 -2px 4px rgba(0,0,0,0.1);
    border: 3px solid #daa520;
    z-index: 10;
    animation: medalPulse 1s ease-in-out infinite;
    line-height: 1.2;
    padding: 5px;
}

@keyframes medalPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 4px 15px rgba(255, 193, 7, 0.5),
            inset 0 2px 4px rgba(255,255,255,0.5),
            inset 0 -2px 4px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.1);
        box-shadow:
            0 6px 25px rgba(255, 193, 7, 0.8),
            inset 0 2px 4px rgba(255,255,255,0.5),
            inset 0 -2px 4px rgba(0,0,0,0.1);
    }
}

.product-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 1.5rem 0;
    background: var(--gray-100);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-thumbnail img {
    transform: scale(1.05);
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.product-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.product-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 102, 204, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 2rem;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.product-tag-new {
    color: #d97706;
    background: rgba(217, 119, 6, 0.1);
}

.product-buttons {
    display: flex;
    gap: 0.75rem;
}

/* ============================================
   Features Section
   ============================================ */

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.feature-item:hover .feature-icon {
    background: var(--primary);
}

.feature-item:hover .feature-icon svg {
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ============================================
   Industries Section
   ============================================ */

.industries {
    background-color: var(--gray-50);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.industry-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.industry-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.industry-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ============================================
   Code Sample Section
   ============================================ */

.code-sample {
    background: var(--secondary);
    color: var(--white);
}

.code-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.code-text h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.code-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.code-benefits {
    margin-bottom: 2rem;
}

.code-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.code-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.code-block {
    background: #1e1e3f;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: #2d2d5a;
}

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

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27ca40; }

.code-title {
    margin-left: auto;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.code-block pre {
    padding: 1.5rem;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.8;
    color: #e4e4e7;
}

.code-block .keyword { color: #c678dd; }
.code-block .class { color: #e5c07b; }
.code-block .string { color: #98c379; }
.code-block .comment { color: #7f848e; }
.code-block .method { color: #61afef; }
.code-block .enum { color: #e5c07b; }

/* ============================================
   Support Section
   ============================================ */

.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.support-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all var(--transition-normal);
}

.support-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.support-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.support-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.support-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.support-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.support-card .link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--primary);
}

.support-card .link:hover {
    color: var(--primary-dark);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing {
    background-color: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--gray-200);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.pricing-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-700);
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pricing-price .period {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.pricing-description {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-700);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ============================================
   CTA Section
   ============================================ */

.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
    stroke: var(--white);
    fill: none;
}

.contact-icon svg[fill="currentColor"] {
    fill: var(--white);
    stroke: none;
}

.contact-icon.yahoo {
    background: #6001D2;
}

.contact-icon.youtube {
    background: #FF0000;
}

.contact-icon.wechat {
    background: #07C160;
}

.contact-icon.line {
    background: #00B900;
}

.contact-item h3 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 500;
    word-break: break-all;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* International Sales Network */
.sales-network {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.sales-network-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--gray-800);
    margin-bottom: 2rem;
}

.sales-network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sales-region {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.region-flag {
    width: 60px;
    height: 40px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.region-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sales-region h4 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-weight: 600;
}

.sales-region ul {
    list-style: none;
    text-align: left;
}

.sales-region ul li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.sales-region ul li:last-child {
    border-bottom: none;
}

.sales-region ul li span {
    font-weight: 600;
    color: var(--gray-700);
    margin-right: 0.5rem;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .sales-network-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 60px;
}

.footer-brand p {
    margin: 1rem 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-brand .logo-text {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   SpaceX-Style Homepage
   Scoped to body.spacex-home
   ============================================ */

/* --- Base Reset for SpaceX home --- */
body.spacex-home {
    background: #000;
    color: #fff;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    overflow-x: hidden;
}

/* --- HEADER --- */
body.spacex-home .sx-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
    background: rgba(0, 0, 0, 0);
}

body.spacex-home .sx-header.scrolled {
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.spacex-home .sx-nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 2.5rem 0 1.25rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Logo */
body.spacex-home .sx-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 2.5rem;
}

body.spacex-home .sx-logo-img {
    height: 48px;
    width: auto;
    filter: none;
    opacity: 1;
}

/* LOGO_BOX: fixed below nav — left 위치는 JS가 FREE TRIAL 버튼에 맞춰 설정 */
body.spacex-home .sx-logo-box-fixed {
    position: fixed;
    top: 8px;
    left: auto;      /* JS가 flagRect.right + 8px 로 override */
    right: 2.5rem;   /* JS 실행 전 fallback */
    height: 70px;
    width: auto;
    z-index: 998;
    opacity: 0.92;
    display: block;
}

/* YouTube: fixed below nav, left-aligned */
body.spacex-home .sx-youtube-fixed {
    position: fixed;
    top: 72px;
    left: 1.25rem;
    z-index: 998;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(240, 242, 245, 0.96);
    border-radius: 10px;
    padding: 8px 12px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: visible;
}

body.spacex-home .sx-youtube-fixed:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

body.spacex-home .sx-yt-logo {
    margin-bottom: 7px;
    width: 100%;
}

body.spacex-home .sx-yt-logo svg {
    width: 100%;
    height: auto;
    display: block;
}

body.spacex-home .sx-youtube-fixed img {
    height: 70px;   /* 78px → 10% 축소 */
    width: auto;
    display: block;
}

/* 은메달 배지 — 우측 하단 */
body.spacex-home .sx-yt-silver-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 89px;
    height: 89px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 40%, #a8a8a8 60%, #d8d8d8 100%);
    box-shadow: 0 3px 10px rgba(0,0,0,0.35),
                inset 0 2px 4px rgba(255,255,255,0.7),
                inset 0 -2px 4px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: #444;
    text-align: center;
    line-height: 1.25;
    padding: 0 6px;
    letter-spacing: -0.01em;
    animation: sxSilverBlink 0.9s ease-in-out infinite;
    z-index: 10;
}

@keyframes sxSilverBlink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 3px 10px rgba(0,0,0,0.35),
                    inset 0 2px 4px rgba(255,255,255,0.7),
                    0 0 14px rgba(192,192,192,0.8);
    }
    50% {
        opacity: 0.55;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2),
                    inset 0 1px 2px rgba(255,255,255,0.4);
    }
}

/* Nav links */
body.spacex-home .sx-nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

body.spacex-home .sx-nav-links a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

body.spacex-home .sx-nav-links a:hover {
    color: #fff;
}

/* Nav right */
body.spacex-home .sx-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    margin-right: 50px;
}

body.spacex-home .sx-btn-nav {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
}

body.spacex-home .sx-btn-nav:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

body.spacex-home .sx-nav-util {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

body.spacex-home .sx-nav-util:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Language selector (SpaceX style) */
body.spacex-home .sx-lang-selector {
    position: relative;
}

body.spacex-home .sx-lang-selected {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.35rem;
    border-radius: 3px;
    transition: background 0.2s;
}

body.spacex-home .sx-lang-selected:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.spacex-home .sx-lang-flag {
    width: 28px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    opacity: 0.8;
    border: 1px solid rgba(255,255,255,0.15);
}

body.spacex-home .sx-lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 130px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 100;
}

body.spacex-home .sx-lang-selector:hover .sx-lang-dropdown,
body.spacex-home .sx-lang-selector.active .sx-lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.spacex-home .sx-lang-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.15s;
}

body.spacex-home .sx-lang-option:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

body.spacex-home .sx-lang-option.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

body.spacex-home .sx-lang-option .sx-lang-flag {
    opacity: 1;
}

/* Hamburger toggle */
body.spacex-home .sx-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

body.spacex-home .sx-menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
}

/* --- FULLSCREEN SECTIONS --- */
body.spacex-home .sx-section {
    position: relative;
    height: 100vh;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

body.spacex-home .sx-section-auto {
    position: relative;
    padding: 110px 0;
    background: #000;
}

body.spacex-home .sx-dark-section {
    background: #080808;
}

body.spacex-home .sx-black-section {
    background: #000;
}

/* Section content overlay */
body.spacex-home .sx-section-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem 5rem;
    width: 100%;
}

/* Container for auto-height sections */
body.spacex-home .sx-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* --- HERO SECTION --- */
body.spacex-home .sx-hero-section {
    padding-top: 64px;        /* 고정 네비게이션 높이만큼 확보 */
    justify-content: center;
    align-items: center;
}

body.spacex-home .sx-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 55%, rgba(0, 80, 200, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 25%, rgba(0, 120, 255, 0.07) 0%, transparent 45%),
        linear-gradient(180deg, #000814 0%, #000 60%, #010108 100%);
    overflow: hidden;
}

body.spacex-home .sx-hero-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 25% 42%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 38% 8%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 52% 65%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 68% 28%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 72%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 82% 18%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 91% 50%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 5% 82%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 44% 88%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 5%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 75%, rgba(255,255,255,0.25) 0%, transparent 100%);
    background-size: 600px 600px, 700px 700px, 500px 500px, 800px 800px, 650px 650px, 550px 550px, 750px 750px, 600px 600px, 700px 700px, 500px 500px, 850px 850px, 620px 620px;
}

body.spacex-home .sx-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 0;
    padding-bottom: 5rem;    /* scroll 인디케이터 공간 확보 */
}

/* --- EYEBROW / LABEL --- */
body.spacex-home .sx-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.25rem;
}

body.spacex-home .sx-eyebrow-new {
    color: #f5c518;
}

/* 히어로 eyebrow: 두 줄 + 중앙 배치 */
body.spacex-home .sx-eyebrow-hero {
    text-align: center;
    align-self: center;
    line-height: 1.8;
}

body.spacex-home .sx-eyebrow-ai {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
    display: block;
}

/* --- HERO TITLE --- */
body.spacex-home .sx-hero-title {
    font-size: clamp(3.5rem, 7.5vw, 8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.0;
    letter-spacing: -0.025em;
    margin-bottom: 1.75rem;
}

body.spacex-home .sx-blink {
    display: inline-block;
    color: #fff;
    animation: sxBlink 1.2s ease-in-out infinite;
}

@keyframes sxBlink {
    0%, 100% { opacity: 1; color: #fff; text-shadow: 0 0 40px rgba(255,255,255,0.7); }
    50% { opacity: 0.4; color: #ccc; text-shadow: none; }
}

body.spacex-home .sx-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Hero stats */
body.spacex-home .sx-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.spacex-home .sx-hero-stat {
    display: flex;
    flex-direction: column;
    padding: 0 3rem 0 0;
}

body.spacex-home .sx-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    margin-right: 3rem;
}

body.spacex-home .sx-stat-num {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
}

body.spacex-home .sx-stat-lbl {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* --- BUTTONS --- */
body.spacex-home .sx-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Solid white button */
body.spacex-home .sx-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    padding: 0.8rem 2.25rem;
    background: #fff;
    border: 1px solid #fff;
    color: #000;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.22s;
    cursor: pointer;
}

body.spacex-home .sx-btn-solid:hover {
    background: rgba(255, 255, 255, 0.88);
    color: #000;
    transform: translateY(-1px);
}

body.spacex-home .sx-btn-two-line {
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 1.75rem;
    line-height: 1.2;
}

body.spacex-home .sx-btn-two-line span:first-child {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.spacex-home .sx-btn-sub {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: none;
    opacity: 0.75;
}

/* Ghost button (outline) */
body.spacex-home .sx-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    padding: 0.8rem 2.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    transition: all 0.22s;
    cursor: pointer;
}

body.spacex-home .sx-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
    transform: translateY(-1px);
}

/* Text link button */
body.spacex-home .sx-btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.5rem 0;
    transition: all 0.2s;
}

body.spacex-home .sx-btn-text:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.7);
}

body.spacex-home .sx-arrow {
    transition: transform 0.2s;
}

body.spacex-home .sx-btn-text:hover .sx-arrow {
    transform: translateX(4px);
}

/* --- 섹션 구분선: 흰색 가로선 --- */
body.spacex-home .sx-products-compare,
body.spacex-home .sx-section-auto {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

/* --- PRODUCTS COMPARE ROW: 두 제품 가로 나란히 --- */
body.spacex-home .sx-products-compare {
    background: #000;
    display: block;
}

/* Products 섹션 헤더 (전체 너비) */
body.spacex-home .sx-compare-header {
    text-align: center;
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

body.spacex-home .sx-compare-header .sx-section-title {
    margin: 0;
    font-size: clamp(2rem, 6vw, 5rem);
    color: #fff;
    text-shadow: none;
    animation: sxTitleGlow 2.5s ease-in-out infinite;
}

/* 두 컬럼을 가로로 담는 행 */
body.spacex-home .sx-compare-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* 각 제품 컬럼 */
body.spacex-home .sx-compare-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* 컬럼 사이 세로 구분선 */
body.spacex-home .sx-compare-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
    align-self: stretch;
}

/* 텍스트 영역 (상단) */
body.spacex-home .sx-product-text-area {
    background: #000;
    padding: 3rem 0 2.5rem;
    flex-shrink: 0;
}

body.spacex-home .sx-compare-inner {
    padding: 0 2.5rem;
}

/* 번호 뱃지 (1) (2) */
body.spacex-home .sx-compare-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.18);
    line-height: 1;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

/* 이미지 영역 - 컬럼 너비에 맞춰 꽉 채움 */
body.spacex-home .sx-product-img-area {
    position: relative;
    height: 50vh;
    min-height: 280px;
    overflow: hidden;
    flex: 1;
    width: 100%;
}

body.spacex-home .sx-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 65%;
    background-repeat: no-repeat;
    filter: brightness(0.88) saturate(0.95);
    transition: transform 8s ease;
    will-change: transform;
}

body.spacex-home .sx-compare-col:hover .sx-img-bg {
    transform: scale(1.03);
}

/* 이미지 상단 페이드 */
body.spacex-home .sx-product-img-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to bottom, #000 0%, transparent 100%);
    z-index: 2;
}

/* 금메달 배지 행 (eyebrow + badge 수평 배치) */
body.spacex-home .sx-product-label-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

body.spacex-home .sx-product-label-row .sx-eyebrow {
    margin-bottom: 0;
}

/* 금메달 배지 */
body.spacex-home .sx-medal-badge {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #ff9500 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 800;
    color: #7a3b00;
    line-height: 1.25;
    padding: 4px;
    border: 3px solid #daa520;
    box-shadow: 0 4px 16px rgba(255, 193, 7, 0.45),
                inset 0 2px 4px rgba(255,255,255,0.45),
                inset 0 -2px 4px rgba(0,0,0,0.1);
    animation: sxMedalPulse 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes sxMedalPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 16px rgba(255, 193, 7, 0.45),
                    inset 0 2px 4px rgba(255,255,255,0.45),
                    inset 0 -2px 4px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 28px rgba(255, 193, 7, 0.75),
                    inset 0 2px 4px rgba(255,255,255,0.45),
                    inset 0 -2px 4px rgba(0,0,0,0.1);
    }
}

body.spacex-home .sx-product-title {
    font-size: clamp(2rem, 4vw, 3.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: none;
    margin-bottom: 1rem;
}

body.spacex-home .sx-product-desc {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 600px;
}

body.spacex-home .sx-product-platform-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

body.spacex-home .sx-product-platform-list li {
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    line-height: 1.9;
    padding-left: 1.1em;
    position: relative;
}

body.spacex-home .sx-product-platform-list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

/* --- SCROLL DOWN INDICATOR --- */
body.spacex-home .sx-scroll-down {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    cursor: pointer;
    animation: sxScrollBounce 2.2s ease-in-out infinite;
}

body.spacex-home .sx-scroll-label {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

body.spacex-home .sx-scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes sxScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* --- SECTION HEADERS --- */
body.spacex-home .sx-section-header {
    text-align: center;
    margin-bottom: 4.5rem;
}

@keyframes sxTitleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255,255,255,0.55),
                     0 0 50px rgba(255,255,255,0.25);
    }
    50% {
        text-shadow: 0 0 60px rgba(255,255,255,0.95),
                     0 0 120px rgba(255,255,255,0.5),
                     0 0 200px rgba(255,255,255,0.2);
    }
}

body.spacex-home .sx-section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    animation: sxTitleGlow 2.5s ease-in-out infinite;
}

body.spacex-home .sx-section-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* --- FEATURES GRID --- */
body.spacex-home .sx-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

body.spacex-home .sx-feature-item {
    padding: 3rem 2.5rem;
    background: #080808;
    transition: background 0.3s;
}

body.spacex-home .sx-feature-item:hover {
    background: #101010;
}

body.spacex-home .sx-feature-icon {
    width: 42px;
    height: 42px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.5rem;
}

body.spacex-home .sx-feature-icon svg {
    width: 100%;
    height: 100%;
}

body.spacex-home .sx-feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.spacex-home .sx-feature-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    font-weight: 300;
}

/* --- INDUSTRIES GRID --- */
body.spacex-home .sx-industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.spacex-home .sx-industry-item {
    background: #000;
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.3s;
}

body.spacex-home .sx-industry-item:hover {
    background: #0a0a0a;
}

body.spacex-home .sx-industry-icon {
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s;
}

body.spacex-home .sx-industry-item:hover .sx-industry-icon {
    color: rgba(255, 255, 255, 0.65);
}

body.spacex-home .sx-industry-icon svg {
    width: 100%;
    height: 100%;
}

body.spacex-home .sx-industry-name {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

body.spacex-home .sx-industry-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    line-height: 1.5;
    text-align: center;
}

/* --- SUPPORT GRID --- */
body.spacex-home .sx-support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

body.spacex-home .sx-support-item {
    padding: 3rem 2.5rem;
    background: #080808;
    transition: background 0.3s;
}

body.spacex-home .sx-support-item:hover {
    background: #0f0f0f;
}

body.spacex-home .sx-support-icon {
    width: 38px;
    height: 38px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

body.spacex-home .sx-support-icon svg {
    width: 100%;
    height: 100%;
}

body.spacex-home .sx-support-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.spacex-home .sx-support-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

body.spacex-home .sx-support-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: all 0.2s;
}

body.spacex-home .sx-support-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* --- CONTACT SECTION --- */
body.spacex-home .sx-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 5rem;
}

body.spacex-home .sx-contact-item {
    background: #111;
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.spacex-home .sx-contact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Contact icons — 기존 원형 컬러 아이콘 */
body.spacex-home .sx-contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 기본: 파란→청록 그라디언트 */
    background: linear-gradient(135deg, #0066cc, #00d4ff);
}

body.spacex-home .sx-contact-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
    stroke: #fff;
    fill: none;
}

body.spacex-home .sx-contact-icon svg[fill="currentColor"] {
    fill: #fff;
    stroke: none;
}

/* 플랫폼별 고유 색상 */
body.spacex-home .sx-ci-website {
    background: linear-gradient(135deg, #0066cc, #00d4ff);
}

body.spacex-home .sx-ci-email {
    background: #6001D2;
}

body.spacex-home .sx-ci-mobile {
    background: linear-gradient(135deg, #0066cc, #00d4ff);
}

body.spacex-home .sx-ci-youtube {
    background: #FF0000;
}

body.spacex-home .sx-ci-wechat {
    background: #07C160;
}

body.spacex-home .sx-ci-line {
    background: #00B900;
}

body.spacex-home .sx-contact-type {
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 0.4rem;
}

body.spacex-home .sx-contact-value {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    word-break: break-all;
}

body.spacex-home .sx-contact-value a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.2s;
}

body.spacex-home .sx-contact-value a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Sales Network */
body.spacex-home .sx-sales {
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.spacex-home .sx-sales-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    margin-bottom: 2.5rem;
}

body.spacex-home .sx-sales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

body.spacex-home .sx-sales-region {
    background: #000;
    padding: 2rem 1.75rem;
    transition: background 0.3s;
}

body.spacex-home .sx-sales-region:hover {
    background: #080808;
}

body.spacex-home .sx-sales-flag {
    width: 48px;
    height: 32px;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 2px;
    opacity: 0.7;
    border: 1px solid rgba(255,255,255,0.1);
}

body.spacex-home .sx-sales-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.spacex-home .sx-sales-country {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin-bottom: 1rem;
}

body.spacex-home .sx-sales-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
    font-weight: 300;
}

/* --- FOOTER --- */
body.spacex-home .sx-footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem 0;
}

body.spacex-home .sx-footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

body.spacex-home .sx-footer-logo img {
    height: 22px;
    width: auto;
    filter: invert(1);
    opacity: 0.45;
    transition: opacity 0.2s;
}

body.spacex-home .sx-footer-logo:hover img {
    opacity: 0.7;
}

body.spacex-home .sx-footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

body.spacex-home .sx-footer-links a {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    transition: color 0.2s;
}

body.spacex-home .sx-footer-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

body.spacex-home .sx-footer-copy {
    color: rgba(255, 255, 255, 0.22);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

/* --- BACK TO TOP --- */
body.spacex-home .sx-back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 999;
    backdrop-filter: blur(6px);
}

body.spacex-home .sx-back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.spacex-home .sx-back-top:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

body.spacex-home .sx-back-top svg {
    width: 20px;
    height: 20px;
}

/* --- SCROLL-IN ANIMATIONS --- */
body.spacex-home .sx-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.spacex-home .sx-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- MOBILE NAVIGATION --- */
body.spacex-home .sx-nav-mobile-open {
    background: rgba(0, 0, 0, 0.96) !important;
    backdrop-filter: blur(12px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    body.spacex-home .sx-industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    body.spacex-home .sx-support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    body.spacex-home .sx-section-content {
        padding: 0 3rem 4rem;
    }

    body.spacex-home .sx-container {
        padding: 0 2.5rem;
    }

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

    body.spacex-home .sx-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.spacex-home .sx-sales-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.spacex-home .sx-footer-inner {
        padding: 0 2.5rem;
    }
}

@media (max-width: 768px) {
    /* 모바일: compare row 세로 스택 */
    body.spacex-home .sx-compare-row {
        flex-direction: column;
    }

    body.spacex-home .sx-compare-divider {
        width: 100%;
        height: 1px;
    }

    body.spacex-home .sx-product-img-area {
        height: 55vw;
        min-height: 220px;
    }

    body.spacex-home .sx-compare-inner {
        padding: 0 1.5rem;
    }

    body.spacex-home .sx-product-text-area {
        padding: 2.5rem 0 2rem;
    }

    body.spacex-home .sx-nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.97);
        padding: 1.5rem 2rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.spacex-home .sx-nav-links.open {
        display: flex;
    }

    body.spacex-home .sx-nav-links a {
        font-size: 0.9rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    body.spacex-home .sx-menu-toggle {
        display: flex;
    }

    body.spacex-home .sx-btn-nav {
        display: none;
    }

    body.spacex-home .sx-nav-util {
        display: none;
    }

    body.spacex-home .sx-section-content {
        padding: 0 1.75rem 3.5rem;
    }

    body.spacex-home .sx-container {
        padding: 0 1.75rem;
    }

    body.spacex-home .sx-hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    body.spacex-home .sx-product-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    body.spacex-home .sx-features-grid {
        grid-template-columns: 1fr;
    }

    body.spacex-home .sx-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    body.spacex-home .sx-support-grid {
        grid-template-columns: 1fr;
    }

    body.spacex-home .sx-contact-grid {
        grid-template-columns: 1fr;
    }

    body.spacex-home .sx-sales-grid {
        grid-template-columns: 1fr;
    }

    body.spacex-home .sx-hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    body.spacex-home .sx-stat-divider {
        display: none;
    }

    body.spacex-home .sx-hero-stat {
        padding-right: 2rem;
    }

    body.spacex-home .sx-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 1.75rem;
    }

    body.spacex-home .sx-footer-links {
        gap: 1.25rem;
    }

    body.spacex-home .sx-section-auto {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    body.spacex-home .sx-nav-inner {
        padding: 0 1.5rem;
    }

    body.spacex-home .sx-hero-title {
        font-size: 2.5rem;
    }

    body.spacex-home .sx-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    body.spacex-home .sx-btn-solid,
    body.spacex-home .sx-btn-ghost {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Viewer Page
   ============================================ */

.viewer-section {
    padding-top: 70px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.viewer-header {
    padding: 0.75rem var(--container-padding);
    text-align: center;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.viewer-header-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.viewer-header h1 {
    font-size: 1.25rem;
    white-space: nowrap;
}

.viewer-header p {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.viewer-container {
    flex: 1;
    min-height: 0;
}

.viewer-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .products-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }

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

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

    .code-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .nav-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-actions.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(70px + 200px);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0 2rem 2rem;
        gap: 1rem;
    }

    .nav-tools {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .nav-tools .btn-utility,
    .nav-tools .btn-baduk {
        background: #e9ecef;
        color: #495057;
        border-color: #ced4da;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section {
        padding: 60px 0;
    }

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

    .products-grid,
    .features-grid,
    .industries-grid,
    .support-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

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

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

    .product-card,
    .pricing-card {
        padding: 1.5rem;
    }
}

/* ============================================
   VEGAGO SECTION (SpaceX-style)
   ============================================ */

body.spacex-home .sx-vegago-section {
    background: #050508;
}

body.spacex-home .sx-vegago-intro {
    margin-bottom: 3.5rem;
}

body.spacex-home .sx-vegago-tagline {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.75rem;
    line-height: 1.75;
}

body.spacex-home .sx-vegago-tagline strong {
    color: rgba(255,255,255,0.88);
}

/* 3 Level cards */
body.spacex-home .sx-vegago-levels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

body.spacex-home .sx-vegago-level {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 2px solid rgba(255,255,255,0.25);
    padding: 2rem 1.75rem;
}

body.spacex-home .sx-vegago-level-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.18rem 0.5rem;
    margin-bottom: 0.9rem;
}

body.spacex-home .sx-vegago-level h3 {
    font-size: 1.0rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.85rem;
    letter-spacing: 0.02em;
}

body.spacex-home .sx-vegago-level p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
}

body.spacex-home .sx-vegago-level p strong {
    color: rgba(255,255,255,0.8);
}

body.spacex-home .sx-vegago-level ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.spacex-home .sx-vegago-level ul li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    padding: 0.28rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

body.spacex-home .sx-vegago-level ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.22);
}

/* Target use cases */
body.spacex-home .sx-vegago-targets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

body.spacex-home .sx-vegago-target {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
}

body.spacex-home .sx-vegago-target strong {
    color: rgba(255,255,255,0.88);
}

/* Example queries */
body.spacex-home .sx-vegago-examples {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

body.spacex-home .sx-vegago-example {
    flex: 1;
    min-width: 260px;
    background: rgba(255,255,255,0.04);
    border-left: 2px solid rgba(255,255,255,0.28);
    padding: 0.9rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    font-style: italic;
}

body.spacex-home .sx-vegago-ex-label {
    display: block;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.3rem;
}

@media (max-width: 900px) {
    body.spacex-home .sx-vegago-levels {
        grid-template-columns: 1fr;
    }
    body.spacex-home .sx-vegago-targets {
        grid-template-columns: 1fr;
    }
}

/* ── Tools 2-column layout (VegaGO left + VegaConverter right) ── */
body.spacex-home .sx-tools-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* VegaGO left column — compact overrides */
body.spacex-home .sx-tool-vegago .sx-vegago-intro {
    text-align: left;
    margin-bottom: 1.75rem;
}

body.spacex-home .sx-tool-vegago .sx-vegago-levels {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

body.spacex-home .sx-tool-vegago .sx-vegago-level {
    padding: 1.1rem 1.25rem;
}

body.spacex-home .sx-tool-vegago .sx-vegago-targets {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0;
}

body.spacex-home .sx-tool-vegago .sx-vegago-target {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
}

/* VegaConverter right column */
body.spacex-home .sx-converter-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

body.spacex-home .sx-converter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.spacex-home .sx-converter-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

body.spacex-home .sx-converter-features li {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    padding: 0.45rem 0 0.45rem 1.25rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    line-height: 1.5;
}

body.spacex-home .sx-converter-features li:last-child {
    border-bottom: none;
}

body.spacex-home .sx-converter-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    body.spacex-home .sx-tools-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    body.spacex-home .sx-tool-vegago .sx-vegago-levels {
        grid-template-columns: 1fr;
    }
    body.spacex-home .sx-tool-vegago .sx-vegago-targets {
        grid-template-columns: 1fr;
    }
}
