/* Root Variables */
:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --primary: #5efff6;
    /* Cyan */
    --secondary: #bd00ff;
    /* Purple */
    --accent: #ffd700;
    /* Gold */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Utilities */
.highlight {
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-main);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(94, 255, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(94, 255, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

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

.section-padding {
    padding: 100px 0;
}

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

.bg-darker {
    background: #020202;
}

/* Navbar (Finex Template Design) */
.navbar {
    position: fixed;
    top: 24px;
    /* Space from top */
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

/* The Pill Container */
.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    /* max-w-5xl */
    height: 68px;
    padding: 0 8px 0 24px;
    /* px-2 pl-6 */
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    /* full rounded */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 130px;
    background: transparent;
    /* Adjust logo text/image as needed */
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Center Links */
.nav-links {
    display: flex;
    /* Hidden on mobile by default, handled in media query */
    gap: 32px;
    /* gap-8 */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    transition: color 0.2s;
    letter-spacing: 0.025em;
    /* wide tracking */
    font-family: var(--font-body);
    /* Inter */
}

.nav-links a:hover {
    color: #d1d5db;
    /* gray-300 */
}

/* Right Side Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-cta {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 10px 24px;
    /* px-6 py-2.5 */
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.025em;
    /* tight tracking */
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-cta:hover {
    background-color: #e5e7eb;
    /* gray-200 */
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    /* specific styling below */
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

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

    .logo {
        width: auto;
    }

    .mobile-menu-btn {
        display: block;
    }

    .btn-cta {
        display: none;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }
}


/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, #111a33 0%, #050505 70%);
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48Y2lyY2xlIGN4PSIxMDAiIGN5PSIxMDAiIHI9IjIiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 0;
    animation: bgScroll 60s linear infinite;
}

@keyframes bgScroll {
    0% {
        background-position: 0 0;
    }

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

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

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

/* Glass Card Component */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: absolute;
    width: 250px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    margin-bottom: 15px;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 15px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 60%;
    background: var(--primary);
    animation: loadBar 2s infinite ease-in-out;
}

@keyframes loadBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(94, 255, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 14px;
}

.feature-list li i {
    color: var(--primary);
}

/* Markets Section */
.market-list {
    margin-top: 40px;
}

.market-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.market-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.market-item i {
    font-size: 30px;
    color: var(--secondary);
    min-width: 40px;
}

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

.market-visual-container {
    width: 400px;
    height: 400px;
    position: relative;
}

.orbit-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: orbitRotate 20s linear infinite;
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: var(--primary);
    z-index: 2;
}

.orbit-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-main);
    border: 1px solid var(--primary);
}

.icon-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-2 {
    bottom: 20%;
    right: 0;
}

.icon-3 {
    bottom: 20%;
    left: 0;
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(94, 255, 246, 0.05), rgba(189, 0, 255, 0.05));
    border: 1px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: #000;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
}

.price span {
    font-size: 16px;
    color: var(--text-muted);
}

.price-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 15px;
}

.price-features li strong {
    color: var(--text-main);
}

.full-width {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 80px;
    padding-bottom: 40px;
    background: #020202;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    color: #000;
}

.footer h4 {
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
}

/* Responsiveness */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        margin-top: 50px;
    }

    .hero-btns,
    .hero-stats {
        justify-content: center;
    }

    .row {
        flex-direction: column;
    }

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

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}
/* --- Imported Animations from Reference --- */

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blurIn { from { opacity: 0; filter: blur(15px); transform: scale(0.95); } to { opacity: 1; filter: blur(0); transform: scale(1); } }
@keyframes beam-spin { to { transform: rotate(360deg); } }
@keyframes lines-slide { 0% { background-position: 0 0; } 100% { background-position: 24px 0; } }
@keyframes bar-grow { 0% { transform: scaleY(0); opacity: 0; } 100% { transform: scaleY(1); opacity: 1; } }
@keyframes tooltip-fade { 0% { opacity: 0; transform: translateY(5px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes progress-loop { 0% { width: 0; opacity: 0.5; } 40% { width: var(--target-width); opacity: 1; } 80% { width: var(--target-width); opacity: 1; } 100% { width: var(--target-width); opacity: 0; } }
@keyframes draw-path-loop { 0% { stroke-dashoffset: 1000; opacity: 0; } 5% { opacity: 1; } 40% { stroke-dashoffset: 0; } 90% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes width-grow-loop { 0% { width: 0; opacity: 1; } 40% { width: var(--target-width); } 90% { width: var(--target-width); opacity: 1; } 100% { width: var(--target-width); opacity: 0; } }
@keyframes fade-in-up-loop { 0% { opacity: 0; transform: translateY(10px); } 20% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
@keyframes scale-in-loop { 0% { transform: scale(0.8); opacity: 0; } 20% { transform: scale(1); opacity: 1; } 90% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin-slow-reverse { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }

/* Utility Classes for Animations */
.scroll-item { animation-duration: 0.8s; animation-fill-mode: both; animation-play-state: paused; animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.scroll-fade-up { animation-name: fadeInUp; }
.scroll-blur-in { animation-name: blurIn; }
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-500 { animation-delay: 500ms; }

.animate-draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-path-loop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-play-state: paused; }
.animate-width { width: 0; animation: width-grow-loop 6s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-play-state: paused; }
.animate-fade-up { opacity: 0; animation: fade-in-up-loop 6s ease-out infinite; animation-play-state: paused; }
.animate-scale { opacity: 0; animation: scale-in-loop 6s cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite; animation-play-state: paused; }

.in-view .animate-draw, .in-view .animate-width, .in-view .animate-fade-up, .in-view .animate-scale { animation-play-state: running; }

/* Font Imports overrides */
.font-oswald { font-family: 'Oswald', sans-serif !important; }
.font-newsreader { font-family: 'Newsreader', serif !important; }

/* Custom Scrollbar Hide */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
