:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #a855f7;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray: #64748b;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --grad-violet: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.7);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.5s ease forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.text-gradient {
    background: var(--grad-violet);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    color: var(--dark);
    line-height: 1.5;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
    cursor: pointer;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-violet {
    background: var(--grad-violet);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-violet:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
    border: 1px solid #e2e8f0;
}

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    gap: 1rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.blob-bg {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.05) 70%, transparent 100%);
    filter: blur(50px);
    z-index: -1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stat-item.highlight {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.2);
}

.stat-item i {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes statPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-item.highlight i {
    animation: statPulse 2s infinite ease-in-out;
    color: #4f46e5;
}

.img-wrapper {
    position: relative;
}

.main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.floater {
    position: absolute;
    padding: 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.floater-1 {
    top: 10%;
    left: -10%;
    color: #10b981;
}

.floater-2 {
    bottom: 10%;
    right: -5%;
    color: var(--primary);
}

/* Features */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card-v2 {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-card-v2:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.feature-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: crop;
    transition: transform 0.6s ease;
}

.feature-card-v2:hover .feature-img-wrapper img {
    transform: scale(1.1);
}

.feature-icon-float {
    position: absolute;
    bottom: -24px;
    left: 24px;
    width: 56px;
    height: 56px;
    background: var(--grad-violet);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border: 4px solid white;
    z-index: 2;
}

.feature-icon-float.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
}

.feature-icon-float.ocean {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
}

.feature-body {
    padding: 3rem 2rem 2.5rem;
}

.feature-body h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-body p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.feature-points {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-points li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}

.small-icon {
    width: 16px;
    height: 16px;
    color: #10b981;
}

/* Redefining Old Feature Classes for Compatibility */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.icon-box.blue {
    background: #eff6ff;
    color: #2563eb;
}

.icon-box.ocean {
    background: #ecfeff;
    color: #0891b2;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
}

.footer-bottom {
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
}

/* Dashboard Styles Shared */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.sidebar {
    background: var(--dark);
    color: white;
    padding: 2rem;
}

.sidebar .logo {
    margin-bottom: 3rem;
    color: white;
}

.sidebar .logo span {
    color: white;
}

.side-nav {
    list-style: none;
}

.side-nav li {
    margin-bottom: 0.5rem;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.side-nav a.active,
.side-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.main-content {
    background: #f1f5f9;
    padding: 2rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-info h4 {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.stat-info .value {
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.blue {
    background: #e0e7ff;
    color: #4338ca;
}

.stat-icon.green {
    background: #d1fae5;
    color: #059669;
}

.stat-icon.purple {
    background: #f3e8ff;
    color: #7e22ce;
}

.data-card {
    background: white;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    text-align: left;
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
    border-bottom: 1px solid #f1f5f9;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.badge-status {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status.open {
    background: #d1fae5;
    color: #065f46;
}

.badge-status.progress {
    background: #dbeafe;
    color: #1e40af;
}

.badge-status.pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-status.pending_payment {
    background: #ffedd5;
    color: #9a3412;
}

.badge-status.unpaid {
    background: #fee2e2;
    color: #991b1b;
}

.badge-status.waiting_verification {
    background: #fef3c7;
    color: #92400e;
}

.badge-status.rejected {
    background: #f1f5f9;
    color: #64748b;
}

/* Responsive */
/* Interactive Journey Flow */
.flow-toggle {
    display: inline-flex;
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 20px;
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    border-radius: 15px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.flow-container {
    position: relative;
    padding: 4rem 0;
    min-height: 800px;
}

.flow-path {
    display: none;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.flow-path.active {
    display: block;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--secondary) 100%);
    transform: translateX(-50%);
    opacity: 0.2;
    border-radius: 2px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.flow-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.flow-step.reverse {
    flex-direction: row-reverse;
}

.step-info {
    width: 45%;
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    background: white;
}

.step-info.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.step-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}

.step-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-info p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
}

.step-icon-wrapper {
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: white;
    border: 4px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.step-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 2px;
    background: var(--primary);
    opacity: 0.3;
}

.flow-step:not(.reverse) .step-connector {
    left: 100%;
}

.flow-step.reverse .step-connector {
    right: 100%;
    left: auto;
}

@media (max-width: 768px) {
    .timeline-line {
        left: 40px;
    }

    .flow-step,
    .flow-step.reverse {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.5rem;
    }

    .step-info {
        width: calc(100% - 100px);
    }

    .step-connector {
        display: none;
    }

    .step-icon {
        width: 48px;
        height: 48px;
    }
}

/* Redefining Footer Utilities */
.justify-center {
    justify-content: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

/* Responsive Utilities */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}