/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #2563EB;
    /* Electric Blue */
    --color-primary-dark: #1D4ED8;
    --color-secondary: #7C3AED;
    /* Modern Purple */
    --color-dark: #111827;
    /* Dark Gray */
    --color-dark-light: #1F2937;
    --color-light: #F9FAFB;
    --color-white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-dark: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-light) 100%);

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Typography Utilities
   ========================================================================== */
.text-center {
    text-align: center;
}

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

.text-secondary {
    color: var(--color-secondary);
}

.muted {
    color: #6B7280;
    font-size: 1rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    gap: 8px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: rgba(37, 99, 235, 0.05);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo i {
    font-size: 2rem;
    color: var(--color-primary);
    -webkit-text-fill-color: var(--color-primary);
    /* override text-fill for icon */
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--color-dark-light);
    font-size: 0.95rem;
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-dark);
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    display: block;
    padding: 12px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: white;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-dark-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Glassmorphism Illustration */
.hero-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.glass-dashboard {
    width: 100%;
    max-width: 500px;
    height: 340px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-dashboard:hover {
    transform: rotateY(0) rotateX(0) translateY(-10px);
}

.glass-sidebar {
    width: 20%;
    background: rgba(255, 255, 255, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glass-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin-bottom: 20px;
}

.glass-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
    width: 100%;
}

.glass-line:nth-child(3) {
    width: 70%;
}

.glass-line:nth-child(4) {
    width: 85%;
}

.glass-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glass-search {
    width: 60%;
    height: 24px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
}

.glass-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

.glass-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.glass-card {
    height: 60px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    gap: 12px;
}

.glass-bar {
    flex: 1;
    background: var(--color-primary);
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    transition: height 1s ease;
}

.glass-bar:nth-child(odd) {
    background: var(--color-secondary);
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: var(--color-secondary);
    bottom: -10%;
    left: 20%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {

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

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-dark-light);
    margin-bottom: 40px;
    max-width: 700px;
}

.about {
    background-color: var(--color-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tech-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
}

.experience-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 2;
    transform: translateY(20px);
}

.experience-badge .number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.experience-badge .text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

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

/* ==========================================================================
   Solutions Section
   ========================================================================== */
.solutions {
    background-color: var(--color-white);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.solution-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-card:hover h3,
.solution-card:hover p,
.solution-card:hover .card-icon {
    color: var(--color-white);
}

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

.solution-card:hover .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

.solution-card p {
    color: var(--color-dark-light);
    transition: color var(--transition-normal);
}

/* ==========================================================================
   Differentials Section
   ========================================================================== */
.differentials {
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.differentials-header {
    margin-bottom: 50px;
}

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

.diff-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.diff-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(124, 58, 237, 0.2);
}

.diff-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--color-secondary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.diff-item:hover .diff-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.diff-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.diff-content p {
    color: var(--color-dark-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process {
    background: var(--color-white);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 60px;
    position: relative;
    flex-wrap: wrap;
    gap: 40px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(37, 99, 235, 0.1);
    z-index: 1;
}

@media (max-width: 991px) {
    .process-steps::before {
        display: none;
    }
}

.step-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.step-item:hover .step-number {
    background: var(--gradient-primary);
    color: var(--color-white);
    border-color: transparent;
    transform: scale(1.1);
}

.step-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-item p {
    font-size: 0.95rem;
    color: var(--color-dark-light);
}

/* ==========================================================================
   Authority Section
   ========================================================================== */
.authority {
    background: var(--gradient-dark);
    color: var(--color-white);
}

.container-sm {
    max-width: 900px;
}

.authority-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.authority-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.authority-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.authority-content h2 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.authority-content .text-secondary {
    color: #A78BFA;
    /* Lighter purple for dark mode */
}

.authority-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .authority-box {
        padding: 40px 20px;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
    }
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
    background: var(--color-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.1);
    padding: 12px;
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    color: var(--color-dark-light);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--color-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 400px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 1.25rem;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Utilities */
.d-block {
    display: block;
}

.mt-4 {
    margin-top: 1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}


/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

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

    .hero-content {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-illustration {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .glass-dashboard {
        height: 260px;
        transform: scale(0.9);
    }
}