:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --background-color: #ffffff;
    --text-color: #1f2937;
    --text-muted: #4b5563;
    --border-color: #e5e7eb;
    --header-height: 4rem;
    --gradient-start: #2563eb;
    --gradient-end: #1e40af;
    --box-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --box-shadow-md: 0 4px 24px rgba(0,0,0,0.07);
    --box-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition-base: 0.5s ease-in-out;
    --border-radius-sm: 0.6rem;
    --border-radius-md: 1.2rem;
    --border-radius-lg: 2.2rem;
}

/* Sticky Navigation Styles */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow-md);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.sticky-nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    gap: 0.5rem;
}

.sticky-nav-logo i {
    font-size: 1.5rem;
}

.sticky-nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

.sticky-nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.sticky-nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    height: 100%;
}

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

.sticky-nav-links li a.active {
    color: var(--primary-color);
    position: relative;
}

.sticky-nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.sticky-nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    margin-top: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.sticky-nav-cta:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .sticky-nav-links {
        display: none;
    }
    
    .sticky-nav-logo {
        margin: 0 auto;
    }
}

/* New styles for hero section */
.gradient-text-blue {
    background: linear-gradient(to right, #3B82F6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.text-bold {
    font-weight: 700;
    color: #000;
}

/* Feature card microcopy */
.microcopy {
    font-size: 0.85rem;
    color: #2563eb;
    font-weight: 600;
    margin-top: -0.75rem;
    margin-bottom: 1rem;
}

/* Smooth Section Transitions */
.section-transition {
    opacity: 1; /* Default to visible */
    transform: translateY(0); /* Default to no transform */
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform; /* Performance optimization */
}

/* Only apply the transform when JavaScript is enabled and hasn't added the visible class yet */
html.js .section-transition:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.section-transition.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 1; /* Default to visible */
    animation: none; /* Only animate with JS */
}

.fade-up {
    opacity: 1; /* Default to visible */
    transform: translateY(0); /* Default to no transform */
    animation: none; /* Only animate with JS */
}

html.js .fade-in:not([style]) {
    animation: fadeIn 0.8s ease forwards;
}

html.js .fade-up:not([style]) {
    animation: fadeUp 0.8s ease forwards;
}

html.js .fade-in-delay-1:not([style]) {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
}

html.js .fade-in-delay-2:not([style]) {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.4s;
}

html.js .fade-in-delay-3:not([style]) {
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.6s;
}

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

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

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px); /* Account for fixed header */
}

/* Section spacing and transitions */
section {
    position: relative;
    min-height: 60vh;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s ease, transform 0.5s ease;
    overflow: hidden;
    margin-bottom: 32px;
}

/* Transition between sections */
section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(248, 249, 250, 0.8));
    pointer-events: none;
    z-index: 1;
}

/* Remove transition overlay from dark sections */
.ai-agent-section::after,
.agent-tools-section::after,
.cta-section-bgimg::after {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
}

/* Hover effects for interactive elements */
.feature-card, 
.integration-icon,
.hero-legal-btn,
.agent-tools-nav-item,
.explore-integrations-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.hero-legal-btn:hover,
.explore-integrations-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.integration-icon:hover {
    transform: scale(1.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background-color: var(--background-color);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Gradient overlays for smooth transitions */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

/* Section-specific gradients */
.hero-legal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.support-anywhere-section {
    background: #000;
}

.support-anywhere-section[style*="background-color: #ffffff"] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.feature-cards {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.integrations-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    overflow: hidden;
    width: 100%;
    margin: 4rem 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
}

/* Better approach for entire integration section layout */
.integrations-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.integrations-icons-left {
    flex: 0 0 30%;
    position: relative;
    height: 8rem;
    z-index: 2;
    padding-left: 2%;
}

.integrations-center {
    flex: 0 0 40%;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.integrations-icons-right {
    flex: 0 0 30%;
    position: relative;
    height: 8rem;
    z-index: 2;
    padding-right: 2%;
}

.integrations-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.integrations-description {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.explore-integrations-btn {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 2rem;
    color: #fff;
    background-color: #3B82F6;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.explore-integrations-btn:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(59, 130, 246, 0.25);
}

.integration-icon {
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    z-index: 2;
}

.integration-icon i {
    font-size: 32px;
}

/* Add a subtle gradient background to the section */
.integrations-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 0) 50%, rgba(59, 130, 246, 0.05) 100%);
    z-index: 1;
}

/* Connect the icons with lines - adjusted for better positioning */
.integrations-icons-left::after,
.integrations-icons-right::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 75%;
    height: 1px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.3));
}

