/* ===== Landing Page Styles — teample.kr ===== */

:root {
    --primary: #16A34A;
    --primary-hover: #15803D;
    --primary-light: #DCFCE7;
    --primary-border: #86EFAC;
    --bg: #F5F6F8;
    --card-bg: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --divider: #EEF0F3;
    --footer-bg: #1F2937;
    --footer-text: #D1D5DB;
    --danger: #EF4444;
    --kakao: #FEE500;
    --info: #3B82F6;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.landing-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

/* ===== Container ===== */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.landing-nav .landing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    transition: color 0.3s;
}

.landing-nav.scrolled .nav-logo {
    color: var(--primary);
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-login {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.landing-nav.scrolled .btn-nav-login {
    color: var(--text-secondary);
    border-color: var(--border);
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.15);
}

.landing-nav.scrolled .btn-nav-login:hover {
    background: var(--bg);
}

.btn-nav-cta {
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    background: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.landing-nav.scrolled .btn-nav-cta {
    color: #fff;
    background: var(--primary);
}

.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #15803D 0%, #16A34A 40%, #22C55E 100%);
    overflow: hidden;
    padding: 100px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    background: #fff;
    color: var(--primary);
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 220px;
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 220px;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.hero-note {
    margin-top: 20px;
    font-size: 13px;
    opacity: 0.7;
}

/* ===== Section Common ===== */
.landing-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.6;
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

/* ===== How It Works ===== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.step-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-connector {
    position: absolute;
    left: 41px;
    bottom: -22px;
    width: 2px;
    height: 22px;
    background: var(--primary-border);
    z-index: 1;
}

.step-item:last-child .step-connector {
    display: none;
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.stat-item {
    padding: 20px 10px;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    line-height: 1.5;
    font-family: inherit;
}

.faq-question .faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 12px;
    transition: transform 0.3s, background 0.3s;
}

.faq-item.active .faq-question .faq-toggle {
    transform: rotate(180deg);
    background: var(--primary-light);
    color: var(--primary);
}

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

.faq-answer-inner {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Final CTA ===== */
.final-cta-section {
    background: linear-gradient(135deg, #15803D 0%, #16A34A 50%, #22C55E 100%);
    padding: 72px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.final-cta-section p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 28px;
}

.final-cta-section .btn-primary-cta {
    font-size: 16px;
    padding: 15px 36px;
}

.final-cta-login {
    margin-top: 16px;
    font-size: 14px;
    opacity: 0.8;
}

.final-cta-login a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.final-cta-login a:hover {
    opacity: 1;
}

/* ===== Footer ===== */
.landing-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 32px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

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

.footer-links a {
    font-size: 13px;
    color: var(--footer-text);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-bottom {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== Scroll Animation ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive: Tablet (768px+) ===== */
@media (min-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 44px;
    }

    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ===== Responsive: Desktop (1024px+) ===== */
@media (min-width: 1024px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 20px;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .landing-section {
        padding: 100px 0;
    }

    .section-title {
        font-size: 36px;
    }

    .steps-list {
        max-width: 680px;
    }

    .stat-number {
        font-size: 52px;
    }

    .final-cta-section h2 {
        font-size: 36px;
    }
}
