:root {
    --primary: #0866FF;
    --primary-alt: #00D1FF;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --accent: #6366f1;
    --glass: rgba(255, 255, 255, 0.8);
    --border: rgba(241, 245, 249, 1);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Base resets & Typography */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: #fff;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SEO Section Titles */
.section-tag {
    display: inline-block;
    padding: 10px 24px;
    background: #f8faff;
    border: 1px solid rgba(8, 102, 255, 0.15);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 4px 15px rgba(8, 102, 255, 0.05);
}

.section-title-modern {
    font-weight: 900;
    font-size: 4.2rem;
    line-height: 1.05;
    letter-spacing: -3.5px;
    color: #000000; /* Absolute black for maximum contrast */
    margin-bottom: 2rem;
}

/* Hero Section --- High-Impact Typography on White --- */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    background: #ffffff !important; /* Force pure white */
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #555555;
    line-height: 1.8;
    max-width: 850px;
    margin-bottom: 3rem;
    font-weight: 400;
}

.mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230866ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.tech-corner {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(8, 102, 255, 0.04);
    z-index: 2;
}

.tech-corner::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    opacity: 0.15;
    filter: blur(8px);
    transition: all 0.5s ease;
}

.hero-wrapper:hover .tech-corner::after {
    opacity: 0.4;
    filter: blur(4px);
}

.corner-tl { top: -80px; left: -80px; border-radius: 60px; }
.corner-tr { top: -80px; right: -80px; border-radius: 60px; }
.corner-bl { bottom: -80px; left: -80px; border-radius: 60px; }
.corner-br { bottom: -80px; right: -80px; border-radius: 60px; }

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

/* Buttons */
.btn-modern {
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-modern-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(8, 102, 255, 0.2);
}

.btn-modern-primary:hover {
    background: var(--primary-alt);
    transform: translateY(-3px);
    color: #fff;
}

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

.btn-modern-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.bento-item {
    background: #fff;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: rgba(8, 102, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
    transform: translateY(-8px);
}

.bento-large {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--primary);
}

/* Floating Stats */
.stats-floating-row {
    margin-top: -80px;
    position: relative;
    z-index: 50;
}

.stat-card-modern {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    text-align: center;
    transition: var(--transition);
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 20px 60px rgba(8, 102, 255, 0.12);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    display: block;
    margin-bottom: 10px;
}

.stat-label-modern {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact & Info */
.info-box-modern {
    background: var(--dark);
    color: #fff;
    padding: 60px;
    border-radius: 40px;
}

.form-control-modern {
    background: var(--light);
    border: 1px solid var(--border);
    padding: 16px 24px;
    border-radius: 16px;
    transition: var(--transition);
}

.form-control-modern:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(8, 102, 255, 0.1);
}

/* SEO Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-tall { grid-column: span 1; grid-row: span 1; }
    .hero-wrapper { padding-top: 120px; }
    .section-title-modern { font-size: 2rem; }
}
