/* ============================================
   CRYTOM LANDING PAGE — DESIGN SYSTEM
   Color Palette (from reference):
   - Cream/Beige:    #E8E4D9 (background)
   - Dark Charcoal:  #1E1E1E (text, dark sections)
   - Olive/Sage:     #8B9A6B (primary accent)
   - Warm Gold:      #C4A35A (secondary accent)
   - Light Olive:    #A8B88C (hover)
   - Off White:      #F5F3EE (cards)
   ============================================ */

/* ======== RESET & BASE ======== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #E8E4D9;
    --cream-light: #F5F3EE;
    --cream-dark: #D4D0C5;
    --dark: #1E1E1E;
    --dark-soft: #2D2D2D;
    --dark-lighter: #3A3A3A;
    --olive: #8B9A6B;
    --olive-light: #A8B88C;
    --olive-dark: #6E7D52;
    --gold: #C4A35A;
    --gold-light: #D4B76E;
    --blue: #627EEA;
    --purple: #8247E5;
    --text-primary: #1E1E1E;
    --text-secondary: #5A5A52;
    --text-muted: #8A8A80;
    --white: #FFFFFF;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(30, 30, 30, 0.06);
    --shadow-md: 0 4px 20px rgba(30, 30, 30, 0.08);
    --shadow-lg: 0 8px 40px rgba(30, 30, 30, 0.12);
    --shadow-xl: 0 16px 60px rgba(30, 30, 30, 0.16);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======== SKELETON LOADER ======== */
.skeleton {
    background: #e2e8f0;
    background: linear-gradient(90deg,
            #e2e8f0 25%,
            #f1f5f9 50%,
            #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    color: transparent !important;
    border: none !important;
}

.skeleton-circle {
    border-radius: 50%;
}

@keyframes shimmer {
    from {
        background-position: -200% 0;
    }

    to {
        background-position: 200% 0;
    }
}

.skeleton-dark {
    background: #1c1e26;
    background: linear-gradient(90deg,
            #1c1e26 25%,
            #2a2d38 50%,
            #1c1e26 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 4px;
    color: transparent !important;
    border: none !important;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.text-gradient {
    background: linear-gradient(135deg, var(--olive), var(--olive-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======== BUTTONS ======== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--dark);
    color: var(--cream);
    box-shadow: 0 4px 14px rgba(30, 30, 30, 0.25);
}

.btn--primary:hover {
    background: var(--dark-soft);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 30, 30, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--cream-dark);
}

.btn--outline:hover {
    border-color: var(--olive);
    color: var(--olive-dark);
    background: rgba(139, 154, 107, 0.05);
}

.btn--ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 12px 20px;
}

.btn--ghost:hover {
    color: var(--olive);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

/* ======== SECTION HEADERS ======== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--olive);
    background: rgba(139, 154, 107, 0.12);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ======================================
   NAVBAR
   ====================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(232, 228, 217, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 30, 30, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(232, 228, 217, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}

/* ======== UTILS ======== */
.badge-soon {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar__logo-icon {
    display: flex;
}

.navbar__links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.navbar__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar__link:hover {
    color: var(--text-primary);
    background: rgba(30, 30, 30, 0.04);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar__mobile-menu {
    display: none;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(30, 30, 30, 0.06);
}

.navbar__mobile-menu.active {
    display: block;
}

.navbar__mobile-links {
    list-style: none;
    margin-bottom: 16px;
}

.navbar__mobile-links li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(30, 30, 30, 0.06);
}

.navbar__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ======================================
   HERO SECTION
   ====================================== */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero__bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.hero__shape--1 {
    width: 500px;
    height: 500px;
    background: var(--olive);
    top: -10%;
    right: -5%;
    animation: float1 12s ease-in-out infinite;
}

.hero__shape--2 {
    width: 400px;
    height: 400px;
    background: var(--gold);
    bottom: -5%;
    left: -10%;
    animation: float2 15s ease-in-out infinite;
}

.hero__shape--3 {
    width: 300px;
    height: 300px;
    background: var(--olive-light);
    top: 40%;
    left: 50%;
    animation: float3 10s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-40px, 30px) scale(1.1);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -40px) scale(1.05);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, -20px) scale(0.95);
    }
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }
}

