/* RESET & GLOBAL VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5A67F2;
    --primary-light: #EEF2FF;
    --text-main: #0B132B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --radius-lg: 24px;
    --radius-md: 16px;
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: #FFFFFF;
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* REUSABLE STYLES */
.btn {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #5D69F4;
    color: white;
}

.btn-primary:hover {
    background: #4A56E2;
}

.shadow-btn {
    box-shadow: 0 10px 25px rgba(93, 105, 244, 0.35);
}

.arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

a:hover .arrow {
    transform: translateX(4px);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 60%;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* HERO SECTION */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    align-items: center;
    padding: 160px 8% 100px 8%;
    min-height: 90vh;
    background: radial-gradient(circle at 80% 20%, #F0F4FF 0%, #FFFFFF 60%);
    position: relative;
}

.hero-content {
    z-index: 10;
}

.badge {
    display: inline-block;
    background-color: #EEF2FF;
    color: #4F46E5;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, #4F46E5 0%, #9333EA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-text {
    text-decoration: none;
    color: #4F46E5;
    font-weight: 600;
    font-size: 15px;
}

/* HERO GRAPHIC & DASHBOARD MOCKUP */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.dashboard-mockup {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    width: 540px;
    height: 380px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    transform: perspective(1000px) rotateY(-12deg) rotateX(8deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(4deg);
}

.mockup-sidebar {
    width: 64px;
    border-right: 1px solid #F1F5F9;
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mockup-logo {
    width: 28px;
    height: 28px;
    background: var(--primary-light);
    color: #4F46E5;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.sidebar-item {
    width: 24px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid #E2E8F0;
}

.sidebar-item.active {
    border-color: #4F46E5;
    background: #EEF2FF;
}

.mockup-main {
    flex: 1;
    padding: 24px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mockup-title {
    font-weight: 600;
    font-size: 14px;
}

.mockup-btn {
    font-size: 11px;
    background: #F1F5F9;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--text-muted);
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 16px;
    height: calc(100% - 40px);
}

.card {
    background: white;
    border: 1px solid #F1F5F9;
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
    overflow: hidden;
}

.card-wide {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

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

.green-tag {
    font-size: 10px;
    font-weight: 600;
    background: #DCFCE7;
    color: #15803D;
    padding: 2px 6px;
    border-radius: 20px;
    display: inline-block;
}

/* Chart Container & Vector Scaling Utilities */
.chart-container {
    width: 100%;
    height: 90px;
    margin-top: auto;
    padding-top: 10px;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.card-small {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.progress-circle {
    position: relative;
    width: 50px;
    height: 50px;
}

.circular-chart {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.circle-bg {
    fill: none;
    stroke: #E2E8F0;
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 3.8;
    stroke-linecap: round;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 600;
}

.card-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ARTIFICIAL 3D FLOATING ORBS BACKGROUND EFFECT */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 1;
}

.orb-purple {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #A855F7, #6366F1);
    top: 15%;
    right: 25%;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.orb-pink {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle at 30% 30%, #F472B6, #FB7185);
    top: 35%;
    right: 5%;
    box-shadow: 0 10px 25px rgba(244, 114, 182, 0.3);
}

.orb-torus {
    width: 80px;
    height: 30px;
    border: 10px solid rgba(147, 197, 253, 0.6);
    border-radius: 50%;
    top: 50%;
    right: 15%;
    transform: rotate(-20deg);
}

/* FEATURES SECTION */
.features-section {
    padding: 100px 8% 120px 8%;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFB 100%);
}

.section-tag {
    display: inline-block;
    background: #EEF2FF;
    color: #4F46E5;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.features-section h2 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border: 1px solid #F1F5F9;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.icon-blue { background-color: #EEF2FF; color: #4F46E5; }
.icon-red { background-color: #FFF1F2; color: #F43F5E; }
.icon-green { background-color: #ECFDF5; color: #10B981; }

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-link {
    text-decoration: none;
    color: #4F46E5;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* RESPONSIVE LAYOUT DESIGN */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 140px;
        gap: 60px;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-mockup {
        transform: none !important;
        width: 100%;
        max-width: 540px;
    }
}