/**
 * NeoxPay - Landing Page Stylesheet
 * * 1. Reset & Variables
 * 2. Base & Typography
 * 3. Background & Animations
 * 4. Components (Glass, Buttons)
 * 5. Layout Sections
 * 5.1 Navbar
 * 5.2 Hero & 3D Visual
 * 5.3 Trust Indicators
 * 5.4 Calculator
 * 5.5 Features
 * 5.6 Final CTA & Footer
 * 6. Responsive (Media Queries)
 */

/* 1. Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

:root {
    --blue-primary: #4da6ff;
    --blue-dark: #191970;
    --bg-body: #02020a;
    --bg-section: #05050f;
    --white: #ffffff;
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --red-transaction: #ff4d4d;
    --green-success: #00c851;
    --glass-bg: rgba(20, 20, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-top: rgba(255, 255, 255, 0.15);
}

/* 2. Base & Typography */
html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-body);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    
    /* Anti-Selection Lock */
    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
    -webkit-user-drag: none; 
}

::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

h1, h2, h3, h4, .logo {
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 140px 0;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* 3. Background & Animations */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.beam {
    position: absolute;
    background: linear-gradient(180deg, transparent, rgba(77, 166, 255, 0.15), transparent);
    transform: rotate(-25deg);
}

.beam-1 {
    width: 250px;
    height: 150vh;
    top: -20%;
    left: 10%;
}

.beam-2 {
    width: 150px;
    height: 150vh;
    top: -10%;
    right: 15%;
}

.orb-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 166, 255, 0.15) 0%, transparent 60%);
    will-change: transform;
}

.orb-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 60%);
    will-change: transform;
}