.hero__title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--dark);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero__avatars {
    display: flex;
}

.hero__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: white;
    border: 3px solid var(--cream);
    margin-left: -10px;
}

.hero__avatar:first-child {
    margin-left: 0;
}

.hero__trust-text {
    font-size: 14px;
    color: var(--text-muted);
}

.hero__trust-text strong {
    color: var(--text-primary);
}

/* Hero Visual — Dashboard Mockup */
.hero__visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero__dashboard {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(30, 30, 30, 0.06);
}

.hero__dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--cream-light);
    border-bottom: 1px solid rgba(30, 30, 30, 0.06);
}

.hero__dashboard-dots {
    display: flex;
    gap: 6px;
}

.hero__dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.hero__dashboard-dots span:nth-child(1) {
    background: #FF605C;
}

.hero__dashboard-dots span:nth-child(2) {
    background: #FFBD44;
}

.hero__dashboard-dots span:nth-child(3) {
    background: #00CA4E;
}

.hero__dashboard-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.hero__dashboard-body {
    padding: 20px;
}

.hero__stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.hero__stat-card {
    background: var(--cream-light);
    border-radius: var(--radius-md);
    padding: 16px;
    position: relative;
}

.hero__stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hero__stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    display: block;
}

.hero__stat-change {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    position: absolute;
    top: 14px;
    right: 14px;
}

.hero__stat-change--up {
    color: var(--olive-dark);
    background: rgba(139, 154, 107, 0.15);
}

/* Mini Chart */
.hero__chart {
    background: var(--cream-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.hero__chart-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hero__chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
}

.hero__chart-bar {
    flex: 1;
    height: var(--h);
    background: var(--dark);
    border-radius: 6px 6px 2px 2px;
    position: relative;
    transition: var(--transition);
    animation: barGrow 1s ease-out both;
}

.hero__chart-bar:hover {
    background: var(--olive);
}

.hero__chart-bar--active {
    background: var(--olive);
}

.hero__chart-bar span {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    color: var(--text-muted);
}

@keyframes barGrow {
    from {
        height: 0;
    }

    to {
        height: var(--h);
    }
}

/* Transactions */
.hero__transactions {
    background: var(--cream-light);
    border-radius: var(--radius-md);
    padding: 14px;
}

.hero__tx-header {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero__tx-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 30, 30, 0.04);
}

.hero__tx-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hero__tx-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.hero__tx-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero__tx-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.hero__tx-time {
    font-size: 11px;
    color: var(--text-muted);
}

.hero__tx-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--olive-dark);
}

/* Floating Coins */
.hero__floating {
    position: absolute;
    z-index: 2;
}

.hero__floating--coin1 {
    top: -10px;
    right: -20px;
    animation: floatCoin 4s ease-in-out infinite;
}

.hero__floating--coin2 {
    bottom: 60px;
    left: -30px;
    animation: floatCoin 5s ease-in-out infinite 1s;
}

.hero__floating--coin3 {
    top: 40%;
    right: -25px;
    animation: floatCoin 3.5s ease-in-out infinite 0.5s;
}

@keyframes floatCoin {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======================================
   LOGOS BAR
   ====================================== */
.logos {
    padding: 48px 0;
    border-top: 1px solid rgba(30, 30, 30, 0.06);
    border-bottom: 1px solid rgba(30, 30, 30, 0.06);
    overflow: hidden;
}

.logos__label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.logos__track {
    overflow: hidden;
    mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos__slide {
    display: flex;
    gap: 48px;
    animation: scrollLogos 25s linear infinite;
    width: max-content;
}

.logos__item {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    white-space: nowrap;
    transition: var(--transition);
}

.logos__item:hover {
    opacity: 0.8;
}

@keyframes scrollLogos {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ======================================
   STATS SECTION
   ====================================== */
.stats {
    padding: 64px 0;
}

.stats__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
}

.stats__card {
    text-align: center;
    flex: 1;
}

.stats__number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--cream);
    line-height: 1;
}

