﻿:root {
    --primary: #635BFF;
    --primary-hover: #4F46E5;
    --secondary: #00D4B2;
    --dark-bg: #0A2540;
    --light-bg: #F8F9FC;
    --surface: #FFFFFF;
    --text-main: #1A1F36;
    --text-muted: #4F5B76;
    --border: #E3E8EE;
    --success: #00D4B2;
    --error: #FF4D4D;
    --font: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 37, 64, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: background 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #7c75ff 100%);
    color: #FFFFFF;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 91, 255, 0.4);
    color: #FFFFFF;
}

/* Sections */
.section {
    padding: 110px 0;
    background-color: var(--surface);
}

.section-alt {
    background-color: var(--light-bg);
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 64px auto;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background: radial-gradient(circle at top right, #1a2f56, var(--dark-bg));
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 19px;
    line-height: 1.6;
    color: #E3E8EE;
    margin-bottom: 40px;
}

.hero-cta-wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(99, 91, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 91, 255, 0.45);
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.trust-strip {
    display: flex;
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 24px;
    height: 24px;
    fill: var(--secondary);
}

.trust-text {
    font-size: 14px;
    font-weight: 500;
    color: #E3E8EE;
}

/* Benefits/Value Prop Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border-color: rgba(99, 91, 255, 0.2);
}

.benefit-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 24px;
}

.benefit-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(99, 91, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    fill: var(--primary);
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* How It Works (Timeline) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 24px;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(99, 91, 255, 0.3);
}

.step-card h3 {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    display: flex;
    gap: 24px;
    background: var(--surface);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
}

.service-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-text p {
    color: var(--text-muted);
    font-size: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px;
    position: relative;
}

.testimonial-quote {
    color: var(--text-main);
    font-size: 15px;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E3E8EE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.author-info h4 {
    font-size: 15px;
    font-weight: 700;
}

.author-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Form Section */
.form-section {
    background: radial-gradient(circle at bottom left, #1a2f56, var(--dark-bg));
    color: #FFFFFF;
    padding: 110px 0;
}

.form-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.form-info h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.form-info p {
    font-size: 16px;
    color: #E3E8EE;
    margin-bottom: 32px;
}

.form-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.form-bullet-icon {
    width: 20px;
    height: 20px;
    fill: var(--secondary);
    margin-top: 4px;
}

.form-bullet-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.form-bullet-text p {
    font-size: 14px;
    color: #E3E8EE;
    margin: 0;
}

.lead-form-box {
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    color: var(--text-main);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    background-color: #FFFFFF;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.phone-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.phone-prefix {
    background: #E3E8EE;
    padding: 12px 16px;
    font-weight: 700;
    color: var(--text-main);
    border-right: 1px solid var(--border);
}

.phone-input-wrapper input {
    border: none !important;
    width: 100%;
    padding: 12px;
    font-size: 15px;
    outline: none;
}

.form-group small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.checkbox-group {
    margin-top: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 100%);
    color: #FFFFFF;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 24px;
    transition: opacity 0.2s;
}

.form-submit-btn:hover {
    opacity: 0.95;
}

.form-success {
    text-align: center;
    padding: 30px 10px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    fill: var(--success);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-muted);
    font-size: 15px;
}

.hidden {
    display: none !important;
}

/* FAQ Section Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.2s;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-content p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Legal pages content styling */
.legal-page {
    background: #FFFFFF;
}

.legal-main {
    padding: 140px 0 80px 0;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-container h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
}

.legal-container h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

.legal-container p, .legal-container ul, .legal-container ol {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.legal-container ul, .legal-container ol {
    padding-left: 20px;
}

.legal-container li {
    margin-bottom: 8px;
}

.last-updated {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.legal-table th, .legal-table td {
    border: 1px solid var(--border);
    padding: 12px;
    font-size: 14px;
    text-align: left;
}

.legal-table th {
    background: var(--light-bg);
    font-weight: 700;
}

/* Footer Section */
.footer {
    background: var(--dark-bg);
    color: #FFFFFF;
    padding: 80px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand img {
    margin-bottom: 24px;
}

.footer-brand p {
    font-size: 14px;
    color: #E3E8EE;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.footer-links a {
    color: #E3E8EE;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-info-block {
    font-size: 13px;
    color: #A0AEC0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    margin-top: 32px;
    line-height: 1.8;
}

.footer-info-block strong {
    color: #FFFFFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    margin-top: 24px;
}

.footer-bottom p {
    font-size: 13px;
    color: #A0AEC0;
}

.back-to-top {
    background: var(--primary);
    color: #FFFFFF;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    margin: 0 auto;
    background: #0A2540;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.3s, transform 0.3s;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.cookie-content p {
    color: #E3E8EE;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.cookie-content p a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-buttons .btn {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    border: none;
    font-weight: 700;
}

.cookie-buttons .btn-muted {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.cookie-buttons .btn-muted:hover {
    background: rgba(255, 255, 255, 0.2);
}

.legal-footer {
    text-align: center;
    padding: 40px 0;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer p {
    color: #A0AEC0;
    font-size: 13px;
    margin: 0;
}

/* Responsive queries */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-cta-wrapper {
        justify-content: center;
    }
    .trust-strip {
        flex-direction: column;
        align-items: center;
    }
    .benefits-grid, .steps-grid, .services-grid, .testimonials-grid, .about-grid, .form-layout, .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-layout {
        gap: 40px;
    }
    .header-container {
        justify-content: center;
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }
    .nav {
        gap: 16px;
    }
}
