:root {
    /* Aurora Dark Mode Palette */
    --void-black: #050505;
    --grid-lines: #333333;
    --indigo: #6366F1;
    --electric-purple: #A855F7;
    --mint-green: #00E599;
    --card-bg: rgba(20, 20, 20, 0.6);
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

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

body {
    font-family: var(--font-heading);
    background: var(--void-black);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-lines) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-lines) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

/* Magnetic Button */
.magnetic-btn {
    position: relative;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

/* Shimmer Text */
.shimmer-text {
    background: linear-gradient(90deg,
            #FFFFFF 0%,
            #A0A0A0 25%,
            #FFFFFF 50%,
            #A0A0A0 75%,
            #FFFFFF 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* 3D Credit Card */
.card-3d-container {
    perspective: 1000px;
    margin: 4rem auto;
    width: 100%;
    max-width: 450px;
    height: 280px;
}

.credit-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(99, 102, 241, 0.2);
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    border-radius: 20px;
    pointer-events: none;
}

.card-content {
    position: relative;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 4px;
}

.chip-line {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.card-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin: 1rem 0;
}

.card-details {
    display: flex;
    justify-content: space-between;
}

.card-holder,
.card-expiry {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 20px;
    opacity: 0.5;
    pointer-events: none;
}

/* Hero Button */
.btn-hero {
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    border: none;
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

/* Marquee */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    z-index: 2;
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    letter-spacing: 3px;
}

.separator {
    color: #444;
    font-size: 1.5rem;
}

/* Bento Section */
.bento-section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 2;
}

.bento-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Glow Card */
.glow-card {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(99, 102, 241, 0.15) 0%,
            transparent 50%);
    transition: opacity 0.3s;
    pointer-events: none;
}

.glow-card:hover .card-glow {
    opacity: 1;
}

.glow-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.bento-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.bento-card.large {
    grid-column: span 2;
}

.bento-card.medium {
    grid-column: span 1;
}

.bento-card.small {
    grid-column: span 1;
}

/* Globe */
.globe-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.globe {
    position: relative;
    width: 200px;
    height: 200px;
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.1));
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.transaction-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--mint-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--mint-green);
}

.transaction-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint-green);
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Analytics */
.analytics-display {
    margin: 2rem 0;
}

.balance-amount {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.balance-change {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
}

.balance-change.positive {
    background: rgba(0, 229, 153, 0.1);
    color: var(--mint-green);
}

.mini-chart {
    margin-top: 2rem;
}

.chart-svg {
    width: 100%;
    height: 60px;
}

/* Speed Counter */
.speed-counter {
    margin: 2rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.counter-number {
    font-family: var(--font-mono);
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-unit {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.speed-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Zero Fees */
.zero-fees {
    text-align: center;
    padding: 2rem 0;
}

.giant-zero {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Security Features */
.security-icon {
    font-size: 4rem;
    text-align: center;
    margin: 2rem 0;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--mint-green);
}

/* Rewards */
.reward-percent {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--mint-green), #00B377);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

/* Yield Section */
.yield-section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 2;
}

.yield-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 4rem;
}

.yield-chart-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 3rem;
}

.yield-wave {
    width: 100%;
    height: 100%;
}

.wave-line {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.yield-tooltip {
    position: absolute;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.tooltip-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.tooltip-change {
    font-family: var(--font-mono);
    color: var(--mint-green);
    font-size: 0.9rem;
}

.yield-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
}

/* Security Section */
.security-section {
    position: relative;
    padding: 6rem 2rem;
    z-index: 2;
}

.security-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.security-visual {
    margin-bottom: 3rem;
}

.fingerprint-icon {
    font-size: 6rem;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scramble-text {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.security-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 4rem;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.security-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.security-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.security-item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.security-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 8rem 2rem;
    z-index: 2;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-container h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 3rem;
}

.btn-cta {
    background: linear-gradient(135deg, var(--indigo), var(--electric-purple));
    border: none;
    color: white;
    padding: 1.5rem 3.5rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.4);
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(99, 102, 241, 0.6);
}

/* Footer */
.footer {
    position: relative;
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem 2rem;
    z-index: 2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 1rem;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* Beam Connections */
.beam-connections {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.beam-line {
    stroke: rgba(99, 102, 241, 0.3);
    stroke-width: 2;
    fill: none;
}

/* Responsive */
@media (max-width: 1024px) {

    .bento-card.large,
    .bento-card.medium,
    .bento-card.small {
        grid-column: span 1;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .giant-zero {
        font-size: 5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}