.stats__suffix {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--olive-light);
}

.stats__label {
    display: block;
    font-size: 14px;
    color: rgba(232, 228, 217, 0.5);
    margin-top: 8px;
}

.stats__divider {
    width: 1px;
    height: 50px;
    background: rgba(232, 228, 217, 0.15);
}

/* ======================================
   FEATURES SECTION
   ====================================== */
.features {
    padding: 100px 0;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(30, 30, 30, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive), var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card__icon--green {
    background: rgba(139, 154, 107, 0.12);
    color: var(--olive);
}

.feature-card__icon--gold {
    background: rgba(196, 163, 90, 0.12);
    color: var(--gold);
}

.feature-card__icon--blue {
    background: rgba(98, 126, 234, 0.12);
    color: var(--blue);
}

.feature-card__icon--purple {
    background: rgba(130, 71, 229, 0.12);
    color: var(--purple);
}

.feature-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ======================================
   HOW IT WORKS
   ====================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--cream-light);
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 320px;
}

.step__number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: rgba(139, 154, 107, 0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.step__content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 30, 30, 0.06);
    transition: var(--transition);
}

.step__content:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.step__icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.step__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step__connector {
    display: flex;
    align-items: center;
    padding-top: 80px;
    color: var(--olive);
    flex-shrink: 0;
}

/* ======================================
   SHOWCASE
   ====================================== */
.showcase {
    padding: 100px 0;
}

.showcase__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.showcase__content {
    padding-right: 20px;
}

.showcase__content .section-title {
    margin-bottom: 16px;
}

.showcase__content .section-subtitle {
    margin-bottom: 32px;
}

.showcase__list {
    list-style: none;
    margin-bottom: 32px;
}

.showcase__list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
}

/* Showcase Mockup */
.showcase__visual {
    position: relative;
}

.showcase__mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(30, 30, 30, 0.06);
    min-height: 380px;
}

.showcase__sidebar {
    width: 60px;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
}

.showcase__sidebar-logo {
    width: 36px;
    height: 36px;
    background: var(--olive);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 12px;
}

.showcase__sidebar-item {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 228, 217, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.showcase__sidebar-item--active {
    background: rgba(232, 228, 217, 0.1);
    color: var(--cream);
}

.showcase__sidebar-item:hover {
    color: var(--cream);
}

.showcase__main {
    flex: 1;
    padding: 24px;
}

.showcase__top-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.showcase__mini-card {
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.showcase__chart-area {
    background: var(--cream-light);
    border-radius: var(--radius-md);
    padding: 20px;
}

.showcase__line-chart {
    width: 100%;
    height: auto;
}

/* ======================================
   INTEGRATIONS
   ====================================== */
.integrations {
    padding: 100px 0;
    background: var(--cream-light);
}

.integrations__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integration-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(30, 30, 30, 0.06);
    transition: var(--transition);
    cursor: pointer;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--olive);
}

.integration-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    margin: 0 auto 14px;
}

.integration-card__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* ======================================
   TESTIMONIALS
   ====================================== */
