:root {
    --primary-color: #0071e3;
    --text-color: #1d1d1f;
    --background-color: #ffffff;
    --section-background: #f5f5f7;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-color);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: #0077ed;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Console Button Styles */
.console-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.2);
}

.console-button:hover {
    background-color: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    color: white !important;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 2rem;
}

.slider-arrow.next {
    right: 2rem;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #0077ed;
    transform: scale(1.05);
    text-decoration: none;
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    z-index: 3;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.features {
    padding: 6rem 2rem;
    background-color: var(--section-background);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-card p {
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
}

.services {
    padding: 6rem 2rem;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.service-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* 카드 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 113, 227, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #2ecc71);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.2),
                0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 113, 227, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

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

.service-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card > p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    text-align: left;
}

.service-card ul li {
    padding: 0.75rem 0;
    color: #555;
    position: relative;
    padding-left: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover ul li {
    color: #333;
}

.service-card:hover ul li::before {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* 카드 내부 요소 스타일 개선 */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 0.5;
}

.contact {
    padding: 6rem 2rem;
    background-color: var(--section-background);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: #0077ed;
}

.footer {
    background-color: var(--text-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-slide {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-content {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .hero-image {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .service-card {
        min-width: 100%;
        max-width: 100%;
        padding: 2.5rem 2rem;
    }

    .service-card img {
        width: 100px;
        height: 100px;
    }

    .service-card h3 {
        font-size: 1.5rem;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    .slider-arrow.prev {
        left: 1rem;
    }

    .slider-arrow.next {
        right: 1rem;
    }
}

/* Login Modal Styles */
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #333;
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: #666;
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#password {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.login-button {
    padding: 0.8rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #0056b3;
}

/* Console Modal Styles */
.console-modal {
    width: 95%;
    height: 90vh;
    max-width: 1400px;
    padding: 0;
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    z-index: 1001;
}

.close-button:hover {
    color: #333;
}

#consoleFrame {
    width: 100%;
    height: 100%;
    border: none;
} 