/* Base Reset & Variables */
:root {
    --bg-main: #FAFAFC;
    --bg-gray: #F0F2F5;
    --color-text-main: #1A1D20;
    --color-text-sub: #6B7280;
    --color-primary: #2563EB;
    --color-primary-hover: #1D4ED8;
    --color-accent: #38BDF8;
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
}

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

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--color-text-sub);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

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

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 24px 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

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

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

header.scrolled .logo {
    color: var(--color-text-main);
}

header:not(.scrolled) .logo {
    color: #fff;
}

.main-nav,
.main-nav a {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 500;
    font-size: 0.95rem;
}

header:not(.scrolled) .main-nav a {
    color: rgba(255, 255, 255, 0.8);
}

header:not(.scrolled) .main-nav a:hover {
    color: #fff;
}

header.scrolled .main-nav a {
    color: var(--color-text-sub);
}

header.scrolled .main-nav a:hover {
    color: var(--color-text-main);
}

.github-btn {
    border: 1px solid currentColor;
    padding: 6px 16px;
    border-radius: 50px;
    transition: 0.3s;
}

/* Sections */
.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.bg-gray {
    background-color: var(--bg-gray);
}

/* Hero */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-content .badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-content h1 .highlight {
    background: linear-gradient(90deg, #fff, var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-box {
    margin-bottom: 40px;
    max-width: 650px;
    background: rgba(255, 255, 255, 0.12);
    /* 기존의 진한 남색을 연한 투명 흰색으로 변경 */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.hero-text-box p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text-box strong {
    color: #fff;
    font-weight: 700;
}

/* Why Section */
.content-text {
    max-width: 800px;
    margin: 40px auto 0;
    font-size: 1.15rem;
    color: var(--color-text-sub);
}

.content-text p {
    margin-bottom: 24px;
}

.content-text strong {
    color: var(--color-text-main);
    font-weight: 600;
}

/* Emphasized Quote Section */
.swamp-quote {
    text-align: center;
    margin: 70px 0;
}

.swamp-quote strong {
    display: block;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.4;
    word-break: keep-all;
}

.swamp-quote span {
    font-size: 1.15rem;
    color: #475569;
    font-weight: 600;
}

/* Why I Built This - Challenges Grid */
.why-challenges {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    text-align: left;
}

.challenge-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: 0.3s;
}

.challenge-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: #CBD5E1;
    transform: translateY(-2px);
}

.c-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.challenge-icon {
    font-size: 1.5rem;
    background: #F8FAFC;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.challenge-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E293B;
    margin: 0;
}

.challenge-card p {
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* Why Conclusion Flow Transition */
.why-flow {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.flow-arrow-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
}

.flow-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #CBD5E1, var(--color-primary));
}

.flow-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--color-primary);
}

.flow-question {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 24px;
    padding: 0 20px;
}

.flow-question span {
    background: linear-gradient(135deg, var(--color-primary), #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.flow-solution {
    background: linear-gradient(135deg, var(--color-primary), #8B5CF6);
    padding: 36px 40px;
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.flow-solution::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.flow-solution h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.flow-solution p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Architecture */
.arch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.arch-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.arch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.arch-card.setup-card {
    background: transparent;
    border: 2px dashed #CBD5E1;
    box-shadow: none;
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 320px;
}

.arch-card.setup-card:hover {
    border-color: var(--color-primary);
}

.arch-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.arch-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.arch-card p {
    color: var(--color-text-sub);
    font-size: 0.95rem;
}

/* Modules Deep Dive */
.module-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 100px;
}

.module-row.reverse {
    flex-direction: row-reverse;
}

.module-content {
    flex: 1;
}

.module-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #E0E7FF;
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 16px;
}

.module-content h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.module-content p {
    color: var(--color-text-sub);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.module-content strong {
    color: var(--color-text-main);
}

/* Reflex 4 Tabs Grid Layout */
.reflex-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .reflex-feature-grid {
        grid-template-columns: 1fr;
    }
}

.r-feature-card {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--color-primary);
    padding: 24px;
    border-radius: 8px;
    transition: 0.3s;
}

