/* ============================================
   SEOPro - Premium SEO Company Website
   Modern, Responsive CSS with Animations
   ============================================ */

/* CSS Variables - Design System */
:root {
    /* Primary Colors */
    --primary: #0169fe;
    --primary-dark: #0056d6;
    --primary-light: #3385ff;

    /* Secondary Colors */
    --secondary: #1E3A5F;
    --secondary-dark: #152B47;
    --secondary-light: #2A4D7A;

    /* Accent Colors */
    --accent: #00D9FF;
    --accent-dark: #00B8D9;

    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Gradients REMOVED - Using Solid Colors */
    --gradient-primary: #0169fe;
    --gradient-secondary: #1E3A5F;
    --gradient-hero: #1E3A5F;
    --gradient-glass: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(1, 105, 254, 0.3);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1140px;
    --section-padding: 100px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: initial;
    background-clip: border-box;
}

.section-badge {
    display: inline-block;
    background: rgba(1, 105, 254, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: #0169fe;
    color: var(--white);
    box-shadow: var(--shadow-md), 0 4px 20px rgba(0, 106, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(0, 106, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline-white:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg {
    padding: 13px 20px;
    font-size: 14px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
}

.brand-logo {
    max-height: 38px;
    width: auto;
    display: block;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(0, 106, 255, 0.08);
}

.nav-cta {
    padding: 6px 22px !important
}

.nav-drawer-header,
.mobile-only-nav {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background: #F8FAFC;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}

#heroParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    opacity: 0.08;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: 100px;
    left: -100px;
    opacity: 0.06;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    top: 50%;
    left: 50%;
    opacity: 0.05;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 180px);
    padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--gray-700);
}

.hero-badge {
    display: inline-block;
    background: rgba(1, 105, 254, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 106, 255, 0.15);
    color: var(--primary);
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: clamp(28px, 4.5vw, 46px);
    color: var(--gray-900);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid var(--white);
    margin-left: -12px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    color: var(--gray-600);
    font-size: 15px;
}

.trust-text strong {
    color: var(--gray-900);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.video-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-100);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

.main-card {
    padding: 0;
}

.card-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27CA40;
}

/* Hero Clients */
.hero-clients {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    border-top: 1px solid var(--gray-200);
}

.clients-label {
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.client-brand-logo {
    max-height: 45px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.client-brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   Testimonials Section (Masonry Polish)
   ============================================ */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

/* Enhancing the "Aura" Glows from reference image */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: rgba(99, 102, 241, 0.08);
    /* Replaced gradient with solid subtle color */
    z-index: 0;
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: rgba(245, 153, 6, 0.05);
    /* Replaced gradient with solid subtle color */
    z-index: 0;
}

.testimonials-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.header-info-left .stat-large {
    font-size: 64px;
    font-weight: 800;
    color: #0169fe;
    line-height: 1;
    margin-bottom: 15px;
    display: block;
}

.header-info-left h2 {
    font-size: 24px;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.3;
}

.header-social-right {
    max-width: 500px;
}

.avatar-stack {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar-stack img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid #FFF;
    margin-left: -12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 15px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 20px;
}

.header-ctas {
    display: flex;
    gap: 15px;
}

.btn-orange {
    background: #0169fe;
    color: #FFF;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-orange:hover {
    background: #015ddd;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 122, 48, 0.2);
}

.btn-outline-gray {
    background: #FFF;
    border: 1px solid #e2e8f0;
    color: #475569;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-gray:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    border-color: rgba(245, 153, 6, 0.2);
}



.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-stars {
    display: flex;
    gap: 3px;
    align-items: center;
}

.card-stars svg {
    width: 16px;
    height: 16px;
    fill: #f59906;
}

.rating-value {
    margin-left: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.card-date {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.testimonial-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 12px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
}

.author-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.author-info h4 {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 12px;
    color: #64748b;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card.featured {
    background: var(--gradient-secondary);
    border: none;
    color: var(--white);
}

.stat-card.featured::before {
    background: var(--gradient-primary);
    transform: scaleX(1);
}

.stat-card.featured .stat-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.stat-card.featured .stat-number,
.stat-card.featured .stat-label {
    color: var(--white);
}

.stat-card.featured .stat-bar {
    background: rgba(255, 255, 255, 0.2);
}

.stat-card.featured .stat-bar-fill {
    background: var(--primary);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: var(--radius);
    color: var(--primary);
    margin-bottom: 24px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.stat-bar {
    height: 6px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    width: var(--width);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    animation: fillBar 1.5s ease-out;
}

/* ============================================
   Results Section
   ============================================ */
.results-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.results-content .section-title {
    margin-bottom: 24px;
}

.results-description {
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 17px;
}

.results-list {
    margin-bottom: 32px;
}

.results-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--gray-700);
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.results-visual {
    position: relative;
}

.results-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.results-chart {
    margin-bottom: 30px;
}

.line-chart {
    width: 100%;
    height: 150px;
}

.chart-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: drawLine 2s ease forwards;
}

.results-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric {
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius);
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 14px;
    color: var(--gray-500);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    animation: float 4s ease-in-out infinite;
}

.badge-1 {
    top: -20px;
    left: -20px;
}

.badge-2 {
    bottom: 40px;
    right: -40px;
    animation-delay: 1.5s;
}

.badge-icon {
    font-size: 20px;
}

/* ============================================
   Case Studies Section
   ============================================ */
.case-studies-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-study-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.case-study-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
}

