:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --accent: #06b6d4;
    --background: #fcfdfe;
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}


html {
    scroll-behavior: smooth;
}


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


/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}


nav.scrolled {
    padding: 12px 8%;
    box-shadow: var(--shadow-md);
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}


.logo-box {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.logo-box img {
    height: 100%;
    width: auto;
    object-fit: contain;
}


nav h2 {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(to right, var(--secondary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}


.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}


.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}


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


.nav-links a:hover::after {
    width: 100%;
}


.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}


.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


.nav-cta::after {
    display: none;
}


/* MOBILE MENU */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}


.mobile-toggle span {
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}


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


    .mobile-toggle {
        display: flex;
    }
}


/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: 100px 8% 120px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent);
    position: relative;
    overflow: hidden;
}


.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    filter: blur(150px);
    opacity: 0.1;
    z-index: -1;
}


.hero-text {
    max-width: 650px;
    position: relative;
    z-index: 10;
}


.badge-main {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}


.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}


.hero h1 span {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.8;
}


/* BUTTONS */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 10px;
}


.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
}


.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.4);
}


.btn-outline {
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--secondary);
}


.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    background: rgba(37, 99, 235, 0.02);
}


/* DASHBOARD PREVIEW */
.dashboard-preview {
    position: relative;
    z-index: 5;
    perspective: 1000px;
}


.preview-content {
    background: white;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15), 0 18px 36px -18px rgba(0, 0, 0, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
    animation: heroFloat 6s ease-in-out infinite;
}


@keyframes heroFloat {


    0%,
    100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0);
    }


    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-20px);
    }
}


.preview-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}


.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    animation: cardFloat 4s ease-in-out infinite;
}


.f-card-1 {
    top: 15%;
    left: -15%;
    animation-delay: 0s;
}


.f-card-2 {
    bottom: 10%;
    right: -10%;
    animation-delay: 2s;
}


@keyframes cardFloat {


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


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


.f-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 14px;
}


.f-card-val {
    font-weight: 800;
    font-size: 18px;
    color: var(--secondary);
}


.f-card-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}


/* SECTIONS */
section {
    padding: 100px 8%;
    position: relative;
}


.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}


.section-header .badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}


.section-header p {
    font-size: 18px;
    color: var(--text-muted);
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}


/* STATS */
.stats-container {
    padding: 40px 0;
    background: var(--secondary);
    border-radius: 32px;
    margin: -60px 8% 0;
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}


.stat-item {
    text-align: center;
    color: white;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}


.stat-item:last-child {
    border: none;
}


.stat-item h3 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
}


.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}


@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }


    .stat-item:nth-child(2) {
        border: none;
    }


    .hero {
        grid-template-columns: 1fr;
        padding-top: 60px;
        text-align: center;
    }


    .hero-text {
        margin: 0 auto;
    }


    .btn-group {
        justify-content: center;
    }


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


    .dashboard-preview {
        margin-top: 40px;
    }


    .preview-content {
        transform: none;
        animation: none;
    }


    .f-card-1,
    .f-card-2 {
        display: none;
    }
}


/* CARD STYLES */
.card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 2px dashed rgba(37, 99, 235, 0.2);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    border: 2px dashed var(--primary);
}


.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    transition: var(--transition);
}


.card:hover .card-icon {
    background: var(--primary);
    color: white;
}


.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}


.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}


/* HOW IT WORKS */
.how-it-works-bg {
    background: #f8fafc;
}


.step-card {
    text-align: left;
    padding-left: 60px;
    position: relative;
}


.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    box-shadow: var(--shadow-md);
}