/* ===========================
   CSS Reset & Global Styles
   =========================== */

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

:root {
    /* Color Palette */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --success-green: #10b981;
    --success-green-dark: #059669;
    --success-green-light: #34d399;
    --accent-red: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--gray-800);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--spacing-xl) 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

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

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width var(--transition-base);
}

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

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

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all var(--transition-base);
    border-radius: 2px;
}

/* ===========================
   Buttons
   =========================== */

.cta-button {
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

.cta-button.primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-button.primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.cta-button.secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.cta-button.full-width {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-text {
    z-index: 1;
}

.hero h1 {
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subheading {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.hero-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    border-radius: var(--radius-xl);
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* ===========================
   Section Headers
   =========================== */

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===========================
   About Section
   =========================== */

.about {
    background: white;
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 4rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.credibility-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.badge span {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

/* ===========================
   Services Section
   =========================== */

.services {
    background: var(--gray-50);
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===========================
   ROI Calculator Section
   =========================== */

.roi-calculator {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: var(--spacing-xl) 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.calculator-inputs {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.input-group {
    margin-bottom: 2rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.input-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary-blue) 0%, var(--primary-blue) 50%, var(--gray-200) 50%, var(--gray-200) 100%);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.input-value {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.result-card {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.result-card.primary-result {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
}

.result-icon {
    font-size: 3rem;
}

.result-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-label {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.primary-result .result-label {
    color: rgba(255, 255, 255, 0.9);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.primary-result .result-value {
    color: white;
    font-size: 2.5rem;
}

.roi-summary {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 0.5rem;
}

.roi-summary p {
    margin: 0;
    color: var(--gray-700);
    font-size: 1rem;
}

.roi-summary strong {
    color: var(--gray-900);
    font-size: 1.125rem;
}

#roiMultiple {
    color: var(--success-green);
    font-size: 1.5rem;
    font-weight: 700;
}

.roi-note {
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
    font-style: italic;
    color: var(--gray-500) !important;
}

/* ===========================
   Case Studies Section
   =========================== */

.case-studies {
    background: white;
    padding: var(--spacing-xl) 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.case-study-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--success-green));
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.company-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.company-info h3 {
    margin: 0;
    font-size: 1.375rem;
    color: var(--gray-900);
}

.company-info span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.case-study-challenge,
.case-study-solution,
.case-study-results {
    margin-bottom: 1.5rem;
}

.case-study-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.case-study-card p {
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.result-metric {
    text-align: center;
    padding: 1.25rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-value {
    font-size: 1.875rem;
    font-weight: 700;
}

.metric-value.increase {
    color: var(--success-green);
}

.metric-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.metric-detail {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===========================
   Why Choose Us Section
   =========================== */

.why-choose-us {
    background: var(--gray-50);
    padding: var(--spacing-xl) 0;
}

.comparison-table {
    max-width: 1000px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    background: var(--gray-100);
    padding: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gray-300);
}

.compare-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.compare-item.highlight {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    margin: -1.5rem 0.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.comparison-logo {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    align-items: center;
    transition: background var(--transition-fast);
}

.comparison-row:hover {
    background: var(--gray-50);
}

.comparison-row:last-child {
    border-bottom: none;
}

.feature-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
}

.feature-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.feature-value.highlight {
    font-weight: 600;
    color: var(--success-green);
}

.check-icon,
.x-icon,
.minus-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ===========================
   Technology Stack Section
   =========================== */

.technology-stack {
    background: white;
    padding: var(--spacing-xl) 0;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.tech-category:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.tech-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item {
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.tech-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.tech-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.tech-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Specific logo styling for better appearance */
.google-logo svg,
.meta-logo svg,
.salesforce-logo svg,
.hubspot-logo svg,
.zapier-logo svg,
.analytics-logo svg,
.mixpanel-logo svg {
    width: 50px;
    height: 50px;
}

.taboola-logo svg,
.outbrain-logo svg,
.ringba-logo svg,
.retreaver-logo svg,
.ghl-logo svg {
    width: 100%;
    height: auto;
}

.gtm-logo svg,
.make-logo svg,
.api-logo svg,
.hotjar-logo svg {
    width: 48px;
    height: 48px;
}

.tech-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ===========================
   How It Works Section
   =========================== */

.how-it-works {
    background: white;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

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

.step-connector {
    display: none;
}

/* ===========================
   Testimonials Section
   =========================== */

.testimonials {
    background: var(--gray-50);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--success-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    color: var(--gray-900);
    font-size: 1rem;
}

.author-info span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ===========================
   CTA Section
   =========================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-lg) 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* ===========================
   FAQ Section
   =========================== */

.faq {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-blue);
}

.faq-question {
    width: 100%;
    background: white;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    background: var(--gray-50);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method svg {
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: all var(--transition-base);
}

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

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

.form-disclaimer {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-lg) 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-column p {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--primary-blue-light);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 50%;
    color: var(--gray-400);
    transition: all var(--transition-base);
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--gray-700);
    border-radius: var(--radius-md);
    background: var(--gray-800);
    color: white;
    font-size: 0.95rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-form button:hover {
    background: var(--primary-blue-dark);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.disclaimer {
    max-width: 900px;
    margin: 1rem auto 0;
    font-size: 0.75rem !important;
    color: var(--gray-600) !important;
    line-height: 1.5 !important;
}

/* ===========================
   Animations
   =========================== */

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

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.7s;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.line-animate {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease-out forwards;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 992px) {
    .nav-links {
        display: flex; /* keep visible; JS handles slide-in */
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 992px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1.5fr 1fr 1fr;
        font-size: 0.875rem;
    }
    
    .feature-value {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .tech-categories {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hero Section Enhancements */
    .hero {
        padding-top: 7rem;
        padding-bottom: 5rem;
    }
    
    .hero-content {
        gap: 2.5rem;
    }
    
    .wave-divider svg {
        height: 40px;
    }
    
    .hero-img {
        max-width: 100%;
        width: 90%;
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 2.25rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }
    
    .hero-subheading {
        font-size: 1.125rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.0625rem;
        min-height: 52px; /* Better touch target */
    }
    
    .trust-indicators {
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: nowrap;
        width: 100%;
    }
    
    .trust-item {
        flex: 1;
        text-align: center;
        min-width: 0;
    }
    
    .trust-number {
        font-size: 1.5rem;
    }
    
    .trust-label {
        font-size: 0.75rem;
    }
    
    /* Section Spacing */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Services Section */
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3,
    .testimonial-card h3 {
        font-size: 1.375rem;
    }
    
    .service-card p,
    .testimonial-card p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* About Section */
    .about {
        padding: 3rem 0;
    }
    
    .lead-text {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    .credibility-badges {
        gap: 2rem;
        flex-direction: row;
        justify-content: center;
    }
    
    .badge {
        flex: 1;
        max-width: 100px;
    }
    
    .badge svg {
        width: 40px;
        height: 40px;
    }
    
    .badge span {
        font-size: 0.75rem;
    }
    
    /* How It Works */
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    /* Testimonials */
    .testimonial-text {
        font-size: 0.975rem;
        line-height: 1.7;
    }
    
    .stars {
        font-size: 1.125rem;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 1.25rem 1rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.875rem;
    }
    
    .contact-method {
        padding: 1rem;
        background: var(--gray-50);
        border-radius: var(--radius-md);
    }
    
    .contact-method svg {
        width: 26px;
        height: 26px;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group label {
        font-size: 0.9375rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
        min-height: 52px; /* Better touch target */
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-column h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
    
    /* Navbar Mobile */
    .navbar .cta-button {
        display: none;
    }
    
    /* Better spacing for mobile */
    .container {
        padding: 0 1.25rem;
    }
    
    /* ROI Calculator Mobile */
    .calculator-inputs {
        padding: 1.5rem;
    }
    
    .result-card.primary-result {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .result-value {
        font-size: 1.5rem;
    }
    
    .primary-result .result-value {
        font-size: 2rem;
    }
    
    /* Case Studies Mobile */
    .case-study-card {
        padding: 1.75rem 1.5rem;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Comparison Table Mobile */
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-name {
        padding: 1rem;
        background: var(--gray-50);
        font-weight: 700;
        border-radius: var(--radius-md);
        margin-bottom: 0.75rem;
    }
    
    .compare-item.highlight {
        order: -1;
        margin: 0 0 1rem 0;
    }
    
    .comparison-row {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .feature-value {
        padding: 0.75rem;
        background: var(--gray-50);
        border-radius: var(--radius-md);
        width: 100%;
    }
    
    /* Tech Stack Mobile */
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .tech-item {
        padding: 1rem 0.75rem;
    }
    
    .tech-logo {
        width: 50px;
        height: 50px;
    }
    
    .google-logo svg,
    .meta-logo svg,
    .salesforce-logo svg,
    .hubspot-logo svg,
    .zapier-logo svg,
    .analytics-logo svg,
    .mixpanel-logo svg {
        width: 42px;
        height: 42px;
    }
    
    .gtm-logo svg,
    .make-logo svg,
    .api-logo svg,
    .hotjar-logo svg {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    /* Container & Spacing */
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    /* Typography */
    h1 {
        font-size: 1.875rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.625rem;
        line-height: 1.25;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
    }
    
    .hero-img {
        max-width: 100%;
        width: 100%;
        border-radius: var(--radius-lg);
    }
    
    .trust-indicators {
        gap: 0.75rem;
    }
    
    .trust-number {
        font-size: 1.375rem;
    }
    
    .trust-label {
        font-size: 0.6875rem;
    }
    
    /* Cards */
    .service-card,
    .testimonial-card {
        padding: 1.75rem 1.25rem;
    }
    
    .service-icon,
    .service-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .contact-form-container {
        padding: 1.75rem 1.25rem;
    }
    
    /* Buttons */
    .cta-button {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    /* Steps */
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.125rem;
    }
    
    .step-content p {
        font-size: 0.9375rem;
    }
    
    /* About Section */
    .lead-text {
        font-size: 1.0625rem;
    }
    
    .credibility-badges {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .badge {
        flex-direction: row;
        gap: 1rem;
        max-width: 100%;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem 0.875rem;
        font-size: 0.9375rem;
    }
    
    .faq-answer p {
        padding: 0 0.875rem 1rem;
        font-size: 0.9375rem;
    }
    
    /* Contact */
    .contact-method {
        flex-direction: row;
        align-items: center;
        padding: 0.875rem;
    }
    
    .contact-method svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-method strong {
        font-size: 0.9375rem;
    }
    
    .contact-method p {
        font-size: 0.875rem;
    }
    
    /* Footer */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        min-height: 48px;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 42px;
        height: 42px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.625rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.9375rem;
    }
    
    /* Testimonials */
    .author-avatar {
        width: 44px;
        height: 44px;
        font-size: 0.9375rem;
    }
    
    .author-info strong {
        font-size: 0.9375rem;
    }
    
    .author-info span {
        font-size: 0.8125rem;
    }
}

/* ===========================
   Utility Classes
   =========================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===========================
   Accessibility
   =========================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