.case-image-placeholder.tech {
    background: var(--gradient-secondary);
}

.case-image-placeholder.health {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.case-study-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.case-tag {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
}

.case-study-content {
    padding: 28px;
}

.case-study-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.case-study-content p {
    color: var(--gray-500);
    margin-bottom: 20px;
    font-size: 15px;
}

.case-study-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.case-stat {
    text-align: center;
}

.case-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.case-stat-label {
    font-size: 12px;
    color: var(--gray-400);
    text-transform: uppercase;
}

.case-study-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
}

.case-study-link:hover {
    text-decoration: underline;
}

/* ============================================
   Services Section
   ============================================ */
/* ============================================
   Services Section (Screenshot Replica V2)
   ============================================ */
.services-section-v2 {
    padding: 100px 0;
    background: #f9fbff;
}

.services-header-v2 {
    text-align: center;
    margin-bottom: 60px;
}

.services-label-v2 {
    display: inline-block;
    padding: 6px 16px;
    background: #f8faff;
    color: #267bf6;
    border: 1px solid rgba(38, 123, 246, 0.2);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card-v2 {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f1f4f8;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(38, 123, 246, 0.1);
}

.service-icon-box-v2 {
    width: 64px;
    height: 64px;
    background: #e9f2ff;
    border-radius: 16px;
    border-bottom-right-radius: 0;
    /* Distinct rounded corner style from screenshot */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: all 0.3s ease;
}

.service-card-v2:hover .service-icon-box-v2 {
    background: #267bf6;
}

.service-card-v2:hover .service-icon-box-v2 svg {
    stroke: #fff;
}

.service-card-v2 h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.service-card-v2 p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.services-footer-v2 {
    text-align: center;
}

.all-features-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #267bf6;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.all-features-btn:hover {
    background: #1e62c5;
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .services-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-v2 {
        grid-template-columns: 1fr;
    }

    .service-card-v2 {
        padding: 30px;
    }

    .section-title-v2 {
        font-size: 28px;
    }
}

/* ============================================
   Team Section
   ============================================ */
.team-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 700;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.team-info p {
    color: var(--gray-500);
    font-size: 15px;
}

/* ============================================
   Technology Section (Exact Screenshot Replica)
   ============================================ */
.tech-section-v2 {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.tech-top-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
}

