.form-card .form-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 12px; }
.form-card .form-field input, .form-card .form-field select { box-sizing: border-box; width:100%; max-width:100%; }
@media (max-width: 768px){ .form-card .form-grid { grid-template-columns: 1fr; } }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a1929;
    overflow-x: hidden;
}

.banner {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(90deg, #000000 0%, #000080 100%);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* Left Section */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 2;
    align-items: center;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.logo-image {
    width: auto;
    height: 300px;
    margin-bottom: 0.5rem;
    object-fit: contain;
    filter: 
        drop-shadow(0 0 3px rgba(96, 165, 250, 0.3))
        drop-shadow(0 0 5px rgba(96, 165, 250, 0.2));
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        filter: 
            drop-shadow(0 0 3px rgba(96, 165, 250, 0.3))
            drop-shadow(0 0 5px rgba(96, 165, 250, 0.2));
    }
    50% {
        filter: 
            drop-shadow(0 0 4px rgba(96, 165, 250, 0.4))
            drop-shadow(0 0 6px rgba(96, 165, 250, 0.3));
    }
}

.english-header {
    font-size: 0.9rem;
    font-weight: 500;
    color: #60A5FA;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.main-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.highlight-blue {
    color: #60A5FA;
}

.darker-blue {
    color: #3B82F6;
}

.subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.6;
}

/* Features */
.features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    transform: translateX(-20%);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    min-width: 80px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(96, 165, 250, 0.3);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-label {
    font-size: 0.9rem;
    color: #e5e7eb;
    font-weight: 500;
}

