/*
 * ByteWave Homepage - FROM ACTUAL SOURCE CODE
 * Exact implementation based on the React/Next.js source files
 * Colors, typography, and spacing all from source
 */

/* Colors - PIXEL PERFECT from ByteWave Design */
:root {
    /* Primary Colors */
    --color-blue: #4F46E5; /* Indigo-600 - Primary brand color */
    --color-blue-hover: #4338CA; /* Indigo-700 - Hover state */
    --color-blue-light: #EEF2FF; /* Indigo-50 - Phone pill background */
    
    /* Neutral Colors */
    --color-black: #1F2937; /* Gray-800 - Main text */
    --color-white: #FFFFFF;
    --color-surface: #EFF0F3; /* Light gray - Placeholders */
    --color-surface1: #646570; /* Medium gray - Secondary text */
    --color-surface2: #ABB0B4; /* Light gray - Tertiary */
    --color-outline: #E4E4E4; /* Border color */
    
    /* Background Colors */
    --color-bg-cream: #FAF7EF; /* Cream/beige - Alternating sections */
    --color-grey: rgba(79, 70, 229, 0.10); /* Blue with opacity - Secondary buttons */
    
    /* Gradients */
    --gradient-dark: linear-gradient(85deg, #414E62 0%, #805D5D 99.85%);
    --gradient-light: linear-gradient(238deg, #FAF7EF 0%, #F4F6FC 99.66%);
    
    /* Functional Colors */
    --color-star: #FCD34D; /* Yellow for star ratings */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
}

/* Typography from _global.scss */
.bytewave-homepage .heading2 {
    font-size: 56px;
    line-height: 68px;
    font-weight: 600;
    text-transform: capitalize;
}

.bytewave-homepage .heading3 {
    font-size: 44px;
    line-height: 52px;
    font-weight: 600;
    text-transform: capitalize;
}

.bytewave-homepage .heading5 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    text-transform: capitalize;
}

.bytewave-homepage .heading6 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
}

.bytewave-homepage .body2 {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400;
}

.bytewave-homepage .text-button-sm {
    font-size: 14px;
    line-height: 22px;
    font-weight: 600;
}

.bytewave-homepage .text-label {
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

/* Button styles from source */
.button-main {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-blue);
    border-radius: 4px;
    text-transform: capitalize;
    letter-spacing: 1.28px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.button-main:hover {
    background-color: var(--color-blue-hover);
    transform: translateY(-1px);
}

.button-main.bg-grey {
    color: var(--color-black);
    background: var(--color-grey);
}

.button-main.bg-grey:hover {
    color: var(--color-white);
    background-color: var(--color-blue);
}

/* HERO SECTION - Full Width Background with Gradient Overlay */
.hero-section {
    position: relative;
    padding: 140px 0 120px;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1f2e;
    overflow: hidden;
}

/* Gradient overlay - Darker navy blue */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 25, 38, 0.95) 0%, rgba(26, 31, 46, 0.90) 100%);
    z-index: 1;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 750px;
}

.hero-text {
    width: 100%;
}

