/* Section Popup Styles */
.section-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.section-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    background: white;
    border-radius: 24px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    margin: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.section-popup.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

.popup-body {
    padding: 60px 40px 40px;
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

.popup-body h2 {
    color: #247dff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.popup-body h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 30px 0 20px;
    font-weight: 600;
}

.popup-body p, .popup-body li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1rem;
}

.popup-body ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.popup-body li {
    margin-bottom: 8px;
}

.popup-body .highlight {
    background: linear-gradient(120deg, rgba(36, 125, 255, 0.08) 0%, rgba(36, 125, 255, 0.03) 100%);
    padding: 32px;
    border-radius: 16px;
    margin: 32px 0;
    border-left: 4px solid #247dff;
    border: 1px solid rgba(36, 125, 255, 0.1);
}

.popup-body strong {
    color: #247dff;
    font-weight: 600;
}

/* 새로운 팝업 콘텐츠 스타일 */
.program-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 30px 0 0 0;
}

.program-image-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px;
    text-align: center;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.program-image-item:hover img {
    transform: scale(1.05);
}

.program-image-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.image-fallback {
    width: 100%;
    height: 100%;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.8rem;
    text-align: center;
    padding: 8px;
}

.image-fallback span {
    font-weight: 500;
    margin-bottom: 4px;
}

.image-fallback small {
    font-size: 0.7rem;
    opacity: 0.7;
    word-break: break-all;
}

/* 라이트박스 모달 스타일 */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lightbox-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 20px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-image {
        border-radius: 4px;
    }
}

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

.feature-list li {
    position: relative;
    padding: 12px 0 12px 32px;
    margin-bottom: 8px;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid rgba(36, 125, 255, 0.1);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: #247dff;
    font-weight: bold;
    font-size: 1.1rem;
}

