﻿@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
    --primary: #0d1b2a;
    --secondary: #1b263b;
    --accent: #e0a96d;
    --bg-light: #f8f9fa;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

.text-center { text-align: center; }

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    width: 40px;
}

.nav {
    display: flex;
    gap: 25px;
    align-items: center;
    font-weight: 600;
}

.nav a:not(.btn-primary):hover {
    color: var(--accent);
}

/* Buttons */
.btn-primary {
    background: var(--accent);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-large {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-large:hover {
    background: #c28f57;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(224, 169, 109, 0.3);
}

/* Hero Section */
.hero {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-text .highlight {
    color: var(--accent);
}

.hero-text p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
}

/* Stats */
.random-section {
    padding: 60px 0;
    background: var(--secondary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary);
    font-weight: 800;
}

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

.feature-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: -15px 15px 0px var(--accent);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-list i {
    font-size: 2rem;
    color: var(--accent);
    background: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    flex-shrink: 0;
}

.feature-list strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary);
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.form-wrapper {
    background: var(--white);
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.form-wrapper h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.form-wrapper p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.input-row {
    display: flex;
    gap: 20px;
}

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

.input-group label {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--primary);
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fffdfa;
}

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

.checkbox-group a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 18px;
    font-size: 1.2rem;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.success-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease;
}

.success-message i {
    font-size: 4rem;
    color: #22c55e;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Random Section 2 */
.random-section-2 {
    padding: 80px 0;
    background: var(--white);
}

.random-section-2 h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ind-item {
    background: var(--bg-light);
    padding: 30px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
}

.ind-item:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-5px);
}

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

.faq-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--primary);
}

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

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

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

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
}

details[open] summary::after {
    content: '-';
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 60px 0 40px;
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent);
    text-decoration: underline;
}

.copyright {
    margin-top: 30px;
    border-top: 1px solid #334155;
    padding-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: bottom 0.5s ease;
}

.cookie-banner.show {
    bottom: 0;
}

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

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid #cbd5e1;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

/* Legal Pages Styling */
.legal-container {
    background: var(--white);
    max-width: 900px;
    margin: 60px auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.legal-container h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 20px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.legal-section p, .legal-section ul {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.legal-section ul {
    padding-left: 20px;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 30px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile First Adjustments */
@media (max-width: 768px) {
    .hero-inner, .feature-inner {
        flex-direction: column;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .stats-grid, .industry-grid {
        grid-template-columns: 1fr;
    }
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    .nav {
        display: none; /* simple mobile nav hide for landing */
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .form-wrapper {
        padding: 30px 20px;
    }
}