/* Modern B2B SaaS Landing Page Styles */
/* Synopsis - Business Process Automation */

/* Modern B2B Color Palette */
:root {
    /* Primary Blues */
    --primary-color: #0A66C2;
    --primary-dark: #1B4D89;
    --primary-light: #2B7DE9;
    --primary-lighter: #E6F0FA;
    --primary-lightest: #F5F9FF;
    
    /* Accent Colors */
    --accent-color: #FF6B35; /* Modern orange for CTA */
    --accent-hover: #E5552F;
    --success-color: #00B87C;
    --warning-color: #F59E0B;
    
    /* Neutral Grays */
    --gray-900: #0F172A; /* Almost black */
    --gray-800: #1E293B; /* Dark gray */
    --gray-700: #334155; /* Medium gray */
    --gray-600: #475569; /* Text secondary */
    --gray-500: #64748B; /* Text muted */
    --gray-400: #94A3B8; /* Border */
    --gray-300: #CBD5E1; /* Border light */
    --gray-200: #E2E8F0; /* Background accent */
    --gray-100: #F1F5F9; /* Background secondary */
    --gray-50: #F8FAFC; /* Background lightest */
    
    /* Semantic Colors */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-500);
    --bg-primary: #ffffff;
    --bg-secondary: var(--gray-50);
    --bg-accent: var(--gray-100);
    --bg-dark: var(--gray-900);
    --border-color: var(--gray-300);
    --border-light: var(--gray-200);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.1), 0 2px 4px -2px rgb(15 23 42 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.1), 0 4px 6px -4px rgb(15 23 42 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);
    
    /* Layout */
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-padding: 1rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(180deg, 
        #E6F0FA 0%,
        #F5F9FF 25%,
        #ffffff 50%,
        #f8fafc 75%,
        #e2e8f0 100%
    ) !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: min(1200px, 100% - 2rem);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (min-width: 640px) { .container { padding: 0 1.25rem; } }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }
@media (min-width: 1280px) { .container { padding: 0 3rem; } }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

/* Reset images to not overflow and limit default size */
img { max-width: 100%; height: auto; }

/* Header logo sizing across pages */
.header__logo-image { width: 40px; height: 40px; display: inline-block; }
.footer__logo-image { width: 32px; height: 32px; display: inline-block; }

/* Legal pages */
.legal-page {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.legal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-title {
    margin-bottom: 0.5rem;
    text-align: center;
}

.legal-date {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2rem;
}

.legal-section h2 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.375rem;
}

.legal-section h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.125rem;
}

.legal-section p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
}

.legal-section ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.legal-section li {
    margin: 0.25rem 0;
}

.legal-back {
    margin-top: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .legal-content { padding: 3rem; }
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Section Titles */
.section__title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.section__title--light {
    color: var(--bg-primary);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section__subtitle--light {
    color: var(--gray-400);
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    .section__title {
        font-size: 2.75rem;
    }
    
    .section__subtitle {
        font-size: 1.25rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn--secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn--secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn--large svg {
    width: 20px;
    height: 20px;
}

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

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav__logo:hover {
    opacity: 0.8;
}

.nav__logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--border-radius);
}

.nav__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
}

.nav__toggle--active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 0;
}

@media (max-width: 991px) {
    .header .container {
        padding-right: 0;
    }
    
    .nav { 
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        justify-content: initial;
        column-gap: 1rem;
    }
    .nav__menu { margin-right: 0; }
    .nav__cta { margin-left: 0; justify-self: end; }
    .nav__toggle { 
        justify-self: end; 
    }
    .nav__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 1rem;
        padding: 5rem 1.25rem 1.25rem;
        transform: translateX(100%);
        transition: transform 0.25s ease-in-out;
        z-index: 9999;
        pointer-events: none;
    }

    .nav__menu.nav__menu--open {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .nav__toggle {
        display: flex;
        position: relative;
        z-index: 10001; /* above menu */
    }
    
    .nav__logo {
        position: relative;
        z-index: 10001; /* above menu */
    }

    .nav__link {
        display: block;
        width: 100%;
        padding: 0.875rem 1rem;
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--text-primary);
        background: transparent;
        border: 1px solid var(--border-light);
        border-radius: var(--border-radius);
        text-align: left;
        text-transform: none;
        letter-spacing: normal;
        transition: background-color 0.2s ease, color 0.2s ease;
        opacity: 1 !important;
        transform: none !important;
        backdrop-filter: none;
    }

    .nav__link:hover {
        background: rgba(0, 0, 0, 0.04);
    }

    .nav__link:active {
        background: rgba(0, 0, 0, 0.08);
    }
}