.tech-badge-v2 {
    display: inline-block;
    padding: 6px 20px;
    background: #f8f6ff;
    color: #0169fe;
    border: 1px solid rgba(1, 105, 254, 0.16);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.tech-title-v2 {
    font-size: 48px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    max-width: 650px;
    margin: 0;
}

.purple-text-v2 {
    color: #0169fe;
}

.tech-header-action-v2 .btn-primary-v2 {
    width: auto;
    display: inline-block;
    padding: 14px 40px;
    background: #0169fe;
    border: none;
    border-radius: 60px;
    color: #fff;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.tech-header-action-v2 .btn-primary-v2::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1.5px solid #0169fe;
    border-radius: 60px;
    transition: all 0.3s ease;
}

.tech-header-action-v2 .btn-primary-v2:hover {
    background: #0169fe;
    transform: translateY(-2px);
}

.tech-header-action-v2 .btn-primary-v2:hover::before {
    top: -7px;
    left: -7px;
    right: -7px;
    bottom: -7px;
    border-color: #8B5CF6;
}

.tech-main-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-grid-side-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    flex: 1;
}

.tech-logo-item-v2 {
    background: #fff;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 2.5px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
    animation: float-v2 6s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.tech-logo-item-v2:hover {
    transform: translateY(-12px) rotateX(10deg) rotateY(10deg) scale(1.05);
    /* Futuristic 3D Tilt */
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15), 0 0 20px rgba(139, 92, 246, 0.1);
    /* Neon glow */
    border-color: rgba(139, 92, 246, 0.6);
}

.tech-logo-item-v2 img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-logo-item-v2:hover img {
    transform: scale(1.1) translateZ(20px);
}

.tech-center-v2 {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Futuristic outer ring */
.tech-center-v2::before {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border: 1px dashed rgba(1, 105, 254, 0.53);
    border-radius: 50%;
    animation: rotate-orbit 20s linear infinite;
    z-index: 0;
}

.central-circle-v2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #3a8cff 0%, #0169fe 50%, #003a94 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    box-shadow:
        inset 0 0 50px rgba(0, 0, 0, 0.4),
        inset 15px 15px 50px rgba(255, 255, 255, 0.2),
        inset -15px -15px 50px rgba(0, 0, 0, 0.3),
        0 20px 80px rgba(1, 105, 254, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
    /* For the rotating map */
    animation: pulse-soft 3s infinite ease-in-out;
}

/* Realistic High-Tech Dotted World Map */
.central-circle-v2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    /* Dotted world map with realistic continent silhouettes */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Cg fill='white' opacity='0.5'%3E%3C!-- North America --%3E%3Ccircle cx='150' cy='120' r='2'/%3E%3Ccircle cx='180' cy='100' r='2'/%3E%3Ccircle cx='200' cy='130' r='2'/%3E%3Ccircle cx='130' cy='150' r='2'/%3E%3Ccircle cx='170' cy='160' r='2'/%3E%3Ccircle cx='220' cy='180' r='2'/%3E%3C!-- South America --%3E%3Ccircle cx='250' cy='300' r='2'/%3E%3Ccircle cx='270' cy='330' r='2'/%3E%3Ccircle cx='290' cy='370' r='2'/%3E%3Ccircle cx='310' cy='400' r='2'/%3E%3C!-- Europe & Africa --%3E%3Ccircle cx='480' cy='100' r='2'/%3E%3Ccircle cx='500' cy='130' r='2'/%3E%3Ccircle cx='520' cy='110' r='2'/%3E%3Ccircle cx='490' cy='200' r='2'/%3E%3Ccircle cx='510' cy='240' r='2'/%3E%3Ccircle cx='530' cy='280' r='2'/%3E%3Ccircle cx='550' cy='320' r='2'/%3E%3C!-- Asia --%3E%3Ccircle cx='650' cy='120' r='2'/%3E%3Ccircle cx='680' cy='100' r='2'/%3E%3Ccircle cx='720' cy='110' r='2'/%3E%3Ccircle cx='760' cy='130' r='2'/%3E%3Ccircle cx='800' cy='150' r='2'/%3E%3Ccircle cx='780' cy='200' r='2'/%3E%3Ccircle cx='720' cy='230' r='2'/%3E%3Ccircle cx='650' cy='250' r='2'/%3E%3C!-- Australia --%3E%3Ccircle cx='850' cy='350' r='2'/%3E%3Ccircle cx='880' cy='370' r='2'/%3E%3Ccircle cx='860' cy='400' r='2'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 50% 100%;
    opacity: 0.6;
    z-index: -1;
    animation: globe-spin 25s linear infinite;
}

