/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary: #4169E1;
    --primary-dark: #2952CC;
    --secondary: #FF6B9D;
    --accent: #FFD93D;
    --dark: #0F172A;
    --dark-light: #1E293B;
    --gray: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;

    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   Navigation
   =========================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--dark);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.logo-text {
    display: inline-block;
    position: relative;
    animation: logoPulse 3s ease-in-out infinite;
    transform-origin: center;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.logo-text::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(255, 107, 157, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo:hover .logo-text {
    animation: logoSpark 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--primary);
}

.logo:hover .logo-text::after {
    transform: scaleX(1);
}

.logo:hover .logo-text::before {
    opacity: 1;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.1);
    }
}

@keyframes logoSpark {
    0% {
        transform: scale(1) rotate(0deg);
    }
    30% {
        transform: scale(1.2) rotate(-5deg);
    }
    60% {
        transform: scale(1.15) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.nav-link-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-link-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, #e8f4ff 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, #fff0f8 0%, transparent 60%),
        linear-gradient(135deg, #f8fafc 0%, #e8eef5 30%, #dde7f5 60%, #d6e4f5 100%);
    z-index: -1;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(65, 105, 225, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(65, 105, 225, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(circle 500px at 25% 35%, rgba(65, 105, 225, 0.25) 0%, transparent 50%),
        radial-gradient(circle 450px at 75% 65%, rgba(255, 107, 157, 0.2) 0%, transparent 50%),
        radial-gradient(circle 400px at 50% 80%, rgba(79, 172, 254, 0.18) 0%, transparent 50%);
    animation: lightWave 20s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(circle 550px at 80% 25%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle 480px at 15% 75%, rgba(240, 147, 251, 0.15) 0%, transparent 50%);
    animation: lightWave 25s ease-in-out infinite reverse;
}

@keyframes lightWave {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translate(3%, -3%) rotate(5deg);
        opacity: 0.9;
    }
    50% {
        transform: translate(-2%, 4%) rotate(-3deg);
        opacity: 1;
    }
    75% {
        transform: translate(4%, 2%) rotate(4deg);
        opacity: 0.95;
    }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.7;
    will-change: transform;
    pointer-events: none;
    animation-fill-mode: both;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.7) 0%, rgba(102, 126, 234, 0.4) 40%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbFloat1 15s ease-in-out infinite;
}

.orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.7) 0%, rgba(240, 147, 251, 0.4) 40%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation: orbFloat2 18s ease-in-out infinite;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.7) 0%, rgba(0, 242, 254, 0.4) 40%, transparent 70%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-100px, 80px) scale(1.1);
    }
    50% {
        transform: translate(-50px, -50px) scale(0.95);
    }
    75% {
        transform: translate(80px, 50px) scale(1.05);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes orbFloat2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(90px, -60px) scale(1.08);
    }
    50% {
        transform: translate(-80px, -40px) scale(0.92);
    }
    75% {
        transform: translate(-50px, 90px) scale(1.03);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes orbFloat3 {
    0% {
        transform: translate(-50%, 0) scale(1);
    }
    25% {
        transform: translate(-50%, 70px) scale(1.12);
    }
    50% {
        transform: translate(-50%, -80px) scale(0.88);
    }
    75% {
        transform: translate(-50%, 40px) scale(1.06);
    }
    100% {
        transform: translate(-50%, 0) scale(1);
    }
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    animation: fadeSlideIn 1s ease-out both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(65, 105, 225, 0.1);
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: badgePulse 2s ease-in-out infinite;
}

.hero-badge svg {
    color: var(--primary);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 8px rgba(65, 105, 225, 0);
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-title-word {
    display: block;
    animation: slideInLeft 0.8s ease-out both;
    opacity: 0;
}

.hero-title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title-word:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--dark-light);
}

