* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --msi-red: #e60012;
    --msi-dark: #1a1a1a;
    --msi-gray: #2d2d2d;
    --msi-light-gray: #4a4a4a;
    --msi-text: #ffffff;
    --msi-text-gray: #b0b0b0;
    --msi-border: #3a3a3a;
    /* 밝은 테마 변수 */
    --bg-light: #f5f5f5;
    --bg-light-secondary: #ffffff;
    --bg-light-card: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray-dark: #4a4a4a;
    --border-light: #e0e0e0;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--msi-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--msi-red);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.cart-btn {
    background: var(--bg-light-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    position: relative;
}

.cart-btn:hover {
    background: #f0f0f0;
    border-color: var(--msi-red);
}

.cart-count {
    background: var(--msi-red);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.75) 50%,
        rgba(245, 245, 245, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-block;
    background: var(--msi-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 버튼 */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--msi-red);
    color: white;
}

.btn-primary:hover {
    background: #cc0010;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 18, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--msi-red);
    color: var(--msi-red);
}

.btn-block {
    width: 100%;
}

/* 제품 섹션 */
.products {
    padding: 5rem 0;
    background: var(--bg-light-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-light-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 0, 18, 0.15);
    border-color: var(--msi-red);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--msi-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 10;
}

.product-badge-premium {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    color: var(--msi-dark);
}

.product-image {
    background: #f8f8f8;
    padding: 2rem;
    text-align: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-gray-dark);
    margin-bottom: 1.5rem;
}

.product-specs {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-gray-dark);
    font-weight: 500;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 600;
}

.product-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--msi-red);
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* 특징 섹션 */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light-card);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--msi-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray-dark);
    line-height: 1.6;
}

/* AI 워크플로우 섹션 */
.workflow {
    padding: 5rem 0;
    background: var(--bg-light);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.workflow-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light-card);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.workflow-item:hover {
    transform: translateY(-5px);
    border-color: var(--msi-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.workflow-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.workflow-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.workflow-description {
    color: var(--text-gray-dark);
    line-height: 1.6;
}

/* 활용 시나리오 섹션 */
.use-cases {
    padding: 5rem 0;
    background: var(--bg-light-secondary);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.use-case-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-light-card);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.use-case-item:hover {
    transform: translateY(-5px);
    border-color: var(--msi-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.use-case-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.use-case-description {
    color: var(--text-gray-dark);
    line-height: 1.8;
}

/* 엣지 애플리케이션 섹션 */
.edge-apps {
    padding: 5rem 0;
    background: var(--bg-light);
}

.edge-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.edge-app-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light-card);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.edge-app-item:hover {
    transform: translateY(-5px);
    border-color: var(--msi-red);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.edge-app-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.edge-app-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.edge-app-description {
    color: var(--text-gray-dark);
    line-height: 1.6;
}

/* 스펙 섹션 */
.specs {
    padding: 5rem 0;
    background: var(--bg-light-secondary);
}

.specs-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

thead {
    background: var(--msi-red);
}

th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 700;
    color: white;
}

td {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-dark);
}

tbody tr:hover {
    background: #f8f8f8;
}

/* 푸터 */
.footer {
    background: var(--bg-light);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-text {
    color: var(--text-gray-dark);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-gray-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--msi-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-gray-dark);
}

/* 장바구니 사이드바 */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-light-card);
    border-left: 1px solid var(--border-light);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.cart-close:hover {
    color: var(--msi-red);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    color: var(--text-gray-dark);
    padding: 2rem;
}

.cart-item {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
}

.cart-item-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.cart-item-price {
    color: var(--msi-red);
    font-weight: 600;
}

.cart-item-remove {
    background: var(--msi-red);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* 모달 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-light-card);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--msi-red);
}

/* 반응형 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .workflow-grid,
    .use-cases-grid,
    .edge-apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .product-card {
        margin: 0 10px;
    }
}