/* Backdrop when menu is open (mobile) */
@media (max-width: 991px) {
    body.menu-open { 
        overflow: hidden; 
    }
    
}

@media (max-width: 767px) {
    .nav__cta {
        display: none;
    }
}


/* Hero Section */
.hero {
    padding: clamp(6rem, 12vw, 12rem) 0 clamp(4rem, 8vw, 10rem);
    min-height: 100svh;
    background: transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}


.hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__title {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero__cta {
    margin-bottom: 3rem;
}

.hero__social-proof {
    margin-top: 3rem;
}

.social-proof__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.tech-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tech-logo {
    padding: 0.75rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}


@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 1.375rem;
    }
}

/* Pain Points Section */
.pain-points {
    padding: var(--section-padding);
    background: transparent;
}

.pain-points__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pain-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
        text-align: center;
    transition: var(--transition);
}


.pain-card__icon {
    width: 64px;
    height: 64px;
    background: var(--primary-lighter);
    border-radius: var(--border-radius-lg);
    display: flex;
        align-items: center;
        justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.pain-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pain-card__text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .pain-points__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Solution Table Section */
.solution {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
}


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

.comparison-table {
    max-width: 900px;
    margin: 3rem auto 0;
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    width: 100%;
    table-layout: fixed;
}

.comparison-table__header {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) 1fr 1fr;
    background: var(--primary-dark);
    border-top: none;
}

.comparison-table__cell {
    padding: clamp(1rem, 2vw, 1.5rem) 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
    min-height: 60px;
}

.comparison-table__cell:last-child {
    border-right: none;
}