.hero-title-highlight {
    display: block;
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    background: linear-gradient(135deg, #4169E1 0%, #FF6B9D 50%, #4facfe 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.8s ease-out 0.6s both, gradientShift 8s ease infinite;
    opacity: 0;
    position: relative;
}

.hero-title-sparkle {
    display: inline-block;
    position: relative;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.hero-title-sparkle::before {
    content: '✨';
    position: absolute;
    right: -40px;
    top: -10px;
    font-size: 2rem;
    animation: sparkleRotate 4s linear infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes sparkleRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #4169E1 0%, #FF6B9D 50%, #4169E1 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta-wrapper {
    animation: fadeInUp 1s ease-out 1.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    background: rgba(65, 105, 225, 0.1);
    color: var(--primary);
    border: 2px solid rgba(65, 105, 225, 0.3);
}

.btn-secondary-new:hover {
    background: rgba(65, 105, 225, 0.2);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.social-proof-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation: avatarPop 0.6s ease-out both;
    animation-delay: var(--delay);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-count {
    margin-left: 8px;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

@keyframes avatarPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.social-proof-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
    color: #FFD93D;
}

.social-proof-text p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.social-proof-text strong {
    color: var(--dark);
}

/* Hero Visual - Right Side */
.hero-visual {
    position: relative;
    height: 600px;
    animation: fadeSlideIn 1.2s ease-out 0.8s both;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.floating-card:hover .card-icon {
    transform: rotate(10deg) scale(1.1);
}

.card-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    line-height: 1.4;
}

.card-1 {
    top: 0;
    left: 0;
    width: 280px;
    animation: floatCard1 6s ease-in-out infinite;
}

.card-1 .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.card-1 h4 {
    color: #667eea;
}

.card-2 {
    top: 50px;
    right: 0;
    width: 260px;
    animation: floatCard2 7s ease-in-out infinite;
}

.card-2 .card-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: white;
}

.card-2 h4 {
    color: #f5576c;
}

.card-3 {
    bottom: 120px;
    left: 30px;
    width: 270px;
    animation: floatCard3 8s ease-in-out infinite;
}

.card-3 .card-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.card-3 h4 {
    color: #4facfe;
}

.card-4 {
    bottom: 0;
    right: 40px;
    width: 250px;
    animation: floatCard4 7.5s ease-in-out infinite;
}

.card-4 .card-icon {
    background: linear-gradient(135deg, #FFD93D, #FF6B9D);
    color: white;
}

.card-4 h4 {
    color: #FFD93D;
}

@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(-2deg);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

@keyframes floatCard4 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-22px) rotate(-1deg);
    }
}

.hero-shape-1,
.hero-shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -100px;
    right: -100px;
    animation: shapePulse 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -80px;
    left: -80px;
    animation: shapePulse 10s ease-in-out infinite reverse;
}