.ai-example, .ai-examples {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    margin: 20px 0 32px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.ai-example h4, .ai-examples h4 {
    color: #374151;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    padding: 16px 20px 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
    border-radius: 12px 12px 0 0;
}

.ai-quote {
    background: #f1f5f9;
    border-radius: 18px 18px 18px 4px;
    padding: 14px 18px;
    margin: 16px 20px 12px 20px;
    color: #334155;
    font-style: normal;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: calc(100% - 40px);
}

.message-content {
    flex: 1;
    min-height: 1.5em;
}

.typing-text {
    display: inline;
    font-family: inherit !important;
    font-weight: inherit !important;
}

/* 채팅 컨테이너 스타일 */
.chat-container {
    padding: 20px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

/* 사용자 아바타 */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 12px;
    vertical-align: top;
    flex-shrink: 0;
}

/* 타이핑 커서 */
.typing-cursor-chat {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #374151;
    margin-left: 1px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-scroll-indicator {
        bottom: 40px;
        font-size: 0.8rem;
    }
    
    .section-overlay-text {
        font-size: 1.4rem;
        padding: 24px 55px 24px 16px;
        margin: 0 20px 40px;
        max-width: calc(100% - 40px);
        min-height: 60px;
    }
    
    .section-overlay-text::before {
        font-size: 0.7rem;
        padding: 3px 8px;
        left: 15px;
    }
    
    .voice-indicator {
        top: 24px;
        right: 16px;
        gap: 3px;
        height: 1.4rem;
    }
    
    .voice-wave {
        width: 2px;
    }
    
    .voice-wave:nth-child(1) {
        height: 6px;
    }
    
    .voice-wave:nth-child(2) {
        height: 10px;
    }
    
    .voice-wave:nth-child(3) {
        height: 14px;
    }
    
    .voice-wave:nth-child(4) {
        height: 10px;
    }
    
    .voice-wave:nth-child(5) {
        height: 6px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .vision-number {
        font-size: 3rem;
    }
    
    .section-tags {
        gap: 8px;
    }
    
    .tag-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .detail-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .popup-content {
        width: 95vw;
        height: 95vh;
        border-radius: 16px;
    }
    
    .popup-body {
        padding: 60px 24px 24px;
    }
    
    .popup-body h2 {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .program-images-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .program-image-item {
        padding: 8px;
        aspect-ratio: 4/3;
    }
    
    .workflow-diagram {
        width: 90%;
        max-width: none;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin: 0 auto 40px auto;
    }
    
    .workflow-step {
        min-width: 100px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .ai-systems-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 20px;
    }
    
    .ai-system-card {
        padding: 20px;
    }
    
    .solutions-container,
    .vision-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #247dff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1a5fcc;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(50px);
}

.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

/* Feature Interface Styles */
.feature-interface {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 24px;
    margin: 20px auto;
    box-shadow: 0 8px 32px rgba(36, 125, 255, 0.12);
    border: 1px solid rgba(36, 125, 255, 0.15);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    max-width: 800px;
    width: 100%;
}

.feature-interface.active {
    opacity: 1;
    transform: translateY(0);
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(36, 125, 255, 0.1);
}

.interface-header h3 {
    color: #247dff;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

.status-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.param-display {
    background: rgba(36, 125, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

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

.param-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.param-label {
    font-size: 0.8rem;
    color: #247dff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-value {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.results-area {
    min-height: 200px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.results-area.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(36, 125, 255, 0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 125, 255, 0.15);
}

.golf-course-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.course-info {
    flex: 1;
}

.course-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.course-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.detail-badge {
    background: rgba(36, 125, 255, 0.1);
    color: #247dff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.rating-stars {
    color: #fbbf24;
}

.voice-command {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-command::before {
    content: "🎤";
    font-size: 1rem;
}

.processing-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(36, 125, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(36, 125, 255, 0.3);
    border-top: 2px solid #247dff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-text {
    color: #247dff;
    font-weight: 500;
    font-size: 0.95rem;
}

.booking-params {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    background: rgba(36, 125, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.booking-item {
    text-align: center;
}

.booking-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.booking-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 4px;
    display: block;
}

.booking-value {
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

.product-card {
    display: flex;
    gap: 16px;
    align-items: center;
}

.product-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
    font-size: 1rem;
}

.product-brand {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.product-price {
    color: #247dff;
    font-weight: bold;
    font-size: 1.1rem;
}

.product-stock {
    background: #22c55e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 12px;
}

.management-task {
    border-left: 4px solid #247dff;
    padding-left: 16px;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.task-title {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.task-status {
    background: #22c55e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.task-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.task-time {
    color: #999;
    font-size: 0.8rem;
}

.player-info {
    display: flex;
    gap: 16px;
    align-items: center;
}

.player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #247dff, #4a9eff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.player-details {
    flex: 1;
}

.player-name {
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.player-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.stat-item {
    font-size: 0.85rem;
    color: #666;
}

.stat-value {
    font-weight: bold;
    color: #247dff;
}

.player-location {
    color: #999;
    font-size: 0.8rem;
}

.score-input {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.score-hole {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 2px solid rgba(36, 125, 255, 0.1);
    transition: all 0.3s ease;
}

.score-hole:hover {
    border-color: #247dff;
    transform: translateY(-2px);
}

.hole-number {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.hole-par {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 8px;
}

.hole-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: #247dff;
}

.caddy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.caddy-item {
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(36, 125, 255, 0.1);
    transition: all 0.3s ease;
}

.caddy-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 125, 255, 0.15);
}

.caddy-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.caddy-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #247dff, #4a9eff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.caddy-info {
    flex: 1;
}

.caddy-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.caddy-rating {
    color: #fbbf24;
    font-size: 0.8rem;
}

.caddy-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.availability-status {
    background: #22c55e;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

.swing-analysis {
    background: linear-gradient(135deg, rgba(36, 125, 255, 0.05), rgba(74, 158, 255, 0.05));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.analysis-header {
    text-align: center;
    margin-bottom: 20px;
}

.analysis-title {
    color: #247dff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.analysis-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.analysis-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.metric-item {
    text-align: center;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(36, 125, 255, 0.1);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #247dff;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.pro-recommendation {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(36, 125, 255, 0.1);
}

.recommendation-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.pro-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.pro-details {
    flex: 1;
}

.pro-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}
.pro-specialty {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.match-score {
    background: #22c55e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive adjustments for interfaces */
@media (max-width: 768px) {
    .section-content {
        min-height: 70vh;
        padding: 0 20px;
    }
    
    .section-info {
        min-width: 300px;
        padding: 30px 20px;
    }
    
    .feature-interface {
        padding: 16px;
        margin: 10px auto;
        max-width: 100%;
    }
    
    .param-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .golf-course-card,
    .product-card,
    .player-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .score-input {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .caddy-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .analysis-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .booking-params {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .interface-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .interface-header h3 {
        font-size: 1.2rem;
    }
    
    /* 모바일용 채팅 스타일 */
    .ai-quote {
        margin: 12px 16px 8px 16px;
        padding: 12px 16px;
        gap: 8px;
        max-width: calc(100% - 32px);
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .ai-example h4, .ai-examples h4 {
        padding: 12px 16px 8px 16px;
        font-size: 1rem;
    }
    
    .chat-container {
        padding: 16px;
    }
}

/* 재학습 아이콘 회전 애니메이션은 JavaScript에서 GSAP로 처리 */

/* ============================= */
/* Contact Section */
.contact-section {
    min-height: auto;
    padding: 150px 20px 80px;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 25px 70px rgba(36, 125, 255, 0.12);
    border: 1px solid rgba(36, 125, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 25px 20px 15px;
    border: 2px solid rgba(36, 125, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #247dff;
    background: rgba(255, 255, 255, 1);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 0 5px;
}

.form-group textarea + label {
    top: 35px;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: 0;
    font-size: 0.85rem;
    color: #247dff;
    font-weight: 500;
}

.privacy-agreement {
    margin-top: 15px;
    margin-bottom: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    gap: 12px;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(36, 125, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-container:hover .checkmark {
    border-color: #247dff;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #247dff;
    border-color: #247dff;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.agreement-text {
    color: #666;
    flex: 1;
}

.privacy-detail-btn {
    background: none;
    border: none;
    color: #247dff;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    margin-left: 5px;
}

.privacy-detail-btn:hover {
    color: #1e6bdb;
}

.form-submit {
    margin-top: 10px;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(45deg, #247dff, #4a9eff);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #1e6bdb, #3d8adb);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(36, 125, 255, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.submit-btn.loading {
    background: linear-gradient(45deg, #1e6bdb, #3d8adb);
    transform: none;
    box-shadow: 0 4px 12px rgba(36, 125, 255, 0.4);
}

.btn-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .loading-spinner {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 중앙 오버레이 모달 */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-overlay.show {
    opacity: 1;
    visibility: visible;
}

.contact-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 40px 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-overlay.show .contact-modal {
    transform: scale(1) translateY(0);
}

.contact-modal-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
    line-height: 1;
}

.contact-modal-icon.success {
    color: #10b981;
}

.contact-modal-icon.error {
    color: #ef4444;
}

.contact-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1f2937;
    line-height: 1.3;
}

.contact-modal-message {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 30px;
}

.contact-modal-close {
    background: linear-gradient(45deg, #247dff, #4a9eff);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(36, 125, 255, 0.3);
    outline: none;
}

.contact-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(36, 125, 255, 0.4);
    background: linear-gradient(45deg, #1e6bdb, #3d8adb);
}

.contact-modal-close:focus {
    box-shadow: 0 0 0 3px rgba(36, 125, 255, 0.3), 0 6px 16px rgba(36, 125, 255, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(36, 125, 255, 0.08);
    border: 1px solid rgba(36, 125, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(36, 125, 255, 0.12);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.info-card h3 {
    font-size: 1.2rem;
    color: #247dff;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-section {
        padding: 120px 20px 60px;
    }
    
    .contact-container {
        gap: 60px;
    }
    
    .contact-form-wrapper {
        padding: 35px;
    }
    
    .contact-modal {
        padding: 35px 40px;
        max-width: 450px;
    }
    
    .contact-modal-icon {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .contact-modal-title {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }
    
    .contact-modal-message {
        font-size: 1rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 100px 20px 50px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-subtitle {
        margin-bottom: 40px;
    }
    
    .contact-modal {
        padding: 30px 35px;
        max-width: 95%;
        margin: 20px;
    }
    
    .contact-modal-icon {
        font-size: 2.8rem;
        margin-bottom: 18px;
    }
    
    .contact-modal-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .contact-modal-message {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }
    
    .contact-modal-close {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 80px 20px 40px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 22px 18px 12px;
    }
    
    .form-group label {
        left: 18px;
    }
    
    .submit-btn {
        padding: 18px;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 25px;
    }
    
    .contact-modal {
        padding: 25px 30px;
        margin: 15px;
    }
    
    .contact-modal-icon {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }
    
    .contact-modal-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .contact-modal-message {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .contact-modal-close {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* Privacy Modal Styles */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.privacy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.privacy-modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privacy-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.privacy-modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.privacy-modal-body {
    padding: 20px 30px;
    overflow-y: auto;
    flex: 1;
}

.privacy-section {
    margin-bottom: 25px;
}

.privacy-section h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    border-left: 3px solid #247dff;
    padding-left: 12px;
}

.privacy-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.privacy-section ul {
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
}

.privacy-section li {
    margin-bottom: 5px;
}

.privacy-modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.privacy-agree-btn {
    background: linear-gradient(45deg, #247dff, #4a9eff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.privacy-agree-btn:hover {
    background: linear-gradient(45deg, #1e6bdb, #3d8adb);
}

@media (max-width: 768px) {
    .privacy-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .privacy-modal-header {
        padding: 20px 20px 15px;
    }
    
    .privacy-modal-body {
        padding: 15px 20px;
    }
    
    .privacy-modal-footer {
        padding: 15px 20px 20px;
    }
    
    .privacy-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .checkbox-container {
        font-size: 0.9rem;
        gap: 10px;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
    }
}

/* Section Popup Styles */
.section-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.section-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.popup-content {
    background: white;
    border-radius: 24px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    margin: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.section-popup.active .popup-content {
    transform: scale(1) translateY(0);
}

.popup-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    transform: scale(1.1);
}

.popup-body {
    padding: 60px 40px 40px;
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}

.popup-body h2 {
    color: #247dff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.popup-body h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 30px 0 20px;
    font-weight: 600;
}

.popup-body p, .popup-body li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 1rem;
}

.popup-body ul {
    padding-left: 24px;
    margin-bottom: 24px;
}

.popup-body li {
    margin-bottom: 8px;
}

.popup-body .highlight {
    background: linear-gradient(120deg, rgba(36, 125, 255, 0.08) 0%, rgba(36, 125, 255, 0.03) 100%);
    padding: 32px;
    border-radius: 16px;
    margin: 32px 0;
    border-left: 4px solid #247dff;
    border: 1px solid rgba(36, 125, 255, 0.1);
}

.popup-body strong {
    color: #247dff;
    font-weight: 600;
}

/* 새로운 팝업 콘텐츠 스타일 */
.program-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 30px 0 0 0;
}

/* 중복된 program-image-item 스타일 제거됨 - 위에 정의된 깔끔한 스타일 사용 */

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

.feature-list li {
    position: relative;
    padding: 12px 0 12px 32px;
    margin-bottom: 8px;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid rgba(36, 125, 255, 0.1);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: #247dff;
    font-weight: bold;
    font-size: 1.1rem;
}

.ai-example, .ai-examples {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    margin: 20px 0 32px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 100%;
}

.ai-example h4, .ai-examples h4 {
    color: #374151;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    padding: 16px 20px 12px 20px;
    border-bottom: 1px solid #f3f4f6;
    background: #f9fafb;
    border-radius: 12px 12px 0 0;
}

.ai-quote {
    background: #f1f5f9;
    border-radius: 18px 18px 18px 4px;
    padding: 14px 18px;
    margin: 16px 20px 12px 20px;
    color: #334155;
    font-style: normal;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: calc(100% - 40px);
}

.message-content {
    flex: 1;
    min-height: 1.5em;
}

.typing-text {
    display: inline;
    font-family: inherit !important;
    font-weight: inherit !important;
}

/* 채팅 컨테이너 스타일 */
.chat-container {
    padding: 20px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

/* 사용자 아바타 */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 12px;
    vertical-align: top;
    flex-shrink: 0;
}

/* 타이핑 커서 */
.typing-cursor-chat {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #374151;
    margin-left: 1px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

@media (max-width: 768px) {
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-scroll-indicator {
        bottom: 40px;
        font-size: 0.8rem;
    }
    
    .section-overlay-text {
        font-size: 1.4rem;
        padding: 24px 55px 24px 16px;
        margin: 0 20px 40px;
        max-width: calc(100% - 40px);
        min-height: 60px;
    }
    
    .section-overlay-text::before {
        font-size: 0.7rem;
        padding: 3px 8px;
        left: 15px;
    }
    
    .voice-indicator {
        top: 24px;
        right: 16px;
        gap: 3px;
        height: 1.4rem;
    }
    
    .voice-wave {
        width: 2px;
    }
    
    .voice-wave:nth-child(1) {
        height: 6px;
    }
    
    .voice-wave:nth-child(2) {
        height: 10px;
    }
    
    .voice-wave:nth-child(3) {
        height: 14px;
    }
    
    .voice-wave:nth-child(4) {
        height: 10px;
    }
    
    .voice-wave:nth-child(5) {
        height: 6px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-headline {
        font-size: 2rem;
    }
    
    .vision-number {
        font-size: 3rem;
    }
    
    .section-tags {
        gap: 8px;
    }
    
    .tag-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .detail-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .popup-content {
        width: 95vw;
        height: 95vh;
        border-radius: 16px;
    }
    
    .popup-body {
        padding: 60px 24px 24px;
    }
    
    .popup-body h2 {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .program-images-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .program-image-item {
        padding: 30px 12px;
        font-size: 0.8rem;
        aspect-ratio: 5/2;
    }
    
    .workflow-diagram {
        width: 90%;
        max-width: none;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        margin: 0 auto 40px auto;
    }
    
    .workflow-step {
        min-width: 100px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .ai-systems-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 20px;
    }
    
    .ai-system-card {
        padding: 20px;
    }
    
    .solutions-container,
    .vision-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Feature Interface Styles - 추가된 팝업 기능들을 위한 스타일들 */
.feature-interface {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 24px;
    margin: 20px auto;
    box-shadow: 0 8px 32px rgba(36, 125, 255, 0.12);
    border: 1px solid rgba(36, 125, 255, 0.15);
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    max-width: 800px;
    width: 100%;
}

.feature-interface.active {
    opacity: 1;
    transform: translateY(0);
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(36, 125, 255, 0.1);
}

.interface-header h3 {
    color: #247dff;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

.status-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.param-display {
    background: rgba(36, 125, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

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

.param-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.param-label {
    font-size: 0.8rem;
    color: #247dff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-value {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.results-area {
    min-height: 200px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.results-area.visible {
    opacity: 1;
    transform: translateY(0);
}

.result-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(36, 125, 255, 0.1);
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(36, 125, 255, 0.15);
}

/* Site Link Button Styles */
.site-link-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px;
    padding: 20px 0;
}

.site-link-btn {
    background: linear-gradient(45deg, #247dff, #4a9eff);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(36, 125, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.site-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(36, 125, 255, 0.4);
}

/* Responsive Design for Site Link Button */
@media (max-width: 768px) {
    .site-link-container {
        margin: 30px 0 15px;
        padding: 15px 0;
    }
    
    .site-link-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .site-link-container {
        margin: 25px 0 10px;
        padding: 12px 0;
    }
    
    .site-link-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
} 