:root {
    --primary: #6366f1;
    --primary-glow: rgba(99, 102, 241, 0.4);
    --secondary: #10b981;
    --dark: #0b0f1a;
    --darker: #05070a;
    --light: #f8fafc;
    --gray: #64748b;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    padding: 1.2rem 0;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--primary);
    position: relative;
}

.logo span::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--light);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--primary-glow);
}

.btn-secondary {
    background: var(--glass);
    color: var(--light);
    padding: 1rem 2.2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    font-weight: 600;
    transition: 0.4s;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gray);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 12rem 0 6rem;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, #818cf8, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
}

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

.stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--light);
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-wrapper {
    position: relative;
    z-index: 1;
}

.visual-wrapper img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    transform: perspective(1000px) rotateY(-5deg);
}

.floating-card {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.c1 { top: 20%; left: -15%; animation-delay: 0s; }
.c2 { bottom: 20%; right: -10%; animation-delay: 2s; border-color: var(--primary); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

.g1 { top: -10%; right: -10%; }
.g2 { bottom: -10%; left: -10%; background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%); }

/* Trusted By Section */
.trusted-by {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.trusted-by .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trusted-by p {
    color: var(--gray);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.tech-icons {
    display: flex;
    gap: 4rem;
    font-size: 2rem;
    color: var(--gray);
    opacity: 0.5;
}

.tech-icons i:hover {
    color: var(--light);
    opacity: 1;
    transition: 0.3s;
}

/* Services Section Upgrade */
.services {
    padding: 10rem 0;
    background: var(--darker);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary);
    transform: translateY(-12px) scale(1.02);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.service-card p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Animations Upgrade */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero h1 { font-size: 4rem; }
    .services-grid { grid-template-columns: 1fr; }
    .hero-stats { justify-content: center; }
    .tech-icons { gap: 2rem; }
}