.integrations-icons-left::after {
    right: 5%;
}

.integrations-icons-right::after {
    left: 5%;
}

/* Brand colors for icons */
.integration-icon .fa-google-drive { color: #4285F4; }
.integration-icon .fa-slack { color: #4A154B; }
.integration-icon .fa-figma { color: #0ACF83; }
.integration-icon .fa-jira { color: #0052CC; }
.integration-icon .fa-trello { color: #0079BF; }
.integration-icon .fa-microsoft { color: #5E5E5E; }
.integration-icon .fa-salesforce { color: #00A1E0; }
.integration-icon .fa-whatsapp { color: #25D366; }
.integration-icon .fa-github { color: #24292e; }
.integration-icon .fa-discord { color: #5865F2; }

/* Ensure consistent icon positioning on both left and right sides */
.integrations-icons-left .integration-icon:nth-child(1),
.integrations-icons-right .integration-icon:nth-child(1) {
    top: 0;
    left: 0;
}

.integrations-icons-left .integration-icon:nth-child(2),
.integrations-icons-right .integration-icon:nth-child(2) {
    top: 0;
    left: 35%;
}

.integrations-icons-left .integration-icon:nth-child(3),
.integrations-icons-right .integration-icon:nth-child(3) {
    top: 0;
    left: 70%;
}

.integrations-icons-left .integration-icon:nth-child(4),
.integrations-icons-right .integration-icon:nth-child(4) {
    top: 3.5rem;
    left: 15%;
}

.integrations-icons-left .integration-icon:nth-child(5),
.integrations-icons-right .integration-icon:nth-child(5) {
    top: 3.5rem;
    left: 52%;
}

/* Edge icons styling */
.edge-left {
    clip-path: inset(0 0 0 30%);
    margin-left: -1rem;
}

.edge-right {
    clip-path: inset(0 30% 0 0);
    margin-right: -40px;
    right: 0;
    position: absolute;
}

/* Mobile responsiveness */
@media (max-width: 992px) {
    .integrations-layout {
        flex-wrap: wrap;
    }
    
    .integrations-icons-left,
    .integrations-center,
    .integrations-icons-right {
        flex: 0 0 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Consolidated transitions */
.support-anywhere-headline,
.support-anywhere-subheadline,
.support-anywhere-channels,
.hero-legal-headline,
.hero-legal-subheadline,
.hero-legal-btn,
.cta-card h2,
.cta-card h3,
.cta-card a {
    opacity: 1;
    transform: translateY(0);
    transition: transform var(--transition-base);
}

/* Subtle hover effects */
.support-anywhere-image-bg {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.support-anywhere-image-bg:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 48px 0 rgba(80, 80, 255, 0.2);
}

/* CTA card enhancements */
.cta-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.headline {
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: #111;
    letter-spacing: -1px;
    margin-bottom: 2.5rem;
}

.subheadline {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2.5rem;
}

.paragraph {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.card {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(80, 80, 255, 0.10);
    padding: 2.5rem;
}

.divider {
    border-bottom: 1px solid #e5e7eb;
    margin: 1.5rem 0;
}

.btn {
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.9rem 2.2rem;
    background: #fff;
    color: #111;
    border: 1.5px solid #2563eb;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.btn-primary {
    background: #2563eb;
    color: #fff;
    border: none;
}
.btn-animated {
    position: relative;
    border: none;
    overflow: hidden;
}
.btn-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.6rem;
    padding: 2px;
    background: linear-gradient(270deg, #2563eb, #1e40af, #2563eb, #1e40af);
    background-size: 400% 400%;
    z-index: 1;
    animation: hero-btn-border-move 2.5s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.btn-animated span, .btn-animated {
    position: relative;
    z-index: 2;
}
@keyframes hero-btn-border-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0;
    width: 100%;
}

.header.scroll-active {
    width: 94%;
    max-width: 1200px;
    margin: 12px auto;
    left: 0;
    right: 0;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-lg);
    background-color: #ffffff;
    transform: none;
    border: 1px solid rgba(229, 231, 235, 0.6);
}

.header-hidden {
    transform: translateY(-100%);
}

.header.scroll-down {
    transform: translateY(-100%); 
}

.header.scroll-up {
    transform: translateY(0);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 1.5rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Button Styles */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.btn-secondary:hover {
    background-color: #2563eb;
    color: white;
}

.btn-ghost {
    background-color: transparent;
    color: #1f2937;
}

.btn-ghost:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 4rem) 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, var(--gradient-start) 0%, transparent 70%);
    opacity: 0.08;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
}

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

.live-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.gradient-text {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #4b5563;
    font-size: 0.875rem;
}

/* Problem-Solution Section */
.problem-solution {
    padding: 6rem 0;
    background-color: #f9fafb;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: #4b5563;
    font-size: 1.125rem;
}

.solution-segments {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

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

.solution-segment.reverse {
    direction: rtl;
}

.solution-segment.reverse .solution-content {
    direction: ltr;
}

.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.challenge-card {
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0.375rem;
}

.solution-card {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0.375rem;
}

.metrics {
    margin: 1.5rem 0;
}

.metrics h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.metrics ul {
    list-style: none;
}

.metrics li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.metrics li i {
    color: var(--primary-color);
}

.mockup-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mockup-placeholder {
    aspect-ratio: 16/9;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background-color: #f9fafb;
}

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

.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: #374151;
    line-height: 1.7;
}

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

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: #4b5563;
    font-size: 0.9375rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta .btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: #f9fafb;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-col h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* Consolidated media queries */
@media (max-width: 1100px) {
    .support-anywhere-container,
    .ai-automate-container,
    .hero-legal-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 900px) {
    .features-list,
    .vertical-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 1rem 0.5rem;
        overflow-x: auto;
    }
    
    .feature-tab,
    .vertical-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-detail,
    .vertical-tab-content {
        padding: 2rem 1rem;
        min-height: 220px;
    }
    
    .integrations-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 700px) {
    .support-anywhere-section,
    .ai-automate-section,
    .cta-section-bgimg {
        padding: 2.5rem 0 2rem 0;
    }
    
    .support-anywhere-headline {
        font-size: 2.1rem;
    }
    
    .support-anywhere-channels {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 1.2rem;
    }
    
    .support-anywhere-container,
    .ai-automate-container {
        padding: 0 0.5rem;
    }
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: #1f2937;
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu .mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.ai-features-section {
    background: #fff;
    padding: 5rem 0;
}
.features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
.features-list {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 8px 32px 0 rgba(80,80,255,0.07);
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    justify-content: center;
    border-bottom: 2px solid #e5e7eb;
}
.feature-tab {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: #888;
    background: none;
    border: none;
    border-radius: 1rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    position: relative;
    white-space: nowrap;
}
.feature-tab.active, .feature-tab:focus {
    color: #2563eb;
    font-weight: 700;
    background: #f7fcff;
    border: none;
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.08);
    outline: none;
}
.feature-tab.active::before, .feature-tab:focus::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 4px;
    background: #2563eb;
    border-radius: 4px 4px 0 0;
    transform: translateY(-50%);
}
.feature-tab i {
    font-size: 1.4em;
    min-width: 1.5em;
    color: #bbb;
    transition: color 0.2s;
}
.feature-tab.active i, .feature-tab:focus i {
    color: #2563eb;
}
.feature-detail {
    background: #fff;
    border-radius: 2.2rem;
    box-shadow: 0 8px 32px 0 rgba(80,80,255,0.07);
    padding: 3.5rem 3.5rem;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.feature-visual { display: none; }
.feature-visual.active { display: block; }
@media (max-width: 900px) {
    .features-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 1rem 0.5rem;
        overflow-x: auto;
    }
    .feature-tab {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    .feature-detail {
        padding: 2rem 1rem;
        min-height: 220px;
    }
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 2rem;
    flex: 1 1 calc(33.33% - 1.33rem);
    min-width: 280px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

/* Override for specific card sizes */
.feature-card[style*="66.67%"] {
    flex: 0 0 calc(66.67% - 1.33rem);
    max-width: 700px;
}

.feature-card[style*="33.33%"] {
    flex: 0 0 calc(33.33% - 1.33rem);
    max-width: 340px;
}

.feature-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.feature-card h2 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1rem;
}

.feature-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 900px) {
    .feature-cards {
        flex-direction: column;
    }
    
    .feature-card, 
    .feature-card[style*="66.67%"], 
    .feature-card[style*="33.33%"] {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Support Anywhere Section */
.support-anywhere-section {
    min-height: 100vh;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    transition: transform 0.5s ease-in-out;
}
.support-anywhere-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}
.support-anywhere-left {
    flex: 1.2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.support-anywhere-image-bg {
    background: radial-gradient(ellipse at 60% 40%, #a78bfa 0%, #6366f1 40%, #000 100%);
    border-radius: 2.2rem;
    padding: 0.5rem;
    box-shadow: 0 8px 48px 0 rgba(80, 80, 255, 0.18), 0 2px 8px 0 rgba(0,0,0,0.10);
    max-width: 540px;
    width: 100%;
    position: relative;
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}
section:not(:target) .support-anywhere-image-bg {
    transform: scale(0.98);
}
.support-anywhere-image {
    display: block;
    width: 100%;
    border-radius: 2rem;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18);
}
.support-anywhere-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 320px;
}
.support-anywhere-badge {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 0.4em 1.2em;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 2rem;
    display: inline-block;
    letter-spacing: 0.01em;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
}
.support-anywhere-headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}
section:not(:target) .support-anywhere-headline {
    transform: translateY(20px);
}
.support-anywhere-subheadline {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}
section:not(:target) .support-anywhere-subheadline {
    transform: translateY(20px);
}
.support-anywhere-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 1.5rem 2.5rem;
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}
section:not(:target) .support-anywhere-channels {
    transform: translateY(20px);
}
.support-channel {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}
.support-channel i {
    font-size: 1.7rem;
    min-width: 1.7rem;
}
@media (max-width: 1100px) {
    .support-anywhere-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-legal-content {
        margin-left: 0;
        text-align: center;
        align-items: center;
    }
}
@media (max-width: 700px) {
    .support-anywhere-section {
        padding: 2.5rem 0 2rem 0;
    }
    .support-anywhere-headline {
        font-size: 2.1rem;
    }
    .support-anywhere-channels {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 1.2rem;
    }
    .support-anywhere-container {
        padding: 0 0.5rem;
    }
}

/* Automate with AI Section */
.ai-automate-section {
    background: #000;
    padding: 5rem 0 4rem 0;
}
.ai-automate-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}
.ai-automate-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 320px;
    background: #fff;
    border-radius: 2.2rem;
    box-shadow: 0 8px 32px 0 rgba(80, 80, 255, 0.10);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
}
.ai-automate-feature-list {
    width: 100%;
    margin-bottom: 1.5rem;
}
.ai-automate-feature {
    font-size: 1.25rem;
    color: #888;
    font-weight: 600;
    padding: 1.1rem 1.2rem 1.1rem 1.2rem;
    border-radius: 1.2rem;
    margin-bottom: 0.2rem;
    cursor: pointer;
    transition: border 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}
.ai-automate-feature.ai-automate-feature-selected {
    color: #111;
    font-weight: 700;
    border: 2.5px solid #2563eb;
    background: #fff;
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.08);
    margin-bottom: 0.2rem;
}
.ai-automate-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.ai-automate-feature.ai-automate-feature-selected .ai-automate-feature-title {
    color: #111;
}
.ai-automate-feature-desc {
    font-size: 1.08rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 0.1rem;
    margin-top: 0.2rem;
}
.ai-automate-divider {
    border-bottom: 1px solid #e0e0e0;
    margin: 0 0 0.2rem 0;
}
.ai-automate-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
}
.ai-automate-screenshot {
    max-width: 520px;
    width: 100%;
    border-radius: 2.2rem;
    box-shadow: 0 8px 48px 0 rgba(80, 80, 255, 0.18), 0 2px 8px 0 rgba(0,0,0,0.10);
    background: #fff;
}
@media (max-width: 1100px) {
    .ai-automate-container {
        flex-direction: column;
        gap: 3rem;
        align-items: stretch;
    }
    .ai-automate-left, .ai-automate-right {
        justify-content: center;
        align-items: center;
        min-width: 0;
        max-width: 100%;
    }
}
@media (max-width: 700px) {
    .ai-automate-section {
        padding: 2.5rem 0 2rem 0;
    }
    .ai-automate-left {
        padding: 1.5rem 1rem 1rem 1rem;
    }
    .ai-automate-screenshot {
        max-width: 100%;
        border-radius: 1.2rem;
    }
}

.hero-legal {
    min-height: 100vh;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    background: url('https://bryter.com/wp-content/uploads/2025/04/workflows-hero-image.png.webp') center center/cover no-repeat;
    position: relative;
}
.hero-legal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}
.hero-legal-content {
    max-width: 700px;
    width: 100%;
    margin-left: 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.hero-legal-headline {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: #111;
    line-height: 1.05;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}
section:not(:target) .hero-legal-headline {
    transform: translateY(20px);
}
.hero-legal-subheadline {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.7;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}
section:not(:target) .hero-legal-subheadline {
    transform: translateY(20px);
}
.hero-legal-btn {
    padding: 0.9rem 2.2rem;
    background: #fff;
    color: #111;
    border-radius: 0.6rem;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    position: relative;
    border: none;
    cursor: pointer;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}
section:not(:target) .hero-legal-btn {
    transform: translateY(20px);
}
.hero-legal-btn-animated::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.6rem;
    padding: 2px;
    background: linear-gradient(270deg, #2563eb, #1e40af, #2563eb, #1e40af);
    background-size: 400% 400%;
    z-index: 1;
    animation: hero-btn-border-move 2.5s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.hero-legal-btn-animated span, .hero-legal-btn-animated {
    position: relative;
    z-index: 2;
}
@keyframes hero-btn-border-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.hero-legal-btn-animated {
    box-shadow: 0 2px 12px 0 rgba(37,99,235,0.08);
}
.hero-legal-btn-arrow {
    font-size: 1.2em;
    margin-left: 0.2em;
}
@media (max-width: 1000px) {
    .hero-legal {
        padding: 4rem 0 3rem 0;
    }
    .hero-legal-content {
        margin-left: 0;
        max-width: 95vw;
    }
}
@media (max-width: 600px) {
    .hero-legal {
        padding: 2.5rem 0 2rem 0;
        min-height: 50vh;
    }
    .hero-legal-headline {
        font-size: 2rem;
    }
    .hero-legal-subheadline {
        font-size: 1.05rem;
    }
    .hero-legal-btn {
        font-size: 1rem;
        padding: 0.7rem 1.2rem;
    }
}

.cta-section-bgimg {
    position: relative;
    min-height: 100vh;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.0) 100%), url('https://images.ctfassets.net/xny2w179f4ki/7AhloYNCtBLKx1WWPnzdCf/1b5645b5366184aa01a93aa10261fb93/home-footer-cta-mob.webp?&q=90') center center/cover no-repeat;
}

/* .cta-section-bgimg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(247,249,248,0.1);
    z-index: 1;
    border-radius: 0;
} */

.cta-card {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 2.5rem;
}
.btn-dark {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem 2.8rem;
    margin-top: 2rem;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-dark:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 24px 0 rgba(37,99,235,0.10);
}
@media (max-width: 700px) {
    .cta-section-bgimg {
        padding: 2.5rem 0;
    }
    .cta-card {
        padding: 2rem 0.7rem;
        border-radius: 1.2rem;
    }
    .btn-dark {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
}

.vertical-tabs-section {
    background: #fff;
    padding: 0 0 5rem 0;
}
.vertical-tabs-container {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}
.vertical-tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(80, 80, 255, 0.07);
    padding: 2rem 0.5rem;
    min-width: 220px;
    max-width: 260px;
    gap: 0.2rem;
}
.vertical-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    font-size: 1.15rem;
    color: #444;
    border: none;
    background: none;
    cursor: pointer;
    border-left: 4px solid transparent;
    border-radius: 0 1.2rem 1.2rem 0;
    width: 100%;
    text-align: left;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.vertical-tab.selected, .vertical-tab:focus {
    color: #111;
    font-weight: 700;
    border-left: 4px solid #2563eb;
    background: #f7f9f8;
}
.vertical-tab i {
    font-size: 1.3em;
    min-width: 1.5em;
    color: #2563eb;
}
.vertical-tab-content {
    flex: 1;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px 0 rgba(80, 80, 255, 0.07);
    padding: 3rem 3rem;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 900px) {
    .vertical-tabs-container {
        flex-direction: column;
        gap: 2rem;
    }
    .vertical-tabs {
        flex-direction: row;
        min-width: 0;
        max-width: 100vw;
        padding: 0.5rem 0.5rem;
        border-radius: 1.2rem;
        overflow-x: auto;
    }
    .vertical-tab {
        border-left: none;
        border-bottom: 4px solid transparent;
        border-radius: 1.2rem 1.2rem 0 0;
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    .vertical-tab.selected, .vertical-tab:focus {
        border-left: none;
        border-bottom: 4px solid #2563eb;
        background: #f7f9f8;
    }
    .vertical-tab-content {
        padding: 2rem 1rem;
        min-height: 220px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Section transitions */
section {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

section:not(:target) {
    transform: translateY(20px);
}

/* Text color adjustments */
.support-anywhere-subheadline {
    color: rgba(255, 255, 255, 0.95);
}

.hero-legal-subheadline {
    color: #374151;
}

.cta-card h2,
.cta-card h3 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Image transitions */
.support-anywhere-image-bg {
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

section:not(:target) .support-anywhere-image-bg {
    transform: scale(0.98);
}

/* Ensure proper contrast for all text */
.support-anywhere-section {
    background: #000;
    color: #fff;
}

.support-anywhere-section[style*="background-color: #ffffff"] {
    color: #000;
}

.support-anywhere-section[style*="background-color: #ffffff"] .support-anywhere-subheadline {
    color: rgba(0, 0, 0, 0.8);
}

/* AI Agent Section Styles */
.ai-agent-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 32px 0;
    overflow: hidden;
    color: #fff;
}

.ai-agent-section-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 5rem;
    color: #fff;
}

.ai-agent-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.ai-agent-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ai-agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ff4800;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 2rem; /* Increased more significantly */
}

.ai-agent-headline {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: #fff;
}

.ai-agent-feature-list {
    width: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.ai-agent-feature {
    padding: 1.5rem 0 1.5rem 2rem;
    position: relative;
}

.ai-agent-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 1.0);
}

.ai-agent-feature p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

.ai-agent-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-left: 2rem;
}

.ai-agent-right {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.ai-agent-image {
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1100px) {
    .ai-agent-section-headline {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .ai-agent-container {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem;
    }
    
    .ai-agent-left {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .ai-agent-headline {
        font-size: 2.2rem;
    }
    
    .ai-agent-feature-list {
        border-left: none;
        max-width: 600px;
    }
    
    .ai-agent-feature {
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .ai-agent-divider {
        display: none;
    }
}

@media (max-width: 700px) {
    .ai-agent-section {
        padding: 4rem 0;
    }
    
    .ai-agent-section-headline {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .ai-agent-headline {
        font-size: 1.8rem;
    }
    
    .ai-agent-container {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}

/* Agent Tools Section Styles */
.agent-tools-section {
    background-color: #111111;
    padding: 6rem 0;
    color: #fff;
    margin-top: 48px;
}

.agent-tools-card {
    background-color: #1e1e1e;
    border-radius: 1.25rem;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.agent-tools-header {
    padding: 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.agent-tools-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 230, 150, 0.2);
    color: #00e696;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 2rem; /* Increased more significantly */
}

.agent-tools-headline {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.agent-tools-cta {
    display: inline-block;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s, transform 0.2s;
    align-self: flex-end;
    margin-top: -2.5rem;
}

.agent-tools-cta:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.agent-tools-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.agent-tools-active-panel {
    display: flex;
    width: 100%;
    padding: 2.5rem;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.agent-tools-panel-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
    height: 100%;
    max-height: 500px;
}

.agent-tools-panel-right {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

.agent-tools-panel-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1.2;
}

.agent-tools-panel-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.agent-tools-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agent-tools-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
}

.agent-tools-features li i {
    color: #00e696;
    font-size: 1.1rem;
}

.agent-tools-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0.75rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.agent-tools-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Create a class for preloaded images */
.loaded-image .agent-tools-image {
    opacity: 1;
}

/* Navigation Styles */
.agent-tools-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-tools-nav-item {
    position: relative;
    padding: 1.5rem 1.5rem;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.agent-tools-nav-item:last-child {
    border-right: none;
}

.agent-tools-nav-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.agent-tools-nav-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.7;
}

.agent-tools-nav-active {
    background-color: #262626;
}

.agent-tools-nav-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background-color: #00e696;
}

@media (max-width: 992px) {
    .agent-tools-active-panel {
        flex-direction: column;
        height: auto;
        min-height: 600px;
    }
    
    .agent-tools-panel-left {
        width: 100%;
        margin-bottom: 2rem;
        height: auto;
    }
    
    .agent-tools-panel-right {
        width: 100%;
        height: 300px;
    }
    
    .agent-tools-nav {
        grid-template-columns: 1fr;
    }
    
    .agent-tools-nav-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .agent-tools-nav-item:last-child {
        border-bottom: none;
    }
    
    .agent-tools-nav-active::after {
        left: 0;
        right: auto;
        top: 0;
        bottom: 0;
        width: 4px;
        height: auto;
    }
}

@media (max-width: 768px) {
    .agent-tools-header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .agent-tools-headline {
        font-size: 28px;
        margin: 1rem 0;
    }
    
    .agent-tools-panel {
        padding: 1.5rem;
    }
}

/* Typography updates */
h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background-color: var(--background-color);
    font-size: 16px;
}

p {
    color: #374151;
    margin-bottom: 1.25rem;
    font-weight: 400;
    opacity: 1;
    line-height: 1.7;
}

/* Responsive fixes */
@media (max-width: 640px) {
    .integrations-layout {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 1rem;
    }
    
    .integrations-icons-left, 
    .integrations-icons-right {
        flex: 0 0 auto;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-legal-headline {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gradient-text-blue, .text-bold {
        display: inline-block;
    }
}

/* Ensure CTA buttons match */
.hero-legal-btn, .btn-primary, .explore-integrations-btn {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #3B82F6;
    padding: 12px 24px;
    border-radius: 0.6rem;
    min-height: 44px;
}

/* Fix for section headers not wrapping mid-word */
h1, h2, h3, h4, h5, h6 {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* More explicit connection between features and benefits */
.feature-benefit-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.feature-benefit-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.feature-benefit-item i {
    color: #3B82F6;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.feature-benefit-item div {
    display: flex;
    flex-direction: column;
}

.feature-benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 0.25rem;
}

.feature-benefit-item p {
    font-size: 1rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* Support anywhere section with improved contrast */
.support-anywhere-section {
    background: #000;
    color: #fff;
}

.support-anywhere-section[style*="background-color: #ffffff"] {
    color: #000;
}

.support-anywhere-section[style*="background-color: #ffffff"] .support-anywhere-subheadline {
    color: rgba(0, 0, 0, 0.8);
}

/* Testimonial section improvements */
.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: #374151;
    line-height: 1.7;
}

.author-info p {
    color: #4b5563;
    font-size: 0.9375rem;
}

/* Mobile-friendly updates */
@media (max-width: 992px) {
    .integrations-section {
        padding: 3rem 1rem;
    }
    
    .integrations-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .feature-detail p,
    .vertical-tab-content p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .integrations-layout {
        flex-direction: column;
    }
    
    .integrations-center {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .integrations-icons-left,
    .integrations-icons-right {
        height: 6rem;
        margin-bottom: 1rem;
    }
    
    .integration-icon {
        width: 50px;
        height: 50px;
    }
}

/* Feature Detail Content - For product sections like "Fin" and "Thorium" */
.feature-detail h2,
.vertical-tab-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-detail p,
.vertical-tab-content p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 85%;
}

/* Product Highlight Sections */
.product-highlight {
    padding: 2rem;
    background: #fff;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--primary-color);
}

.product-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 70%);
    z-index: 0;
}

.product-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.product-description {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    max-width: 90%;
}

.product-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(37, 99, 235, 0.04);
    border-radius: 0.5rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.product-benefit:hover {
    transform: translateY(-2px);
    background: rgba(37, 99, 235, 0.08);
}

.product-benefit i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.product-benefit-content {
    display: flex;
    flex-direction: column;
}

.product-benefit-title {
    font-weight: 600;
    color: #111;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.product-benefit-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* "All Knowledge United" section */
.knowledge-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(to right, #f9fafb, #f3f4f6);
    border-radius: var(--border-radius-lg);
    margin: 3rem 0;
}

.knowledge-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.knowledge-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1.5rem;
    text-align: center;
}

.knowledge-description {
    font-size: 1.25rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.knowledge-card {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--box-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

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

.knowledge-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 1rem;
}

.knowledge-card p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.knowledge-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.knowledge-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #374151;
    font-size: 1.0625rem;
}

.knowledge-card li i {
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

@media (max-width: 992px) {
    .product-highlight {
        padding: 1.5rem;
    }
    
    .product-description,
    .knowledge-description {
        max-width: 100%;
    }
    
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-name {
        font-size: 1.5rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
    
    .knowledge-heading {
        font-size: 2rem;
    }
    
    .knowledge-description {
        font-size: 1.125rem;
    }
}

/* Responsive header styles */
@media (max-width: 768px) {
    .header.scroll-active {
        width: 96%;
        margin: 8px auto;
    }
    
    .sticky-nav-links {
        display: none;
    }
    
    .nav {
        justify-content: center;
    }
    
    .sticky-nav-logo {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .header.scroll-active {
        width: 98%;
        margin: 5px auto;
        border-radius: calc(var(--border-radius-md) / 1.5);
    }
}
