/* ----- CSS Variables (Black + Blue + Purple + Icy Accent) ----- */
:root {
    --black: #000000;
    --off-black: #050608;
    --deep-blue: #1A3A8A;
    --navy: #1E40AF;
    --purple: #7C3AED;
    --purple-dark: #5B21B6;
    --purple-light: #8B5CF6;
    --icy: #7DD3FC;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #475569;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(124, 58, 237, 0.08);
    --glass-blur: 35px;
    --radius: 20px;
}

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--off-black);
}
::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Glassmorphism + Rotating Border (The Magic) ----- */
.glass {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
    z-index: 1;
}

.glass::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from 0deg, var(--deep-blue), var(--purple), var(--navy), var(--purple-light), var(--deep-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: spinBorder 4s linear infinite;
}

.glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.1);
}
.glass:hover::before {
    opacity: 1;
}

@keyframes spinBorder {
    0% {
        transform: rotate(0deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1.2);
    }
}

/* ----- Buttons (Blue → Purple gradient) ----- */
.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--navy), var(--purple));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.2);
    text-decoration: none;
    letter-spacing: 0.3px;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.45);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--purple-light);
    transform: scale(1.05);
}

/* ----- Section Titles (Blue → Purple gradient) ----- */
.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--navy), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-sub {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 3rem;
}

/* ----- Logo (Image) ----- */
.logo img {
    height: 150px;
    width: auto;
    display: block;
}

/* ----- Navbar ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: var(--purple-light);
}
.nav-support {
    background: linear-gradient(135deg, var(--navy), var(--purple));
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-support:hover {
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
    transform: scale(1.05);
    color: #fff !important;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s;
}

/* ----- Hero ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
#canvas-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--navy), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 540px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 40px;
    border: 1px solid rgba(124, 58, 237, 0.08);
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.trust-badges .badge i {
    color: var(--purple-light);
}
.pulse-glow {
    animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
    }
    50% {
        box-shadow: 0 0 50px rgba(125, 211, 252, 0.15);
    }
}

/* ----- Ticker (Professional market bar) ----- */
.ticker-section {
    padding: 20px 0 40px;
}
.ticker-wrap {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(124, 58, 237, 0.06);
    border-bottom: 1px solid rgba(124, 58, 237, 0.06);
    padding: 12px 0;
}
.ticker-inner {
    display: flex;
    gap: 48px;
    animation: tickerScroll 25s linear infinite;
    width: max-content;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.ticker-item .coin {
    font-weight: 700;
    color: var(--purple-light);
}
.ticker-item .price {
    color: var(--text-secondary);
}
.ticker-item .change {
    font-weight: 600;
}
.ticker-item .change.up {
    color: #34D399;
}
.ticker-item .change.down {
    color: #F87171;
}
@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ----- Features (with REAL images) ----- */
.features {
    padding: 60px 0 80px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}
.feature-card {
    padding: 0;
    overflow: hidden;
    text-align: left;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.feature-card:hover {
    transform: translateY(-8px);
}
.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}
.feature-card .content {
    padding: 24px 24px 28px;
}
.feature-card .content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.feature-card .content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ----- Plans (Professional cards) ----- */
.plans {
    padding: 60px 0 80px;
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.plan-card {
    padding: 40px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.plan-card.popular {
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.05);
}
.plan-card.popular::before {
    content: "Most Popular";
    position: absolute;
    top: 14px;
    right: -32px;
    background: linear-gradient(135deg, var(--navy), var(--purple));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.plan-card .plan-name {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.plan-card .plan-apy {
    font-size: 3.4rem;
    font-weight: 900;
    color: var(--purple-light);
    line-height: 1;
    margin: 8px 0 4px;
}
.plan-card .plan-apy small {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}
.plan-card .plan-range {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 18px;
}
.plan-card ul {
    list-style: none;
    margin: 18px 0 28px;
    text-align: left;
    padding-left: 6px;
}
.plan-card ul li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-card ul li i {
    color: var(--purple-light);
    width: 18px;
}
.plan-card .btn-primary {
    width: 100%;
    text-align: center;
    padding: 12px 0;
}

/* ----- FAQ (Professional accordion) ----- */
.faq {
    padding: 60px 0 80px;
}
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s;
}
.faq-question:hover {
    background: rgba(124, 58, 237, 0.04);
}
.faq-question i {
    transition: transform 0.3s;
    color: var(--purple-light);
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    color: var(--text-secondary);
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* ----- Footer (Professional) ----- */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(124, 58, 237, 0.06);
}
.footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-brand {
    max-width: 260px;
}
.footer-brand .logo img {
    height: 36px;
    width: auto;
    margin-bottom: 12px;
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links h4 {
    font-weight: 600;
    margin-bottom: 6px;
}
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--purple-light);
}
.footer-newsletter {
    max-width: 300px;
}
.footer-newsletter h4 {
    font-weight: 600;
    margin-bottom: 10px;
}
.footer-newsletter .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 40px;
    border: 1px solid rgba(124, 58, 237, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.3s;
}
.footer-newsletter input:focus {
    border-color: var(--purple);
}
.footer-newsletter .btn-primary {
    padding: 12px 20px;
    font-size: 0.9rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(124, 58, 237, 0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}
.social-icons a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: 0.2s;
}
.social-icons a:hover {
    color: var(--purple-light);
    transform: scale(1.1);
}

/* ----- Scroll Animations ----- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.4rem;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(30px);
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .plan-card .plan-apy {
        font-size: 2.8rem;
    }
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .ticker-item {
        font-size: 0.8rem;
    }
    .feature-card img {
        height: 140px;
    }
    .logo img {
        height: 32px;
    }
}
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .trust-badges .badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