.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* 4. Components (Glass, Buttons) */
.glass-panel-global {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid var(--glass-border-top);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-nav {
    padding: 10px 24px;
    border-radius: 50px;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #4da6ff);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 123, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    border-color: var(--blue-primary);
    color: var(--white);
    background: rgba(77, 166, 255, 0.1);
    transform: translateY(-2px);
}

/* 5. Layout Sections */

/* 5.1 Navbar */
.navbar {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    max-width: 1000px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateZ(0) translateX(-50%);
    -webkit-transform: translateZ(0) translateX(-50%);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
}

.logo span {
    color: var(--blue-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.nav-links a {
    color: var(--white-70);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    margin: 0 15px;
}

.nav-links a:hover {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* 5.2 Hero & 3D Visual */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
}

.hero-box {
    border-radius: 40px;
    padding: 70px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 120%;
    margin-left: -15%;
}

.hero-title {
    font-size: 60px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-title .highlight {
    background: linear-gradient(90deg, #4da6ff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 123, 255, 0.2);
}

.hero-description {
    font-size: 19px;
    color: var(--white-70);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.btn-group {
    display: flex;
    gap: 15px;
}

.risk-reversal {
    font-size: 13px;
    color: var(--white-50);
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
}

.risk-reversal i {
    color: var(--blue-primary);
}

.hero-stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 35px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    display: flex;
    letter-spacing: -1px;
}

.hero-stat-value span {
    color: var(--blue-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--white-50);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 2000px;
}

.cyber-grid-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: linear-gradient(rgba(77, 166, 255, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 166, 255, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, #000 10%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    animation: pulseGrid 4s ease-in-out infinite alternate;
}

.cyber-crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.cyber-crosshair::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(77, 166, 255, 0.6), transparent);
}

.cyber-crosshair::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(77, 166, 255, 0.6), transparent);
}

@keyframes pulseGrid {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.iphone-container {
    width: 330px;
    height: 660px;
    border-radius: 56px;
    position: relative;
    transform: rotateY(-20deg) rotateX(10deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    background: #000;
    padding: 2px;
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.5), -1px -1px 3px rgba(255, 255, 255, 0.1) inset, 1px 1px 0px #1a1a1f;
    animation: float3D 8s ease-in-out infinite;
    z-index: 10;
}

.iphone-btn {
    position: absolute;
    background: #000;
    box-shadow: inset 1px 0 2px rgba(255, 255, 255, 0.2), -1px 1px 3px rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.btn-mute { top: 115px; left: -3px; width: 3px; height: 26px; border-radius: 4px 0 0 4px; }
.btn-vol-up { top: 160px; left: -3px; width: 3px; height: 48px; border-radius: 4px 0 0 4px; }
.btn-vol-down { top: 220px; left: -3px; width: 3px; height: 48px; border-radius: 4px 0 0 4px; }
.btn-power {
    top: 175px;
    right: -3px;
    width: 3px;
    height: 75px;
    border-radius: 0 4px 4px 0;
    background: #000;
    box-shadow: inset -1px 0 2px rgba(255, 255, 255, 0.2), 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.iphone-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 70%);
    background-size: 200% 100%;
    pointer-events: none;
    z-index: 5;
    animation: glareMove 8s ease-in-out infinite;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #1c1c38 0%, #050508 100%);
    border-radius: 54px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #000;
}

.dynamic-island {
    width: 100px;
    height: 28px;
    background: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    box-shadow: inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.dynamic-island::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #0b0b14;
    border-radius: 50%;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15);
    opacity: 0.8;
}

.iphone-home-bar {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    z-index: 10;
}

.screen-content {
    padding: 60px 20px 25px;
    color: #fff;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.glass-panel-inner {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    transform: translateZ(0);
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(77, 166, 255, 0.2);
    animation: popIn 0.8s forwards;
}

.balance-card {
    margin-top: 10px;
    padding: 15px;
    border-radius: 24px;
    opacity: 1;
}

.history-list {
    margin-top: 15px;
    text-align: left;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border-radius: 18px;
    opacity: 0;
    transform: translateY(20px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.history-item:nth-child(2) { animation: slideInList 0.6s ease forwards 1s; }
.history-item:nth-child(3) { animation: slideInList 0.6s ease forwards 1.2s; }
.history-item:nth-child(4) { animation: slideInList 0.6s ease forwards 1.4s; }
.history-item:nth-child(5) { animation: slideInList 0.6s ease forwards 1.6s; }

@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideInList {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float3D {
    0%, 100% { transform: rotateY(-20deg) rotateX(10deg) translateY(0); }
    50% { transform: rotateY(-15deg) rotateX(5deg) translateY(-25px); }
}

@keyframes glareMove {
    0% { background-position: 100% 0; }
    50% { background-position: 0 0; }
    100% { background-position: 100% 0; }
}

/* 5.3 Trust Indicators */
.trust-section {
    position: relative;
    z-index: 5;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.01), transparent);
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    opacity: 0.8;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.trust-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.1), rgba(77, 166, 255, 0.02));
    border: 1px solid rgba(77, 166, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    font-size: 18px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

/* 5.4 Calculator */
.calculator-section {
    position: relative;
    padding: 140px 0;
    background: var(--bg-section);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(77, 166, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.calc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.calc-text-content .inline-badge {
    display: inline-block;
    background: rgba(77, 166, 255, 0.1);
    border: 1px solid rgba(77, 166, 255, 0.2);
    color: var(--blue-primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(77, 166, 255, 0.1);
}

.calc-text-content h2 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.calc-text-content h2 span {
    background: linear-gradient(90deg, #4da6ff 0%, #0056b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calc-text-content p {
    color: var(--white-70);
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.6;
}

.calc-box {
    width: 100%;
    border-radius: 32px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-inner {
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.calc-inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calc-label {
    display: block;
    font-size: 14px;
    color: var(--white-70);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-dropdown {
    position: relative;
    width: 140px;
    font-family: 'Inter', sans-serif;
    z-index: 20;
}

.dropdown-trigger {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--blue-primary);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
    color: var(--white-50);
}

.custom-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-option {
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--white-70);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.dropdown-option.active {
    background: rgba(77, 166, 255, 0.15);
    color: var(--blue-primary);
    font-weight: 600;
}

.input-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    transition: 0.3s;
    margin-bottom: 30px;
}

.input-row:focus-within {
    border-color: var(--blue-primary);
}

.currency-symbol {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.calc-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 64px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    width: 100%;
    outline: none;
    letter-spacing: -2px;
}

.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 40px 0;
    position: relative;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.result-row:last-child {
    margin-bottom: 0;
}

.res-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.res-col.text-right {
    text-align: right;
    flex: 1;
    padding-left: 20px;
    overflow: hidden;
}

.res-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--white-70);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.res-fee {
    font-size: 13px;
    color: var(--white-50);
    font-weight: 500;
    margin-top: 4px;
}

.res-val {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: var(--white-50);
    letter-spacing: -1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    transition: color 0.3s, font-size 0.3s;
}

.mini-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    white-space: nowrap;
}

.neox-badge {
    background: rgba(77, 166, 255, 0.15);
    color: var(--blue-primary);
    border: 1px solid rgba(77, 166, 255, 0.3);
}

.mad-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-50);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.astro-badge {
    background: rgba(255, 77, 77, 0.1);
    color: var(--red-transaction);
    border: 1px solid rgba(255, 77, 77, 0.2);
}

.highlight-row {
    background: linear-gradient(90deg, rgba(77, 166, 255, 0.08) 0%, transparent 100%);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--blue-primary);
    margin-bottom: 30px;
}

.highlight-row .res-name {
    color: #fff;
    font-size: 18px;
}

.highlight-row .res-val {
    color: var(--blue-primary);
    font-size: 40px;
    text-shadow: 0 0 30px rgba(77, 166, 255, 0.4);
}

.competitor-row {
    opacity: 0.6;
    transition: 0.3s;
    padding: 10px 20px;
    border-radius: 12px;
}

.competitor-row:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.02);
}

/* 5.5 Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    border-radius: 28px;
    padding: 45px 35px;
    text-align: left;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.6) 0%, rgba(10, 10, 15, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(77, 166, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--white-70);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.feature-card:hover {
    border-color: rgba(77, 166, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(77, 166, 255, 0.08);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover .feature-icon {
    background: var(--blue-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(77, 166, 255, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

/* 5.6 Final CTA & Footer */
.final-cta-box {
    position: relative;
    border-radius: 40px;
    padding: 100px 40px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: radial-gradient(circle at top, rgba(77, 166, 255, 0.1) 0%, rgba(20, 20, 30, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(77, 166, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: translateZ(0);
}

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white-50);
    font-size: 14px;
}

.footer-flex a {
    transition: color 0.3s;
    color: var(--white-50);
    text-decoration: none;
    font-weight: 500;
}

.footer-flex a:hover {
    color: var(--blue-primary) !important;
}

.footer-links {
    display: flex;
    gap: 30px;
}

/* 6. Responsive (Media Queries) */
@media (max-width: 1024px) {
    .hero-box {
        width: 100%;
        margin-left: 0;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats { justify-content: center; }
    .hero-buttons { align-items: center; }
    .hero-stat-value { justify-content: center; }
    .risk-reversal { justify-content: center; }
    
    .calc-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .calc-text-content p { margin: 0 auto 30px; }
    .input-row { justify-content: center; }
    .calc-input { text-align: center; }
    
    .res-col { align-items: flex-start; text-align: left; }
    .res-col.text-right { text-align: right; align-items: flex-end; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    
    .hero-visual { display: none !important; }
}

@media (max-width: 768px) {
    .container { padding: 0 25px; }
    .section { padding: 80px 0; }
    .hero-title { font-size: 42px; }
    
    .navbar {
        width: 95%;
        padding: 10px 20px;
    }
    
    .nav-links { display: none; }
    .nav-right { gap: 0; justify-content: flex-end; width: 100%; }
    .btn-nav { padding: 8px 24px !important; font-size: 13px !important; }
    
    .calc-text-content h2 { font-size: 38px; }
    .calc-input { font-size: 44px; }
    .res-val { font-size: 24px; }
    .highlight-row .res-val { font-size: 32px; }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section { padding: 45px 0; }
    
    .hero-box { padding: 40px 20px; border-radius: 30px; }
    .hero-title { font-size: 42px; line-height: 1.1; letter-spacing: -1px; text-align: center; }
    .hero-description { font-size: 16px; margin-bottom: 30px; text-align: center; }
    
    .hero-buttons { width: 100%; }
    .hero-buttons .btn-group { flex-direction: row !important; width: 100%; gap: 8px; justify-content: center; }
    .hero-buttons .btn { flex: 1; padding: 12px 4px; font-size: 12px; white-space: normal; line-height: 1.2; text-align: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
    
    .risk-reversal { justify-content: center; text-align: center; flex-direction: row; flex-wrap: wrap; gap: 15px; margin-top: 20px; }
    
    .hero-stats { flex-direction: row !important; flex-wrap: nowrap !important; justify-content: space-between !important; gap: 5px !important; padding-top: 20px; margin-top: 10px; width: 100%; }
    .stat { align-items: center; flex: 1; }
    .hero-stat-value { font-size: 22px !important; justify-content: center; display: block; text-align: center; white-space: nowrap; }
    .hero-stat-label { font-size: 10px; text-align: center; display: block; white-space: nowrap; }
    
    .trust-section { padding: 30px 0; }
    .trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; justify-content: center; padding: 0 5px; width: 100%; box-sizing: border-box; }
    .trust-item { font-size: 11px; gap: 8px; justify-content: flex-start; min-width: 0; word-wrap: break-word; }
    .trust-icon-box { width: 36px; height: 36px; font-size: 14px; flex-shrink: 0; }
    
    .calc-text-content h2 { font-size: 34px; margin-bottom: 15px; }
    .calc-text-content p { font-size: 15px; margin-bottom: 25px; }
    .calc-inner { padding: 20px 15px; border-radius: 20px; }
    .calc-inner-header { flex-direction: row; align-items: center !important; gap: 10px; margin-bottom: 15px; }
    .calc-label { font-size: 12px; }
    
    .input-row { margin-bottom: 20px; padding-bottom: 5px; border-bottom: 2px solid rgba(255, 255, 255, 0.1); align-items: baseline; justify-content: flex-start; }
    .currency-symbol { font-size: 28px; }
    .calc-input { font-size: 38px; height: auto; line-height: normal; text-align: left; -webkit-appearance: none; border-radius: 0; padding: 0; }
    
    .receive-label { margin-top: 20px !important; margin-bottom: 15px !important; display: block; text-align: left; }
    
    .highlight-row { flex-direction: row; justify-content: space-between; align-items: center; padding: 15px 10px; margin-bottom: 15px; gap: 5px; }
    .result-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 5px; margin-bottom: 10px; }
    .res-col.text-right { text-align: right; align-items: flex-end; padding-left: 0; margin-top: 0; min-width: max-content; }
    
    .res-name { font-size: 13px; gap: 6px; }
    .res-fee { font-size: 11px; margin-top: 2px; }
    .highlight-row .res-val { font-size: 20px; overflow: hidden; text-overflow: ellipsis; }
    .res-val { font-size: 16px; overflow: hidden; text-overflow: ellipsis; }
    .mini-badge { padding: 2px 5px; font-size: 8px; letter-spacing: 0; }
    
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; width: 100%; box-sizing: border-box; }
    .feature-card { padding: 20px 15px; border-radius: 16px; min-width: 0; word-wrap: break-word; overflow-wrap: break-word; min-height: 180px; }
    .feature-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; border-radius: 12px; }
    .feature-card h3 { font-size: 13px; margin-bottom: 6px; line-height: 1.2; letter-spacing: 0; }
    .feature-card p { font-size: 11px; line-height: 1.4; color: rgba(255, 255, 255, 0.6); }
    
    .final-cta-box { padding: 40px 20px; border-radius: 24px; margin-top: 0; }
    .final-cta-box h2 { font-size: 30px; margin-bottom: 15px; }
    
    .final-cta-box .btn-group { flex-direction: row !important; width: 100%; gap: 8px; justify-content: center; }
    .final-cta-box .btn { flex: 1; padding: 12px 4px !important; font-size: 11px !important; white-space: normal !important; line-height: 1.2 !important; text-align: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
    
    footer { padding: 30px 0; margin-top: 30px; }
    .footer-flex { flex-direction: column; gap: 20px; text-align: center; }
}