/* ==========================================
   NEMO AI ECO PLATFORM - DARK THEME STYLES
   ========================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    overflow-x: hidden;
    background-color: #0f0f1e;
    word-break: keep-all;
    word-wrap: break-word;
}

html {
    scroll-behavior: smooth;
}

/* Korean Text Line Breaking */
p, h1, h2, h3, h4, h5, h6, span, div, li, a {
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Navigation Styles */
.nav-link {
    position: relative;
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #00A8FF, #6366F1);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.text-nemo-blue {
    color: #00A8FF;
}

.nav-link:hover::after {
    width: 100%;
}

/* Button Styles */
.btn-primary-nav {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.625rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.3);
}

.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.4);
}

.btn-primary-hero:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 30px rgba(0, 168, 255, 0.5);
}

.btn-outline-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 2px solid rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-outline-hero:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.6);
    transform: translateY(-2px);
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.btn-primary-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.3);
}

.btn-primary-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
}

/* ECO Badge Styles */
.eco-badge-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.eco-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(0, 168, 255, 0.2);
    transition: all 0.3s ease;
}

.eco-badge:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateX(5px);
}

.eco-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 0.75rem;
    flex-shrink: 0;
}

.eco-text {
    color: #e5e7eb;
    font-size: 0.95rem;
    font-weight: 500;
    word-break: keep-all;
    word-wrap: break-word;
}

/* Hero Card Dark */
.hero-card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stat-item-hero {
    padding: 1.5rem;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(0, 168, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item-hero:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.4);
    transform: scale(1.02);
}

.stat-number-hero {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label-hero {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 500;
}

/* Feature Card Dark */
.feature-card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1.25rem;
    transition: all 0.4s ease;
}

.feature-card-dark:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.2);
}

.feature-icon-dark {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card-dark:hover .feature-icon-dark {
    transform: scale(1.1) rotate(5deg);
}

.process-sub-item {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    font-size: 0.9rem;
    word-break: keep-all;
    word-wrap: break-word;
}

/* Value Card */
.value-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00A8FF, #6366F1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 168, 255, 0.2);
}

.value-icon-container {
    margin-bottom: 2rem;
}

.value-icon {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Benefit Card Dark */
.benefit-card-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.benefit-card-dark:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 168, 255, 0.2);
}

.benefit-icon-large {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card-dark:hover .benefit-icon-large {
    transform: scale(1.1) rotate(5deg);
}

.benefit-number-dark {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* Architecture Styles */
.architecture-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
}

.architecture-layer {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.architecture-layer:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateY(-5px);
}

.architecture-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.architecture-list {
    list-style: none;
    space-y: 0.75rem;
}

.architecture-list li {
    color: #9ca3af;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.architecture-list li:last-child {
    border-bottom: none;
}

.architecture-list li:hover {
    color: #e5e7eb;
    padding-left: 0.5rem;
}

/* Contact Styles */
.contact-info-item-dark {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-info-item-dark:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.4);
    transform: translateX(5px);
}

.contact-icon-dark {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item-dark:hover .contact-icon-dark {
    transform: scale(1.1) rotate(5deg);
}

.contact-form-container-dark {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.contact-form-container-dark:hover {
    border-color: rgba(0, 168, 255, 0.3);
}

.form-input-dark {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.form-input-dark:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #00A8FF;
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.1);
}

.form-input-dark::placeholder {
    color: #6b7280;
}

select.form-input-dark {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Footer Links */
.footer-link-dark {
    color: #9ca3af;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link-dark::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00A8FF;
    transition: width 0.3s ease;
}

.footer-link-dark:hover::after {
    width: 100%;
}

.footer-link-dark:hover {
    color: white;
    transform: translateX(5px);
}

/* Scroll to Top Button */
.scroll-top-btn-dark {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 168, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.5);
}

.scroll-top-btn-dark.show {
    display: flex;
}

/* Text Gradient */
.text-gradient-blue {
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scroll Indicator */
.scroll-indicator {
    display: inline-block;
    animation: bounce 2s infinite;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    animation: slideIn 0.3s ease-out;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Fade In Section */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00A8FF 0%, #6366F1 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0090DD 0%, #5450D5 100%);
}

/* Selection Styling */
::selection {
    background: #00A8FF;
    color: white;
}

::-moz-selection {
    background: #00A8FF;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .eco-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .stat-number-hero {
        font-size: 2.5rem;
    }
    
    .benefit-number-dark {
        font-size: 3rem;
    }
}