.testimonials {
    padding: 100px 0;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid rgba(30, 30, 30, 0.06);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.testimonial-card__author strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.testimonial-card__author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ======================================
   PRICING
   ====================================== */
.pricing {
    padding: 100px 0;
    background: var(--cream-light);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 2px solid rgba(30, 30, 30, 0.06);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.pricing-card--popular {
    border-color: var(--olive);
    background: var(--dark);
    color: var(--cream);
    box-shadow: var(--shadow-xl);
    transform: scale(1.04);
}

.pricing-card--popular:hover {
    transform: scale(1.04) translateY(-6px);
}

.pricing-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--olive);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card__header {
    margin-bottom: 24px;
}

.pricing-card__name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-card--popular .pricing-card__name {
    color: var(--cream);
}

.pricing-card__desc {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-card--popular .pricing-card__desc {
    color: rgba(232, 228, 217, 0.5);
}

.pricing-card__price {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(30, 30, 30, 0.08);
}

.pricing-card--popular .pricing-card__price {
    border-bottom-color: rgba(232, 228, 217, 0.15);
}

.pricing-card__amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.pricing-card--popular .pricing-card__amount {
    color: var(--cream);
}

.pricing-card__period {
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-card--popular .pricing-card__period {
    color: rgba(232, 228, 217, 0.5);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-card__features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card--popular .pricing-card__features li {
    color: rgba(232, 228, 217, 0.7);
}

.pricing-card__features li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(139, 154, 107, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6L5 8L9 4' stroke='%238B9A6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card--popular .btn--primary {
    background: var(--olive);
    color: white;
}

.pricing-card--popular .btn--primary:hover {
    background: var(--olive-light);
}

/* ======================================
   CTA SECTION
   ====================================== */
.cta {
    padding: 100px 0;
}

.cta__inner {
    text-align: center;
    background: var(--dark);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

.cta__bg-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 154, 107, 0.2), transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 16px;
    position: relative;
}

.cta__subtitle {
    font-size: 18px;
    color: rgba(232, 228, 217, 0.6);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
    position: relative;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

.cta .btn--primary {
    background: var(--olive);
    color: white;
}

.cta .btn--primary:hover {
    background: var(--olive-light);
}

.cta .btn--ghost {
    color: rgba(232, 228, 217, 0.7);
    border: 1px solid rgba(232, 228, 217, 0.2);
}

.cta .btn--ghost:hover {
    color: var(--cream);
    border-color: rgba(232, 228, 217, 0.4);
}

/* ======================================
   FOOTER
   ====================================== */
.footer {
    padding: 80px 0 0;
    background: var(--dark);
    color: var(--cream);
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(232, 228, 217, 0.1);
}

.footer__brand .navbar__logo span {
    color: var(--cream);
}

.footer__brand-desc {
    font-size: 14px;
    color: rgba(232, 228, 217, 0.5);
    line-height: 1.7;
    margin-top: 16px;
    max-width: 320px;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(232, 228, 217, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 228, 217, 0.5);
    transition: var(--transition);
}

.footer__social-link:hover {
    color: var(--cream);
    border-color: var(--olive);
    background: rgba(139, 154, 107, 0.15);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer__col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 20px;
}

.footer__col a {
    display: block;
    font-size: 14px;
    color: rgba(232, 228, 217, 0.5);
    padding: 5px 0;
    transition: var(--transition);
}

.footer__col a:hover {
    color: var(--cream);
    padding-left: 4px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(232, 228, 217, 0.3);
}

/* ======================================
   SCROLL ANIMATIONS
   ====================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step__connector {
        transform: rotate(90deg);
        padding-top: 0;
    }

    .showcase__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase__content {
        padding-right: 0;
        text-align: center;
    }

    .showcase__content .section-title,
    .showcase__content .section-subtitle {
        text-align: center;
    }

    .showcase__list {
        display: inline-block;
        text-align: left;
    }

    .integrations__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card--popular {
        transform: none;
    }

    .pricing-card--popular:hover {
        transform: translateY(-6px);
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer__col-title {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .footer__col a {
        font-size: 13px;
        padding: 3px 0;
    }

    .footer__bottom {
        padding: 24px 0;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .navbar__links,
    .navbar__actions {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero__title {
        font-size: 34px;
    }

    .hero__cta-group {
        flex-direction: column;
    }

    .hero__cta-group .btn {
        width: 100%;
    }

    .stats__inner {
        flex-direction: column;
        gap: 24px;
        padding: 36px 24px;
    }

    .stats__divider {
        width: 60px;
        height: 1px;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .integrations__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta__inner {
        padding: 40px 20px;
    }

    .showcase__inner {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .showcase__content {
        padding-right: 0;
        order: -1;
    }

    .showcase__mockup {
        min-height: auto;
    }

    .showcase__content .section-title,
    .showcase__content .section-subtitle {
        text-align: center !important;
    }

    .showcase__list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero__stat-row {
        grid-template-columns: 1fr;
    }

    .integrations__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .integration-card {
        padding: 20px 16px;
    }
}

/* ======== LEGAL PAGES ======== */
.legal-hero {
    padding: 160px 0 80px;
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.legal-hero .section-tag {
    color: var(--olive);
    background: rgba(139, 154, 107, 0.1);
}

.legal-content {
    padding: 100px 0;
}

.legal-content__inner {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 60px;
}

.legal-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.legal-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--dark-soft);
}

.legal-section p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-section ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-section li {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    list-style: disc;
}

.last-updated {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 40px;
    display: block;
}

/* ======== AUTH PAGES (SIGN UP / LOG IN) ======== */
.auth-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: var(--cream);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(139, 154, 107, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.auth-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-soft);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--cream-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--olive);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(139, 154, 107, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    background: none;
    border: none;
    display: flex;
    align-items: center;
}

.password-toggle:hover {
    color: var(--olive);
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 32px 0;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-divider::before {
    margin-right: 16px;
}

.auth-divider::after {
    margin-left: 16px;
}

.social-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn--social {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark);
    font-size: 14px;
    width: 100%;
}

.btn--social:hover {
    background: var(--cream-light);
    border-color: rgba(0, 0, 0, 0.2);
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--olive);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-group input {
    margin-top: 3px;
    cursor: pointer;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 32px 24px;
        border-radius: var(--radius-lg);
    }
}

/* ======== TYPEFORM SIGNUP STYLE ======== */
.typeform-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--cream);
    overflow: hidden;
    position: relative;
}

