/* 기본 설정 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #e5e9f5;
    color: #111827;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 공통 레이아웃 */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #111827;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #f97316);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #9ca3af;
}

/* 헤더 */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(22, 40, 89, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(251, 191, 36, 0.55);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-image-wrapper {
    width: 86px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.7);
    background: radial-gradient(circle at top left, #111827, #020617);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
}

.tagline {
    font-size: 0.85rem;
    color: #9ca3af;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    font-size: 0.95rem;
    color: #e5e7eb;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-menu a:hover {
    color: #fbbf24;
    border-color: #fbbf24;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px 90px;
    background:
        radial-gradient(circle at 15% 0, rgba(252, 211, 77, 0.45), transparent 55%),
        radial-gradient(circle at 85% 100%, rgba(56, 189, 248, 0.35), transparent 60%),
        linear-gradient(135deg, #214079, #18263f);
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.hero::before {
    width: 360px;
    height: 360px;
    background: rgba(56, 189, 248, 0.25);
    top: -120px;
    right: -80px;
}

.hero::after {
    width: 320px;
    height: 320px;
    background: rgba(250, 204, 21, 0.22);
    bottom: -120px;
    left: -80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.96));
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #e5e7eb;
    margin-bottom: 1.4rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.4rem;
}

.hero-badge {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    font-size: 0.8rem;
    color: #e5e7eb;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.6));
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-secondary-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-help-text {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 4px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
.primary {
    border-radius: 999px;
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #111827;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 15px 35px rgba(248, 181, 0, 0.45);
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(248, 181, 0, 0.55);
    background: linear-gradient(135deg, #fde047, #fb923c);
}

.ghost-button {
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.6);
    color: #e5e7eb;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ghost-button:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: #fbbf24;
    transform: translateY(-1px);
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.hero-card-frame {
    position: relative;
    border-radius: 22px;
    padding: 8px;
    background: radial-gradient(circle at top left, rgba(55, 65, 81, 0.9), rgba(15, 23, 42, 0.95));
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(148, 163, 184, 0.4);
}

.hero-card-image {
    width: 100%;
    border-radius: 18px;
    display: block;
}

.hero-trust-panel {
    border-radius: 16px;
    padding: 14px 16px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.trust-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 6px;
}

.trust-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.trust-item {
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.95);
}

.trust-label {
    display: block;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 2px;
}

.trust-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #facc15;
}

/* 서비스 섹션 */
.services {
    padding: 60px 0;
    background: #f3f4f6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 18px 22px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
    border-color: rgba(251, 191, 36, 0.7);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-card p {
    font-size: 0.95rem;
    color: #4b5563;
}

/* 회사 소개 */
.about {
    padding: 60px 0;
    background: linear-gradient(180deg, #f9fafb, #e5e9f5);
    border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.feature {
    background: #020617;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(55, 65, 81, 0.9);
}

.feature h3 {
    margin-bottom: 6px;
    font-size: 1.02rem;
}

.feature p {
    font-size: 0.94rem;
    color: #9ca3af;
}

/* 의뢰 폼 */
.contact {
    padding: 60px 0 80px;
    background: radial-gradient(circle at top, #edf2ff 0, #e5e9f5 40%, #d1d5db 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.inquiry-form {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px 26px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

/* 의뢰창 상단 바 느낌 */
.inquiry-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #fbbf24, #f97316, #22c55e);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.9);
    background: #f9fafb;
    color: #111827;
    font-size: 0.96rem;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 1px rgba(248, 181, 0, 0.35);
    background: #ffffff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
}

.submit-button {
    width: 100%;
    margin-top: 6px;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    color: #111827;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(248, 181, 0, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(248, 181, 0, 0.7);
    background: linear-gradient(135deg, #facc15, #fb923c);
}

/* 성공 메시지 */
.success-message {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.85);
    z-index: 40;
}

.success-content {
    background: #020617;
    border-radius: 18px;
    padding: 22px 20px 20px;
    text-align: center;
    border: 1px solid rgba(251, 191, 36, 0.7);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 1);
    max-width: 360px;
    width: 90%;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* 푸터 */
.footer {
    background: #111827;
    border-top: 1px solid rgba(251, 191, 36, 0.6);
    padding: 24px 0 26px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 14px;
    font-size: 0.92rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.footer-section p {
    color: #9ca3af;
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    color: #6b7280;
}

/* PWA 설치 프롬프트 */
.install-prompt {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    max-width: 420px;
    width: calc(100% - 32px);
    z-index: 30;
}

.install-prompt-content {
    background: rgba(15, 23, 42, 0.98);
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.95);
    font-size: 0.9rem;
}

.install-buttons {
    display: flex;
    gap: 8px;
}

.install-btn,
.dismiss-btn {
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
}

.install-btn {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ecfdf3;
}

.dismiss-btn {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

/* 반응형 */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding-inline: 16px;
    }

    .nav-menu {
        position: absolute;
        top: 56px;
        right: 12px;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 10px 14px;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        display: none;
    }

    .nav-menu.show {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 68vh;
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .services {
        padding-top: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .inquiry-form {
        padding-inline: 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-button {
        width: 100%;
    }

    .install-prompt-content {
        flex-direction: column;
        align-items: stretch;
    }

    .install-buttons {
        width: 100%;
        justify-content: flex-end;
    }
}

