/* =========================================================
   HNR.ai — AI 개발 전문 리뉴얼 스타일시트
   Palette: Violet / Cyan Gradient on deep navy background
   ========================================================= */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --bg: #070814;
    --bg-2: #0d0f1f;
    --surface: #121430;
    --surface-2: #1a1d3d;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);

    --text: #eef0ff;
    --text-dim: #a1a5c7;
    --text-muted: #7c80a3;

    --primary: #7c5cff;
    --primary-2: #a58bff;
    --accent: #22d3ee;
    --accent-2: #5eead4;
    --hot: #ff5d8f;
    --warn: #ffb547;
    --success: #22c55e;

    --grad-1: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
    --grad-2: linear-gradient(135deg, #ff5d8f 0%, #7c5cff 100%);
    --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.18));

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
    --shadow: 0 12px 40px rgba(8, 10, 30, 0.45);
    --shadow-lg: 0 24px 80px rgba(124, 92, 255, 0.25);

    --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(1200px 600px at 10% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
        radial-gradient(900px 500px at 110% 10%, rgba(34, 211, 238, 0.14), transparent 60%),
        linear-gradient(180deg, #070814 0%, #0a0b1d 100%);
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
section { position: relative; padding: 120px 0; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography helpers */
.gradient-text {
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}
.accent { color: var(--accent); }

.section-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 70px;
}
.section-header h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    margin: 14px 0 14px;
}
.section-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
}
.section-label {
    display: inline-block;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--primary-2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .98rem;
    transition: all .25s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.btn-primary {
    background: var(--grad-1);
    color: #fff;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(124, 92, 255, 0.55); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--primary-2); }
.btn-secondary { background: var(--accent); color: #06131a; }
.btn-outline { border: 1.5px solid var(--primary-2); color: var(--primary-2); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* =========================================================
   Promo Bar
   ========================================================= */
.promo-bar {
    background: var(--grad-2);
    color: #fff;
    padding: 10px 0;
    font-size: .92rem;
    position: relative;
    z-index: 1001;
}
.promo-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.promo-flash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}
.promo-text strong { font-weight: 800; }
.promo-count {
    display: inline-block;
    background: #fff;
    color: var(--hot);
    font-weight: 900;
    padding: 1px 8px;
    border-radius: 6px;
    margin: 0 2px;
}
.promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    background: #fff;
    color: var(--hot);
    border-radius: 999px;
    font-weight: 800;
    font-size: .88rem;
    transition: transform .2s;
}
.promo-cta:hover { transform: translateX(3px); }

@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: .7; } }

/* =========================================================
   Header
   ========================================================= */
.header {
    position: fixed;
    top: 38px;
    left: 0; right: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: all .3s ease;
    background: rgba(7, 8, 20, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.header.scrolled { top: 0; box-shadow: var(--shadow-sm); background: rgba(7, 8, 20, 0.85); }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: var(--grad-1);
    border-radius: 12px;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(124, 92, 255, 0.45);
}
.logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
}
.logo-text .highlight {
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-list {
    display: flex;
    gap: 30px;
}
.nav-link {
    font-size: .98rem;
    font-weight: 600;
    color: var(--text-dim);
    position: relative;
    padding: 6px 0;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 100%; height: 2px;
    background: var(--grad-1);
    border-radius: 2px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--grad-1);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 8px 20px rgba(124, 92, 255, 0.4);
    transition: transform .2s;
}
.header-cta:hover { transform: translateY(-2px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle .bar {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

.header-placeholder { height: 92px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    padding: 130px 0 110px;
    overflow: hidden;
    min-height: 94vh;
    display: flex;
    align-items: center;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    z-index: 0;
}
.hero-glow {
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    z-index: 0;
    pointer-events: none;
}
.glow-1 { background: #7c5cff; top: -100px; left: -100px; }
.glow-2 { background: #22d3ee; bottom: -120px; right: -60px; animation: float 8s ease-in-out infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(124, 92, 255, 0.12);
    border: 1px solid rgba(124, 92, 255, 0.35);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--primary-2);
    margin-bottom: 26px;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(94, 234, 212, .7);
    animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, .7); }
    70% { box-shadow: 0 0 0 12px rgba(94, 234, 212, 0); }
    100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.1rem);
    line-height: 1.1;
    margin-bottom: 24px;
}
.typing-text {
    display: inline-block;
    background: var(--grad-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}
.typing-text::after {
    content: '|';
    color: var(--primary-2);
    animation: blink 1s steps(1) infinite;
    -webkit-text-fill-color: currentColor;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
    font-size: 1.08rem;
    color: var(--text-dim);
    margin-bottom: 26px;
    max-width: 560px;
}
.hero-sub strong { color: var(--text); }

.hero-hook-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 34px;
}
.hook-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: .95rem;
}
.hook-item i { color: var(--accent-2); font-size: 1.05rem; }
.hook-item strong { color: var(--text); }

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.trust-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: .92rem;
}
.stars { color: var(--warn); letter-spacing: 2px; }
.trust-tech { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .82rem;
    color: var(--text-dim);
}
.tech-pill i { color: var(--primary-2); }

