﻿@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@font-face {
    font-family: 'GmarketSans';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
}
@font-face {
    font-family: 'GmarketSans';
    font-weight: 500;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
}

:root {
    --primary: #0A2540;
    --secondary: #12B76A;
    --secondary-hover: #027A48;
    --accent: #F79009;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --text-main: #1D2939;
    --text-muted: #475467;
    --border: #EAECF0;
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
    --shadow-lg: 0 12px 24px -4px rgba(16, 24, 40, 0.08);
    --radius: 12px;
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'GmarketSans', sans-serif;
    color: var(--primary);
    line-height: 1.3;
}

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

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

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    height: 45px;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--text-muted);
    margin: 0 15px;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #07192A;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: url('hero-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,37,64,0.9) 0%, rgba(18,183,106,0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-content .highlight {
    color: #A6F4C5;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
}

.btn-large {
    background-color: var(--secondary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-family: 'GmarketSans', sans-serif;
    transition: transform 0.3s, background 0.3s;
    display: inline-block;
}

.btn-large:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

/* Stats */
.stats-section {
    background-color: var(--bg-light);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border-top: 4px solid var(--secondary);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* About & Features */
.about-section, .features-section {
    padding: 100px 0;
}

.about-container, .feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text h2, .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p, .feature-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-list li, .bullet-list li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.about-list i {
    color: var(--secondary);
}

.about-image img, .feature-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.text-center { text-align: center; }
.section-title { margin-bottom: 50px; }

/* Lead Form */
.form-section {
    background: var(--primary);
    padding: 100px 0;
    color: white;
}

.form-header h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.form-header p {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.8;
}

#form-wrapper, .success-box {
    background: white;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.input-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-group input {
    padding: 14px 16px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.checkbox-group input {
    margin-top: 4px;
    transform: scale(1.2);
}

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

.btn-submit {
    width: 100%;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-family: 'GmarketSans', sans-serif;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: var(--secondary-hover);
}

.success-box {
    text-align: center;
    padding: 80px 20px;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.btn-secondary {
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

/* Tech Section */
.tech-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.tech-img {
    margin-top: 40px;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* FAQ */
.faq-section {
    padding: 100px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

details {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

summary {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker { display: none; }
summary::after {
    content: '\f078';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--secondary);
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(180deg);
}

.details-content {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-info p { opacity: 0.7; }

.footer-legal h4, .footer-links h4 {
    font-family: 'GmarketSans', sans-serif;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-legal p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { opacity: 0.8; transition: opacity 0.3s; }
.footer-links a:hover { opacity: 1; color: var(--secondary); }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cookie-btns button {
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    border: none;
}

.btn-cookie-accept {
    background: var(--primary);
    color: white;
}

.btn-cookie-decline {
    background: var(--bg-light);
    border: 1px solid var(--border) !important;
    margin-left: 10px;
}

/* Legal Pages Core */
.legal-page-wrapper {
    background: var(--bg-light);
    padding: 60px 0;
}

.legal-container {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.legal-container h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.legal-container h2 {
    font-size: 1.3rem;
    margin: 30px 0 15px;
    color: var(--primary);
}

.legal-container p, .legal-container li {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Map */
.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: var(--radius);
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.8rem; }
    .about-container, .feature-row { flex-direction: column; }
    .feature-row { flex-direction: column-reverse; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .hero-content h1 { font-size: 2.2rem; }
    .form-row { flex-direction: column; gap: 0; }
    #form-wrapper { padding: 30px 20px; }
    .cookie-content { flex-direction: column; text-align: center; }
}
