:root {
    --bg-dark: #0a0410;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --accent-purple: #B873FF;
    --card-bg: #ffffff;
    --card-text: #1a1a1a;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    width: 100%;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
}

html {
    overflow-x: clip;
    max-width: 100%;
}

/* Background Glows */
.glow-background {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.25) 0%, rgba(10, 4, 16, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: -1;
    border-radius: 50%;
    filter: blur(60px);
}

/* Navbar */
.nav-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 24px;
    max-width: 1060px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 10px 12px 10px 14px;
    background: rgba(22, 20, 28, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
}

.nav-left {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.35) 0%, rgba(20, 10, 36, 0.9) 100%);
    border: 1px solid rgba(184, 115, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.site-logo {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.logo-box-round {
    border-radius: 50%;
    padding: 0;
}

.site-logo-round {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
}

.nav-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 98;
    backdrop-filter: blur(4px);
}

.mobile-nav-overlay.open {
    display: block;
}

.nav-link-mobile-contact {
    display: none;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle-btn:hover {
    border-color: rgba(184, 115, 255, 0.4);
    color: #ffffff;
    background: rgba(184, 115, 255, 0.08);
}

.btn-contact {
    padding: 11px 22px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 55%, #9333ea 100%);
    border: 1px solid rgba(184, 115, 255, 0.35);
    box-shadow:
        0 0 20px rgba(124, 58, 237, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-contact:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 28px rgba(124, 58, 237, 0.6),
        0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn {
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: #ffffff;
    color: var(--bg-dark);
}

.btn-primary .arrow {
    color: var(--accent-purple);
    font-size: 16px;
    font-weight: bold;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(184, 115, 255, 0.4);
}

/* Hero Section */
.hero {
    padding: 40px 40px 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(184, 115, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 115, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.hero-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 24px;
    max-width: 560px;
}

.neon-brand {
    color: #e9d5ff;
    animation: neonBlink 2s ease-in-out infinite;
}

@keyframes neonBlink {
    0%, 100% {
        color: #e9d5ff;
        text-shadow:
            0 0 6px #B873FF,
            0 0 12px #B873FF,
            0 0 24px #7c3aed,
            0 0 48px rgba(124, 58, 237, 0.6);
    }
    50% {
        color: #ffffff;
        text-shadow:
            0 0 2px #B873FF,
            0 0 6px #B873FF,
            0 0 14px #7c3aed,
            0 0 28px rgba(124, 58, 237, 0.3);
    }
}

.hero p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.7;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(184, 115, 255, 0.3);
    position: relative;
    z-index: 3;
    margin-bottom: 0;
    animation: pulse-glow 2s infinite ease-in-out;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.28) 0%, rgba(10, 4, 16, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

/* Hero Image & Tags */
.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: auto;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.astronaut-img {
    width: 110%;
    max-width: 680px;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: contrast(1.3) brightness(0.85);
    mix-blend-mode: screen;
    mask-image: radial-gradient(ellipse at center 45%, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 78%);
    -webkit-mask-image: radial-gradient(ellipse at center 45%, rgba(0,0,0,1) 45%, rgba(0,0,0,0) 78%);
}

.floating-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e5e5e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    white-space: nowrap;
}

.floating-tag .tag-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(184, 115, 255, 0.15);
    flex-shrink: 0;
}

.tag-top {
    top: 8%;
    left: -8%;
    animation-delay: 0s;
}

.tag-middle {
    top: 42%;
    left: -12%;
    animation-delay: 2s;
}

.tag-bottom {
    bottom: 18%;
    left: -6%;
    animation-delay: 4s;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 20px rgba(184, 115, 255, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(184, 115, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.2);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 20px rgba(184, 115, 255, 0.3);
        transform: scale(1);
    }
}

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

/* Features Section */
.features {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 20px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 24px;
}

.features-title-area {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.carousel-controls {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}

.cards-carousel-container {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 40px;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-muted);
    display: inline-block;
    margin-bottom: 20px;
}

.features-title-area h2 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 600;
}

/* Products Section */
.carousel-controls {
    display: flex;
    gap: 12px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(184, 115, 255, 0.2);
}

.control-btn.next {
    background: rgba(184, 115, 255, 0.4);
}

/* Products Section Carousel Layout */
.cards-carousel-container {
    position: relative;
    width: 100%;
    margin: 40px auto 0;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

.features-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.feature-item {
    position: absolute;
    width: 380px;
    height: auto;
    background: #1c1c22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.feature-item.card-center {
    transform: translateX(0) scale(1) translateZ(50px) rotateY(0deg);
    opacity: 1;
    z-index: 3;
    background: linear-gradient(180deg, #26262e 0%, #1c1c22 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), 0 30px 60px rgba(0, 0, 0, 0.8);
}

.feature-item.card-left {
    transform: translateX(-55%) scale(0.85) translateZ(-100px) rotateY(20deg);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.feature-item.card-right {
    transform: translateX(55%) scale(0.85) translateZ(-100px) rotateY(-20deg);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.feature-item.card-hidden {
    transform: translateX(0) scale(0.7) translateZ(-250px) rotateY(0deg);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.feature-card-visual {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, rgba(62, 16, 92, 0.5) 0%, rgba(20, 10, 36, 0.5) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 44px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(184, 115, 255, 0.12);
    border: 1px solid rgba(184, 115, 255, 0.25);
    box-shadow: inset 0 2px 15px rgba(184, 115, 255, 0.15);
}

.feature-card-content {
    padding: 28px 24px;
}

.feature-item h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-item p {
    font-size: 15px;
    color: #9ca3af;
    line-height: 1.6;
}

.feature-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.feature-link:hover {
    color: #d4a0ff;
}

/* Case Studies Section */
.case-studies {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 20px;
    position: relative;
    text-align: center;
}

.case-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.case-header h2 {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 600;
    margin-top: 16px;
    color: #ffffff;
}

.case-container {
    display: grid;
    grid-template-columns: 240px 1fr 300px;
    gap: 40px;
    align-items: center;
    position: relative;
}

/* Add a subtle background glow for the whole section */
.case-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(138, 43, 226, 0.15) 0%, rgba(10, 4, 16, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Left Column: Stats */
.case-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
    position: relative;
}

.stat-box {
    background: rgba(20, 18, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.stat-num {
    font-size: 32px;
    font-weight: 600;
    color: #f0e6ff;
    margin-bottom: 8px;
    line-height: 1.1;
    word-break: break-word;
}

.stat-desc {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.4;
}

/* Middle Column: Main Card */
.case-main {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.case-card-stack {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stack-back-2, .stack-back-1 {
    position: absolute;
    width: 90%;
    height: 100px;
    background: #1a1a24;
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: none;
}

.stack-back-2 {
    top: -24px;
    width: 80%;
    opacity: 0.5;
    z-index: 1;
}

.stack-back-1 {
    top: -12px;
    width: 90%;
    opacity: 0.8;
    z-index: 2;
}

.case-main-card {
    background: #24242c;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stack-front-folder {
    position: absolute;
    bottom: -30px;
    left: -20px;
    right: -20px;
    height: 120px;
    background: linear-gradient(180deg, rgba(30, 30, 36, 0) 0%, rgba(20, 18, 25, 1) 100%);
    z-index: 4;
    pointer-events: none;
}

.case-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.case-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #d1d5db;
}

.case-main-card h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 32px;
}

.case-section h4 {
    font-size: 14px;
    color: #B873FF;
    margin-bottom: 8px;
    font-weight: 500;
}

.case-section p {
    font-size: 15px;
    color: #d1d5db;
    line-height: 1.6;
}

.case-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 24px 0;
}

/* Right Column: Quote */
.case-quote {
    background: rgba(20, 18, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    text-align: left;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.quote-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.case-quote p {
    font-size: 15px;
    line-height: 1.7;
    color: #d1d5db;
}

.quote-label {
    font-size: 13px;
    font-weight: 600;
    color: #B873FF;
    margin-bottom: 12px;
    font-style: normal;
    letter-spacing: 0.02em;
}

.case-quote-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.case-quote-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #d1d5db;
}

/* Exchange Block (section 3) */
.exchange-block {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
    max-width: 100%;
    overflow-x: hidden;
}

.exchange-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.exchange-hero-text h3 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
}

.exchange-hero-text p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 460px;
}

.exchange-widget {
    background: rgba(28, 26, 36, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 28px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(184, 115, 255, 0.06) inset;
    backdrop-filter: blur(20px);
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.widget-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #B873FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.widget-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.widget-tab {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 20px;
}

.swap-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 16px 18px;
    min-width: 0;
    overflow: hidden;
}

.token-select {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
}

.token-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-icon.usdt-icon img {
    object-fit: contain;
    transform: scale(1.05);
}

.token-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.swap-amount-input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    text-align: right;
    width: 100%;
    min-width: 0;
    flex: 1 1 0;
    font-family: inherit;
    -moz-appearance: textfield;
    touch-action: manipulation;
}

.swap-amount-input::-webkit-outer-spin-button,
.swap-amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.swap-amount-output {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    text-align: right;
    flex: 1 1 0;
    min-width: 0;
    word-break: break-all;
}

.swap-divider {
    display: flex;
    align-items: center;
    margin: 4px 0;
    position: relative;
    z-index: 1;
}

.swap-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.swap-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(22, 20, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
    margin: -18px 0;
}

.rate-hint {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 20px 0 16px;
    line-height: 1.5;
    min-height: 20px;
}

.rate-hint.error {
    color: #f87171;
}

.exchange-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 18px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 55%, #9333ea 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(184, 115, 255, 0.35);
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.4);
    transition: all 0.25s ease;
}

.exchange-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(124, 58, 237, 0.6);
}

.rate-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--accent-purple);
    text-decoration: none;
    transition: opacity 0.2s;
}

.rate-link:hover {
    opacity: 0.75;
}

/* DRAZZE WIN Section */
.drazzewin {
    margin: 120px 0 0;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 70%),
        linear-gradient(180deg, rgba(20, 8, 30, 0.6) 0%, rgba(10, 4, 16, 0) 100%);
    border-top: 1px solid rgba(184, 115, 255, 0.1);
    border-bottom: 1px solid rgba(184, 115, 255, 0.06);
}

