/* CSS Variables */
:root {
    --bg-dark: #0A0F2C;
    --bg-darker: #060A1F;
    --primary-blue: #2563EB;
    --accent-cyan: #00F5FF;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.65);

    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(20px);
}

/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mt-4 {
    margin-top: 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    letter-spacing: 1px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: var(--text-white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
    cursor: pointer;
}

.cta-btn.sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.cta-btn.lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    box-shadow: none;
}

.glow-btn {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.glow-btn:hover::before {
    left: 100%;
}

.glow-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hover-glow {
    transition: all 0.4s ease;
    position: relative;
}

.hover-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 var(--accent-cyan);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.hover-glow:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 245, 255, 0.3);
}

.hover-glow:hover::after {
    box-shadow: 0 0 40px -10px var(--accent-cyan);
    opacity: 0.5;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    top: -10%;
    right: -5%;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    bottom: 10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: #60A5FA;
    top: 40%;
    right: 20%;
    opacity: 0.2;
    animation-delay: -2s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 15, 44, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo .dot {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--accent-cyan);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Dashboard Card in Hero */
.main-dash-card {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    transform: rotateY(-5deg) rotateX(10deg);
    transition: transform 0.5s ease;
}

.main-dash-card:hover {
    transform: rotateY(0) rotateX(0);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.7);
    animation: pulse 2s infinite;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 150px;
    margin-bottom: 2rem;
    gap: 1rem;
}

.chart-bar {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: var(--height);
    position: relative;
    overflow: hidden;
}

.chart-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--primary-blue), var(--accent-cyan));
    transform-origin: bottom;
    transform: scaleY(0);
    animation: growUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1s;
}

.chart-bar:nth-child(2)::after {
    animation-delay: 1.1s;
}

.chart-bar:nth-child(3)::after {
    animation-delay: 1.2s;
}

.chart-bar:nth-child(4)::after {
    animation-delay: 1.3s;
}

.chart-bar:nth-child(5)::after {
    animation-delay: 1.4s;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.stat-item h4 {
    font-family: var(--font-heading);
    font-size: 3rem;
    display: inline-block;
    line-height: 1;
    margin-right: 2px;
}

.stat-item .symbol {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1.5rem;
}

.stat-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Client Ticker */
.client-ticker {
    border-y: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    padding: 3rem 0;
    overflow: hidden;
}

.ticker-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.ticker-wrapper {
    display: flex;
    white-space: nowrap;
    overflow: hidden;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    animation: scrollLeft 30s linear infinite;
}

.ticker-track span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 3rem;
    transition: color 0.3s;
}

.ticker-track span:hover {
    color: var(--text-white);
}

.ticker-track .sep {
    font-size: 1rem;
    color: var(--accent-cyan);
    font-family: sans-serif;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.learn-more {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.learn-more i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more {
    color: var(--accent-cyan);
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* About / Why Us */
.about-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.circle-graphic {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    position: relative;
    animation: spin 20s linear infinite;
}

.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 20s linear reverse infinite;
    font-family: var(--font-heading);
    font-size: 3rem;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.2);
}

.about-content {
    flex: 1;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* CTA Section */
.cta-box {
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    z-index: -1;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    background: var(--bg-darker);
    padding-top: 5rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-group h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--text-white);
}

/* Custom Cursor Tracker */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, rgba(10, 15, 44, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 245, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 245, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 245, 255, 0);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes growUp {
    0% {
        transform: scaleY(0);
    }

    100% {
        transform: scaleY(1);
    }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .feature-list {
        max-width: 400px;
        margin: 2rem auto 0 auto;
        text-align: left;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .cta-btn.sm {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 3.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        justify-content: space-between;
    }

    .circle-graphic {
        width: 300px;
        height: 300px;
    }

    .inner-circle {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }
}