@font-face {
    font-family: 'Inter';
    src: url('/site/assets/fonts/inter-1.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

:root {
    --apple-blur: saturate(180%) blur(20px);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary-glow: rgba(0, 122, 255, 0.6);
    --accent-glow: rgba(255, 45, 85, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #000;
    color: white;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Dynamic Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    /* overflow: hidden; Removed to allow tooltips to display outside card boundaries */
}

.glass-card:hover {
    transform: translateY(-5px) scale(1.01);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 30; /* Ensure this card and its tooltip appear above siblings */
}

/* Specific Highlight for the Best Seller */
.card-highlight {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 30px rgba(0, 122, 255, 0.15);
}

.card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

/* Tooltip Styles */
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip-text {
    color: #60a5fa; /* Tailwind blue-400 */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
    border-bottom: 1px dashed rgba(96, 165, 250, 0.4);
}

.tooltip-text:hover {
    color: #93c5fd;
}

.tooltip-box {
    visibility: hidden;
    background-color: rgba(20, 20, 25, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #e2e8f0;
    text-align: left;
    border-radius: 12px;
    padding: 12px;
    position: absolute;
    z-index: 50;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.75rem;
    line-height: 1.4;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    pointer-events: none; /* Prevents flickering */
}

/* Mobile adjustment for tooltip */
@media (max-width: 768px) {
    .tooltip-box {
        left: 0;
        transform: translateX(0) translateY(10px);
    }
}

.tooltip-container:hover .tooltip-box {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .tooltip-container:hover .tooltip-box {
        transform: translateX(0) translateY(0);
    }
}

/* Typography Gradients */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-balkan {
    background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Styling */
.perspective-1000 {
    perspective: 1000px;
}

/* 3D Transform Utilities for Finder */
.rotate-y-6 {
    transform: rotateY(6deg);
}

.rotate-y-12 {
    transform: rotateY(12deg);
}

/* Custom Scrollbar for Finder Dropdown */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

#car-marker {
    transition: transform 0.1s linear;
    z-index: 5;
}

/* Ensure canvas stays fixed in background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}
.btn-primary {
    background: white;
    color: black;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* Custom Scrollbar for the tooltip text if needed */
.tooltip-box::-webkit-scrollbar {
    width: 4px;
}
.tooltip-box::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.tooltip-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.check-icon {
    color: #34d399; /* emerald-400 */
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.animate-shake {
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shimmer {
    0% { transform: skewX(-20deg) translateX(-150%); }
    100% { transform: skewX(-20deg) translateX(300%); }
}

.animate-shimmer {
    animation: shimmer 3s infinite linear;
}

@keyframes gradient-x {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient-x {
    background-size: 200% auto;
    animation: gradient-x 3s ease infinite;
}

@keyframes bounce-slight {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.animate-bounce-slight {
    animation: bounce-slight 2s ease-in-out infinite;
}

/* TeleOne consultation journey */
.request-shell {
    scroll-margin-top: 6.5rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(16,20,36,.92), rgba(5,7,16,.96));
    box-shadow: 0 32px 90px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.request-progress {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
}

.request-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #3b82f6 58%, #8b5cf6);
    box-shadow: 0 0 18px rgba(59,130,246,.65);
    transition: width .55s cubic-bezier(.22,1,.36,1);
}

.step-marker {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #596173;
    font-size: .66rem;
    font-weight: 650;
    text-align: left;
    transition: color .25s ease;
}

.step-marker span {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    background: rgba(255,255,255,.035);
    font-size: .62rem;
    font-style: normal;
    transition: all .3s ease;
}

.step-marker em { font-style: normal; }
.step-marker:not(:disabled) { cursor: pointer; }
.step-marker.is-active { color: #f8fafc; }
.step-marker.is-active span {
    border-color: rgba(103,232,249,.55);
    color: #07111d;
    background: #67e8f9;
    box-shadow: 0 0 20px rgba(34,211,238,.25);
}
.step-marker.is-complete { color: #94a3b8; }
.step-marker.is-complete span {
    border-color: rgba(52,211,153,.3);
    color: #6ee7b7;
    background: rgba(52,211,153,.1);
}

.request-step { animation: request-step-in .4s cubic-bezier(.22,1,.36,1); }
@keyframes request-step-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.request-eyebrow {
    display: block;
    color: #67e8f9;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.request-title {
    margin-top: .65rem;
    color: #f8fafc;
    font-size: clamp(1.55rem, 3.4vw, 2.25rem);
    line-height: 1.08;
    font-weight: 760;
    letter-spacing: -.035em;
}

.request-description {
    max-width: 42rem;
    margin-top: .75rem;
    color: #858da0;
    font-size: .88rem;
    line-height: 1.65;
}

.product-choice {
    position: relative;
    display: grid;
    grid-template-columns: 3rem minmax(0,1fr);
    align-items: center;
    gap: .85rem;
    min-height: 6rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1.15rem;
    background: rgba(255,255,255,.025);
    cursor: pointer;
    user-select: none;
    transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.product-choice:hover {
    z-index: 1;
    transform: translateY(-2px);
    border-color: rgba(103,232,249,.24);
    background: rgba(255,255,255,.05);
}
.product-choice.is-selected {
    border-color: rgba(103,232,249,.55);
    background: linear-gradient(135deg, rgba(34,211,238,.11), rgba(59,130,246,.06));
    box-shadow: inset 0 0 0 1px rgba(103,232,249,.08), 0 12px 36px rgba(8,145,178,.08);
}
.product-choice.has-error { border-color: rgba(248,113,113,.55); }
.product-check {
    position: absolute;
    top: .65rem;
    right: .65rem;
    display: grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: #0b0e18;
    color: transparent;
    font-size: .56rem;
    transition: all .25s ease;
}
.product-choice.is-selected .product-check {
    border-color: #67e8f9;
    color: #06101a;
    background: #67e8f9;
    box-shadow: 0 0 14px rgba(34,211,238,.3);
}
.product-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .95rem;
    font-size: 1rem;
}
.product-icon-cyan { color: #67e8f9; background: rgba(34,211,238,.09); }
.product-icon-blue { color: #60a5fa; background: rgba(59,130,246,.1); }
.product-icon-purple { color: #c084fc; background: rgba(168,85,247,.1); }
.product-icon-indigo { color: #a5b4fc; background: rgba(99,102,241,.1); }
.product-icon-emerald { color: #6ee7b7; background: rgba(16,185,129,.1); }
.product-icon-pink { color: #f9a8d4; background: rgba(236,72,153,.1); }

.request-field { display: block; }
.request-field > span {
    display: block;
    margin: 0 0 .5rem .15rem;
    color: #b8c0d0;
    font-size: .71rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.request-field input,
.request-field select,
.request-field textarea {
    width: 100%;
    min-height: 3.15rem;
    padding: .82rem 1rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: .9rem;
    outline: none;
    background: rgba(2,4,12,.62);
    color: #f8fafc;
    font-size: .86rem;
    line-height: 1.45;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.request-field textarea { min-height: 7.5rem; resize: vertical; }
.request-field input::placeholder,
.request-field textarea::placeholder { color: #4f5768; }
.request-field input:focus,
.request-field select:focus,
.request-field textarea:focus {
    border-color: rgba(103,232,249,.55);
    background: rgba(5,9,19,.9);
    box-shadow: 0 0 0 4px rgba(34,211,238,.07), 0 12px 30px rgba(0,0,0,.16);
}
.request-field [aria-invalid="true"] {
    border-color: rgba(248,113,113,.7);
    box-shadow: 0 0 0 4px rgba(248,113,113,.07);
}
.request-field input[readonly] { color: #7f899c; cursor: not-allowed; }
.request-field select option { color: #111827; background: #fff; }

.request-consent {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 1rem;
    background: rgba(255,255,255,.02);
    cursor: pointer;
}
.request-consent input {
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: .15rem;
    accent-color: #22d3ee;
}
.request-consent input[aria-invalid="true"] { outline: 2px solid rgba(248,113,113,.8); outline-offset: 2px; }
.request-consent strong { display: block; color: #dbe2ee; font-size: .78rem; }
.request-consent small { display: block; margin-top: .2rem; color: #717b8e; font-size: .68rem; line-height: 1.55; }
.request-consent a { color: #67e8f9; text-decoration: underline; text-underline-offset: 2px; }

.request-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.request-next,
.request-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 3.2rem;
    padding: .8rem 1.25rem;
    border-radius: 999px;
    color: #05070c;
    background: linear-gradient(100deg, #f8fafc, #dbeafe 54%, #cffafe);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    font-size: .78rem;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.request-next:hover,
.request-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(103,232,249,.12); }
.request-next i,
.request-submit i { transition: transform .25s ease; }
.request-next:hover i { transform: translateX(3px); }
.request-next:disabled,
.request-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.request-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 3rem;
    padding: .7rem .4rem;
    color: #737d90;
    font-size: .76rem;
    font-weight: 700;
    transition: color .2s ease;
}
.request-back:hover { color: #f8fafc; }

.request-summary {
    overflow: hidden;
    padding: 1.35rem;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 1.7rem;
    background: linear-gradient(155deg, rgba(15,19,34,.8), rgba(4,6,14,.88));
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: opacity .3s ease;
}
.summary-block {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.summary-label {
    display: block;
    color: #606a7d;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.summary-value { margin-top: .45rem; color: #dbe3ef; font-size: .77rem; line-height: 1.6; white-space: pre-line; }
.summary-subvalue { margin-top: .15rem; overflow-wrap: anywhere; color: #667085; font-size: .65rem; line-height: 1.5; }
.summary-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(103,232,249,.15);
    border-radius: 999px;
    padding: .35rem .55rem;
    color: #a5f3fc;
    background: rgba(34,211,238,.07);
    font-size: .62rem;
    font-weight: 700;
}
.summary-empty { color: #5c6576; font-size: .72rem; }

.success-orbit {
    position: relative;
    display: grid;
    place-items: center;
    width: 5.5rem;
    height: 5.5rem;
    border: 1px solid rgba(103,232,249,.3);
    border-radius: 999px;
    color: #07131a;
    background: linear-gradient(135deg, #67e8f9, #60a5fa);
    box-shadow: 0 0 0 12px rgba(34,211,238,.05), 0 0 48px rgba(59,130,246,.22);
    font-size: 1.7rem;
}

@media (max-width: 639px) {
    .request-shell { border-radius: 1.45rem; }
    .step-marker { justify-content: center; }
    .step-marker em { display: none; }
    .request-actions { align-items: stretch; flex-direction: column-reverse; }
    .request-actions.justify-end { flex-direction: column; }
    .request-next, .request-submit, .request-back { width: 100%; }
    .product-choice { min-height: 5.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .request-step, .request-progress-bar { animation: none; transition: none; }
}
