@charset "utf-8";
/**
 * index.css - 알고파(algopha.com) 메인 페이지 전용 CSS
 *
 * 디자인 컨셉: "클린 SaaS 랜딩"
 * aibidding.kr(다크/파란-보라 메쉬)과 완전 차별화된
 * 밝은 화이트 + 블루 강조 + 도트 그리드 배경.
 *
 * 색상 팔레트 (블루 계열):
 *   배경:   #ffffff / #f9fafb / #eff6ff (블루 틴트)
 *   텍스트: #0f172a (주) / #475569 (보조) / #94a3b8 (약한)
 *   메인:   #2563eb (블루) / #3b82f6 (밝은 블루)
 *   보조:   #f59e0b (앰버) / #0ea5e9 (스카이블루)
 *   보더:   #e2e8f0
 */

/* ── 전역 리셋 + CSS 변수 ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #ffffff;
    --bg2: #f9fafb;
    --bg-blue: #eff6ff;
    --text: #0f172a;
    --text2: #475569;
    --text3: #94a3b8;
    --teal: #2563eb;
    --teal-light: #3b82f6;
    --teal-bg: rgba(37,99,235,0.06);
    --amber: #f59e0b;
    --sky: #0ea5e9;
    --border: #e2e8f0;
    --border2: #cbd5e1;
    --card: #ffffff;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.1);
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans KR', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg); color: var(--text);
    overflow-x: hidden; line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════════════════════════════
   네비게이션 — 심플 라인 스타일 (aibidding의 떠있는 카드와 차별화)
   ══════════════════════════════════════════════════════════════ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0);
    transition: all .3s;
}
.nav.scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px; height: 64px;
}
.nav-logo {
    font-family: 'Inter', sans-serif;
    font-size: 20px; font-weight: 900; letter-spacing: -0.5px;
    color: var(--teal);
}
.nav-logo span { color: var(--text); }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
    padding: 6px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: var(--text2); transition: all .2s;
}
.nav-menu a:hover { color: var(--teal); background: var(--teal-bg); }
.nav-actions { display: flex; align-items: center; gap: 2px; }
.nav-btn {
    padding: 7px 12px; border-radius: 8px; font-size: 13px; font-weight: 600;
    transition: all .2s; border: none; cursor: pointer; font-family: inherit;
    text-decoration: none; display: inline-flex; align-items: center;
}
.nav-btn-ghost { background: transparent; color: var(--text2); }
.nav-btn-ghost:hover { color: var(--teal); }
.nav-btn-fill {
    background: var(--teal); color: #fff; border: none;
}
.nav-btn-fill:hover { background: #1d4ed8; }
/* 햄버거 */
.nav-toggle { display: none; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-mobile-auth { display: none; }
.nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--text);
    margin: 4px 0; transition: all .3s; border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ══════════════════════════════════════════════════════════════
   히어로 — 도트 그리드 배경 + 하이라이트 마커 + 하단 대시보드
   ══════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    display: flex; align-items: center;
    padding: 100px 32px 60px;
    overflow: hidden; background: #fff;
}
/* 도트 그리드 패턴 */
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4; pointer-events: none;
}
/* 우상단 블루 그라데이션 원 */
.hero::after {
    content: ''; position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
    pointer-events: none;
}
.hero .inner {
    max-width: 1140px; margin: 0 auto; width: 100%;
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
}
/* ── 히어로 상단: 텍스트 중앙 배치 ──────────────────────────────── */
.hero-top { text-align: center; margin-bottom: 48px; }
.hero h1 {
    font-size: clamp(32px, 4.5vw, 52px); font-weight: 900;
    line-height: 1.2; letter-spacing: -2px;
    margin-bottom: 20px; color: var(--text);
    /* 부드러운 부유 효과 — 6초 주기로 위아래 6px */
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
/* 형광펜 하이라이트 */
.marker { position: relative; display: inline; color: var(--teal); }
.marker::after {
    content: ''; position: absolute;
    left: -3px; right: -3px; bottom: 2px;
    height: 35%; background: rgba(59,130,246,0.12);
    z-index: -1; border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
/* 입장 후 반짝이는 펄스 — 밝기가 주기적으로 변화 */
.marker.active::after {
    transform: scaleX(1);
    animation: markerPulse 3s ease-in-out 1.5s infinite;
}
@keyframes markerPulse {
    0%, 100% { background: rgba(59,130,246,0.12); }
    50% { background: rgba(59,130,246,0.3); }
}
.hero-desc {
    font-size: 16px; color: var(--text2);
    line-height: 1.8; margin-bottom: 28px;
}
/* ── 히어로 강조 문구 — 인라인 뱃지 스타일 ──────────────────── */
.hero-highlight {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: #1e40af;
    background: linear-gradient(135deg, rgba(37,99,235,0.1) 0%, rgba(59,130,246,0.15) 100%);
    border: 1.5px solid rgba(37,99,235,0.25);
    border-radius: 10px;
    padding: 10px 24px;
    margin-bottom: 28px;
    letter-spacing: -0.3px;
    animation: highlightPulse 2.5s ease-in-out infinite;
}
@keyframes highlightPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.15); }
    50% { box-shadow: 0 0 20px 4px rgba(37,99,235,0.18); }
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: all .2s; cursor: pointer;
    border: none; font-family: inherit;
}
.btn-teal {
    background: var(--teal); color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.btn-teal:hover { background: #1d4ed8; box-shadow: 0 4px 16px rgba(37,99,235,0.3); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.hero-phone { font-size: 15px; color: var(--text2); }
.hero-phone strong { color: var(--text); font-weight: 700; }

/* ── 히어로 하단: 대시보드 목업 (전체 너비) ─────────────────────── */
.hero-dashboard { width: 100%; }
.dash-mock {
    background: #fff; border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
    transform: perspective(1200px) rotateX(2deg);
    transition: transform 0.5s;
}
.dash-mock:hover { transform: perspective(1200px) rotateX(0deg); }
/* 상단 브라우저 바 */
.dash-topbar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px; background: var(--bg2);
    border-bottom: 1px solid var(--border);
}
.dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-dot.r { background: #ef4444; }
.dash-dot.y { background: #f59e0b; }
.dash-dot.g { background: #22c55e; }
.dash-url {
    flex: 1; margin-left: 8px; padding: 4px 12px;
    background: #fff; border: 1px solid var(--border); border-radius: 6px;
    font-size: 11px; color: var(--text3);
}
.dash-url-title {
    font-size: 12px; font-weight: 700; color: var(--text);
    letter-spacing: -0.3px;
}
.dash-badge {
    padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700;
    background: rgba(37,99,235,0.08); color: var(--teal);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }
/* 대시보드 본문 */
.dash-body { padding: 20px; }
/* 통계 카드 4개 가로 배치 */
.dash-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 12px; margin-bottom: 20px;
}
.dash-stat-card {
    padding: 16px; background: var(--bg2);
    border: 1px solid var(--border); border-radius: 10px; text-align: center;
}
.dash-stat-label { font-size: 11px; color: var(--text3); margin-bottom: 4px; font-weight: 500; }
.dash-stat-val {
    font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 900;
    line-height: 1; font-variant-numeric: tabular-nums;
}
.dash-stat-val span { font-size: 14px; }
.dash-stat-val.blue { color: var(--teal); }
.dash-stat-val.green { color: #10b981; }
/* 하단: 테이블 + 차트 좌우 배치 */
.dash-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* 키워드 테이블 */
.dash-table { min-width: 0; }
.dash-table-header {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 8px; padding: 8px 0; border-bottom: 2px solid var(--border);
    font-size: 11px; font-weight: 700; color: var(--text3);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.dash-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 8px; align-items: center;
    padding: 9px 4px; border-bottom: 1px solid var(--border); font-size: 13px;
    border-radius: 4px; transition: all 0.4s ease;
}
.dash-row:last-child { border-bottom: none; }
.dash-kw { font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-rank { padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 12px; text-align: center; }
.dash-rank.r1 { background: rgba(37,99,235,0.08); color: var(--teal); }
.dash-rank.r2 { background: rgba(14,165,233,0.08); color: var(--sky); }
.dash-rank.r3 { background: rgba(245,158,11,0.08); color: var(--amber); }
.dash-bid { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--text2); text-align: right; transition: color 0.5s; }
.dash-status {
    font-size: 11px; font-weight: 600; text-align: center;
    padding: 2px 6px; border-radius: 4px;
}
.dash-status.ok { background: rgba(16,185,129,0.08); color: #10b981; }
.dash-status.adj { background: rgba(37,99,235,0.08); color: var(--teal); }
/* 바 차트 영역 */
.dash-chart-wrap {
    display: flex; flex-direction: column; min-width: 0;
    padding: 16px; background: var(--bg2); border: 1px solid var(--border);
    border-radius: 10px;
}
.dash-chart-title {
    font-size: 12px; font-weight: 700; color: var(--text2); margin-bottom: 12px;
}
.dash-chart {
    display: flex; align-items: flex-end; gap: 4px;
    flex: 1; min-height: 80px;
}
.dash-bar {
    flex: 1; background: var(--teal); border-radius: 3px 3px 0 0;
    opacity: 0.25; animation: barGrow 1.5s ease forwards;
    min-height: 4px; transition: height 1.2s ease;
}
.dash-bar:nth-child(odd) { opacity: 0.5; background: var(--sky); }
.dash-bar:nth-child(3n) { opacity: 0.4; }
@keyframes barGrow { from { height: 4px; } }
.dash-chart-labels {
    display: flex; justify-content: space-between;
    margin-top: 6px; font-size: 10px; color: var(--text3);
}

/* ══════════════════════════════════════════════════════════════
   섹션 공통
   ══════════════════════════════════════════════════════════════ */
.section { padding: 100px 32px; }
.section .inner { max-width: 1140px; margin: 0 auto; }
.section-eyebrow {
    font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
    font-weight: 700; color: var(--teal); margin-bottom: 10px;
}
.section-title {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 14px; color: var(--text);
    line-height: 1.3;
}
.section-desc {
    font-size: 15px; color: var(--text2); max-width: 500px;
    margin-bottom: 48px; line-height: 1.7;
}
.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════
   핵심 기능 — 좌측 컬러 라인 카드 (aibidding의 네모 카드와 차별)
   ══════════════════════════════════════════════════════════════ */
.feat-section { background: var(--bg2); }
.feat-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feat-card {
    display: flex; gap: 16px; padding: 28px 24px;
    background: #fff; border-radius: 12px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--teal);
    transition: all .3s; position: relative;
}
.feat-card:nth-child(2) { border-left-color: var(--sky); }
.feat-card:nth-child(3) { border-left-color: var(--amber); }
.feat-card:nth-child(4) { border-left-color: #8b5cf6; }
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-num {
    font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 900;
    color: var(--border); line-height: 1; flex-shrink: 0; width: 40px;
}
.feat-card:hover .feat-num { color: var(--teal); }
.feat-card:nth-child(2):hover .feat-num { color: var(--sky); }
.feat-card:nth-child(3):hover .feat-num { color: var(--amber); }
.feat-card:nth-child(4):hover .feat-num { color: #8b5cf6; }
.feat-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat-desc { font-size: 14px; color: var(--text2); line-height: 1.7; }

/* ══════════════════════════════════════════════════════════════
   AI/빅데이터 — 수평 타임라인 카드 (aibidding 4열 그리드와 차별)
   ══════════════════════════════════════════════════════════════ */
.ai-section { background: #fff; }
.ai-title-grad {
    color: var(--teal);
}
.ai-timeline {
    display: flex; gap: 0; position: relative; margin-top: 48px;
}
/* 연결선 */
.ai-timeline::before {
    content: ''; position: absolute;
    top: 28px; left: 40px; right: 40px;
    height: 2px; background: var(--border);
}
.ai-item {
    flex: 1; text-align: center; position: relative; padding: 0 12px;
}
/* 원형 아이콘 노드 */
.ai-node {
    width: 56px; height: 56px; border-radius: 50%;
    background: #fff; border: 2px solid var(--teal);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 16px; position: relative; z-index: 1;
    box-shadow: 0 2px 8px rgba(37,99,235,0.1);
    transition: all .3s;
}
.ai-item:hover .ai-node {
    background: var(--teal); border-color: var(--teal);
    transform: scale(1.1); box-shadow: 0 4px 16px rgba(37,99,235,0.25);
}
.ai-item:hover .ai-node-emoji { filter: brightness(10); }
.ai-label { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ai-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   지원 광고 유형 — 가로 배너 카드 (세로 카드와 차별)
   ══════════════════════════════════════════════════════════════ */
.adtype-section { background: var(--bg-blue); }
.adtype-list { display: flex; flex-direction: column; gap: 12px; }
.adtype-row {
    display: flex; align-items: center; gap: 24px;
    padding: 24px 28px; background: #fff;
    border: 1px solid var(--border); border-radius: 12px;
    transition: all .3s;
}
.adtype-row:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.adtype-icon {
    width: 56px; height: 56px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; flex-shrink: 0;
}
.adtype-icon.pl { background: rgba(37,99,235,0.08); }
.adtype-icon.shop { background: rgba(14,165,233,0.08); }
.adtype-icon.pc { background: rgba(245,158,11,0.08); }
.adtype-info { flex: 1; }
.adtype-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.adtype-desc { font-size: 14px; color: var(--text2); line-height: 1.6; }
.adtype-tag {
    padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 600;
    white-space: nowrap; flex-shrink: 0;
}
.adtype-tag.pl { background: rgba(37,99,235,0.08); color: var(--teal); }
.adtype-tag.shop { background: rgba(14,165,233,0.08); color: var(--sky); }
.adtype-tag.pc { background: rgba(245,158,11,0.08); color: var(--amber); }

/* ══════════════════════════════════════════════════════════════
   요금제 — 심플 테이블형 카드 (aibidding 스타일과 차별)
   ══════════════════════════════════════════════════════════════ */
.pricing-section { background: #fff; }
.pricing-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; max-width: 840px; margin: 0 auto;
    border: 1px solid var(--border); border-radius: 16px;
    overflow: hidden; background: #fff;
}
.pricing-card {
    padding: 36px 28px; text-align: center;
    border-right: 1px solid var(--border);
    position: relative; transition: all .3s;
}
.pricing-card:last-child { border-right: none; }
.pricing-card:hover { background: var(--bg2); }
.pricing-card.pop {
    background: var(--bg-blue);
}
.pricing-pop-label {
    position: absolute; top: 0; left: 0; right: 0;
    padding: 4px; background: var(--teal); color: #fff;
    font-size: 11px; font-weight: 700; text-align: center;
}
.pricing-name {
    font-size: 13px; font-weight: 600; color: var(--text2);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.pricing-card.pop .pricing-name { margin-top: 16px; }
.pricing-price {
    font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 900;
    color: var(--text); margin-bottom: 2px;
}
.pricing-unit { font-size: 13px; color: var(--text3); margin-bottom: 20px; }
.pricing-list { margin-bottom: 24px; }
.pricing-list li {
    font-size: 13px; color: var(--text2); padding: 5px 0;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.pricing-list li::before {
    content: ''; width: 4px; height: 4px; border-radius: 50%;
    background: var(--teal); flex-shrink: 0;
}
.pricing-btn-link {
    display: inline-block; padding: 10px 28px; border-radius: 8px;
    font-size: 13px; font-weight: 600; transition: all .2s;
    border: 1px solid var(--border); color: var(--text); background: #fff;
    text-decoration: none; cursor: pointer; font-family: inherit;
}
.pricing-btn-link:hover { border-color: var(--teal); color: var(--teal); }
.pricing-card.pop .pricing-btn-link {
    background: var(--teal); color: #fff; border-color: var(--teal);
}
.pricing-card.pop .pricing-btn-link:hover { background: #1d4ed8; }
.pricing-more {
    display: inline-block; margin-top: 28px;
    font-size: 14px; color: var(--teal); font-weight: 600;
}
.pricing-more:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   이용 절차 — 수평 화살표 타임라인 (aibidding의 카드형과 차별)
   ══════════════════════════════════════════════════════════════ */
.steps-section { background: var(--bg2); }
.steps-row {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-top: 48px;
}
.step-item { text-align: center; flex: 0 0 200px; }
.step-circle {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--teal); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 900;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}
.step-label { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-sub { font-size: 13px; color: var(--text2); line-height: 1.5; }
/* 화살표 연결선 */
.step-arrow {
    flex: 0 0 60px; display: flex; align-items: center;
    justify-content: center; margin-bottom: 40px;
}
.step-arrow::after {
    content: ''; width: 40px; height: 2px; background: var(--border);
    position: relative;
}
.step-arrow::before {
    content: ''; position: absolute;
    width: 0; height: 0;
    border-top: 5px solid transparent; border-bottom: 5px solid transparent;
    border-left: 6px solid var(--border);
    margin-left: 46px;
}

/* ══════════════════════════════════════════════════════════════
   CTA — 틸 배경 (aibidding의 다크 배경과 차별)
   ══════════════════════════════════════════════════════════════ */
.cta-section {
    text-align: center; padding: 80px 32px;
    background: var(--teal); color: #fff;
    position: relative; overflow: hidden;
}
/* 도트 패턴 오버레이 */
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px; pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
    letter-spacing: -1px; margin-bottom: 12px; position: relative;
}
.cta-section > p {
    font-size: 15px; opacity: 0.85; margin-bottom: 28px;
    max-width: 480px; margin-left: auto; margin-right: auto; position: relative;
}
.cta-actions {
    display: flex; gap: 12px; justify-content: center;
    flex-wrap: wrap; position: relative; margin-bottom: 16px;
}
.btn-white {
    background: #fff; color: var(--teal);
    font-weight: 700; border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-white:hover { background: #eff6ff; transform: translateY(-1px); }
.cta-contact { margin-top: 16px; position: relative; }
.cta-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600; color: #fff;
}
.cta-phone span { font-size: 12px; opacity: 0.7; }

/* ══════════════════════════════════════════════════════════════
   푸터 — 심플 1줄 (aibidding의 2열과 차별)
   ══════════════════════════════════════════════════════════════ */
.footer {
    background: #fff; border-top: 1px solid var(--border);
    padding: 32px 32px;
}
.footer-inner {
    max-width: 1140px; margin: 0 auto;
}
.footer-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; flex-wrap: wrap; gap: 12px;
}
.footer-brand {
    font-family: 'Inter', sans-serif; font-size: 16px;
    font-weight: 900; color: var(--teal);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a {
    font-size: 13px; color: var(--text2); transition: color .2s;
}
.footer-links a:hover { color: var(--teal); }
.footer-info {
    font-size: 12px; color: var(--text3); line-height: 1.8;
}
.footer-info a { color: var(--text3); }
.footer-info a:hover { color: var(--text2); }

/* ══════════════════════════════════════════════════════════════
   카카오톡 플로팅
   ══════════════════════════════════════════════════════════════ */
.float-kakao {
    position: fixed; bottom: 24px; right: 24px; z-index: 99;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px 10px 10px;
    background: #FEE500; color: #3C1E1E;
    border-radius: 24px; text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    font-size: 13px; font-weight: 600; transition: all .3s;
}
.float-kakao:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.float-kakao img { width: 26px; height: 18px; display: block; }

/* ══════════════════════════════════════════════════════════════
   Reveal 스크롤 애니메이션
   ══════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ══════════════════════════════════════════════════════════════
   반응형 — 1024px 이하
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* 대시보드 통계 2열, 컨텐츠 1열 */
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .dash-content { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   반응형 — 768px 이하
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 네비 */
    .nav-inner { padding: 12px 20px; height: 56px; }
    .nav-menu {
        display: none; position: fixed; inset: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 4px; z-index: 99;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { font-size: 18px; padding: 12px 24px; }
    .nav-actions { display: none; }
    .nav-toggle { display: block; z-index: 101; }
    .nav-mobile-auth {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--border);
        margin-top: 4px;
        padding-top: 4px;
    }
    .nav-mobile-auth a {
        padding: 12px 32px;
        font-size: 15px;
        color: var(--teal);
        font-weight: 600;
    }
    .nav-mobile-auth a:hover { background: var(--bg2); }

    /* 히어로 */
    .hero { padding: 80px 20px 40px; }
    .hero h1 { font-size: 28px; letter-spacing: -1px; }
    .hero-desc { font-size: 14px; }
    .hero-highlight { font-size: 14px; padding: 8px 18px; }
    .hero-desc br { display: none; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .hero-top { margin-bottom: 32px; }
    /* 대시보드 모바일 */
    .dash-stats { grid-template-columns: 1fr 1fr; }
    .dash-stat-val { font-size: 18px; }
    .dash-content { grid-template-columns: 1fr; }
    .dash-row { font-size: 12px; }
    .dash-table-header { font-size: 10px; }
    .hero-stat-value { font-size: 22px; }

    /* 섹션 공통 */
    .section { padding: 60px 20px; }
    .section-title { font-size: 24px; margin-bottom: 10px; }
    .section-desc { font-size: 14px; margin-bottom: 32px; }

    /* 기능 */
    .feat-grid { grid-template-columns: 1fr; gap: 12px; }
    .feat-card { padding: 20px; }
    .feat-num { font-size: 24px; width: 32px; }
    .feat-title { font-size: 15px; }
    .feat-desc { font-size: 13px; }

    /* AI */
    .ai-timeline { flex-direction: column; gap: 24px; align-items: center; }
    .ai-timeline::before { display: none; }
    .ai-item { padding: 0; }

    /* 광고유형 */
    .adtype-row { flex-direction: column; gap: 12px; text-align: center; padding: 20px; }
    .adtype-icon { margin: 0 auto; }

    /* 요금제 */
    .pricing-cards { grid-template-columns: 1fr; border-radius: 16px; }
    .pricing-card { border-right: none; border-bottom: 1px solid var(--border); padding: 28px 24px; }
    .pricing-card:last-child { border-bottom: none; }

    /* 이용절차 */
    .steps-row { flex-direction: column; gap: 0; }
    .step-arrow { transform: rotate(90deg); flex: 0 0 30px; margin-bottom: 0; }
    .step-item { flex: none; }

    /* CTA */
    .cta-section { padding: 60px 20px; }
    .cta-section h2 { font-size: 24px; }
    .cta-actions .btn { width: 100%; }

    /* 푸터 */
    .footer { padding: 24px 20px; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 12px; }
    .float-kakao { bottom: 20px; right: 16px; }
}

/* ══════════════════════════════════════════════════════════════
   반응형 — 480px 이하
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .nav-inner { padding: 10px 16px; }
    .hero { padding: 72px 16px 32px; }
    .hero h1 { font-size: 24px; letter-spacing: -0.5px; }
    .hero-sub { font-size: 12px; }
    .hero-tag { font-size: 11px; }
    .section { padding: 48px 16px; }
    .section-title { font-size: 22px; }
    .ai-node { width: 48px; height: 48px; font-size: 18px; }
    .step-circle { width: 52px; height: 52px; font-size: 18px; }
    .cta-section { padding: 48px 16px; }
    .footer { padding: 20px 16px; }
}