@keyframes shapePulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.2;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--dark);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--dark);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===========================
   Section Styles
   =========================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: 8rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    color: var(--dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li::before {
    content: '→';
    color: var(--primary);
    font-weight: 700;
}

/* ===========================
   Portfolio Section
   =========================== */
.portfolio {
    padding: 8rem 0;
    background: var(--light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    z-index: 10;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.portfolio-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray);
    line-height: 1.7;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder {
    color: var(--gray);
    opacity: 0.3;
}

.about-stats-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 3rem;
}

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

.stat-card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-card-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ===========================
   Partners Section
   =========================== */
.partners {
    padding: 6rem 0;
    background: var(--light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo-wrapper {
    max-width: 100%;
    padding: 2rem 0;
}

.partner-logo-strip {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition);
}

.partner-logo-strip:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray);
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray);
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.footer-column h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

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

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-link {
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }

    .nav-link-cta {
        margin-top: 1rem;
        padding: 1rem 2rem;
        text-align: center;
        display: block;
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero adjustments for tablets */
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        height: 500px;
        order: -1;
    }

    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    .floating-card {
        padding: 1.5rem;
    }

    .card-1 {
        width: 240px;
    }

    .card-2 {
        width: 220px;
    }

    .card-3 {
        width: 230px;
    }

    .card-4 {
        width: 210px;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    /* Orbs scale better on tablets */
    .orb-1, .orb-2, .orb-3 {
        filter: blur(100px);
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Portfolio grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* About and Contact */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Sections padding */
    .services,
    .portfolio,
    .about,
    .contact {
        padding: 5rem 0;
    }

    /* Partner logos */
    .partner-logo-strip {
        max-height: 60px;
    }
}

@media (max-width: 640px) {
    /* Container spacing */
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 1rem 1.25rem;
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-title-sparkle::before {
        right: -30px;
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 2rem;
    }

    .hero-social-proof {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
        text-align: center;
    }

    .social-proof-avatars {
        justify-content: center;
    }

    .floating-card {
        padding: 1.25rem;
    }

    .card-1 {
        width: 180px;
        top: 10px;
        left: 10px;
    }

    .card-2 {
        width: 170px;
        top: 40px;
        right: 10px;
    }

    .card-3 {
        width: 175px;
        bottom: 100px;
        left: 15px;
    }

    .card-4 {
        width: 165px;
        bottom: 10px;
        right: 15px;
    }

    .card-content h4 {
        font-size: 1.5rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }

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

    /* Hide scroll indicator on mobile */
    .scroll-indicator {
        display: none;
    }

    /* Section spacing */
    .services,
    .portfolio,
    .about,
    .contact {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Service cards */
    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .service-icon svg {
        width: 36px;
        height: 36px;
    }

    .service-title {
        font-size: 1.25rem;
    }

    /* Portfolio */
    .portfolio-grid {
        gap: 2rem;
    }

    .portfolio-image {
        height: 250px;
    }

    .portfolio-content {
        padding: 1.5rem;
    }

    .portfolio-title {
        font-size: 1.25rem;
    }

    .portfolio-metrics {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    /* About section */
    .about-description {
        font-size: 1rem;
    }

    .about-features {
        gap: 1.5rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .feature-content h4 {
        font-size: 1.1rem;
    }

    .about-stats-card {
        position: static;
        margin-top: 2rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Partners */
    .partners {
        padding: 4rem 0;
    }

    .partner-logo-strip {
        max-height: 50px;
    }

    /* Contact */
    .contact-description {
        font-size: 1rem;
    }

    .contact-details {
        gap: 1rem;
    }

    .contact-item {
        font-size: 0.95rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 44px;
        height: 44px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        margin-bottom: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }

    /* Logo mobile */
    .logo {
        font-size: 1.1rem;
    }

    /* Reduce animation intensity on mobile */
    .orb-1, .orb-2, .orb-3 {
        filter: blur(70px);
        opacity: 0.5;
    }

    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 380px;
        height: 380px;
    }

    .orb-3 {
        width: 350px;
        height: 350px;
    }

    @keyframes orbFloat1 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(-30px, 40px); }
    }

    @keyframes orbFloat2 {
        0%, 100% { transform: translate(0, 0); }
        50% { transform: translate(40px, -30px); }
    }

    @keyframes orbFloat3 {
        0%, 100% { transform: translate(-50%, 0); }
        50% { transform: translate(-50%, 30px); }
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-visual {
        height: 350px;
    }

    .floating-card {
        padding: 1rem;
    }

    .card-1, .card-2, .card-3, .card-4 {
        width: 150px;
    }

    .card-content h4 {
        font-size: 1.25rem;
    }

    .card-content p {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Prevent horizontal scroll on all devices */
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero,
.services,
.portfolio,
.about,
.partners,
.contact,
.footer {
    overflow-x: hidden;
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .service-card:hover,
    .portfolio-item:hover {
        transform: none;
    }

    /* Larger tap targets */
    .nav-link {
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 48px;
    }

    .social-link {
        min-width: 48px;
        min-height: 48px;
    }

    /* Disable tilt effect on touch devices */
    .service-card[data-tilt],
    .portfolio-item[data-tilt],
    .floating-card[data-tilt] {
        transform: none !important;
    }

    .floating-card:hover {
        transform: none !important;
    }

    /* Keep basic interactions but remove complex animations */
    .portfolio-img {
        transition: none;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.98);
    }
}

/* Smooth scroll for touch devices */
@media (max-width: 968px) {
    html {
        scroll-padding-top: 80px;
    }
}

/* Performance optimization for animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gradient-orb {
        animation: none !important;
    }

    .hero-bg::before,
    .hero-bg::after {
        animation: none !important;
    }
}