/* AI Orb Visual */
.hero-visual {
    position: relative;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-orb {
    position: relative;
    width: 420px; height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(124, 92, 255, 0.4);
    animation: spin 20s linear infinite;
}
.ring-1 { width: 100%; height: 100%; border-color: rgba(124, 92, 255, 0.4); }
.ring-2 { width: 78%; height: 78%; border-style: solid; border-color: rgba(34, 211, 238, 0.25); animation-direction: reverse; animation-duration: 25s; }
.ring-3 { width: 56%; height: 56%; border-color: rgba(168, 139, 255, 0.4); animation-duration: 15s; }
@keyframes spin { to { transform: rotate(360deg); } }

.orb-core {
    position: absolute;
    width: 160px; height: 160px;
    background: var(--grad-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3.4rem;
    box-shadow:
        0 0 60px rgba(124, 92, 255, 0.7),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    animation: orb-pulse 3s ease-in-out infinite;
}
@keyframes orb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.orb-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(18, 20, 48, 0.85);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    animation: chip-float 4s ease-in-out infinite;
}
.orb-chip i { color: var(--primary-2); }
.chip-1 { top: 4%; left: 10%; animation-delay: 0s; }
.chip-2 { top: 10%; right: 0%; animation-delay: .5s; }
.chip-3 { top: 50%; right: -6%; animation-delay: 1s; }
.chip-4 { bottom: 12%; right: 2%; animation-delay: 1.5s; }
.chip-5 { bottom: 4%; left: 12%; animation-delay: 2s; }
.chip-6 { top: 44%; left: -8%; animation-delay: 2.5s; }
@keyframes chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.live-ticker {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(18, 20, 48, 0.9);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: .88rem;
    color: var(--text-dim);
    backdrop-filter: blur(12px);
}
.live-ticker span { color: var(--accent); font-weight: 800; }
.ticker-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: dot-pulse 1.6s infinite;
}

/* =========================================================
   Logo Bar (social proof)
   ========================================================= */