@keyframes globe-spin {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes float-v2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 80px rgba(1, 105, 254, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 20px 100px rgba(1, 105, 254, 0.5);
    }
}

.circle-content-v2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.circle-content-v2 .count-v2 {
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
}

.circle-content-v2 .label-v2 {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.95;
    max-width: 160px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .tech-main-v2 {
        flex-direction: column;
        gap: 60px;
    }

    .tech-center-v2 {
        order: -1;
    }

    .tech-grid-side-v2 {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .tech-top-v2 {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .tech-title-v2 {
        font-size: 36px;
    }

    .central-circle-v2 {
        width: 300px;
        height: 300px;
    }

    .circle-content-v2 .count-v2 {
        font-size: 56px;
    }
}

@media (max-width: 480px) {
    .tech-grid-side-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 106, 255, 0.05) 0%, rgba(51, 136, 255, 0.08) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(100px);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--gray-900);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    background: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 80px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--gray-700);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.contact-item p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 500;
    display: block;
    line-height: 1.6;
}

.contact-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 8px;
    color: var(--gray-700);
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #a3e635 0%, #84cc16 100%);
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(163, 230, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.contact-form-wrapper h2 {
    font-size: 42px;
    font-weight: 800;
    color: #000;
    margin-bottom: 16px;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.contact-form-wrapper p {
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0 0 12px 0;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.4);
    background: transparent;
    font-size: 16px;
    color: #000;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

.contact-form textarea {
    resize: none;
    min-height: 80px;
}

.form-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 12px;
}

.form-checkboxes p {
    grid-column: 1 / -1;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 16px;
}

.form-checkboxes label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    font-weight: 500;
}

.form-checkboxes input[type="checkbox"] {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    cursor: pointer;
    accent-color: #000;
}