.comparison-table__cell--header {
    font-weight: 600;
    font-size: 1rem;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table__cell--header:first-child {
    background: transparent !important;
    border-top: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.comparison-table__cell--header:last-child {
    border-right: none;
}

.comparison-table__row {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    min-height: 60px;
    box-sizing: border-box;
}


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

.comparison-table__cell--label {
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    background: var(--bg-primary);
    font-size: 1rem;
    justify-content: flex-start;
    padding-left: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.comparison-table__cell--before {
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    border-right: 1px solid var(--border-color);
}

.comparison-table__cell--after {
    background: var(--bg-primary);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Small Tablet Fix */
@media (min-width: 768px) and (max-width: 850px) {
    .comparison-table {
        max-width: calc(100vw - 2rem);
        width: calc(100% - 1rem);
        margin: 3rem 0.5rem 0;
        font-size: 0.8rem;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
    }
    
    .comparison-table__header,
    .comparison-table__row {
        grid-template-columns: minmax(180px, 1.1fr) 1fr 1fr;
        display: grid;
    }
    
    .comparison-table__header {
        grid-template-columns: minmax(180px, 1.1fr) 1fr 1fr;
    }
    
    .comparison-table__row {
        grid-template-columns: minmax(180px, 1.1fr) 1fr 1fr;
        min-height: 60px;
    }
    
    .comparison-table__cell {
        padding: 0.7rem 0.5rem;
        font-size: 0.8rem;
        border-right: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    text-align: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        min-width: 0;
        max-width: 100%;
        line-height: 1.25;
    }
    
    .comparison-table__cell:last-child {
        border-right: none;
    }
    
    .comparison-table__cell--header {
        font-size: 0.78rem;
        padding: 0.7rem 0.5rem;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        min-width: 0;
        max-width: 100%;
        line-height: 1.15;
    }
    
    .comparison-table__cell--header:last-child {
        border-right: none;
    }
    
    .comparison-table__cell--header:first-child {
        padding: 0.7rem 0.5rem;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        text-align: left;
        justify-content: flex-start;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        min-width: 0;
        max-width: 100%;
        width: auto;
    }
    
    .comparison-table__cell--label {
        font-size: 0.82rem;
        padding: 0.7rem 0.5rem;
        border-right: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        line-height: 1.25;
        min-width: 0;
        max-width: 100%;
        width: auto;
    }
    
    .comparison-table__cell--before,
    .comparison-table__cell--after {
        font-size: 0.8rem;
        padding: 0.7rem 0.4rem;
        border-right: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        line-height: 1.25;
        min-width: 0;
        flex: 1;
    }
    
    .comparison-table__cell--after {
        border-right: none;
    }
}

/* Tablet Responsive Design */
@media (min-width: 851px) and (max-width: 1023px) {
    .comparison-table {
        max-width: 900px;
        margin: 3rem auto 0;
        font-size: 0.88rem;
        width: 98%;
        table-layout: auto;
        border-collapse: separate;
        border-spacing: 0;
    }
    
    .comparison-table__header,
    .comparison-table__row {
        grid-template-columns: minmax(220px, 1.2fr) 1fr 1fr;
        display: grid;
    }
    
    .comparison-table__header {
        grid-template-columns: minmax(220px, 1.2fr) 1fr 1fr;
    }
    
    .comparison-table__row {
        grid-template-columns: minmax(220px, 1.2fr) 1fr 1fr;
        min-height: 60px;
    }
    
    .comparison-table__cell {
        padding: 0.9rem 0.6rem;
        font-size: 0.88rem;
        border-right: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
        min-width: 0;
        line-height: 1.25;
    }
    
    .comparison-table__cell:last-child { border-right: none; }
    
    .comparison-table__cell--header {
        font-size: 0.82rem;
        padding: 0.9rem 0.6rem;
        line-height: 1.2;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }
    .comparison-table__cell--header:last-child { border-right: none; }
    .comparison-table__cell--header:first-child {
        padding-left: 0.8rem;
        text-align: left;
        justify-content: flex-start;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .comparison-table__cell--label {
        font-size: 0.9rem;
        padding-left: 0.8rem;
        text-align: left;
        justify-content: flex-start;
        border-right: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }
    
    .comparison-table__cell--before,
    .comparison-table__cell--after {
        font-size: 0.88rem;
        padding: 0.9rem 0.6rem;
        border-right: 1px solid var(--border-color);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: visible;
        white-space: normal;
        word-break: break-word;
        hyphens: auto;
    }
    .comparison-table__cell--after { border-right: none; }
}

/* Mobile Responsive Design */
@media (max-width: 767px) {
    .comparison-table {
        margin: 2rem 0 0;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: var(--border-radius-lg);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        font-size: 0.85rem;
    }
    
    .comparison-table__header {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr;
        background: var(--primary-dark);
    }
    
    .comparison-table__row {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr;
        border-bottom: 1px solid var(--border-color);
        min-height: 50px;
    }
    
    .comparison-table__row:last-child {
        border-bottom: none;
    }
    
    .comparison-table__cell {
        padding: 0.75rem 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-right: 1px solid var(--border-light);
        word-wrap: break-word;
        hyphens: auto;
        line-height: 1.3;
    }
    
    .comparison-table__cell:last-child {
        border-right: none;
    }
    
    .comparison-table__cell--header {
        font-weight: 600;
        font-size: 0.75rem;
        color: var(--bg-primary);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        background: transparent;
        padding: 0.75rem 0.5rem;
        line-height: 1.2;
    }
    
    .comparison-table__cell--header:first-child {
        background: transparent !important;
        text-align: left;
        justify-content: flex-start;
        padding-left: 0.75rem;
    }
    
    .comparison-table__cell--label {
        text-align: left;
        justify-content: flex-start;
        font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
        padding-left: 0.75rem;
        font-size: 0.8rem;
}

    .comparison-table__cell--before {
    color: var(--text-secondary);
        background: var(--bg-secondary);
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .comparison-table__cell--after {
        color: var(--primary-color);
    background: var(--bg-primary);
        font-weight: 600;
        font-size: 0.8rem;
    }
}

/* Process Timeline Section */
.process {
    padding: var(--section-padding);
    background: transparent;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    width: 2px;
    height: calc(100% + 1rem);
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-lighter));
    z-index: 0;
}

.process-step__number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.process-step__content {
    flex: 1;
}

.process-step__title {
        font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.process-step__description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


@media (max-width: 767px) {
    .process-timeline {
        max-width: 100%;
        padding: 0;
        position: relative;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .process-step {
    display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        text-align: left;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0 0 2.5rem 0;
        margin: 0;
        box-shadow: none;
        position: relative;
    }
    
    .process-step:last-child {
        padding-bottom: 0;
    }

    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .process-step__number {
        position: relative;
    margin: 0;
        width: 30px;
        height: 30px;
        font-size: 1rem;
        font-weight: 700;
        flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
        background: var(--primary-color);
        color: var(--bg-primary);
        border-radius: 50%;
        box-shadow: none;
        border: none;
    }
    
    .process-step__content {
        flex: 1;
    }
    
    .process-step__title {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    color: var(--text-primary);
        font-weight: 600;
        line-height: 1.4;
    }
    
    .process-step__description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
        color: var(--text-secondary);
    }
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
}


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

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.why-us__card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 350px;
}

.why-us__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.card-content {
    padding: 2.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-content__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--primary-lightest) 100%);
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}


.card-content__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.card-content__text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
    flex: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        align-items: start;
        max-width: 700px;
    }
    
    .why-us__card {
        max-height: 400px;
    }
    
    .card-content {
        padding: 2rem 1.5rem;
    }
    
    .card-content__title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .card-content__text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

@media (min-width: 1024px) {
    .why-us__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        align-items: start;
    }
    
    .why-us__card {
        max-height: 450px;
    }
    
    .card-content {
        padding: 3rem 2rem;
    }
    
    .card-content__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .card-content__text {
        font-size: 1.0625rem;
    }
}