.hero-title {
    font-size: clamp(42px, 5.5vw + 0.5rem, 66px);
    line-height: 1.25;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 32px 0;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 700px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Highlighted text in green/cyan */
.hero-highlight {
    color: #4ECCA3;
    display: inline;
}

/* Adaptive sizing based on word count - Applied via JavaScript */
.hero-title-short {
    font-size: clamp(48px, 6vw + 0.5rem, 72px) !important;
    line-height: 1.1;
}

.hero-title-medium {
    font-size: clamp(44px, 5.5vw + 0.5rem, 64px) !important;
    line-height: 1.15;
}

.hero-title-long {
    font-size: clamp(40px, 5vw + 0.5rem, 56px) !important;
    line-height: 1.18;
}

.hero-title-extra-long {
    font-size: clamp(36px, 4.5vw, 48px) !important;
    line-height: 1.21;
}

.hero-description {
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.75;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 40px 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 680px;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-buttons .button-main {
    min-width: 200px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    width: 200px;
}

/* Force hero section accent buttons to white text */
.hero-section a.btn-accent,
.hero-buttons a.btn-accent,
.hero-section .btn-accent,
.hero-buttons .btn-accent {
    color: #FFFFFF !important;
    background-color: #4ECCA3 !important;
}

/* Hero CTA button - Primary (white bg, black text) */
.button-hero-cta,
.hero-section .button-hero-cta,
.hero-buttons .button-hero-cta,
a.button-hero-cta,
.hero-section a.button-hero-cta,
.hero-buttons a.button-hero-cta {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.25s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    width: 200px;
}

.button-hero-cta:hover,
.hero-section .button-hero-cta:hover,
.hero-buttons .button-hero-cta:hover,
a.button-hero-cta:hover,
.hero-section a.button-hero-cta:hover,
.hero-buttons a.button-hero-cta:hover {
    background-color: #f8f9fa !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
}

/* Hero Secondary button/link - Login style (green bg, white text) */
.button-hero-secondary,
.hero-buttons .button-ghost,
.hero-section .button-hero-secondary,
.hero-section .button-ghost,
a.button-hero-secondary,
a.button-ghost,
.hero-section a.button-hero-secondary,
.hero-section a.button-ghost,
.hero-buttons a.button-ghost,
a.button-hero-secondary:visited,
a.button-ghost:visited,
a.button-hero-secondary:link,
a.button-ghost:link,
a.button-hero-secondary:active,
a.button-ghost:active {
    background: #4ECCA3 !important;
    color: #FFFFFF !important;
    border: none;
    border-radius: 8px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(78, 204, 163, 0.2);
}

.button-hero-secondary:hover,
.hero-buttons .button-ghost:hover,
.hero-section .button-hero-secondary:hover,
.hero-section .button-ghost:hover,
a.button-hero-secondary:hover,
a.button-ghost:hover,
.hero-section a.button-hero-secondary:hover,
.hero-section a.button-ghost:hover,
.hero-buttons a.button-ghost:hover {
    background: #3db88d !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(78, 204, 163, 0.3);
}

/* TOP STATS BAR - Hero metrics */
.top-stats-bar {
    background: #1F2937;
    padding: 24px 0;
}

.top-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.top-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.top-stat-number {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.top-stat-label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
}

/* STATS BAR SECTION - Quick metrics under hero */
.stats-bar-section {
    background: linear-gradient(90deg, #1a2332 0%, #2d3e50 100%);
    padding: 32px 0;
    margin-top: 60px;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
}

.stats-bar-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stats-bar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.stats-bar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stats-bar-number {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 8px 0;
}

.stats-bar-label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

/* STATISTICS SECTION - FROM SOURCE: Rounded box with gradient */
.stats-section {
    background: var(--color-white);
    padding: 0;
    margin-top: 80px;
}

.stats-content {
    background: var(--gradient-dark);
    border-radius: 16px;
    padding: 40px;
    color: var(--color-white);
}

.stats-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(229, 229, 229, 0.1);
}

.tag-label {
    display: inline-block;
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.stats-title {
    font-size: 44px;
    line-height: 52px;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--color-white);
    margin: 0;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.stats-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    margin: 0 0 16px 0;
}

.stats-description p {
    color: var(--color-white) !important;
    margin: 0 0 16px 0;
}

.stats-description p:last-child {
    margin-bottom: 0;
}

.stats-content * {
    color: var(--color-white);
}

.stats-link {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    border-bottom: 2px solid var(--color-white);
    display: inline-block;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.stats-link:hover {
    border-bottom-color: var(--color-black);
    color: var(--color-black);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 40px;
}

.stat-item {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:first-child {
    padding-left: 0;
    border-left: none;
}

.stat-number {
    font-size: 44px;
    line-height: 52px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-white);
    font-weight: 400;
}

/* SERVICES SECTION - FROM SOURCE: 4 column grid */
.services-section {
    background: var(--color-white);
    padding: 60px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Services section overlay support */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-color, rgba(0, 0, 0, 0.5));
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.services-section[style*="background-image"]::before {
    opacity: 1;
}

.services-section > .container {
    position: relative;
    z-index: 2;
}

/* White text for services section when it has background image - ONLY section header */
.services-section[style*="background-image"] .section-header .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.services-section[style*="background-image"] .section-header .section-title {
    color: #FFFFFF;
}

.services-section[style*="background-image"] .section-header .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 0 20px 0;
    color: var(--color-black);
    flex-shrink: 0;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.service-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 8px 0;
}

.service-description {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-surface1);
}

/* SOLUTIONS SECTION - FROM SOURCE: 3x2 grid */
.solutions-section {
    background: var(--color-bg-cream);
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Container positioning for overlay */
.solutions-section > .container {
    position: relative;
    z-index: 2;
}

/* Background image with tint overlay support */
.solutions-section.has-background-image {
    position: relative;
    overflow: hidden;
}

/* Alternative: detect background-image via inline style */
.solutions-section[style*="background-image"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-color, rgba(0, 0, 0, 0.5));
    z-index: 1;
    pointer-events: none;
}

/* Tint overlay - semi-transparent dark overlay over background image */
.section-tint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
    pointer-events: none;
}