.typeform-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--olive);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.typeform-step {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
    width: 100%;
    animation: typeformIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.typeform-step.active {
    display: flex;
}

@keyframes typeformIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typeform-step.out {
    animation: typeformOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes typeformOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.typeform-number {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--olive);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.typeform-number span {
    width: 24px;
    height: 24px;
    border: 1px solid var(--olive);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.typeform-question {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 32px;
}

.typeform-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    color: var(--olive);
    margin-bottom: 40px;
    transition: var(--transition);
}

.typeform-input:focus {
    outline: none;
    border-bottom-color: var(--olive);
}

.typeform-input::placeholder {
    color: var(--text-muted);
    opacity: 0.3;
}

.typeform-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.typeform-hint {
    font-size: 13px;
    color: var(--text-muted);
}

.typeform-hint kbd {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: inherit;
}

.typeform-controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    gap: 4px;
}

.typeform-ctrl {
    width: 40px;
    height: 36px;
    background: var(--dark);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.typeform-ctrl:first-child {
    border-radius: 4px 0 0 4px;
}

.typeform-ctrl:last-child {
    border-radius: 0 4px 4px 0;
}

.typeform-ctrl:hover {
    background: var(--olive);
}

.typeform-ctrl:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ======== DASHBOARD LAYOUT ======== */
.dashboard {
    display: flex;
    min-height: 100vh;
    background: #f8f7f2;
    color: var(--dark);
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- Sidebar --- */
.db-sidebar {
    width: 260px;
    background: var(--dark);
    color: var(--white);
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.db-logo {
    margin-bottom: 48px;
    padding-left: 12px;
}

.db-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow-y: auto;
}

/* Sidebar scrollbar styling */
.db-nav::-webkit-scrollbar {
    width: 4px;
}

.db-nav::-webkit-scrollbar-track {
    background: transparent;
}

.db-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.db-nav__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.db-nav__item:hover,
.db-nav__item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.db-nav__item.active {
    color: var(--olive);
    background: rgba(139, 154, 107, 0.1);
}

.db-sidebar__footer {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Main Content --- */
.db-main {
    flex: 1;
    margin-left: 260px;
    padding: 32px 48px;
    max-width: calc(100vw - 260px);
    overflow-x: hidden;
    box-sizing: border-box;
}

/* --- Header --- */
.db-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.db-header__title h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.db-header__title p {
    color: var(--text-secondary);
    font-size: 14px;
}

.db-header__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* --- Stats Grid --- */
.db-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.db-stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
}

.db-stat-card__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.db-stat-card__value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.db-stat-card__change {
    font-size: 12px;
    margin-top: 4px;
}

.db-stat-card__change.up {
    color: #10b981;
}

/* --- Table & Charts Area --- */
.db-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.db-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.db-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.db-card__title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

/* --- Table Styles --- */
.db-table {
    width: 100%;
    border-collapse: collapse;
}

.db-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.db-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.status--completed,
.status--successful {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status--pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status--failed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* --- Responsive Dashboard --- */
.db-mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    padding: 16px 20px;
    z-index: 1001;
    justify-content: space-between;
    align-items: center;
}

.db-mobile-toggle {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.db-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 99;
}

.db-sidebar-overlay.active {
    display: block;
}

@media (max-width: 1100px) {
    .db-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .db-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .db-mobile-header {
        display: flex;
    }

    .db-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1002;
    }

    .db-sidebar.active {
        transform: translateX(0);
    }

    .db-main {
        margin-left: 0;
        padding: 80px 16px 40px;
        /* Top padding for mobile header */
        max-width: 100vw;
        width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .db-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .db-header__actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .db-header__actions .btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
        font-size: 13px;
        padding: 10px 12px;
        white-space: nowrap;
    }

    .db-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .db-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }

    .db-stat-card {
        padding: 20px;
    }

    .db-header__title h1 {
        font-size: 24px;
    }

    .db-card {
        padding: 16px;
        overflow: hidden;
    }

    .verification-banner {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        padding: 10px 14px;
        overflow: hidden;
        word-break: break-word;
    }

    .verification-banner__info {
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
    }

    .verification-banner__info p {
        font-size: 12px;
        line-height: 1.4;
        margin: 0;
    }

    .verification-banner .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        gap: 0;
        padding-bottom: 2px;
    }

    .filter-tab {
        flex-shrink: 0;
        padding: 12px 16px;
    }
}