.logo-bar {
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.logo-bar-title {
    text-align: center;
    color: var(--text-dim);
    font-size: .95rem;
    margin-bottom: 28px;
}
.logo-bar-title strong { color: var(--text); font-weight: 800; }
.logo-scroll {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
    display: flex;
    gap: 56px;
    white-space: nowrap;
    animation: scroll-x 30s linear infinite;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-muted);
    letter-spacing: -0.02em;
}
.logo-track span {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo-track span i { color: var(--primary-2); font-size: 1.1rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =========================================================
   Pain Point
   ========================================================= */
.pain-point { padding: 110px 0; }
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}
.pain-card {
    padding: 30px;
    background: linear-gradient(160deg, rgba(255, 93, 143, 0.08), rgba(124, 92, 255, 0.06));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .3s, border-color .3s;
}
.pain-card:hover { transform: translateY(-6px); border-color: var(--hot); }
.pain-card i {
    font-size: 1.6rem;
    color: var(--hot);
    margin-bottom: 14px;
}
.pain-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text);
}
.pain-card p { color: var(--text-dim); font-size: .95rem; }
.pain-card p strong { color: var(--accent); }
.pain-cta {
    text-align: center;
    padding: 30px;
    background: var(--grad-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.pain-cta p { color: var(--text-dim); margin-bottom: 16px; font-size: 1.05rem; }
.pain-cta p strong { color: var(--text); }

/* =========================================================
   About
   ========================================================= */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-lead {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.45;
}
.about-lead strong { background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-text p {
    color: var(--text-dim);
    margin-bottom: 18px;
    font-size: 1rem;
}
.about-text p strong { color: var(--text); }
.about-bullets { margin-bottom: 30px; }
.about-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-dim);
}
.about-bullets li i {
    color: var(--accent-2);
    background: rgba(94, 234, 212, 0.1);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}
.about-bullets li strong { color: var(--text); }
.stats {
    display: flex;
    gap: 22px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-plus {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-label { color: var(--text-muted); font-size: .86rem; }

.about-visual { display: flex; justify-content: center; }
.code-preview {
    width: 100%;
    max-width: 500px;
    background: #0a0b1a;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--border);
}
.code-dot {
    width: 11px; height: 11px; border-radius: 50%;
}
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }
.code-title { margin-left: 10px; font-family: 'Menlo', monospace; font-size: .82rem; color: var(--text-muted); }
.code-body {
    padding: 22px;
    font-family: 'Menlo', Consolas, monospace;
    font-size: .9rem;
    line-height: 1.75;
    color: var(--text);
    white-space: pre-wrap;
    word-break: break-word;
}
.c-kw { color: #ff5d8f; font-weight: 700; }
.c-str { color: #5eead4; }
.c-cm { color: var(--text-muted); font-style: italic; }
.c-ok { color: var(--success); display: block; margin-top: 10px; }

/* =========================================================
   Services
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}
.service-card {
    position: relative;
    padding: 34px 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .35s ease;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    padding: 1px;
    background: var(--grad-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); background: linear-gradient(160deg, rgba(124, 92, 255, 0.08), rgba(34, 211, 238, 0.04)); }
.service-card:hover::before { opacity: 1; }
.service-card.featured::before { opacity: 1; }
.service-card.featured-2 { background: linear-gradient(160deg, rgba(255, 93, 143, 0.1), rgba(124, 92, 255, 0.06)); }
.service-tag {
    position: absolute;
    top: 18px; right: 18px;
    padding: 4px 12px;
    background: var(--grad-1);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: 1px;
}
.service-tag.hot { background: var(--grad-2); }
.icon-wrap {
    width: 58px; height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-soft);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    font-size: 1.5rem;
    color: var(--primary-2);
    margin-bottom: 20px;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card > p { color: var(--text-dim); font-size: .95rem; margin-bottom: 18px; }
.service-card > p strong { color: var(--text); }
.service-bullets { margin-bottom: 20px; }
.service-bullets li {
    position: relative;
    padding: 6px 0 6px 22px;
    color: var(--text-dim);
    font-size: .9rem;
    border-bottom: 1px dashed var(--border);
}
.service-bullets li:last-child { border-bottom: none; }
.service-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-2);
    font-weight: 800;
}
.service-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--accent);
    padding-top: 14px;
    border-top: 1px solid var(--border);
    width: 100%;
}
.service-price strong {
    font-size: 1.5rem;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.service-price small {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.price-old {
    color: var(--text-muted);
    font-weight: 600;
    font-size: .88rem;
    text-decoration: line-through;
    opacity: .7;
}

.services-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-dim);
}
.toggle-pill i { color: var(--primary-2); }
.toggle-small { background: linear-gradient(135deg, rgba(255, 93, 143, 0.15), rgba(124, 92, 255, 0.1)); color: var(--text); border-color: rgba(255, 93, 143, 0.4); }
.toggle-mid { background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(124, 92, 255, 0.1)); color: var(--text); border-color: rgba(34, 211, 238, 0.4); }

.services-foot {
    text-align: center;
    padding: 30px;
    background: rgba(124, 92, 255, 0.06);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
}
.services-foot p {
    color: var(--text-dim);
    margin-bottom: 14px;
    font-size: 1.05rem;
}

/* =========================================================
   Compare (Before/After)
   ========================================================= */
.compare { padding: 100px 0; background: rgba(255, 255, 255, 0.01); }
.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: stretch;
}
.compare-col {
    padding: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.compare-col.before {
    background: linear-gradient(160deg, rgba(255, 93, 143, 0.08), rgba(255, 93, 143, 0.02));
}
.compare-col.after {
    background: linear-gradient(160deg, rgba(34, 211, 238, 0.1), rgba(124, 92, 255, 0.06));
    border-color: rgba(34, 211, 238, 0.3);
}
.compare-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.compare-head i { font-size: 1.6rem; }
.compare-col.before .compare-head i { color: var(--hot); }
.compare-col.after .compare-head i { color: var(--accent-2); }
.compare-head h3 { font-size: 1.3rem; }
.compare-col ul li {
    padding: 12px 0;
    color: var(--text-dim);
    border-bottom: 1px dashed var(--border);
    font-size: .96rem;
}
.compare-col ul li:last-child { border-bottom: none; }
.compare-col ul li strong { color: var(--text); }
.compare-col.after ul li strong { color: var(--accent); }
.compare-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; height: 60px;
    background: var(--grad-1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    margin: auto;
    box-shadow: 0 10px 30px rgba(124, 92, 255, 0.5);
    animation: orb-pulse 2s ease-in-out infinite;
}

/* =========================================================
   Process
   ========================================================= */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
    position: relative;
}
.step {
    position: relative;
    padding: 30px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s;
}
.step:hover {
    transform: translateY(-6px);
    border-color: var(--primary-2);
    background: rgba(124, 92, 255, 0.08);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--grad-1);
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    border-radius: 12px;
    margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: .92rem; }

/* =========================================================
   Case Studies
   ========================================================= */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.case-card {
    padding: 30px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .3s;
}
.case-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.case-industry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary-2);
    background: rgba(124, 92, 255, 0.1);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.case-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
    line-height: 1.35;
}
.case-card > p {
    color: var(--text-dim);
    font-size: .94rem;
    margin-bottom: 20px;
}
.case-metrics {
    display: flex;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.case-metrics > div {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}
.case-metrics strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    background: var(--grad-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2px;
}
.case-metrics span { font-size: .75rem; color: var(--text-muted); }

/* =========================================================
   Testimonials
   ========================================================= */
.testimonials { background: rgba(255, 255, 255, 0.015); }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}
.testimonial {
    padding: 30px;
    background: linear-gradient(160deg, rgba(124, 92, 255, 0.06), rgba(34, 211, 238, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}
.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px; left: 22px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--primary);
    opacity: .3;
    line-height: 1;
}
.t-stars { color: var(--warn); margin-bottom: 14px; letter-spacing: 2px; }
.testimonial p {
    color: var(--text);
    font-size: .98rem;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.testimonial p strong { color: var(--primary-2); }
.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.t-avatar {
    width: 44px; height: 44px;
    background: var(--grad-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
}
.t-author strong { display: block; color: var(--text); font-size: .95rem; }
.t-author span { color: var(--text-muted); font-size: .82rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all .25s;
}
.faq-item[open] {
    background: rgba(124, 92, 255, 0.05);
    border-color: var(--primary);
}
.faq-item summary {
    padding: 22px 26px;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
    color: var(--primary-2);
    transition: transform .3s;
    font-size: .9rem;
}
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer {
    padding: 0 26px 24px;
    color: var(--text-dim);
    line-height: 1.75;
}
.faq-answer strong { color: var(--text); }

/* =========================================================
   CTA Band
   ========================================================= */
.cta-band {
    padding: 90px 0;
    text-align: center;
}
.cta-content {
    padding: 60px 40px;
    background:
        radial-gradient(600px 300px at 50% 0%, rgba(124, 92, 255, 0.3), transparent 60%),
        linear-gradient(160deg, rgba(124, 92, 255, 0.14), rgba(34, 211, 238, 0.1));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><circle cx="1" cy="1" r="1" fill="rgba(255,255,255,0.12)"/></svg>');
    opacity: .5;
    pointer-events: none;
}
.cta-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    margin-bottom: 14px;
    position: relative;
}
.cta-highlight {
    background: var(--grad-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.cta-content p {
    color: var(--text-dim);
    margin-bottom: 30px;
    font-size: 1.08rem;
    position: relative;
}
.cta-content p strong { color: var(--warn); }
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 36px;
    background: linear-gradient(160deg, rgba(124, 92, 255, 0.08), rgba(34, 211, 238, 0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border);
}
.info-item:last-of-type { border-bottom: none; padding-bottom: 0; }
.info-item > i {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-1);
    color: #fff;
    border-radius: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.info-item h3 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { color: var(--text-dim); font-size: .95rem; }
.info-item small { color: var(--text-muted); font-size: .78rem; }

.info-guarantee {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.guarantee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: .82rem;
    color: var(--text-dim);
}
.guarantee-item i { color: var(--accent-2); }

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.social-links a {
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-dim);
    transition: all .3s;
}
.social-links a:hover {
    background: var(--grad-1);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    padding: 36px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: .9rem;
    color: var(--text-dim);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: inherit;
    font-size: .98rem;
    transition: border-color .25s, background .25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(124, 92, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-text { display: block; margin-top: 6px; font-size: .76rem; color: var(--text-muted); }
.contact-form .btn-primary { width: 100%; justify-content: center; padding: 16px 26px; margin-top: 6px; }
.form-info {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.form-info p { color: var(--text-muted); font-size: .82rem; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: linear-gradient(180deg, #070814 0%, #02030a 100%);
    padding: 80px 0 24px;
    border-top: 1px solid var(--border);
    position: relative;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.footer-info p {
    color: var(--text-dim);
    font-size: .94rem;
    margin-bottom: 18px;
}
.footer-info p strong { color: var(--text); }
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .78rem;
    color: var(--text-dim);
}
.footer-badges i { color: var(--accent-2); }

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 18px;
    color: var(--text);
}
.footer-section ul li {
    padding: 5px 0;
}
.footer-section ul li a {
    color: var(--text-dim);
    font-size: .92rem;
    transition: color .2s;
}
.footer-section ul li a:hover { color: var(--primary-2); }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: .92rem;
    padding: 5px 0;
}
.footer-contact i { color: var(--primary-2); width: 16px; }
.kakao-channel p {
    color: var(--text-dim);
    font-size: .88rem;
    margin-bottom: 10px;
}
#kakao-talk-channel-add-button { min-height: 30px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p { color: var(--text-muted); font-size: .84rem; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-dim);
    transition: all .25s;
}
.footer-social a:hover {
    background: var(--grad-1);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
   Floating CTA
   ========================================================= */
.floating-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--grad-1);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    font-size: .95rem;
    box-shadow: 0 16px 40px rgba(124, 92, 255, 0.55);
    z-index: 999;
    transition: transform .25s ease;
    animation: float-cta 2.8s ease-in-out infinite;
}
.floating-cta:hover { transform: scale(1.06); }
@keyframes float-cta { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* =========================================================
   Loading
   ========================================================= */
.loading {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity .5s;
}
.loading.hidden { opacity: 0; pointer-events: none; }
.loading-spinner {
    width: 60px; height: 60px;
    border: 3px solid var(--border-strong);
    border-top-color: var(--primary);
    border-right-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .hero .container,
    .about-content,
    .contact-wrapper,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero-visual { height: 440px; }
    .ai-orb { width: 340px; height: 340px; }
    .orb-core { width: 130px; height: 130px; font-size: 2.6rem; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .compare-grid { grid-template-columns: 1fr; }
    .compare-divider { margin: 0 auto; transform: rotate(90deg); }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .header { top: 38px; padding: 10px 0; }
    .header.scrolled { top: 0; }
    .main-nav { display: none; }
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(7, 8, 20, 0.96);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        padding: 20px;
    }
    .main-nav.active .nav-list {
        flex-direction: column;
        gap: 6px;
    }
    .main-nav.active .nav-link {
        display: block;
        padding: 12px 16px;
        border-radius: 10px;
    }
    .main-nav.active .nav-link:hover,
    .main-nav.active .nav-link.active {
        background: rgba(124, 92, 255, 0.12);
    }
    .header-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
    .nav-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

    .promo-bar { font-size: .82rem; }
    .promo-bar .container { gap: 8px; }
    .promo-cta { padding: 3px 10px; font-size: .8rem; }

    .hero { padding: 90px 0 70px; min-height: auto; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn { justify-content: center; }
    .hero-visual { height: 360px; }
    .ai-orb { width: 280px; height: 280px; }
    .orb-core { width: 100px; height: 100px; font-size: 2rem; }
    .orb-chip { font-size: .72rem; padding: 6px 10px; }

    .stats { flex-wrap: wrap; gap: 16px; }
    .stat-number { font-size: 1.9rem; }

    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .floating-cta { right: 12px; bottom: 12px; padding: 12px 18px; font-size: .88rem; }
    .floating-cta span { display: none; }
    .floating-cta i { font-size: 1.2rem; }

    .cta-content { padding: 40px 22px; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn { justify-content: center; }

    .contact-info, .contact-form { padding: 24px; }
    .info-guarantee { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    .hero h1 { font-size: 1.9rem; }
    .section-header h2 { font-size: 1.7rem; }
    .service-card { padding: 26px 22px; }
}