/* White text when section has background image - ONLY for section header */
.solutions-section.has-background-image .section-header .section-label,
.solutions-section[style*="background-image"] .section-header .section-label {
    color: rgba(255, 255, 255, 0.9);
}

.solutions-section.has-background-image .section-header .section-title,
.solutions-section[style*="background-image"] .section-header .section-title {
    color: #FFFFFF;
}

.solutions-section.has-background-image .section-header .section-description,
.solutions-section[style*="background-image"] .section-header .section-description {
    color: rgba(255, 255, 255, 0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--color-blue);
    margin-bottom: 16px;
}

.section-title {
    font-size: 44px;
    line-height: 52px;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--color-black);
    margin: 0;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 18px;
    line-height: 30px;
    color: var(--color-surface1);
    max-width: 640px;
    margin: 20px auto 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-item {
    background: var(--color-white);
    padding: 36px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.solution-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin: 0 0 24px 0;
    color: var(--color-black);
}

.solution-icon svg {
    width: 100%;
    height: 100%;
}

.solution-title {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--color-black);
    margin: 0 0 14px 0;
    letter-spacing: -0.3px;
}

.solution-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-surface1);
}

/* INDUSTRIES SECTION - FROM SOURCE: Large cards in 2 column grid */
.industries-section {
    background: var(--color-white);
    padding: 80px 0 40px;
}

.industries-section .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.industries-section .header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.industries-section .header-text {
    flex: 1;
}

.industries-section .section-label {
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: var(--color-blue);
    margin-bottom: 12px;
    display: block;
}

.industries-section .section-title {
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-size: 44px;
    line-height: 52px;
    font-weight: 600;
    text-transform: capitalize;
    margin-top: 12px;
}

.industries-section .section-description {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text-dark);
    margin-top: 16px;
    max-width: 100%;
}

.view-all-link {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-blue);
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--color-blue);
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
}

.industry-item {
    background: var(--color-surface);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.industry-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.industry-icon {
    font-size: 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-black);
}

.industry-name {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: -0.3px;
}

