/* ===== 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-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;
    }
}

/* ===== App Preview Section ===== */
.app-preview-section {
    padding: 80px 0 96px;
    background: #F0FDF4;
    border-top: 1px solid var(--primary-border);
    border-bottom: 1px solid var(--primary-border);
}

.phones-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 12px;
    overflow-x: auto;
    padding: 0 4px 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.phones-row::-webkit-scrollbar { display: none; }

.phone-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.phone-mockup {
    width: 140px;
    border-radius: 22px;
    border: 6px solid #1C1C1E;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    background: #1C1C1E;
    transition: transform 0.3s;
}

.phone-item:hover .phone-mockup {
    transform: translateY(-4px);
}

.phone-featured .phone-mockup {
    width: 170px;
    transform: translateY(-18px);
    box-shadow: 0 24px 60px rgba(22, 163, 74, 0.25);
    border-color: var(--primary);
}

.phone-item:hover.phone-featured .phone-mockup {
    transform: translateY(-22px);
}

.phone-mockup img {
    width: 100%;
    display: block;
}

.phone-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
}

.phone-featured .phone-label {
    color: var(--primary);
    font-weight: 700;
}

@media (min-width: 640px) {
    .phones-row { gap: 20px; }
    .phone-mockup { width: 180px; }
    .phone-featured .phone-mockup { width: 215px; }
}

@media (min-width: 768px) {
    .phones-row { gap: 28px; }
    .phone-mockup { width: 210px; }
    .phone-featured .phone-mockup { width: 250px; }
}

/* ===== Testimonials ===== */
.testimonials-section {
    background: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 1040px;
    margin: 0 auto;
}

.testimonial-card {
    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);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 15px;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 18px;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--divider);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.author-desc {
    font-size: 12px;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== 카카오톡 상담 플로팅 버튼 ===== */
.landing-chat-fab {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #FEE500;
    color: #191919;
    padding: 10px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    transition: transform 0.15s, box-shadow 0.15s;
    line-height: 1;
}
.landing-chat-fab:hover,
.landing-chat-fab:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.28);
    color: #191919;
    text-decoration: none;
}

/* ===== 팀 찾기 섹션 ===== */
.team-find-section { background: #F5F6F8; }

.region-map-wrap {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center; margin-bottom: 28px;
}
.region-map-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 12px 18px; background: #fff; border: 1.5px solid #E5E7EB;
    border-radius: 14px; text-decoration: none; color: #374151;
    transition: all .15s; min-width: 72px; text-align: center;
}
.region-map-item:hover {
    border-color: #16A34A; color: #16A34A; transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22,163,74,.12);
    text-decoration: none;
}
.region-map-name { font-size: 14px; font-weight: 600; }
.region-map-cnt  { font-size: 12px; color: #6B7280; }
.region-map-all  { border-color: #16A34A; color: #16A34A; font-weight: 700; }
.region-map-all .region-map-cnt { color: #16A34A; font-size: 16px; }

.recent-teams-wrap { margin-bottom: 24px; }
.recent-teams-label { font-size: 13px; font-weight: 600; color: #6B7280; margin-bottom: 12px; }
.recent-teams-row {
    display: flex; gap: 24px; overflow-x: auto; padding-bottom: 4px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
	justify-content: center;
}
.recent-teams-row::-webkit-scrollbar { display: none; }
.recent-team-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    flex-shrink: 0; text-decoration: none; color: #374151;
}
.recent-team-logo {
    width: 86px; height: 86px; border-radius: 14px; overflow: hidden;
    background: #E5E7EB; border: 1px solid #E5E7EB;
}
.recent-team-logo img { width: 100%; height: 100%; object-fit: cover; }
.recent-team-name { font-size: 12px; font-weight: 600; text-align: center; max-width: 60px; line-height: 1.3; }
.recent-team-loc  { font-size: 11px; color: #9CA3AF; }

.team-find-cta { text-align: center; }
.btn-find-team {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; background: #16A34A; color: #fff;
    border-radius: 12px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: background .15s;
}
.btn-find-team:hover { background: #15803D; color: #fff; text-decoration: none; }

@media (max-width: 480px) {
    .region-map-item { padding: 10px 14px; min-width: 64px; }
    .region-map-name { font-size: 13px; }
}