.drazzewin::before {
    content: '♠ ♥ ♦ ♣';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    letter-spacing: 24px;
    color: rgba(184, 115, 255, 0.08);
    white-space: nowrap;
    pointer-events: none;
}

.drazzewin-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.drazzewin-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #fbbf24;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.drazzewin-title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    margin-bottom: 16px;
    color: #ffffff;
    text-transform: uppercase;
}

.win-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4));
}

.drazzewin-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 28px;
}

.drazzewin-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 28px;
    border-radius: 30px;
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 50%, #fbbf24 100%);
    color: #1a0a00;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
    transition: all 0.25s ease;
}

.drazzewin-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(251, 191, 36, 0.5);
}

.providers-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.providers-track {
    display: flex;
    width: max-content;
    animation: providersScroll 50s linear infinite;
}

.providers-track:hover {
    animation-play-state: paused;
}

.providers-group {
    display: flex;
    align-items: center;
    gap: 72px;
    padding: 0 36px;
}

.providers-group span {
    font-size: 22px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.providers-group span:hover {
    color: rgba(255, 255, 255, 0.6);
}

@keyframes providersScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.drazzewin-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 56px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.drazzewin-info {
    text-align: left;
}

.drazzewin-info h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 20px;
}

.win-info-desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}

.win-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.win-features li {
    font-size: 14px;
    color: #d1d5db;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.win-features li::before {
    content: '♦';
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-size: 12px;
    top: 2px;
}