/* CASE STUDIES SECTION */
.case-studies-section {
    background: var(--color-surface);
    padding: 80px 0;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.case-study-item {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-study-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-study-image {
    width: 100%;
    height: 240px;
    background: var(--color-surface);
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-surface);
}

.case-study-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-study-category {
    display: inline-block;
    background: transparent;
    color: var(--color-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    margin-bottom: 12px;
}

.case-study-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: var(--color-black);
    margin: 0 0 12px 0;
}

.case-study-excerpt {
    font-size: 16px;
    line-height: 24px;
    color: var(--color-surface1);
    margin: 0 0 auto 0;
    flex: 1;
}

.case-study-link {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
}

.case-study-link:hover {
    color: var(--color-blue-hover);
}

/* CTA BANNER */
.cta-banner-section {
    background: var(--color-blue);
    padding: 20px 0;
    overflow: hidden;
}

.cta-banner-content {
    display: flex;
    animation: scroll-left 30s linear infinite;
    white-space: nowrap;
}

.cta-banner-item {
    flex-shrink: 0;
    padding: 0 80px;
}

.cta-banner-text {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* TESTIMONIALS SECTION */
.testimonial-section {
    background: var(--color-white);
    padding: 80px 0;
    text-align: center;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-surface1);
    opacity: 0.7;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-rating {
    margin-bottom: 24px;
}

.stars {
    color: var(--color-star);
    font-size: 20px;
}

.testimonial-text {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    color: var(--color-black);
    font-style: italic;
    margin: 0 0 32px 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-black);
}

.author-title {
    color: var(--color-surface1);
    font-size: 14px;
}

/* BOTTOM CTA SECTION */
.bottom-cta-section {
    background: linear-gradient(135deg, #4A4556 0%, #6B5D7A 50%, #8B7A9E 100%);
    padding: 80px 0;
    color: var(--color-white);
    position: relative;
}

/* Background image support */
.bottom-cta-section.has-background-image {
    background-color: #4A4556; /* Fallback color */
}

/* Background overlay/tint */
.bottom-cta-section .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.85;
    z-index: 1;
}

/* Ensure content is above background and overlay */
.bottom-cta-section .container {
    position: relative;
    z-index: 2;
}

.bottom-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text {
    padding-right: 20px;
}

.cta-badge {
    display: inline-block;
    background: #4F46E5;
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-title {
    font-size: 40px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 24px 0;
}

.cta-description {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 32px 0;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.cta-benefits li {
    color: var(--color-white);
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
    padding-left: 28px;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.cta-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-white);
    font-weight: 600;
    font-size: 18px;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.cta-contact p {
    color: var(--color-white);
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-read-more {
    color: #4F46E5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s ease;
}

.cta-read-more:hover {
    gap: 8px;
}

.cta-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: #000000;
    margin: 0 0 28px 0;
    text-align: left;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label,
.forminator-label {
    display: block;
    color: #000000 !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group .required,
.forminator-required {
    color: #EF4444 !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    background: var(--color-white);
    color: #1F2937;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L6 6L11 1" stroke="%239CA3AF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
    cursor: pointer;
}

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

.char-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 12px;
    color: #6B7280;
    pointer-events: none;
}

.btn-full {
    width: 100%;
    padding: 14px 24px;
    background: #4F46E5;
    color: var(--color-white);
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-full:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

/* RESPONSIVE */
@media (max-width: 1279px) {
    .hero-section {
        padding: 120px 0 100px;
        min-height: 550px;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .stats-header {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .bottom-cta-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-form {
        padding: 32px 24px;
    }
}

@media (max-width: 1023px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px 32px;
    }
    
    .stats-title,
    .cta-title {
        font-size: 36px;
        line-height: 48px;
    }
    
    .section-title {
        font-size: 36px;
        line-height: 48px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 100px 0 80px;
        min-height: 500px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(32px, 8vw, 44px);
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        gap: 16px;
        width: 100%;
        flex-direction: column;
    }
    
    .hero-buttons .button-main,
    .hero-buttons .button-hero-cta {
        width: 100%;
        min-width: auto;
    }
    
    .hero-buttons .button-hero-secondary,
    .hero-buttons .button-ghost {
        width: 100%;
        text-align: center;
    }
    
    .top-stats-bar {
        padding: 20px 0;
    }
    
    .top-stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .top-stat-number {
        font-size: 28px;
    }
    
    .top-stat-label {
        font-size: 14px;
    }
    
    .stats-bar-section {
        padding: 24px 0;
        margin-top: 40px;
    }
    
    .stats-bar-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stats-bar-number {
        font-size: 28px;
    }
    
    .stats-bar-label {
        font-size: 14px;
    }
    
    .stats-title,
    .cta-title {
        font-size: 24px;
        line-height: 34px;
    }
    
    .section-title {
        font-size: 24px;
        line-height: 34px;
    }
    
    .stats-description,
    .section-description {
        font-size: 16px;
        line-height: 24px;
    }
    
    .stats-content {
        padding: 28px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-item {
        padding-left: 0;
        border-left: none;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .stat-item:nth-last-child(-n+2) {
        padding-bottom: 0;
        border-bottom: none;
    }
    
    .services-section {
        padding: 48px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-studies-section {
        padding: 60px 0;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industries-section .header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .industries-section .section-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .industries-section .section-description {
        font-size: 16px;
        line-height: 24px;
    }
    
    .view-all-link {
        margin-top: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .bottom-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-text {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.2;
    }
    
    .top-stats-bar {
        padding: 16px 0;
    }
    
    .stats-bar-section {
        padding: 20px 0;
        margin-top: 32px;
    }
    
    .services-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-section {
        padding: 40px 0;
    }
    
    .stat-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 24px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    border-bottom: 1px solid var(--color-outline);
    padding: 64px 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    border: 1px solid var(--color-outline);
    background-color: var(--color-white);
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.faq-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-card-content {
    padding: 24px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 12px;
}

.faq-answer {
    line-height: 1.6;
    color: var(--color-surface1);
}

.faq-answer p {
    margin: 0;
}

.faq-answer p + p {
    margin-top: 1em;
}

@media (min-width: 768px) {
    .faq {
        padding: 80px 24px;
    }
    
    .faq-question {
        font-size: 20px;
    }
}

/* ACCESSIBILITY */
:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .cta-banner-content {
        animation: none;
    }
}