/* ---------- CSS RESET & VARIABLES ---------- */
:root {
    --bg-dark: #07070a;
    --bg-card: #15151e;
    --neon-pink: #ff0050;
    --neon-cyan: #00f2fe;
    --neon-purple: #8a2be2;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-glow: rgba(0, 242, 254, 0.3);
    --border-dark: rgba(255, 255, 255, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* ---------- UTILITIES ---------- */
.text-gradient {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #00a0dc);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.6);
}

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

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

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(7, 7, 10, 0.1);
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dark);
    padding: 0.75rem 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    height: 32px;
    width: auto;
}

.brand-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

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

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* ---------- FOOTER ---------- */
.footer {
    border-top: 1px solid var(--border-dark);
    padding: 3rem 0;
    margin-top: 5rem;
    background: rgba(7, 7, 10, 0.5);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.footer-brand img {
    height: 24px;
}

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

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

    .nav-menu,
    .nav-auth {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.15) 0%, rgba(255, 0, 80, 0.05) 40%, rgba(7, 7, 10, 0) 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(60px);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.hero-features-list .icon {
    color: var(--neon-cyan);
    font-weight: block;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* 3D PARALLAX HERO VISUAL */
.hero-visual {
    position: relative;
    perspective: 1000px;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge {
    position: absolute;
    top: 5%;
    right: 10%;
    z-index: 10;
    width: 120px;
    height: 120px;
    background: rgba(15, 15, 25, 0.8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 0, 80, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 80, 0.3);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease-out;
}

.hero-badge img {
    width: 60%;
    filter: drop-shadow(0 0 10px var(--neon-pink));
}

.hero-dashboard-wrapper {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-dashboard-card {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 242, 254, 0.2);
    border: 1px solid var(--border-dark);
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-20deg) translateZ(0);
    /* Default tilt */
    transition: transform 0.2s ease-out;
}

/* ---------- SECTIONS GENERICS ---------- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ---------- FEATURES GRID ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ---------- HOW IT WORKS ---------- */
.steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem auto;
    background: var(--bg-card);
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.step-item h3 {
    margin-bottom: 0.75rem;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---------- DASHBOARD PREVIEW ---------- */
.preview-section {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 30, 0.5) 50%, transparent 100%);
}

.preview-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
}

.preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 30px var(--neon-purple);
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}

.preview-wrapper:hover .preview-frame {
    transform: rotateX(0deg);
}

.preview-frame img {
    width: 100%;
    display: block;
}

.floating-tag {
    position: absolute;
    background: rgba(15, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-dark);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    width: max-content;
    z-index: 20;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

.tag-1 {
    top: -5%;
    left: 10%;
    border-color: rgba(0, 242, 254, 0.4);
    color: var(--neon-cyan);
}

.tag-2 {
    top: -10%;
    right: 20%;
    border-color: rgba(255, 0, 80, 0.4);
    color: var(--neon-pink);
    animation-delay: 1s;
}

.tag-3 {
    top: 15%;
    right: -5%;
    border-color: rgba(138, 43, 226, 0.4);
    color: #fff;
    animation-delay: 2s;
}

.tag-4 {
    top: 10%;
    left: -10%;
    border-color: rgba(0, 242, 254, 0.4);
    color: var(--neon-cyan);
    animation-delay: 3s;
}

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

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

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

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 6rem 1.5rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.8), rgba(20, 20, 40, 0.8));
    padding: 4rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 40px rgba(0, 242, 254, 0.1);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-features-list li {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
        margin-bottom: 3rem;
    }

    .steps-timeline {
        flex-direction: column;
        gap: 3rem;
    }

    .steps-timeline::before {
        display: none;
    }
}

/* ---------- DASHBOARD SPECIFIC ---------- */
.dashboard-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    /* Account for navbar roughly */
    padding-top: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-sidebar {
    width: 260px;
    background: rgba(15, 15, 25, 0.4);
    border-right: 1px solid var(--border-dark);
    padding: 2rem 1.5rem;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(0, 242, 254, 0.1);
    color: var(--text-primary);
}

.sidebar-link.active {
    border-left: 3px solid var(--neon-cyan);
}

.dashboard-main {
    flex: 1;
    padding: 3rem 4rem;
}

.dashboard-header-block {
    margin-bottom: 3rem;
}

.dashboard-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dash-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.dash-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-placeholder-card {
    background: var(--bg-card);
    border: 1px dashed rgba(255, 0, 80, 0.4);
    border-radius: 16px;
    padding: 2rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payment-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 80, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.payment-placeholder-card h2,
.payment-placeholder-card p,
.payment-placeholder-card button,
.payment-placeholder-card div {
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-dark);
        padding: 1rem;
    }

    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .sidebar-link {
        white-space: nowrap;
    }

    .dashboard-main {
        padding: 2rem 1.5rem;
    }
}