/* ============================================
   CARECU FILE - Landing Page Styles
   Cyber-Industrial Dark Theme
   ============================================ */

/* --- Reset & Variables --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #060a13;
    --bg-base: #0a0e17;
    --bg-card: #0f1523;
    --bg-card-hover: #141c2e;
    --bg-elevated: #1a2236;
    --border: #1e293b;
    --border-light: #2a3a52;
    --primary: #39b2f5;
    --primary-dim: #2a8fc7;
    --primary-glow: rgba(57, 178, 245, 0.15);
    --primary-glow-strong: rgba(57, 178, 245, 0.35);
    --accent: #6366f1;
    --accent-2: #818cf8;
    --gradient: linear-gradient(135deg, #39b2f5, #6366f1);
    --gradient-subtle: linear-gradient(135deg, rgba(57,178,245,.12), rgba(99,102,241,.12));
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --white: #ffffff;
    --success: #22c55e;
    --warning: #f59e0b;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-deep);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(57,178,245,0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
    opacity: 0;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* --- Animations --- */
.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    transition-delay: var(--delay, 0s);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(57,178,245,0.1); }
    50% { box-shadow: 0 0 40px rgba(57,178,245,0.25); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes scroll-down {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(6, 10, 19, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(57, 178, 245, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 32px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 8px;
    transition: color 0.3s ease, background 0.3s ease;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn-ghost {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-family: var(--font-display);
}

.btn-ghost:hover {
    color: var(--white);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-display);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(57, 178, 245, 0.3), 0 0 60px rgba(57, 178, 245, 0.1);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    font-family: var(--font-display);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(57, 178, 245, 0.05);
    transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-xl { padding: 18px 40px; font-size: 18px; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; padding: 14px 24px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 380px;
    height: 100vh;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    transition: right 0.5s var(--ease-out-expo);
    padding: 100px 32px 32px;
    border-left: 1px solid var(--border);
}

.mobile-menu.open {
    right: 0;
}

.mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-links a {
    display: block;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-display);
}

.mobile-links a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

.mobile-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-actions .btn-ghost,
.mobile-actions .btn-primary {
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 16px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(57, 178, 245, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(57, 178, 245, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

.hero-radial {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(57, 178, 245, 0.08) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(57, 178, 245, 0.08);
    border: 1px solid rgba(57, 178, 245, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number,
.stat-number-static {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-distributor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    animation: distFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
@keyframes distFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.distributor-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    animation: distLineGrow 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}
@keyframes distLineGrow {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.distributor-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 36px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}
.distributor-content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(120deg, transparent 30%, rgba(57,178,245,0.06) 50%, rgba(245,158,11,0.06) 70%, transparent 90%);
    background-size: 250% 100%;
    animation: distShimmer 4s ease-in-out infinite;
}
@keyframes distShimmer {
    0%, 100% { background-position: 200% center; }
    50% { background-position: -50% center; }
}

.distributor-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    animation: distIconPulse 2.5s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
@keyframes distIconPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.distributor-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}
.distributor-afs {
    font-weight: 700;
    color: var(--primary);
    background: linear-gradient(135deg, #39b2f5, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.distributor-sep {
    color: var(--text-dim);
}
.distributor-carecu {
    font-weight: 700;
    color: #f59e0b;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}
.distributor-carecu::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #f59e0b;
    border-radius: 1px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.distributor-carecu:hover::after {
    width: 100%;
}
.distributor-carecu:hover {
    color: #fbbf24;
}
.distributor-rest {
    color: var(--text-dim);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: var(--border);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    animation: scroll-down 2s ease-in-out infinite;
}

/* ============================================
   SECTIONS BASE
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 16px;
    padding: 6px 16px;
    background: rgba(57, 178, 245, 0.08);
    border: 1px solid rgba(57, 178, 245, 0.12);
    border-radius: 6px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================
   VEHICLE SEARCH
   ============================================ */
.vehicle-search {
    background:
        radial-gradient(ellipse 60% 40% at 50% 80%, rgba(57, 178, 245, 0.06) 0%, transparent 50%),
        var(--bg-base);
}

.vs-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 28px;
    align-items: start;
}

.vs-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.vs-result-card:hover {
    border-color: rgba(57, 178, 245, 0.15);
}

.vs-car-image {
    width: 100%;
    height: 200px;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vs-car-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.vs-car-image img.vs-img-out {
    opacity: 0;
    transform: scale(0.85) translateX(-20px);
}
.vs-car-image img.vs-img-in {
    animation: vsCarIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes vsCarIn {
    0% { opacity: 0; transform: scale(0.85) translateX(30px); }
    100% { opacity: 1; transform: scale(1) translateX(0); }
}

.vs-car-info {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.vs-brand-logo {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.vs-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vs-car-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.vs-car-text strong {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.vs-car-text span {
    font-size: 13px;
    color: var(--text-muted);
}

.vs-ecu {
    font-size: 11px !important;
    color: var(--text-dim) !important;
    font-family: 'Courier New', monospace;
}

.vs-power {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
}

.vs-power-item {
    text-align: center;
}

.vs-power-val {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.vs-power-unit {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vs-power-amp {
    font-size: 18px;
    color: var(--text-dim);
    font-weight: 300;
}

.vs-filters {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.vs-filters-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.vs-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.vs-select-wrap label {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vs-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-deep);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.vs-select:focus {
    border-color: var(--primary);
}

.vs-select:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.vs-select option {
    background: var(--bg-deep);
    color: var(--text);
}

.vs-discover-btn {
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

.vs-discover-btn.disabled {
    pointer-events: none;
    opacity: 0.4;
}

@media (max-width: 900px) {
    .vs-grid {
        grid-template-columns: 1fr;
    }

    .vs-result-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .vs-filter-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background:
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        var(--bg-deep);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out-expo);
    transform-origin: left;
}

.service-card:hover {
    border-color: rgba(57, 178, 245, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(57, 178, 245, 0.05);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(57, 178, 245, 0.08);
    border-radius: 6px;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    background:
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(57, 178, 245, 0.04) 0%, transparent 50%),
        var(--bg-base);
}

.steps-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-line {
    position: absolute;
    left: 36px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: var(--border);
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 28px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    position: relative;
    z-index: 1;
    transition: all 0.4s var(--ease-out-expo);
}

.step-number span {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.step-item:hover .step-number {
    border-color: var(--primary);
    background: rgba(57, 178, 245, 0.05);
    box-shadow: 0 0 30px rgba(57, 178, 245, 0.15);
}

.step-item:hover .step-number span {
    color: var(--primary);
}

.step-content {
    flex: 1;
    padding-top: 12px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.step-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--text-dim);
    padding-top: 16px;
    transition: color 0.3s ease;
}

.step-item:hover .step-icon {
    color: var(--primary);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
    background:
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        var(--bg-deep);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    background: var(--gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.feature-card:hover::after {
    opacity: 0.15;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.15) rotate(-5deg);
}

.feature-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.feature-card p strong {
    color: var(--text);
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(57, 178, 245, 0.04) 0%, transparent 50%),
        var(--bg-base);
}

/* Credit Scale Bar */
.credit-scale {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    overflow-x: auto;
}

.credit-scale-label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.credit-scale-label svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.credit-scale-label span {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.credit-scale-items {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.credit-scale-items::-webkit-scrollbar {
    display: none;
}

.credit-scale-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(57, 178, 245, 0.08);
    border: 1px solid rgba(57, 178, 245, 0.2);
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.credit-scale-chip:hover {
    background: rgba(57, 178, 245, 0.12);
    border-color: rgba(57, 178, 245, 0.35);
}

.chip-name {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.chip-credit {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 178, 245, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(57, 178, 245, 0.05);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(57,178,245,0.06) 0%, var(--bg-card) 50%);
    border-color: rgba(57, 178, 245, 0.3);
    box-shadow: 0 0 60px rgba(57, 178, 245, 0.06);
}

.pricing-card.popular:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 60px rgba(57, 178, 245, 0.1);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: var(--gradient);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    border-radius: 0 0 10px 10px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.popular-badge svg {
    width: 12px;
    height: 12px;
}

.pricing-credit-amount {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
    margin-top: 8px;
}

.pricing-card.popular .pricing-credit-amount {
    margin-top: 16px;
}

.pricing-price-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    min-height: 80px;
    justify-content: center;
}

.pricing-old-price {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: line-through;
    opacity: 0.7;
}

.pricing-main-price {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.pricing-saving {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    background: rgba(34, 197, 94, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
    margin-top: 2px;
}

.btn-pricing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 24px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    border: 1.5px solid rgba(57, 178, 245, 0.4);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    text-decoration: none;
    margin-bottom: 16px;
}

.btn-pricing:hover {
    background: rgba(57, 178, 245, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(57, 178, 245, 0.15);
}

.btn-pricing-fill {
    background: var(--gradient);
    border-color: transparent;
    color: var(--white);
}

.btn-pricing-fill:hover {
    background: linear-gradient(135deg, #4cc0ff, #39b2f5);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(57, 178, 245, 0.3);
}

.pricing-per-credit {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    font-family: var(--font-display);
}

.pricing-calc-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-calc-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-calc-link svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.btn-calc-link .arrow-icon {
    width: 18px;
    height: 18px;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.btn-calc-link:hover {
    border-color: var(--primary);
    background: rgba(57, 178, 245, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(57, 178, 245, 0.12);
}

.btn-calc-link:hover .arrow-icon {
    color: var(--primary);
    transform: translateX(4px);
}

/* ============================================
   TOOLS
   ============================================ */
.tools {
    background:
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
        var(--bg-deep);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s var(--ease-out-expo);
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: rgba(57, 178, 245, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(57, 178, 245, 0.05);
}

.tool-visual {
    margin-bottom: 20px;
}

.tool-screen {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.tool-screen-header {
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

.tool-screen-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
}

.tool-screen-header span:first-child { background: #ef4444; }
.tool-screen-header span:nth-child(2) { background: #f59e0b; }
.tool-screen-header span:nth-child(3) { background: #22c55e; }

.tool-screen-body {
    padding: 14px;
}

.code-line {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    padding: 4px 0;
    color: var(--text-dim);
}

.code-key {
    color: var(--text-muted);
}

.code-val {
    color: var(--primary);
}

.code-line.result .code-val {
    color: var(--success);
}

.tool-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.tool-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background:
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(57, 178, 245, 0.04) 0%, transparent 50%),
        var(--bg-deep);
}

.testimonials-track-wrapper {
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s var(--ease-out-expo);
}

.testimonial-card {
    min-width: calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 28px;
    flex-shrink: 0;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-dim);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.test-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(57, 178, 245, 0.05);
}

.test-nav-btn svg {
    width: 18px;
    height: 18px;
}

.test-dots {
    display: flex;
    gap: 8px;
}

.test-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.test-dots .dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--bg-base);
}

.faq-list {
    max-width: 740px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
    background: var(--bg-card);
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(57, 178, 245, 0.2);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--white);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-dim);
    transition: transform 0.4s var(--ease-out-expo), color 0.3s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo), padding 0.5s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(57, 178, 245, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        var(--bg-base);
}

.cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(57, 178, 245, 0.05);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.footer-links-group ul {
    list-style: none;
}

.footer-links-group li {
    margin-bottom: 12px;
}

.footer-links-group a {
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .credit-scale {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .testimonial-card {
        min-width: calc(50% - 12px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-distributor {
        gap: 14px;
    }
    .distributor-line {
        max-width: 50px;
    }

    .stat-number,
    .stat-number-static {
        font-size: 24px;
    }

    .stat-divider {
        height: 28px;
    }

    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .credit-scale-items {
        gap: 8px;
    }

    .credit-scale-chip {
        padding: 6px 12px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-width: calc(100% - 0px);
    }

    .steps-line {
        display: none;
    }

    .step-icon {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .cursor-glow {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        justify-content: center;
    }

    .hero-distributor {
        gap: 10px;
    }
    .distributor-line {
        display: none;
    }
    .distributor-content {
        padding: 10px 20px;
    }
    .distributor-text {
        font-size: 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.5;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-title {
        font-size: 26px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-main-price {
        font-size: 30px;
    }
}
