:root {
    --primary-color: #3b82f6;
    --secondary-color: #8b5cf6;
    --accent-color: #f43f5e;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow: 0 0 20px rgba(59, 130, 246, 0.5);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--darker-bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite alternate;
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    animation: float 25s infinite alternate-reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.logo .dot {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary):hover {
    color: white;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(59, 130, 246, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--glass-border);
    padding-top: 25px;
}

.trust-badges span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badges i {
    color: var(--secondary-color);
}

/* Hero Image & Glass Mockup */
.hero-image {
    position: relative;
    perspective: 1000px;
}

.glass-card {
    position: relative;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    padding: 10px;
    overflow: hidden;
}

.glass-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.glass-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.glass-card .reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
}

.feature-card.large {
    grid-column: span 2;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

/* Reports Section */
.reports {
    padding: 100px 0;
    margin-top: 50px;
    background: linear-gradient(90deg, #0f172a 0%, #020617 100%);
    position: relative;
    overflow: hidden;
}

.reports-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.reports-content {
    flex: 1;
}

.reports-content h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

.reports-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.stats-row {
    display: flex;
    gap: 50px;
}

.stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat .label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reports-visual {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.visual-box {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    gap: 20px;
    transition: all 0.3s ease;
}

.visual-box i {
    font-size: 3rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-box:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.03);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.popular:hover {
    transform: scale(1.08);
    /* slight lift on hover for popular */
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-header {
    margin-bottom: 30px;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.save {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
}

.plan-features {
    text-align: left;
    margin: 30px 0;
    padding: 0 10px;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: var(--secondary-color);
}

.sub-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px 0;
    background: #020617;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col p {
    color: var(--text-secondary);
    margin: 20px 0;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: white;
}

.footer-col a:not(.socials a) {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: color 0.2s ease;
}

.footer-col a:not(.socials a):hover {
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .h1 {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.large {
        grid-column: auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .reports-container {
        flex-direction: column;
        text-align: center;
    }

    .stats-row {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f172a;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary-color);
    padding: 20px 30px;
    border-radius: 15px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.cookie-banner.hidden {
    transform: translateY(150%);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Legal Page Styling */
.legal-page {
    padding: 150px 0 80px 0;
    min-height: 80vh;
}

.legal-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    margin-top: 30px;
}

.legal-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
}

/* How It Works Header */
.page-header {
    background: linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.9)), url('assets/dashboard.webp');
    /* Fallback or overlay */
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* How It Works Steps */
.how-it-works {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.step-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    padding: 60px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.cta-section h2 {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        left: 20px;
        right: 20px;
        bottom: 20px;
        max-width: none;
        flex-direction: column;
        text-align: center;
    }
}