.contact-form .btn {
    background: #000;
    color: #a3e635;
    border: none;
    padding: 18px;
    font-size: 17px;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-form .btn:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand>p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a svg {
    display: block;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-newsletter>p {
    margin-bottom: 20px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 15px;
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form .btn {
    padding: 14px 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* ============================================
   Modern Case Studies
   ============================================ */
.case-studies-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
}

.case-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(1, 105, 254, 0.2);
}

.case-card-image {
    height: 220px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.type-ecommerce {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5253 100%);
}

.type-tech {
    background: linear-gradient(135deg, #4834d4 0%, #686de0 100%);
}

.type-health {
    background: linear-gradient(135deg, #6ab04c 0%, #badc58 100%);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.case-category {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-900);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.case-card-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-card-body h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.case-desc {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.case-stats-row {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.stat-box {
    flex: 1;
}

.stat-val {
    display: block;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 11px;
    color: var(--gray-400);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.case-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
    transition: var(--transition);
}

.case-btn .arrow {
    transition: transform 0.3s ease;
}

.case-btn:hover .arrow {
    transform: translateX(5px);
}

/* ============================================
   Pricing Section
   ============================================ */
/* ============================================
   Pricing Section (Screenshot Replica V2)
   ============================================ */
:root {
    --purple-primary: #8B5CF6;
    --purple-light: #F3F4F6;
    --purple-soft: #EDE9FE;
    --purple-dark: #7C3AED;
    --green-success: #10B981;
    --text-dark: #111827;
    --text-gray: #6B7280;
}

.pricing-section-v2 {
    padding: 80px 0;
    background: #fff;
    font-family: 'Inter', sans-serif;
    /* Ensuring clean font */
}

.pricing-header-v2 {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-label {
    display: block;
    color: #0169fe;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title-v2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
}

/* Toggle Switch */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-toggle {
    background: #F3F4F6;
    padding: 4px;
    border-radius: 50px;
    display: inline-flex;
    position: relative;
    border: 1px solid #E5E7EB;
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 40px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: #fff;
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.save-badge {
    color: var(--purple-primary);
    font-size: 12px;
    font-weight: 700;
}

/* Grid Layout */
.pricing-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Pricing Card */
.pricing-card-v2 {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Pro Card Specifics */
.pricing-card-v2.pro {
    border: 2px solid #0169fe;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.pro-sparkle {
    position: absolute;
    top: 20px;
    right: 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.badge-popular {
    background: #D1FAE5;
    /* Light green */
    color: #059669;
    /* Dark green text */
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* Card Header Content */
.pricing-card-v2 h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    margin-bottom: 16px;
}

.price-v2 {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.price-v2 .amount {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
}

.price-v2 .period {
    font-size: 16px;
    color: var(--text-gray);
    margin-left: 4px;
}

/* Buttons */
.btn-v2 {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline-v2 {
    border: 1px solid #0169fe;
    color: #0169fe;
    background: transparent;
}

.btn-outline-v2:hover {
    background: var(--purple-soft);
}

.btn-primary-v2 {
    background: #0169fe;
    color: #fff;
    border: 1px solid #0169fe;
}

.btn-primary-v2:hover {
    background: #0169fe;
}

/* Payment Icons */
.payment-icons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
    opacity: 0.8;
}

.pay-icon {
    height: 20px;
    width: auto;
    object-fit: contain;
}

/* Features */
.feature-category {
    margin-bottom: 24px;
}

.feature-category:last-child {
    margin-bottom: 0;
}

.feature-category h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-features-v2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features-v2 li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.check-icon-v2 {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.tag-boosted {
    background: #cee2ff;
    color: #0169fe;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

/* Features Container with Truncation */
.card-features-v2 {
    max-height: 250px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease-in-out;
    /* Optional: Fade effect at bottom when collapsed */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.card-features-v2.show-all {
    max-height: 1200px;
    /* Arbitrary large height */
    -webkit-mask-image: none;
    mask-image: none;
    overflow: visible;
}

/* View More Button */
.view-more-container {
    margin-top: auto;
    /* Pushes to bottom if parent is flex col */
    padding-top: 15px;
    text-align: center;
}

.view-more-btn {
    background: none;
    border: none;
    color: #0169fe;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
}

.view-more-btn:hover {
    color: #0056d6;
    text-decoration: underline;
}

/* Responsive tweaks for new sections */
@media (max-width: 1024px) {

    .case-studies-modern,
    .pricing-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card-v2 {
        transform: scale(1);
    }
}

@media (max-width: 768px) {

    .case-studies-modern,
    .pricing-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card-v2 {
        max-width: 100%;
        margin: 0 auto;
    }

    .section-title-v2 {
        font-size: 28px;
    }

    .pricing-toggle-container {
        margin-bottom: 30px;
    }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .card-1 {
        left: 0;
    }

    .card-2 {
        right: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .results-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .case-studies-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .testimonials-header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .testimonial-card.tall {
        grid-row: auto;
    }

    .header-info-left .stat-large {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    /* Navigation Mobile Improvements */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        /* Start from top */
        align-items: center;
        padding: 0;
        /* Clear padding for header */
        box-shadow: none;
        transform: translateX(100%);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
        z-index: 1001;
        /* Above navbar */
    }

    .nav-drawer-header {
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        border-bottom: 1px solid var(--gray-100);
        margin-bottom: 30px;
        opacity: 1 !important;
        /* Header always solid */
        transform: none !important;
    }

    .nav-drawer-close {
        background: none;
        border: none;
        font-size: 36px;
        color: var(--gray-700);
        cursor: pointer;
        padding: 10px;
        line-height: 1;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered link reveal */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.4s;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        font-size: 24px;
        font-weight: 700;
        color: var(--secondary);
    }

    .mobile-only-nav {
        display: block;
        margin-top: 40px;
        border-top: 1px solid var(--gray-100);
        padding-top: 40px;
        width: 100%;
    }

    .nav-mobile-footer {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    .nav-socials {
        display: flex;
        gap: 20px;
    }

    .nav-socials a {
        padding: 0;
        font-size: 0;
        /* Clear default link padding */
        color: var(--gray-500);
        transition: var(--transition);
    }

    .nav-socials a:hover {
        color: var(--primary);
        transform: translateY(-3px);
    }

    .nav-contact-info {
        text-align: center;
    }

    .nav-contact-info p {
        margin-bottom: 10px;
    }

    .nav-contact-info a {
        padding: 0;
        font-size: 16px;
        font-weight: 600;
        color: var(--gray-700);
    }

    /* Scroll Lock */
    body.nav-active {
        overflow: hidden;
    }

    .nav-cta {
        display: inline-flex;
        padding: 6px 12px;
        font-size: 13px;
        margin-left: auto;
        /* Push to right */
        margin-right: 10px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 36px;
        margin-top: 50px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .floating-card {
        display: none;
    }

    .clients-logos {
        gap: 30px;
    }

    .client-brand-logo {
        max-height: 35px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 30px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .tech-grid {
        gap: 15px;
    }

    .tech-item {
        padding: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .floating-badge {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .btn-lg {
        padding: 13px 20px;
        font-size: 14px;
    }

    .trust-avatars img {
        width: 36px;
        height: 36px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Lead Generation Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: var(--white);
    width: 95%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
}

/* Left Side: Info */
.modal-info {
    background: var(--secondary);
    color: var(--white);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
}

.modal-title {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 15px;
}

.modal-desc {
    color: var(--gray-300);
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.modal-features {
    margin-bottom: 25px;
}

.modal-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--gray-200);
}

.modal-features li svg {
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-call-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-call-footer p {
    font-size: 20px;
    font-weight: 700;
}

.modal-call-footer a {
    color: var(--primary-light);
}

/* Right Side: Form */
.modal-form {
    padding: 40px 30px;
    background: var(--white);
}

.modal-form h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.modal-form p {
    color: var(--gray-500);
    margin-bottom: 25px;
    font-size: 14px;
}

.form-row {
    margin-bottom: 15px;
}

.form-row.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 5px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--gray-200);
    padding: 8px 0;
    font-size: 14px;
    transition: var(--transition);
    background: transparent;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.modal-form .btn {
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Modal Responsive */
@media (max-width: 991px) {
    .modal-content {
        grid-template-columns: 1fr;
    }

    .modal-info {
        display: none;
    }

    .modal-container {
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 576px) {
    .form-row.split {
        grid-template-columns: 1fr;
    }

    .modal-info,
    .modal-form {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-form h3 {
        font-size: 22px;
    }
}


@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px;
    }

    .contact-form-wrapper h2 {
        font-size: 28px;
    }

    .form-checkboxes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .form-checkboxes p {
        grid-column: 1 / -1;
    }
}

/* ============================================
   SEO Success Stories Section
   ============================================ */
.success-stories-section {
    padding: 100px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.success-stories-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: rgba(1, 105, 254, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.success-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.success-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0169fe;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.success-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(1, 105, 254, 0.15);
}

.success-card:hover::before {
    transform: scaleX(1);
}

.success-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.brand-logo-circle {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.brand-industry {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.brand-name a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand-name a:hover {
    color: #0169fe;
}

.success-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.success-metric {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.metric-big-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 4px;
}

.metric-desc {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.success-bar-chart {
    margin-bottom: 20px;
}

.bar-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bar-group:last-child {
    margin-bottom: 0;
}

.bar-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    min-width: 48px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bar-track {
    flex: 1;
    height: 10px;
    background: #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #cbd5e1;
    border-radius: 20px;
    transition: width 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bar-fill-active {
    background: #0169fe;
    box-shadow: 0 2px 8px rgba(1, 105, 254, 0.3);
}

.success-quote {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    margin: 0;
}

.success-cta {
    text-align: center;
}

/* Success Stories Responsive */
@media (max-width: 768px) {
    .success-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .success-card {
        padding: 24px;
    }

    .metric-big-number {
        font-size: 26px;
    }

    .success-stories-section {
        padding: 60px 0;
    }
}