@media (min-width: 1200px) {
    .why-us__grid {
        max-width: 1100px;
    }
    
    .card-content {
        padding: 2.5rem 2rem;
    }
}

/* FAQ Section */
.faq {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
    z-index: 1;
}

.faq__header {
    margin-bottom: 4rem;
}

.faq .section__title {
    color: var(--text-primary);
    text-shadow: none;
}

.faq .section__subtitle {
    color: var(--text-secondary);
    text-shadow: none;
}

.faq__grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq__item {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    backdrop-filter: blur(10px);
}

.faq__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
}

.faq__item.active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.faq__question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--gray-400);
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq__answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    display: block; /* default, managed by [hidden] */
}

.faq__answer p {
    margin: 0 0 1rem;
    color: inherit;
}

.faq__answer ul {
    margin: 0.5rem 0 1rem;
    padding-left: 1.25rem;
}

.faq__answer li {
    margin: 0.5rem 0;
}

.faq__answer strong {
    color: var(--primary-color);
}

.faq__item.active .faq__answer {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hide via attribute for robustness and a11y */
[hidden] {
    display: none !important;
}

.faq__answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq__answer li {
    margin-bottom: 0.5rem;
}

.faq__answer strong {
    color: var(--primary-color);
}

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

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: transparent;
    position: relative;
}

/* Form Disclaimer Styles */
.form-disclaimer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.4;
}

.disclaimer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.disclaimer-link:hover {
    opacity: 0.8;
}


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

.cta-banner {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.cta-banner__content {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.cta-banner__content > * {
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--bg-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.cta-banner__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-form__fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-primary);
        font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.cta-form .btn--primary {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: var(--accent-color);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-form .btn--primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.4);
}

.cta-banner__alternative {
    margin-bottom: 2rem;
}

.alternative__text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.25rem;
        font-size: 1rem;
    font-weight: 500;
}

.cta-banner__alternative .btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-banner__alternative .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: var(--bg-primary);
}

.cta-banner__guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 2rem;
    background: rgba(0, 184, 124, 0.15);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0, 184, 124, 0.3);
    backdrop-filter: blur(10px);
}

.guarantee__icon {
    color: #00B87C;
    flex-shrink: 0;
}

