/* ===================================
   ENTERPRISE B2B WEBSITE STYLES
   Premium, Conversion-Optimized Design
   =================================== */

/* CSS Variables for Brand Consistency */
:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #3385FF;
    --secondary-color: #00D9B4;
    --secondary-dark: #00B89A;
    --accent-color: #FF6B6B;
    --accent-light: #FF8E8E;
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --bg-white: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-lighter: #EDF2F7;
    --bg-dark: #1A202C;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #00D9B4 0%, #0066FF 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary-nav {
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 6px;
}

.btn-primary-nav:hover {
    background: var(--primary-dark);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: var(--scroll-progress, 0%);
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.1s ease-out;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.3) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: badgePulse 2s ease-in-out infinite;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00D9B4;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 217, 180, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 5px rgba(0, 217, 180, 0);
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 800;
}

.gradient-text-animated {
    background: linear-gradient(90deg, #fff, #00D9B4, #fff, #00D9B4);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* 3D Button Effects */
.btn-3d {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-3d span {
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-3d:hover .btn-shine {
    left: 100%;
}

.btn-3d:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.btn-3d:active {
    transform: translateY(-2px) scale(1.02);
}

.trust-badges {
    margin-top: 3rem;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 200px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.trust-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.trust-stat:hover::before {
    opacity: 1;
}

.trust-stat:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.stat-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Problem Section */
.problem {
    background: var(--bg-light);
    padding: 6rem 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-left: 4px solid #EF4444;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
    background: white;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solution-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.solution-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
    padding: 8rem 0;
    overflow: hidden;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1), transparent);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 4rem;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    background: white;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: visible;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 0 4px 4px 0;
}

.service-item.visible::before {
    transform: scaleY(1);
}

.service-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 200%;
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s;
    animation: gradientBorder 3s ease infinite;
}

.service-item:hover::after {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.25);
    border-color: var(--primary-color);
}

.featured-service {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
}

.featured-service::before {
    width: 8px;
    background: linear-gradient(180deg, #00D9B4, var(--primary-color));
}

.service-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.4s;
}

.service-item:hover .service-number {
    transform: scale(1.15) rotate(360deg);
}

.service-item:hover .service-number::before {
    opacity: 0.7;
}

.service-content {
    position: relative;
    z-index: 1;
}

.service-content h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.service-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-features li {
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.75rem;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(0, 217, 180, 0.1), rgba(0, 217, 180, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .service-features li::before {
    transform: scale(1.2) rotate(360deg);
    background: linear-gradient(135deg, rgba(0, 217, 180, 0.2), rgba(0, 217, 180, 0.3));
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 300px;
}

.service-icon-large {
    font-size: 12rem;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
    animation: iconFloat 4s ease-in-out infinite;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-item:hover .service-icon-large {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 20px 50px rgba(102, 126, 234, 0.3));
}

.featured-icon {
    font-size: 14rem;
    animation: iconPulse 2.5s ease-in-out infinite, iconFloat 4s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 15px 40px rgba(102, 126, 234, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 20px 50px rgba(102, 126, 234, 0.5));
    }
}

/* Slide Animations - Enhanced */
.slide-in-left {
    opacity: 0;
    transform: translateX(-150px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(150px);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Add shimmer effect to service items */
.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
    pointer-events: none;
}

.service-item:hover::after {
    left: 100%;
}

/* ABM Section */
.abm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.abm .section-title,
.abm .section-subtitle {
    color: white;
}

.abm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.abm-explanation h3 {
    margin-bottom: 1.5rem;
}

.abm-explanation p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
}

.abm-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.abm-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.abm-feature h4 {
    margin-bottom: 0.75rem;
}

.abm-feature p {
    color: rgba(255, 255, 255, 0.9);
}

/* Campaign Section */
.campaigns {
    background: var(--bg-light);
    padding: 6rem 0;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.campaign-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.campaign-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.campaign-card:hover::after {
    opacity: 1;
}

.campaign-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-left-width: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.campaign-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.campaign-card:hover .campaign-icon {
    transform: scale(1.2) rotate(10deg);
}

.campaign-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.campaign-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.125rem;
}

/* How It Works */
.how-it-works {
    background: white;
    padding: 6rem 0;
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    padding: 2.5rem;
    position: relative;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.process-step:hover .step-icon {
    transform: scale(1.2);
}

.process-step h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.125rem;
}

/* Results Section */
.results {
    background: var(--bg-light);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.metric-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.metric-card p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.case-studies h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.case-study {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.case-study h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.case-study p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.case-metrics {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-metric {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 6rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.rating {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #FFA500;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Trust Section */
.trust {
    background: var(--bg-dark);
    color: white;
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.trust-item h3 {
    margin-bottom: 1rem;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Lead Form */
.lead-form {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.lead-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
    transform: translateY(-2px);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: var(--text-light);
}

.lead-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A5568' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.lead-form button {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lead-form button:hover svg {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

.form-privacy {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.contact-info {
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero {
        padding: 8rem 0 4rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .trust-stat {
        min-width: 160px;
        padding: 1.5rem 2rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-label {
        font-size: 0.9375rem;
    }
    
    .stat-description {
        font-size: 0.8125rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }
    
    .service-visual {
        order: -1;
        height: 200px;
    }
    
    .service-icon-large {
        font-size: 8rem;
    }
    
    .featured-icon {
        font-size: 9rem;
    }
    
    .service-content h3 {
        font-size: 1.75rem;
    }
    
    .abm-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation - Mobile Optimized */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1000;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .problem-grid,
    .solution-grid,
    .campaign-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .service-item {
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .service-content p {
        font-size: 1rem;
    }
    
    .service-features li {
        font-size: 1rem;
    }
    
    .services-list {
        gap: 2.5rem;
    }
    
    /* Fix horizontal overflow issues */
    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.625rem 1.25rem;
    }
    
    .trust-stats {
        flex-wrap: wrap;
    }
    
    /* Improve touch targets */
    .btn {
        min-height: 48px;
        padding: 1rem 2rem;
    }
    
    .nav-link {
        padding: 1rem;
        display: block;
    }
    
    /* Better spacing for mobile */
    .section-header {
        margin-bottom: 3rem;
    }
    
    .lead-form {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .trust-stat {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .stat-icon {
        font-size: 2.25rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .stat-description {
        font-size: 0.75rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .lead-form {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .service-icon-large {
        font-size: 6rem;
    }
    
    .featured-icon {
        font-size: 7rem;
    }
    
    .service-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .service-content h3 {
        font-size: 1.375rem;
    }
    
    .service-content p {
        font-size: 0.9375rem;
    }
    
    .service-features li {
        font-size: 0.9375rem;
        padding-left: 2rem;
    }
    
    .service-features li::before {
        width: 24px;
        height: 24px;
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Improve card spacing on small screens */
    .problem-card,
    .solution-card,
    .campaign-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .process-step {
        padding: 1.5rem;
    }
    
    /* Better form layout */
    .lead-form input,
    .lead-form select,
    .lead-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .lead-form {
        padding: 2rem 1.5rem;
    }
    
    .lead-form button {
        font-size: 1rem;
    }
    
    /* Additional mobile fixes */
    .service-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .problem-card,
    .solution-card {
        padding: 2rem;
    }
    
    .problem-icon,
    .solution-icon {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===================================
   PREMIUM EFFECTS & ANIMATIONS
   =================================== */

/* Hero Fade Up Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 1s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Scroll Reveal Animation */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Float Animation for Cards */
@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-card {
    animation: floatCard 3s ease-in-out infinite;
}

.float-card:nth-child(1) {
    animation-delay: 0s;
}

.float-card:nth-child(2) {
    animation-delay: 0.5s;
}

.float-card:nth-child(3) {
    animation-delay: 1s;
}

.float-card:nth-child(4) {
    animation-delay: 1.5s;
}

/* Glassmorphism Effect */
.glass-morph {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    grid-auto-flow: dense;
}

.bento-grid > *:nth-child(4n+1) {
    grid-column: span 1;
}

/* Animated Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Icon Morphing Effect */
.icon-morph {
    transition: var(--transition);
    display: inline-block;
}

.solution-card:hover .icon-morph,
.problem-card:hover .problem-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Enhanced Card Hover Effects */
.problem-card,
.solution-card,
.campaign-card,
.metric-card,
.testimonial-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card::before,
.solution-card::before,
.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.problem-card:hover::before,
.solution-card:hover::before,
.campaign-card:hover::before {
    left: 100%;
}

/* Pulse Animation for CTAs */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

.btn-primary:hover {
    animation: pulse 1.5s infinite;
}

/* Enhanced Service Cards */
.service-item {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.service-item:hover::after {
    opacity: 1;
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.glow-effect:hover::after {
    opacity: 1;
}

/* Stagger Animation for Cards */
.problem-card:nth-child(1) { transition-delay: 0.1s; }
.problem-card:nth-child(2) { transition-delay: 0.2s; }
.problem-card:nth-child(3) { transition-delay: 0.3s; }
.problem-card:nth-child(4) { transition-delay: 0.4s; }

.solution-card:nth-child(1) { transition-delay: 0.1s; }
.solution-card:nth-child(2) { transition-delay: 0.2s; }
.solution-card:nth-child(3) { transition-delay: 0.3s; }
.solution-card:nth-child(4) { transition-delay: 0.4s; }

/* Metric Cards Scale Effect */
.metric-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.metric-card:hover {
    transform: scale(1.05);
}

/* Logo Hover Effect */
.logo-placeholder {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-placeholder:hover {
    transform: scale(1.1);
}

/* Process Step Animation */
.process-step {
    transition: all 0.4s ease-out;
}

.process-step:hover {
    transform: translateY(-10px);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    transition: transform 0.6s ease;
}

/* Testimonial Card Effect */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Campaign Card Hover */
.campaign-card {
    transition: all 0.3s ease;
}

.campaign-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-left-width: 6px;
}

/* Form Input Focus Animation */
.lead-form input:focus,
.lead-form select:focus {
    transform: scale(1.01);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Button Hover Effects */
.btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn:active {
    transform: scale(0.95);
}

/* Smooth Page Load */
body {
    animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



/* ===================================
   ADVANCED SECTION ANIMATIONS
   =================================== */

/* Parallax Layers */
.parallax-layer {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Reveal Animation */
@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-reveal {
    animation: textReveal 0.8s ease-out forwards;
}

/* Stagger Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    animation: textReveal 0.6s ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* Glowing Border Effect */
@keyframes glowBorder {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-color),
                    0 0 10px var(--primary-color),
                    0 0 15px var(--primary-color);
    }
    50% {
        box-shadow: 0 0 10px var(--primary-color),
                    0 0 20px var(--primary-color),
                    0 0 30px var(--primary-color);
    }
}

.glow-border {
    animation: glowBorder 2s ease-in-out infinite;
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Tilt Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Neon Glow Text */
.neon-text {
    text-shadow: 0 0 10px var(--primary-color),
                 0 0 20px var(--primary-color),
                 0 0 30px var(--primary-color),
                 0 0 40px var(--secondary-color);
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 10px var(--primary-color),
                     0 0 20px var(--primary-color),
                     0 0 30px var(--primary-color),
                     0 0 40px var(--secondary-color);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color),
                     0 0 30px var(--primary-color),
                     0 0 40px var(--primary-color),
                     0 0 50px var(--secondary-color),
                     0 0 60px var(--secondary-color);
    }
}

/* Holographic Effect */
.holographic {
    background: linear-gradient(45deg, 
        #667eea 0%, 
        #764ba2 25%, 
        #f093fb 50%, 
        #4facfe 75%, 
        #00f2fe 100%);
    background-size: 400% 400%;
    animation: holographicShift 10s ease infinite;
}

@keyframes holographicShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Magnetic Hover Effect */
.magnetic {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Perspective Card */
.perspective-card {
    perspective: 1000px;
}

.perspective-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.perspective-card:hover .perspective-card-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Gradient Border Animation */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient-border {
    position: relative;
    background: white;
    border-radius: 16px;
}

.animated-gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    border-radius: 16px;
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
}

/* Typewriter Effect */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid;
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s forwards,
               blink 0.75s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Smooth Reveal on Scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* Rotate 3D */
@keyframes rotate3D {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.rotate-3d {
    animation: rotate3D 20s linear infinite;
    transform-style: preserve-3d;
}

/* Shimmer Loading */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ===================================
   SEO & PAGE LOAD ENHANCEMENTS
   =================================== */

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Focus Styles for Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .hero-cta,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ===================================
   CUSTOM CURSOR (Desktop Only)
   =================================== */
.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.custom-cursor.cursor-hover {
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
}

.cursor-follower.cursor-hover {
    width: 60px;
    height: 60px;
    border-color: var(--secondary-color);
}

/* Hide custom cursor on mobile/tablet devices */
@media (max-width: 1024px), (pointer: coarse) {
    .custom-cursor,
    .cursor-follower {
        display: none !important;
    }
}

/* ===================================
   ENHANCED ANIMATIONS & MICRO-INTERACTIONS
   =================================== */

/* Pulse Animation for CTAs */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0);
    }
}

.btn-primary:hover {
    animation: pulse 1.5s infinite;
}

/* Smooth Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scale on Hover - Cards */
.problem-card,
.solution-card,
.campaign-card,
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:active,
.solution-card:active,
.campaign-card:active,
.testimonial-card:active {
    transform: scale(0.98);
}

/* Smooth Icon Rotation */
.service-icon-large,
.campaign-icon,
.step-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Gradient Text Hover Effect */
.gradient-hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.gradient-hover:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ripple Effect on Click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth Underline Animation */
.nav-link,
.footer-col a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after,
.footer-col a::after {
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Glow Effect on Focus */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
}

/* Stagger Animation for Lists */
.service-features li {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.service-item.visible .service-features li:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item.visible .service-features li:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item.visible .service-features li:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item.visible .service-features li:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item.visible .service-features li:nth-child(5) {
    animation-delay: 0.5s;
}

/* Smooth Color Transitions */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

/* Prevent transition on page load */
.preload * {
    transition: none !important;
}

/* Improved Hover States */
.metric-card {
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.case-study {
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Smooth Scroll Padding for Fixed Nav */
html {
    scroll-padding-top: 80px;
}

/* Better Focus Indicators */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Smooth Opacity Transitions */
.trust-stat,
.process-step,
.abm-feature {
    transition: all 0.4s ease;
}

.trust-stat:hover,
.process-step:hover,
.abm-feature:hover {
    opacity: 1;
    transform: translateY(-8px);
}

/* Mobile Touch Feedback */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.95);
    }
    
    .service-item:active {
        transform: scale(0.98);
    }
    
    .problem-card:active,
    .solution-card:active,
    .campaign-card:active {
        transform: scale(0.97);
    }
}

/* Prevent Animation Jank on Mobile */
@media (max-width: 768px) {
    * {
        animation-duration: 0.3s !important;
    }
    
    .service-item {
        will-change: auto;
    }
    
    /* Reduce motion for better performance */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Loading State for Images */
img {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img.loaded {
    opacity: 1;
}

/* Skeleton Loading Animation */
@keyframes skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 0px, #f8f8f8 40px, #f0f0f0 80px);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}