/* Feature hover neon */
.feature-item:hover .feature-icon {
    box-shadow: 0 0 18px rgba(96,165,250,.5), 0 0 30px rgba(96,165,250,.35);
    border-color: rgba(96,165,250,.6);
}
.feature-item:hover .feature-label { color: #60A5FA; }

/* Right Section */
.right-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.right-section::before {
    content: "";
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(60px);
    z-index: 0;
    animation: pulseBackground 4s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.ai-chip-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: 
        drop-shadow(0 0 40px rgba(59, 130, 246, 0.8))
        drop-shadow(0 0 80px rgba(59, 130, 246, 0.4))
        drop-shadow(0 0 120px rgba(96, 165, 250, 0.3));
    animation: pulseGlow 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.ai-chip-image:hover {
    transform: scale(1.05);
    filter: 
        drop-shadow(0 0 60px rgba(59, 130, 246, 1))
        drop-shadow(0 0 100px rgba(59, 130, 246, 0.6))
        drop-shadow(0 0 150px rgba(96, 165, 250, 0.5));
}

@keyframes pulseGlow {
    0%, 100% {
        filter: 
            drop-shadow(0 0 40px rgba(59, 130, 246, 0.8))
            drop-shadow(0 0 80px rgba(59, 130, 246, 0.4))
            drop-shadow(0 0 120px rgba(96, 165, 250, 0.3));
    }
    50% {
        filter: 
            drop-shadow(0 0 60px rgba(59, 130, 246, 1))
            drop-shadow(0 0 100px rgba(59, 130, 246, 0.6))
            drop-shadow(0 0 140px rgba(96, 165, 250, 0.5));
    }
}

.glow-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.glow-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #60A5FA;
    border-radius: 50%;
    box-shadow: 
        0 0 15px #60A5FA, 
        0 0 30px #60A5FA,
        0 0 45px rgba(96, 165, 250, 0.5);
    animation: float 3s ease-in-out infinite;
    z-index: 3;
}

.glow-particle:nth-child(1) {
    top: 15%;
    left: 25%;
    animation-delay: 0s;
    width: 8px;
    height: 8px;
}

.glow-particle:nth-child(2) {
    top: 55%;
    right: 15%;
    animation-delay: 1s;
    width: 6px;
    height: 6px;
}

.glow-particle:nth-child(3) {
    bottom: 15%;
    left: 35%;
    animation-delay: 2s;
    width: 7px;
    height: 7px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .features {
        justify-content: center;
    }
}

/* ------- Shared Auth/Form styles ------- */
.form-card {
    background: rgba(15,23,42,0.9);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.55), 0 0 0 1px rgba(59,130,246,0.12) inset;
    max-width: 420px;
    width: 100%;
    color: #e5e7eb;
    border: 1px solid rgba(148,163,184,.25);
    backdrop-filter: blur(6px);
}
.form-card:hover { box-shadow: 0 24px 60px rgba(15,23,42,0.6), 0 0 22px rgba(59,130,246,0.35); }
.form-card h2 { font-size: 20px; margin-bottom: 6px; }
.form-card p { font-size: 13px; color: #9ca3af; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 12px; }
.form-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.form-field label { font-size: 12px; color: #9ca3af; }
.form-field input, .form-field select {
    border-radius: 10px; border: 1px solid rgba(148,163,184,0.6);
    padding: 8px 10px; font-size: 14px; background: rgba(15,23,42,0.8); color: #e5e7eb; outline: none;
}
.form-field input:focus, .form-field select:focus { border-color: #60a5fa; box-shadow: 0 0 0 1px rgba(96,165,250,0.45); }
.form-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; gap: 12px; }
.btn-primary { border-radius: 999px; padding: 8px 18px; border: none; color: #f9fafb; font-weight: 600; cursor: pointer; font-size: 14px; }
.btn-blue { background: linear-gradient(135deg,#2563eb,#4f46e5); }
.btn-green { background: linear-gradient(135deg,#10b981,#22c55e); }
.btn-orange { background: linear-gradient(135deg,#f97316,#fb923c); }
.btn-pink { background: linear-gradient(135deg,#ec4899,#f472b6); }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-blue:hover { box-shadow: 0 0 18px rgba(37,99,235,.45); }
.btn-green:hover { box-shadow: 0 0 18px rgba(16,185,129,.45); }
.btn-orange:hover { box-shadow: 0 0 18px rgba(251,146,60,.45); }
.btn-pink:hover { box-shadow: 0 0 18px rgba(236,72,153,.45); }
.link-small { color: #9ca3af; text-decoration: none; }
.link-small:hover { color: #e5e7eb; text-decoration: underline; }

/* Social buttons */
.social-row { display:flex; flex-direction:column; align-items:stretch; gap:10px; margin-top:10px; }
.btn-social { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; width:100%; padding:0 16px; border-radius:10px; border:1px solid rgba(148,163,184,.4); background: rgba(15,23,42,.8); color:#e5e7eb; font-weight:600; font-size:13px; text-decoration:none; transition: transform .18s ease, box-shadow .25s ease, filter .25s ease; }
.btn-social:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(2,8,23,.35); filter: brightness(1.03); }
.btn-social img { width:18px; height:18px; display:block; }
.btn-google { background:#ffffff; color:#0f172a; border-color:#e5e7eb; }
.btn-naver { background:#03c75a; color:#ffffff; border-color:#03c75a; }
.btn-kakao { background:#fee500; color:#3c1e1e; border-color:#fee500; }
.btn-google:hover { box-shadow: 0 0 22px rgba(66,133,244,.45); }
.btn-naver:hover { box-shadow: 0 0 22px rgba(3,199,90,.45); }
.btn-kakao:hover { box-shadow: 0 0 22px rgba(254,229,0,.55); }

.divider { display:flex; align-items:center; gap:8px; margin:12px 0 4px; color:#9ca3af; font-size:12px; }
.divider::before, .divider::after { content:""; height:1px; flex:1; background: rgba(148,163,184,.35); }

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  /* main.html: center features and remove offset on mobile */
  .features { justify-content: center; transform: none; }
  /* main.html: hide right hero image on mobile (specific by id) */
  #aiChipImage { display: none !important; }
}

/* full-width primary button helper */
.form-actions.full { display:block; }
.form-actions.full .btn-primary { width:100%; }

@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        gap: 1.5rem;
    }
    
    .feature-item {
        min-width: 70px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(to bottom, #000000, #000080);
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.user-profile:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.profile-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.dropdown-arrow {
    color: #ffffff;
    transition: transform 0.2s ease;
}

.user-profile.active .dropdown-arrow {
    transform: rotate(180deg);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-item svg {
    color: #6b7280;
}

.dropdown-item span {
    flex: 1;
}

/* Customer Service */
.customer-service {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.customer-service:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cs-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.customer-service.active .dropdown-arrow {
    transform: rotate(180deg);
}

.cs-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.cs-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1000;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.step-item::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    right: -50%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 0;
}

.step-item:last-child::after {
    display: none;
}

.step-item.active .step-circle {
    background-color: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.step-item.active .step-label {
    color: #3B82F6;
    font-weight: 600;
}

.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    position: relative;
    z-index: 1;
}

.step-label {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.step-item.completed .step-circle {
    background-color: #10B981;
    color: transparent;
    border-color: #10B981;
    font-size: 0;
}

.step-item.completed .step-circle::after {
    content: '✓';
    font-size: 0.875rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step-item.completed .step-label {
    color: #10B981;
    font-weight: 500;
}

/* Platform Selection */
.platform-selection {
    margin: 2rem 0;
    padding: 2rem 0;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #000080;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-card:hover {
    border-color: #1a1a99;
    background-color: #f0f7ff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.15);
}

.platform-card.active {
    border-color: #000080;
    background-color: #eff6ff;
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.2);
}

.platform-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.platform-icon svg {
    width: 100%;
    height: 100%;
}

.platform-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-card:hover .platform-icon,
.platform-card.active .platform-icon {
    transform: scale(1.1);
}

.platform-name {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
}

.platform-card:hover .platform-name,
.platform-card.active .platform-name {
    color: #000080;
}

/* Category Selection */
.category-selection {
    margin: 2rem 0;
    padding: 2rem 0;
}

.category-header {
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.category-filters {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #3B82F6;
}

.checkbox-label span {
    font-weight: 500;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-box:hover .search-icon {
    color: #000080;
}

.search-input {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-width: 250px;
}

.search-input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    color: #6b7280;
    pointer-events: auto;
    cursor: pointer;
    transition: color 0.2s ease;
}

.search-icon:hover {
    color: #000080;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border: 2px solid #000080;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: #1a1a99;
    background-color: #f0f7ff;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.15);
}

.category-card.active {
    border-color: #000080;
    background-color: #eff6ff;
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.2);
}

.category-icon {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon,
.category-card.active .category-icon {
    transform: scale(1.1);
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
}

.category-card:hover .category-name,
.category-card.active .category-name {
    color: #000080;
}

/* Overseas Mode - 남색 계열 카테고리 카드 */
.category-card.overseas-mode {
    background-color: #000080;
    border-color: #000080;
}

.category-card.overseas-mode .category-name {
    color: #ffffff;
}

.category-card.overseas-mode:hover {
    background-color: #1a1a99;
    border-color: #1a1a99;
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.3);
}

.category-card.overseas-mode.active {
    background-color: #000066;
    border-color: #000066;
    box-shadow: 0 4px 12px rgba(0, 0, 102, 0.4);
}

.category-card.overseas-mode:hover .category-name,
.category-card.overseas-mode.active .category-name {
    color: #ffffff;
}

/* Subcategory Selection */
.subcategory-selection {
    margin-top: 2rem;
}

.subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.subcategory-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.btn-back-category {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-category:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.subcategory-card {
    padding: 1rem 0.75rem;
    background-color: #ffffff;
    border: 3px solid #000000;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    box-sizing: border-box;
}

.subcategory-card:hover {
    border-color: #000000;
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.subcategory-card.active {
    border-color: #000000;
    background-color: #000000;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

/* Info Box */
.info-box {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.info-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #166534;
}

/* Form */
.product-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-textarea:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-hint {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* AI Fetch Button */
.btn-ai-fetch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background-color: #FCD34D;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-ai-fetch:hover {
    background-color: #FBBF24;
    transform: translateY(-1px);
}

.btn-ai-fetch:active {
    transform: translateY(0);
}

.btn-ai-fetch svg {
    width: 20px;
    height: 20px;
}

/* Action Buttons */
.form-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.btn-prev {
    padding: 1rem 2rem;
    background-color: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.btn-prev:hover {
    background-color: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-prev:active {
    transform: translateY(0);
}

.btn-next {
    padding: 1rem 2rem;
    background-color: #10B981;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.btn-next:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-next:active {
    transform: translateY(0);
}

.btn-save {
    padding: 1rem 2rem;
    background-color: #3B82F6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 120px;
}

.btn-save:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-save:active {
    transform: translateY(0);
}

/* Search Results */
.search-results {
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.search-results-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

/* Comparison Section (공통점/차이점) */
.comparison-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.comparison-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.comparison-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000080;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #000080;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.comparison-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000080;
    font-weight: bold;
    font-size: 1.2rem;
}

.comparison-list li:last-child {
    margin-bottom: 0;
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.news-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #000080;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.news-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000080;
    background-color: #e0e7ff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
}

.news-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    flex-grow: 0;
}

.news-summary {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.news-read-more {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #000080;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-read-more:hover {
    background-color: #000060;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 128, 0.2);
}

.news-read-more:active {
    transform: translateY(0);
}

.news-card.selected {
    border-color: #000080;
    border-width: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 128, 0.2);
    background-color: #f0f4ff;
}

/* Calendar Section */
.calendar-section {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.calendar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

.calendar-container {
    max-width: 400px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-nav-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #000080;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

.calendar-nav-btn:hover {
    color: #000060;
}

.calendar-month-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.calendar-day-names {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-day-name {
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.calendar-day.empty {
    border: none;
    background: transparent;
    cursor: default;
}

.calendar-day.past {
    color: #9ca3af;
    cursor: not-allowed;
    background-color: #f9fafb;
}

.calendar-day.today {
    background-color: #e0e7ff;
    border-color: #000080;
    color: #000080;
    font-weight: 700;
}

.calendar-day:hover:not(.past):not(.empty) {
    background-color: #f0f4ff;
    border-color: #000080;
    transform: scale(1.05);
}

.calendar-day.selected {
    background-color: #000080;
    color: #ffffff;
    border-color: #000080;
    font-weight: 700;
}

.calendar-confirm-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background-color: #000080;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-confirm-btn:hover {
    background-color: #000060;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 128, 0.3);
}

.calendar-confirm-btn:active {
    transform: translateY(0);
}

/* Time Selection */
.time-selection {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.time-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.time-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.time-input {
    width: 80px;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: border-color 0.2s ease;
}

.time-input:focus {
    border-color: #000080;
    box-shadow: 0 0 0 3px rgba(0, 0, 128, 0.1);
}

.time-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* Immediate Upload Section */
.immediate-upload-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

.btn-immediate-upload {
    padding: 0.875rem 2rem;
    background-color: #22c55e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
}

.btn-immediate-upload:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.btn-immediate-upload:active {
    transform: translateY(0);
}

/* Back Button from Completion */
.btn-back-completion {
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: #ffffff;
    color: #1a1a1a;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.btn-back-completion:hover {
    background-color: #f9fafb;
    border-color: #000080;
    color: #000080;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-back-completion:active {
    transform: translateY(0);
}

/* Completion Message */
.completion-message {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 12px;
    margin-top: 2rem;
}

.completion-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.completion-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.completion-text {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .platform-grid,
    .category-grid,
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    
    .comparison-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-filters {
        justify-content: center;
    }
    
    .search-input {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .step-navigation {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step-item::after {
        display: none;
    }
    
    .platform-grid,
    .category-grid,
    .subcategory-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subcategory-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn-back-category {
        width: 100%;
    }
    
    .platform-card,
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .search-input {
        width: 100%;
        min-width: auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-prev,
    .btn-next,
    .btn-save {
        width: 100%;
        max-width: 600px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .info-box {
        padding: 1rem;
    }
    
    .info-box p {
        font-size: 0.875rem;
    }
}