/* --- Settings Specific --- */
.settings-section {
    margin-bottom: 40px;
}

.settings-section__title {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.settings-row:last-child {
    border-bottom: none;
}

.settings-info {
    flex: 1;
}

.settings-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.settings-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* --- Redesigned Transactions --- */
.txn-row td {
    padding: 20px 16px;
    vertical-align: middle;
}

.txn-asset {
    display: flex;
    align-items: center;
    gap: 12px;
}

.txn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f8f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.txn-icon--btc {
    background: rgba(247, 147, 26, 0.1);
    color: #f7931a;
}

.txn-icon--eth {
    background: rgba(98, 126, 234, 0.1);
    color: #627eea;
}

.txn-icon--usdt {
    background: rgba(38, 161, 123, 0.1);
    color: #26a17b;
}

.txn-icon--sol {
    background: rgba(20, 241, 149, 0.1);
    color: #14f195;
}

.txn-info__main {
    font-weight: 600;
    display: block;
    font-size: 14px;
}

.txn-info__sub {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
}

.txn-amount {
    text-align: right;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.txn-amount.plus {
    color: #10b981;
}

.txn-amount.minus {
    color: var(--dark);
}

@media (max-width: 600px) {
    .db-table thead {
        display: none;
    }

    .txn-row {
        display: block;
        padding: 16px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .txn-row td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
    }

    .txn-row td:first-child {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
        margin-bottom: 8px;
    }
}

.google-auth-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    background: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    margin-top: 16px;
}

.google-auth-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.google-icon-box {
    width: 44px;
    height: 44px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* --- Verification UI --- */
.verification-banner {
    background: #fff9eb;
    border: 1px solid #ffeeba;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.5s ease;
}

.verification-banner.hidden {
    display: none;
}

.verification-banner__info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-status {
    padding: 4px 12px;
    background: #eab308;
    color: white;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.verification-status.verified {
    background: var(--olive);
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-card {
    background: var(--white);
    max-width: 440px;
    width: 100%;
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Hide scrollbar but keep scroll functional */
.modal-card::-webkit-scrollbar {
    width: 4px;
}

.modal-card::-webkit-scrollbar-track {
    background: transparent;
}

.modal-card::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.12);
    border-radius: 20px;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 154, 107, 0.1);
    color: var(--olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-text {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* 2FA Setup Flow */
.auth-setup-card {
    max-width: 500px;
    margin: 40px auto;
}

.qr-container {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-block;
    margin-bottom: 24px;
}

.auth-code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.auth-code-input {
    width: 48px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid #eee;
    border-radius: 8px;
    background: #fcfcfc;
    color: var(--olive);
    transition: var(--transition);
}

.auth-code-input:focus {
    outline: none;
    border-color: var(--olive);
    box-shadow: 0 0 0 4px rgba(139, 154, 107, 0.1);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* ======== AUTH CODE INPUT STYLE ======== */
.auth-code-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.auth-code-input {
    width: 48px;
    height: 56px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    background: var(--cream-light);
    transition: all 0.2s;
}

.auth-code-input:focus {
    outline: none;
    border-color: var(--olive);
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 154, 107, 0.15);
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ddd;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--olive);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

@media (max-width: 768px) {

    /* Auth Setup Mobile */
    .auth-setup-card {
        margin: 0;
        padding: 24px;
        box-shadow: none;
        border: none;
    }

    .auth-code-inputs {
        gap: 8px;
    }

    .auth-code-input {
        width: 40px;
        height: 52px;
        font-size: 20px;
    }

    /* Settings Mobile Refinements */
    .google-auth-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .google-auth-card .btn {
        width: 100%;
        margin-top: 8px;
    }

    .settings-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .settings-row .switch {
        align-self: flex-start;
    }

    header[style*="position: fixed"] {
        padding: 16px 20px !important;
    }
}

/* ============ PRO TRANSITION: DIMENSIONAL SLICED ============ */
.pro-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    pointer-events: none;
    overflow: hidden;
    visibility: hidden;
}

.pro-transition-overlay.active {
    visibility: visible;
    pointer-events: all;
}

.transition-blade {
    position: absolute;
    height: 150%;
    width: 25vw;
    background: #0f1117;
    top: -25%;
    transform: rotate(15deg) translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    border-left: 1px solid rgba(139, 154, 107, 0.3);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

/* Staggered positions and delays for the pro look */
.transition-blade:nth-child(1) {
    left: -10vw;
    transition-delay: 0.0s;
}

.transition-blade:nth-child(2) {
    left: 10vw;
    transition-delay: 0.05s;
}

.transition-blade:nth-child(3) {
    left: 30vw;
    transition-delay: 0.1s;
}

.transition-blade:nth-child(4) {
    left: 50vw;
    transition-delay: 0.15s;
}

.transition-blade:nth-child(5) {
    left: 70vw;
    transition-delay: 0.2s;
}

.transition-blade:nth-child(6) {
    left: 90vw;
    transition-delay: 0.25s;
}

.pro-transition-overlay.active .transition-blade {
    transform: rotate(15deg) translateY(0);
}

.transition-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.4s;
    text-align: center;
}

.pro-transition-overlay.active .transition-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.transition-logo-icon {
    width: 60px;
    height: 60px;
    background: #8B9A6B;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 30px rgba(139, 154, 107, 0.5);
}

.transition-logo-icon svg,
.transition-logo-icon img {
    width: 32px;
    height: 32px;
}

.transition-logo-text {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Fix mobile P2P transition gaps */
@media (max-width: 768px) {
    .transition-blade {
        width: 45vw;
        height: 200%;
        top: -50%;
    }

    .transition-blade:nth-child(1) {
        left: -30vw;
    }

    .transition-blade:nth-child(2) {
        left: 0vw;
    }

    .transition-blade:nth-child(3) {
        left: 30vw;
    }

    .transition-blade:nth-child(4) {
        left: 60vw;
    }

    .transition-blade:nth-child(5) {
        left: 90vw;
    }

    .transition-blade:nth-child(6) {
        left: 120vw;
    }
}