/* ================================
   Global Reset & Base
===================================*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: #0f172a;
    background-color: #f3f4f6;
    line-height: 1.6;
}

/* ================================
   Layout Helpers
===================================*/
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Spacing utilities */
.section {
    padding: 64px 0;
}

.section--tight {
    padding: 40px 0;
}

/* ================================
   Header & Navigation
===================================*/
.site-header {
    background: linear-gradient(90deg, #0f172a, #1d4ed8);
    color: #e5e7eb;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-area img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text .brand {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.03em;
}

.logo-text .tagline {
    font-size: 12px;
    opacity: 0.8;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #e5e7eb;
    padding: 4px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.18s ease-out;
}

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

.nav-link--active {
    font-weight: 600;
}

/* Mobile navigation */
.nav-toggle {
    display: none;
}

/* ================================
   Hero (Home)
===================================*/
.hero {
    background: radial-gradient(circle at top left, #1d4ed8 0, #0f172a 55%, #020617 100%);
    color: #e5e7eb;
    padding: 72px 0 72px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    max-width: 480px;
    color: #cbd5f5;
    margin-bottom: 20px;
}

.hero-meta {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out, transform 0.1s ease-out, box-shadow 0.1s ease-out;
    white-space: nowrap;
}

.btn-primary {
    background: #2563eb;
    color: #eff6ff;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.8);
}

.btn-outline:hover {
    border-color: #e5e7eb;
    background: rgba(15, 23, 42, 0.75);
}

.hero-highlight {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    font-size: 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.5);
    margin-bottom: 12px;
}

.hero-highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.32);
}

.hero-panel {
    background: rgba(15, 23, 42, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    padding: 20px 18px;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.6);
}

.hero-panel-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    font-size: 11px;
}

.hero-pill {
    padding: 9px 10px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

/* ================================
   Sections
===================================*/
.section-header {
    margin-bottom: 28px;
}

.section-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 6px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}

.section-subtitle {
    font-size: 14px;
    color: #6b7280;
}

/* Feature grid (Home) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #e5e7eb;
}

.feature-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 8px;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-body {
    font-size: 13px;
    color: #6b7280;
}

/* ================================
   About Page
===================================*/
.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 32px;
    align-items: flex-start;
}

.about-main {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 22px 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.about-main h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.about-main p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 10px;
}

.about-main ul {
    margin: 6px 0 4px 18px;
    font-size: 13px;
    color: #4b5563;
}

.about-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    background: #0b1120;
    color: #e5e7eb;
    border-radius: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.7);
}

.about-card h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.about-card p {
    font-size: 12px;
    opacity: 0.92;
}

/* ================================
   Product Page
===================================*/
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-intro {
    font-size: 14px;
    color: #4b5563;
    max-width: 680px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.product-card {
    flex: 1 1 260px;
    max-width: 340px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

.product-image-wrap {
    padding: 10px 10px 0;
}

.product-image-row {
    display: flex;
    gap: 4px; /* 약 3pt 간격 */
    justify-content: center;
}

.product-image-row img {
    flex: 1 1 auto;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.product-body {
    padding: 14px 14px 13px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.product-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 6px;
}

.product-desc {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 10px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #6b7280;
}

/* ================================
   Service Page
===================================*/
.service-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 2.2fr);
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 20px 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.service-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.service-card p,
.service-card li {
    font-size: 13px;
    color: #4b5563;
}

.service-card ul {
    margin: 6px 0 4px 18px;
}

.service-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin-bottom: 6px;
}

/* ================================
   Contact Page
===================================*/
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 2.1fr);
    gap: 32px;
}

.contact-summary {
    background: #0b1120;
    color: #e5e7eb;
    border-radius: 18px;
    padding: 18px 20px 18px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.7);
    font-size: 13px;
}

.contact-summary h2 {
    font-size: 16px;
    margin-bottom: 6px;
}

.contact-summary p {
    margin-bottom: 8px;
}

.contact-summary dl {
    margin-top: 8px;
    font-size: 12px;
}

.contact-summary dt {
    font-weight: 600;
    margin-top: 6px;
}

.contact-summary dd {
    opacity: 0.9;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 20px 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-bottom: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
}

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

.form-label {
    font-weight: 500;
    color: #374151;
}

.form-input,
.form-textarea,
.form-select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 7px 9px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background-color 0.15s ease-out;
    background-color: #f9fafb;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.35);
    background-color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ================================
   Footer
===================================*/
.site-footer {
    background: #020617;
    color: #9ca3af;
    margin-top: 60px;
    border-top: 1px solid #111827;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 12px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-divider {
    opacity: 0.6;
}

.footer-link {
    opacity: 0.9;
}

/* ================================
   Tables & Misc
===================================*/
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 6px;
}

.info-table th,
.info-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #e5e7eb;
}

.info-table th {
    text-align: left;
    font-weight: 600;
    color: #4b5563;
    width: 120px;
}

/* ================================
   Responsive
===================================*/
@media (max-width: 960px) {
    .hero-inner,
    .about-layout,
    .service-grid,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding: 56px 0 52px;
    }

    .hero-inner {
        gap: 26px;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-wrap: nowrap;
    }

    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
        padding: 6px 10px;
        border-radius: 999px;
        border: 1px solid rgba(148, 163, 184, 0.8);
        font-size: 11px;
        background: transparent;
        color: #e5e7eb;
        cursor: pointer;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-list {
        flex-direction: column;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

/* About card 내부 info-table 가독성 향상 */
.about-card .info-table {
    margin-top: 8px;
    font-size: 13px;
}

.about-card .info-table th,
.about-card .info-table td {
    color: #e5e7eb; /* 밝은 글자색 */
    border-bottom-color: rgba(148, 163, 184, 0.6); /* 연한 경계선 */
}

.about-card .info-table th {
    width: 110px;
    font-weight: 600;
    color: #cbd5f5; /* 라벨은 더 밝게 */
}

.about-card .info-table td {
    opacity: 0.95;
}