.drazzewin-info .drazzewin-cta {
    margin-bottom: 32px;
}

.win-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.win-link-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.win-link-item:hover {
    border-color: rgba(184, 115, 255, 0.35);
    color: #ffffff;
    background: rgba(124, 58, 237, 0.1);
}

.win-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(184, 115, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B873FF;
    flex-shrink: 0;
}

.win-banners {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.win-banner {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 18, 25, 0.6);
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.win-banner:hover {
    transform: scale(1.02);
    border-color: rgba(251, 191, 36, 0.3);
}

.win-banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FAQ Section */
.faq {
    max-width: 900px;
    margin: 120px auto 100px;
    padding: 0 20px;
    text-align: center;
}

.faq h2 {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.2;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.faq-item {
    background: rgba(20, 18, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item.active {
    border-color: rgba(184, 115, 255, 0.25);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-align: left;
    line-height: 1.4;
}

.faq-question span:first-child {
    flex: 1;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(184, 115, 255, 0.25);
    color: #B873FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.25s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(124, 58, 237, 0.35);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 1100px) {
    .case-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .case-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-box {
        flex: 1;
        min-width: 200px;
    }

    .exchange-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .exchange-widget {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero h1,
    .hero p {
        max-width: 100%;
    }

    .tag-top {
        top: 6%;
        left: 0;
    }

    .tag-middle {
        top: 40%;
        left: 0;
    }

    .tag-bottom {
        bottom: 12%;
        left: 4%;
    }
}

@media (max-width: 900px) {
    .feature-item.card-left {
        transform: none;
    }
    
    .feature-item.card-right {
        transform: none;
    }
    
    .hero h1 {
        font-size: 40px;
    }

    .hero {
        padding: 20px 20px 60px;
    }
    
    .hero-image-container {
        min-height: 380px;
    }

    .floating-tag {
        font-size: 12px;
        padding: 8px 12px;
        white-space: normal;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 76px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        background: rgba(22, 20, 28, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 20px;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
        z-index: 99;
        backdrop-filter: blur(20px);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 14px;
        padding: 14px 16px;
        border-radius: 12px;
        text-align: left;
    }

    .nav-links a:hover {
        background: rgba(124, 58, 237, 0.12);
    }

    .nav-link-mobile-contact {
        display: block;
        color: #B873FF !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 8px;
        padding-top: 18px !important;
    }

    .nav-burger {
        display: flex;
    }

    .nav-wrapper {
        padding: 12px 16px;
    }

    .navbar {
        padding: 8px 10px 8px 12px;
        gap: 12px;
    }

    .btn-contact {
        display: none;
    }

    .lang-toggle-btn {
        width: 36px;
        height: 36px;
        font-size: 9px;
    }

    .logo-box-round {
        width: 40px;
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 16px 16px 48px;
    }

    .hero-inner {
        min-height: auto;
        gap: 32px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
        font-size: 15px;
    }

    .hero-image-container {
        min-height: 300px;
        max-width: 100%;
    }

    .astronaut-img {
        width: 100%;
        max-width: 340px;
    }

    .floating-tag {
        font-size: 11px;
        padding: 6px 10px;
        gap: 6px;
    }

    .floating-tag .tag-icon {
        width: 22px;
        height: 22px;
    }

    .floating-tag .tag-icon svg {
        width: 14px;
        height: 14px;
    }

    .tag-top {
        top: 4%;
        left: 0;
    }

    .tag-middle {
        top: 38%;
        left: -2%;
    }

    .tag-bottom {
        bottom: 10%;
        left: 2%;
    }

    /* Features — mobile carousel */
    .features {
        display: flex;
        flex-direction: column;
        margin: 60px auto;
        padding: 0 16px;
        gap: 0;
    }

    .features-title-area {
        margin-bottom: 20px;
    }

    .features-title-area h2 {
        font-size: 26px;
    }

    .cards-carousel-container {
        order: 2;
        height: auto;
        min-height: unset;
        margin: 0;
        perspective: none;
        width: 100%;
    }

    .features-grid {
        position: relative;
        height: auto;
        display: block;
        transform-style: flat;
    }

    .feature-item {
        position: relative !important;
        width: 100% !important;
        max-width: 100%;
        display: none !important;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .feature-item.card-center {
        display: block !important;
    }

    .feature-item.card-left,
    .feature-item.card-right,
    .feature-item.card-hidden {
        display: none !important;
    }

    .feature-card-visual {
        height: 120px;
    }

    .product-number {
        font-size: 36px;
        top: 12px;
        right: 16px;
    }

    .feature-icon-wrapper {
        width: 52px;
        height: 52px;
    }

    .feature-card-content {
        padding: 20px 18px 22px;
    }

    .feature-item h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-item p {
        font-size: 14px;
        line-height: 1.55;
    }

    .feature-link {
        margin-top: 14px;
        font-size: 13px;
    }

    .carousel-controls {
        order: 3;
        justify-content: center;
        margin-top: 20px;
        gap: 16px;
    }

    .control-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    /* Tokenomics */
    .case-studies {
        margin: 60px auto;
    }

    .case-header h2 {
        font-size: 28px;
    }

    .case-stats {
        flex-direction: column;
    }

    .stat-box {
        min-width: unset;
        text-align: center;
    }

    .stat-num {
        font-size: 28px;
    }

    .case-main-card {
        padding: 24px;
    }

    .case-main-card h3 {
        font-size: 18px;
    }

    .case-quote {
        padding: 24px;
    }

    .exchange-block {
        margin-top: 48px;
        padding-top: 40px;
    }

    .exchange-hero-text h3 {
        font-size: 24px;
        text-align: center;
    }

    .exchange-hero-text p {
        text-align: center;
        max-width: 100%;
    }

    .exchange-layout {
        text-align: center;
    }

    .swap-field {
        padding: 14px;
        gap: 10px;
    }

    .token-name {
        font-size: 13px;
    }

    .swap-amount-input {
        font-size: 16px;
    }

    .swap-amount-output {
        font-size: 20px;
    }

    .exchange-widget {
        padding: 20px 16px;
    }

    .exchange-block {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* DrazzeWin */
    .drazzewin {
        margin-top: 60px;
        padding: 48px 0 40px;
    }

    .drazzewin-header {
        margin-bottom: 36px;
    }

    .drazzewin-title {
        font-size: 36px;
    }

    .drazzewin-subtitle {
        font-size: 14px;
    }

    .providers-group span {
        font-size: 16px;
    }

    .providers-group {
        gap: 36px;
    }

    .drazzewin-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 40px;
    }

    .drazzewin-info h3 {
        font-size: 20px;
    }

    .drazzewin-info .drazzewin-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .win-links {
        flex-direction: column;
    }

    .win-link-item {
        width: 100%;
    }

    .win-banners {
        max-width: 100%;
    }

    /* FAQ */
    .faq {
        margin: 60px auto 48px;
    }

    .faq h2 {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .faq-question {
        font-size: 14px;
        padding: 16px;
        gap: 12px;
    }

    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 14px;
    }

    .faq-item.active .faq-answer {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }

    .neon-brand {
        display: inline;
    }

    .features-title-area h2 {
        font-size: 22px;
    }

    .feature-card-visual {
        height: 100px;
    }

    .drazzewin-title {
        font-size: 30px;
    }

    .providers-group span {
        font-size: 14px;
    }

    .swap-amount-input {
        font-size: 16px;
    }

    .swap-amount-output {
        font-size: 18px;
    }

    .token-select {
        gap: 6px;
    }

    .token-icon {
        width: 30px;
        height: 30px;
    }
}