/* Mobile CTA Styles */
@media (max-width: 767px) {
    .final-cta {
        padding: 0;
    }
    
    .final-cta .container {
        padding: 0;
        max-width: 100%;
    }
    
    .cta-banner {
        margin: 0;
        border-radius: 0;
        max-width: 100%;
        border: none;
        box-shadow: none;
    }
    
    .cta-banner__content {
        padding: 2.5rem 2rem;
    }
    
    .cta-banner__title {
        font-size: 1.75rem;
        line-height: 1.2;
    margin-bottom: 1rem;
}

    .cta-banner__subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .cta-form {
        padding: 2rem;
        margin-bottom: 2rem;
        border-radius: var(--border-radius-xl);
        border: none;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .cta-form__fields {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-input {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        border-radius: var(--border-radius-lg);
    }
    
    .cta-form .btn--primary {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .cta-banner__alternative {
        margin-bottom: 1.5rem;
    }
    
    .alternative__text {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cta-banner__alternative .btn--secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .cta-banner__guarantee {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        text-align: left;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .guarantee__icon {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 0.5rem;
    }
    
    .form-disclaimer {
        font-size: 0.8rem;
        padding: 0 1rem;
        line-height: 1.5;
    }
}

@media (min-width: 640px) {
    .cta-form__fields { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .cta-form__fields { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .cta-banner__title { font-size: 2.75rem; }
    .cta-banner__subtitle { font-size: 1.375rem; }
    .cta-banner__content { padding: 5rem 4rem; }
    .cta-form { padding: 3rem; }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--gray-400);
    padding: 3rem 0 2rem;
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer__logo-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--border-radius);
}

.footer__logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.footer__description {
    color: var(--gray-400);
    line-height: 1.6;
        margin: 0;
    }
    
.contact-item {
        display: flex;
        flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.contact-item__label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

.contact-item__link {
    color: var(--gray-300);
    transition: var(--transition);
}

.contact-item__link:hover {
    color: var(--bg-primary);
}

.footer__bottom {
        display: flex;
        flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal-link {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: var(--transition);
}

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

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: 2fr 1fr;
    }
    
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

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

/* Responsive Design */
@media (max-width: 767px) {
    :root {
        --section-padding: 4rem 0;
    }
    
    .section__title {
        font-size: 1.875rem;
    }
    
    .section__subtitle {
        font-size: 1rem;
    }
    
    .btn--large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Intersection Observer Animation Classes */
.animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only hide elements when JS is available */
.js-enabled .animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.js-enabled .animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.js-enabled .animate-on-scroll.animate-left {
    transform: translateX(-30px);
}

.js-enabled .animate-on-scroll.animate-right {
    transform: translateX(30px);
}

.js-enabled .animate-on-scroll.animate-scale {
    transform: scale(0.9);
}

.js-enabled .animate-on-scroll.animate-in.animate-left,
.js-enabled .animate-on-scroll.animate-in.animate-right {
    transform: translateX(0);
}

.js-enabled .animate-on-scroll.animate-in.animate-scale {
    transform: scale(1);
}

/* Staggered animations for grids */
.animate-stagger > * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only hide elements when JS is available */
.js-enabled .animate-stagger > * {
        opacity: 0;
    transform: translateY(30px);
}

.js-enabled .animate-stagger.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.js-enabled .animate-stagger.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.js-enabled .animate-stagger.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.js-enabled .animate-stagger.animate-in > *:nth-child(4) { transition-delay: 0.4s; }
.js-enabled .animate-stagger.animate-in > *:nth-child(5) { transition-delay: 0.5s; }
.js-enabled .animate-stagger.animate-in > *:nth-child(6) { transition-delay: 0.6s; }

.js-enabled .animate-stagger.animate-in > * {
        opacity: 1;
        transform: translateY(0);
}

/* Pulse animation for CTA buttons */
.btn--primary.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

/* Smooth animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-stagger > *,
    .btn--primary.pulse {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Footer enhancements for SEO improvements */
.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__sitemap-title,
.footer__contacts-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.footer__nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

/* Inline links styling */
.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.inline-link:hover {
    border-bottom-color: var(--primary-color);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer__nav {
        align-items: center;
    }
}