.r-feature-card:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.r-feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.r-feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.r-feature-card ul li {
    font-size: 0.95rem;
    color: var(--color-text-sub);
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.r-feature-card ul li::before {
    content: "•";
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.module-visual {
    flex: 1;
    min-height: 350px;
    background: linear-gradient(135deg, #F8FAFC, #E2E8F0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Glass UI Elements for visual representations */
.type-glass {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1.5" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>') #F1F5F9;
}

.mock-chat {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.msg {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bubble-user {
    align-self: flex-end;
    background: var(--color-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.bubble-bot {
    align-self: flex-start;
    background: #fff;
    color: var(--color-text-main);
    border-bottom-left-radius: 4px;
}

.mock-refund {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
    font-family: inherit;
}

.ref-dash-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.ref-dash-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ref-dash-subtitle {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.4;
}

.ref-promo {
    background: linear-gradient(135deg, #6A7AF3, #8B5CF6);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(106, 122, 243, 0.3);
}

.ref-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.ref-promo-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.ref-promo-item:last-child {
    margin-bottom: 0;
}

.ref-promo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ref-promo-text h5 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #fff;
}

.ref-promo-text p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.3;
}

.ref-form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.ref-form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #374151;
}

.ref-form-group .ref-input-field,
.ref-form-group .ref-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #9CA3AF;
    background: #fff;
    box-sizing: border-box;
    text-align: left;
}

.ref-form-group .ref-select {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #374151 !important;
    cursor: pointer;
}

.ref-hint {
    font-size: 0.65rem;
    color: #6B7280;
    margin-top: -6px;
    margin-bottom: 20px;
    text-align: left;
}

.ref-submit-btn {
    background: #6366F1;
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mock-dashboard-mobile {
    width: 100%;
    max-width: 380px;
    background: #F8FAFC;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
    font-family: 'Noto Sans KR', sans-serif;
    color: #111827;
    position: relative;
}

.reflex-header {
    background: #007BFF;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.reflex-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reflex-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.reflex-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    padding-bottom: 80px;
}

.reflex-overview {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reflex-overview-text h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reflex-overview-text p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
}

.reflex-today-pill {
    background: #fff;
    border: 1px solid #E2E8F0;
    padding: 6px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.reflex-today-pill span {
    display: block;
    font-size: 0.65rem;
    color: #6b7280;
    font-weight: 500;
}

.reflex-today-pill strong {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111827;
}

.reflex-today-pill strong span {
    display: inline;
    color: #ef4444;
    font-size: 0.9rem;
}

.reflex-stats {
    display: flex;
    gap: 12px;
}

.reflex-stat-card {
    flex: 1;
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.reflex-stat-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.reflex-stat-card-val {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: right;
}

.reflex-stat-card-val span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 2px;
}

.reflex-c-red {
    color: #ef4444;
}

.reflex-c-orange {
    color: #f97316;
}

.reflex-list-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reflex-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1F2937;
    margin: 0;
}

.reflex-list-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.reflex-list-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reflex-customer {
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reflex-branch {
    font-size: 0.65rem;
    font-weight: 600;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.reflex-date {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.reflex-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid;
}

.reflex-badge.orange {
    color: #f97316;
    border-color: rgba(249, 115, 22, 0.3);
    background: #FFF7ED;
}

.reflex-badge.blue {
    color: #007BFF;
    border-color: rgba(0, 123, 255, 0.2);
    background: #EFF6FF;
}

.reflex-tabs-wrap {
    display: flex;
    background: #e2e8f0;
    border-radius: 8px;
    padding: 4px;
    margin-top: 4px;
}

.reflex-tab-btn {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    color: #64748b;
}

.reflex-tab-btn.active {
    background: #007BFF;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reflex-chat-fab {
    position: absolute;
    bottom: 80px;
    right: 16px;
    width: 50px;
    height: 50px;
    background: #007BFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    font-size: 1.5rem;
}

.reflex-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.reflex-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 600;
}

.reflex-nav-item.active {
    color: #007BFF;
}

.reflex-nav-icon {
    font-size: 1.2rem;
}

.mock-setup-dark {
    width: 100%;
    max-width: 420px;
    background: #0f172a;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0 auto;
    font-family: 'Noto Sans KR', sans-serif;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
}

.setup-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #0f172a;
}

.setup-logo {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.setup-badge {
    font-size: 0.65rem;
    font-weight: 700;
    color: #a78bfa;
    background: rgba(139, 92, 246, 0.15);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.3);
    letter-spacing: 0.05em;
}

.setup-progress-bar {
    height: 2px;
    background: #1e293b;
    width: 100%;
}

.setup-progress-fill {
    height: 100%;
    width: 15%;
    background: linear-gradient(90deg, #8b5cf6, #3b82f6);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.6);
}

.setup-tabs {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 0.65rem;
    color: #475569;
}

.setup-tab {
    display: flex;
    align-items: center;
    gap: 4px;
}

.setup-tab .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #334155;
}

.setup-tab.active {
    color: #cbd5e1;
    font-weight: 600;
}

.setup-tab.active .dot {
    background: #8b5cf6;
    box-shadow: 0 0 6px #8b5cf6;
}

.setup-card {
    background: #151e32;
    margin: 0 16px;
    border-radius: 12px;
    border: 1px solid #1e293b;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.setup-card-header h4 {
    font-size: 1.15rem;
    color: #a78bfa;
    margin: 0 0 6px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 800;
}

.setup-card-header p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
}

.setup-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.setup-form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.setup-badge-sm {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.setup-badge-sm.required {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.setup-badge-sm.optional {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.setup-input {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.75rem;
    color: #475569;
}

.setup-input.filled {
    color: #f8fafc;
    font-size: 0.85rem;
    font-weight: 500;
}

.setup-hint {
    font-size: 0.65rem;
    color: #475569;
    margin: 0;
}

.setup-hint.top {
    margin-bottom: 2px;
}

.setup-divider {
    display: flex;
    align-items: center;
    text-align: center;
    font-size: 0.65rem;
    color: #475569;
    margin: 8px 0;
}

.setup-divider::before,
.setup-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #1e293b;
}

.setup-divider span {
    padding: 0 10px;
}

.setup-input-flex {
    display: flex;
    gap: 8px;
}

.setup-input-flex .setup-input {
    flex: 1;
}

.setup-btn-add {
    background: #2e3b52;
    color: #e2e8f0;
    border: 1px solid #334155;
    padding: 0 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #0f172a;
    border-top: 1px solid #1e293b;
    margin-top: 10px;
}

.setup-page {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.setup-btn-next {
    background: #8b5cf6;
    color: #fff;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

/* Footer */
footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.7);
    padding: 100px 0 60px;
    text-align: center;
}

footer h2 {
    color: #fff;
    margin-bottom: 16px;
}

footer p {
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.copyright {
    margin-top: 80px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* -------------------------------------------
   Visual Mockups Sync (Uniform Height & Scroll)
---------------------------------------------- */
.mock-chat,
.mock-refund,
.mock-dashboard-mobile,
.mock-setup-dark {
    max-height: 400px;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mock-dashboard-mobile {
    height: 400px;
}

/* Custom Webkit Scrollbars for Mockups */
.mock-chat::-webkit-scrollbar,
.mock-refund::-webkit-scrollbar,
.mock-dashboard-mobile::-webkit-scrollbar,
.mock-setup-dark::-webkit-scrollbar {
    width: 6px;
}

.mock-chat::-webkit-scrollbar-track,
.mock-refund::-webkit-scrollbar-track,
.mock-dashboard-mobile::-webkit-scrollbar-track,
.mock-setup-dark::-webkit-scrollbar-track {
    background: transparent;
}

.mock-chat::-webkit-scrollbar-thumb,
.mock-refund::-webkit-scrollbar-thumb,
.mock-dashboard-mobile::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.mock-setup-dark::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    pointer-events: none;
}

.toast.show {
    bottom: 40px;
    opacity: 1;
    pointer-events: auto;
}

.toast-icon {
    font-size: 1.25rem;
    animation: bounce 2s infinite;
}

.toast-message {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    word-break: keep-all;
    line-height: 1.4;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-4px);
    }

    60% {
        transform: translateY(-2px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .toast {
        padding: 14px 20px;
        border-radius: 20px;
        width: calc(100% - 40px);
        max-width: 320px;
    }

    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .module-row {
        flex-direction: column !important;
        gap: 40px;
    }

    .module-visual {
        padding: 30px 20px;
    }

    .header-container {
        flex-direction: column;
        gap: 16px;
    }

    .main-nav {
        gap: 16px;
    }
}