/* ============================================
   PEARL IMS - MODERN SAAS LANDING PAGE
   Refined, Centered, Elegant Design
   ============================================ */

/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    /* Primary Brand Colors */
    --primary-gradient-start: #0066cc;
    --primary-gradient-end: #00aaff;
    --primary-color: #0077dd;
    --primary-dark: #0055aa;
    --primary-light: #4da6ff;
    
    /* Accent Colors */
    --accent-teal: #00c9a7;
    --accent-purple: #6366f1;
    --accent-coral: #ff6b6b;
    
    /* Neutral Colors */
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: rgba(255, 255, 255, 0.95);
    
    /* Backgrounds */
    --bg-primary: #f0f7ff;
    --bg-secondary: #f7f9fc;
    --bg-card: #ffffff;
    --bg-dark: #e6f2ff;
    
    /* Borders & Shadows */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 119, 221, 0.15);
    
    /* Layout */
    --container-max: 1200px;
    --section-padding: 80px;
    --section-padding-mobile: 50px;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    font-size: 16px; /* Standard base font size */
}

body {
    overflow-x: hidden !important;
    max-width: 100vw;
    position: relative;
    font-size: 1rem;
}

.modern-saas-page {
    font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--bg-primary);
    overflow-x: hidden !important;
    font-size: 1rem;
}

/* ============================================
   CONTAINER - CENTERED THEME
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max) !important;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* All sections use centered container */
section, .section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
}

/* ============================================
   MODERN BACKGROUNDS
   ============================================ */
/* Light gradient background with mesh */
.hero-section,
.how-it-works-section,
.pricing-section,
.faq-section,
.final-cta-section,
.contact-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 50%, #d6ebff 100%);
    position: relative;
}

.hero-section::before,
.how-it-works-section::before,
.pricing-section::before,
.faq-section::before,
.final-cta-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(0, 119, 221, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 201, 167, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 90%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Light sections with subtle pattern */
.features-section,
.use-cases-section,
.benefits-section,
.integrations-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
}

.testimonials-section {
    position: relative;
}

.features-section::before,
.use-cases-section::before,
.benefits-section::before,
.integrations-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 119, 221, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 201, 167, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle grid pattern overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   NAVIGATION - CENTERED
   ============================================ */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 119, 221, 0.1);
    transition: var(--transition-base);
}

.sticky-nav.affix {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 119, 221, 0.1);
}

.sticky-nav .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    max-width: var(--container-max);
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
}

.nav-brand a,
.navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-direction: row !important;
    text-decoration: none;
}

.nav-brand img,
.navbar-brand img {
    height: 40px;
    width: auto;
    order: 1;
    flex-shrink: 0;
    display: block !important; /* Ensure logo is always visible */
}

/* Override style.css rule that hides logo on scroll */
.sticky-nav.affix .navbar-brand .logo-light,
.sticky-nav .navbar-brand .logo-light,
.sticky-nav.scrolled .navbar-brand .logo-light {
    display: block !important;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
    order: 2;
    white-space: nowrap;
    display: inline-block;
}

.brand-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu li {
    white-space: nowrap;
}

.nav-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    transition: var(--transition-base);
    border-radius: 2px;
}

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

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 1rem;
}

.btn-nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-base);
    border: none;
    box-shadow: 0 4px 15px rgba(92, 179, 255, 0.3);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(92, 179, 255, 0.4);
    color: #fff;
}

.btn-nav-secondary {
    color: var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

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

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-background,
.hero-gradient {
    display: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-icon-wrapper {
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.hero-icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 8px 30px rgba(92, 179, 255, 0.4));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-tagline {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-headline {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 28px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subheadline {
    font-size: 1.35rem;
    line-height: 1.85;
    margin-bottom: 36px;
    color: var(--text-secondary);
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Hide the floating demo button in hero */
.hero-section .hero-demo-btn.video-play {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    background: transparent !important;
    color: rgb(0 0 0 / 90%) !important;
    border: 2px solid rgb(0 0 0 / 90%) !important;
    box-shadow: none !important;
    padding: 16px 32px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 1rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.hero-section .hero-demo-btn.video-play:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    color: var(--text-secondary);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent-teal);
    font-size: 1.15rem;
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-mockup-wrapper {
    position: relative;
}

/* Hero Laptop Mockup Frame */
.hero-laptop-frame {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 16px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 16px 16px 0 0;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 2;
}

.laptop-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 16px 16px 0 0;
    z-index: 1;
}

.laptop-top-bar::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: #333;
    border-radius: 3px;
}

.hero-laptop-frame .laptop-screen {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.1);
    margin-top: 28px;
}

.hero-laptop-frame .laptop-screen img {
    width: 100%;
    height: auto;
    display: block;
}

.laptop-base {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 12px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Hero Phone Mockup Frame */
.hero-phone-frame {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 200px;
    z-index: 3;
    padding: 10px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-radius: 36px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    background: #000;
    border-radius: 4px;
    z-index: 2;
}

.hero-phone-frame .phone-screen {
    position: relative;
    background: #000;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.hero-phone-frame .phone-screen img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   BUTTONS - MODERN STYLE
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 38px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 119, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 119, 221, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-large {
    padding: 22px 48px;
    font-size: 1.25rem;
}

.btn-light {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ============================================
   SOCIAL PROOF / METRICS SECTION
   ============================================ */
.social-proof-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
    border-top: 1px solid rgba(0, 119, 221, 0.1);
    border-bottom: 1px solid rgba(0, 119, 221, 0.1);
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.metric-item {
    text-align: center;
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 119, 221, 0.1);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.metric-item:hover {
    background: #f8fafc;
    transform: translateY(-4px);
    border-color: rgba(0, 119, 221, 0.3);
    box-shadow: var(--shadow-md);
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.metric-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-badges-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 14px 24px;
    border-radius: 100px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid rgba(0, 119, 221, 0.15);
    box-shadow: var(--shadow-sm);
}

.trust-badge-item i {
    color: var(--accent-teal);
    font-size: 1.25rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

/* Light sections - dark text */
.how-it-works-section .section-title,
.pricing-section .section-title,
.faq-section .section-title,
.final-cta-section .section-title,
.contact-section .section-title,
.gradiant-background .section-title,
.heading-light {
    color: var(--text-primary) !important;
}

/* Light sections - dark text */
.features-section .section-title,
.use-cases-section .section-title,
.testimonials-section .section-title,
.benefits-section .section-title,
.integrations-section .section-title,
.white-bg .section-title {
    color: var(--text-primary) !important;
}

.section-subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Light sections - dark subtitle */
.how-it-works-section .section-subtitle,
.pricing-section .section-subtitle,
.faq-section .section-subtitle,
.final-cta-section .section-subtitle,
.contact-section .section-subtitle,
.gradiant-background .section-subtitle {
    color: var(--text-secondary) !important;
}

/* Light sections - dark subtitle */
.features-section .section-subtitle,
.use-cases-section .section-subtitle,
.testimonials-section .section-subtitle,
.benefits-section .section-subtitle,
.integrations-section .section-subtitle,
.white-bg .section-subtitle {
    color: var(--text-secondary) !important;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: var(--section-padding) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.feature-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: visible;
}

.feature-card-with-preview {
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-teal));
    transform: scaleX(0);
    transition: var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 18px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary) !important;
}

.feature-description {
    color: var(--text-secondary) !important;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Feature Preview Images - Creative Floating Effect */
.feature-card-with-preview {
    position: relative;
    overflow: visible;
}

.feature-preview {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 280px;
    height: auto;
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    pointer-events: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 4px solid #fff;
}

.feature-card-with-preview:hover .feature-preview {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.feature-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.section-cta {
    margin-top: 48px;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: var(--section-padding) 0;
}

.how-it-works-section .gradiant-background {
    display: none;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.workflow-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 119, 221, 0.1);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.workflow-step:hover {
    background: #f8fafc;
    border-color: rgba(0, 119, 221, 0.3);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.15rem;
}

/* ============================================
   DEMO VIDEO SECTION
   ============================================ */
.demo-video-section {
    padding: var(--section-padding) 0;
}

.video-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* ============================================
   USE CASES SECTION
   ============================================ */
.use-cases-section {
    padding: var(--section-padding) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.use-case-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid var(--border-light);
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 119, 221, 0.2);
}

.use-case-icon {
    font-size: 2.75rem;
    margin-bottom: 18px;
}

.use-case-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.use-case-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section.white-bg {
    background: #f8fafc !important;
    /*background: transparent !important;*/
}

.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.testimonial-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

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

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

.testimonial-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--border-light);
}

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

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -8px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.15rem;
}

.author-role {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
    padding: var(--section-padding) 0;
}

.pricing-background,
.gradiant-overlay {
    display: none;
}

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

.pricing-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    border: 1px solid rgba(0, 119, 221, 0.15);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    background: #f8fafc;
    transform: translateY(-8px);
    border-color: rgba(0, 119, 221, 0.3);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(0, 119, 221, 0.1), rgba(0, 201, 167, 0.1));
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.plan-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: rgba(0, 119, 221, 0.1);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-badge.popular {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    color: #fff;
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.plan-price {
    margin-bottom: 24px;
}

.price-amount {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 119, 221, 0.08);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--accent-teal);
    font-size: 1.15rem;
}

.pricing-note {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.pricing-note i {
    margin-right: 8px;
    color: var(--accent-teal);
}

.contact-info-box {
    margin: 24px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.contact-info-box p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.phone-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
}

.phone-list li {
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.phone-list li i {
    color: var(--accent-teal);
    font-size: 1.1rem;
}

.feature-card-with-mobile {
    position: relative;
}

.feature-card-with-mobile .mobile-preview-group {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.feature-card-with-mobile:hover .mobile-preview-group {
    opacity: 1;
    transform: translateY(0);
}

.mobile-preview-item {
    flex: 1;
    max-width: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.feature-card-with-mobile:hover .mobile-preview-item {
    transform: scale(1);
}

.mobile-preview-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   BENEFITS SECTION
   ============================================ */
.benefits-section {
    padding: var(--section-padding) 0 !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%) !important;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefits-section .benefit-card {
    background: #fff !important;
    padding: 28px 20px !important;
    border-radius: 16px !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition-base) !important;
    text-align: center !important;
    border: 1px solid var(--border-light) !important;
    position: relative;
    overflow: visible !important;
}

.benefit-card-with-preview,
.benefit-card-with-mobile {
    overflow: visible !important;
}

.benefits-section .benefit-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--shadow-lg) !important;
}

.benefit-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 119, 221, 0.1), rgba(0, 201, 167, 0.1));
    border-radius: 16px;
}

.benefits-section .benefit-icon i {
    font-size: 1.9rem !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.benefits-section .benefit-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: var(--text-primary) !important;
}

.benefits-section .benefit-description {
    color: var(--text-secondary) !important;
    line-height: 1.7 !important;
    font-size: 0.95rem !important;
}

/* Benefit Preview Images - Creative Floating Effect */
.benefit-card-with-preview {
    position: relative;
    overflow: visible;
}

.benefit-preview {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 320px;
    height: auto;
    opacity: 0;
    transform: scale(0.8) rotate(5deg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    pointer-events: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    border: 5px solid #fff;
}

.benefit-card-with-preview:hover .benefit-preview {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.benefit-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile Preview Group - Side by Side Phones */
.benefit-card-with-mobile {
    position: relative;
    overflow: visible;
}

.mobile-preview-group {
    position: absolute;
    top: -40px;
    right: -40px;
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: scale(0.7) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    pointer-events: none;
}

.benefit-card-with-mobile:hover .mobile-preview-group {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mobile-preview-item {
    width: 140px;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 3px solid #fff;
    transform: rotate(-8deg);
    transition: transform 0.3s ease;
}

.mobile-preview-item:last-child {
    transform: rotate(8deg);
    margin-top: 20px;
}

.benefit-card-with-mobile:hover .mobile-preview-item:first-child {
    transform: rotate(-5deg);
}

.benefit-card-with-mobile:hover .mobile-preview-item:last-child {
    transform: rotate(5deg);
}

.mobile-preview-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--section-padding) 0 !important;
}

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

.faq-section .faq-item {
    background: #fff !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(0, 119, 221, 0.15) !important;
    overflow: hidden;
    transition: var(--transition-base) !important;
    box-shadow: var(--shadow-sm) !important;
}

.faq-item:hover {
    background: #f8fafc !important;
    border-color: rgba(0, 119, 221, 0.3) !important;
    box-shadow: var(--shadow-md) !important;
}

.faq-item.active {
    background: #f0f7ff !important;
    border-color: rgba(0, 119, 221, 0.4) !important;
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-section .faq-question h3 {
    margin: 0 !important;
    font-size: 1.25rem !important;
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    flex: 1;
    padding-right: 16px;
}

.faq-question i {
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-teal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.85;
    margin: 0;
    font-size: 1.1rem;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */
.integrations-section {
    padding: var(--section-padding) 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.integration-item {
    background: #fff;
    padding: 28px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    text-align: center;
    border: 1px solid var(--border-light);
}

.integration-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.integration-icon {
    margin-bottom: 14px;
}

.integration-icon i {
    font-size: 1.9rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.integration-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.integration-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    padding: var(--section-padding) 0;
    position: relative !important;
    margin-bottom: 0;
}

.final-cta-section::before,
.final-cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-headline {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.cta-subheadline {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 44px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Remove floating demo button style */
.final-cta-section .cta-demo-btn {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    background: transparent !important;
    color: rgb(0 0 0 / 90%) !important;
    border: 2px solid rgb(0 0 0 / 90%) !important;
    box-shadow: none !important;
    padding: 16px 32px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    font-size: 1rem !important;
    display: inline-flex !important;
}

.final-cta-section .cta-demo-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.cta-trust {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.cta-trust i {
    color: var(--accent-teal);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-padding) 0;
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
}

.contact-info {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--text-primary);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 12px;
    background: var(--bg-secondary);
    transition: var(--transition-base);
}

.contact-item:hover {
    background: #f0f4f8;
}

.contact-item em {
    font-size: 1.75rem;
    color: var(--primary-color);
    width: 36px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1rem;
}

.contact-item p + p {
    margin-top: 8px;
}

.contact-form-wrapper {
    padding: 40px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: var(--transition-base);
    background: #fff;
}

.form-control::placeholder {
    font-size: 1.05rem;
    color: #9ca3af;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 119, 221, 0.1);
}

.txtarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-section {
    padding: 60px 0 32px;
    background: #e6f2ff;
    color: var(--text-primary);
    border-top: 1px solid rgba(0, 119, 221, 0.15);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.footer-section .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand img {
    height: 40px;
    width: auto;
}

.footer-brand span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-contact-info {
    color: var(--text-primary);
    line-height: 1.7;
}

.footer-contact-info p {
    margin-bottom: 8px;
}

.footer-contact-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 2px solid rgb(0 0 0 / 90%);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 1rem;
}

.social-list {
    display: flex;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.social-list a:hover {
    color: var(--primary-color);
}

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-headline {
        font-size: 3.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.25rem;
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .use-cases-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .nav-menu-wrapper {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 32px 24px;
        transform: translateX(-100%);
        transition: var(--transition-base);
        overflow-y: auto;
        box-shadow: 0 4px 30px rgba(0, 119, 221, 0.1);
    }
    
    .nav-menu-wrapper.active {
        transform: translateX(0);
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .nav-menu li a {
        display: block;
        padding: 16px;
        font-size: 1rem;
    }
    
    .nav-cta {
        flex-direction: column;
        width: 100%;
        margin-top: 24px;
        margin-left: 0;
    }
    
    .btn-nav-secondary {
        width: 100%;
        text-align: center;
    }
    
    .nav-brand {
        gap: 8px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-tagline {
        font-size: 1.15rem;
    }
    
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-subheadline {
        font-size: 1.2rem;
        margin: 0 auto 32px;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Adjust preview images for tablet */
    .feature-preview {
        width: 220px;
        top: -15px;
        right: -15px;
    }
    
    .benefit-preview {
        width: 260px;
        top: -20px;
        right: -20px;
    }
    
    .mobile-preview-group {
        top: -30px;
        right: -30px;
    }
    
    .mobile-preview-item {
        width: 110px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .testimonials-section {
        background-attachment: scroll;
    }
    
    .video-container {
        padding: 0 16px;
    }
    
    .video-wrapper {
        border-radius: 16px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-phone-frame {
        width: 160px;
        right: -15px;
        bottom: -30px;
    }
    
    .hero-laptop-frame {
        padding: 12px 12px 0;
    }
    
    .laptop-top-bar {
        height: 24px;
    }
    
    .laptop-base {
        height: 10px;
        bottom: -10px;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .video-container {
        padding: 0 12px;
    }
    
    .video-wrapper {
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .use-cases-grid,
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 32px;
    }
    
    /* Reduce card sizes on mobile */
    .feature-card,
    .benefits-section .benefit-card,
    .use-case-card,
    .integration-item {
        padding: 24px 16px !important;
    }
    
    .feature-title,
    .benefits-section .benefit-title,
    .use-case-title,
    .integration-name {
        font-size: 1.1rem !important;
    }
    
    .feature-description,
    .benefits-section .benefit-description,
    .use-case-description,
    .integration-description {
        font-size: 0.9rem !important;
    }
    
    .feature-icon img {
        width: 50px;
        height: 50px;
    }
    
    .benefit-icon {
        width: 55px;
        height: 55px;
    }
    
    .benefits-section .benefit-icon i {
        font-size: 1.6rem !important;
    }
    
    .use-case-icon {
        font-size: 2.25rem;
    }
    
    /* Adjust preview images for mobile */
    .feature-preview {
        width: 180px;
        top: -10px;
        right: -10px;
    }
    
    .benefit-preview {
        width: 200px;
        top: -15px;
        right: -15px;
    }
    
    .mobile-preview-group {
        top: -20px;
        right: -20px;
        gap: 8px;
    }
    
    .mobile-preview-item {
        width: 90px;
    }
    
    .mobile-preview-item:last-child {
        margin-top: 15px;
    }
    
    .cta-headline {
        font-size: 2.25rem;
    }
    
    .cta-subheadline {
        font-size: 1.15rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.05rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-phone-frame {
        width: 130px;
        right: -10px;
        bottom: -25px;
        padding: 8px;
    }
    
    .phone-notch {
        width: 60px;
        height: 6px;
        top: 16px;
    }
    
    .hero-laptop-frame {
        padding: 10px 10px 0;
    }
    
    .laptop-top-bar {
        height: 20px;
    }
    
    .laptop-top-bar::after {
        width: 60px;
        height: 4px;
        top: 6px;
    }
    
    .laptop-base {
        height: 8px;
        bottom: -8px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-number {
        font-size: 2.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.05rem;
    }
    
    .feature-card,
    .use-case-card,
    .testimonial-card,
    .benefit-card {
        padding: 32px 24px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 28px 20px;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 1.05rem;
    }
    
    .btn-large {
        padding: 18px 36px;
        font-size: 1.1rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.white-bg {
    background: #fff;
}

/* Hide old gradient backgrounds */
.gradiant-background:not(.social-proof-section):not(.how-it-works-section):not(.pricing-section):not(.faq-section):not(.final-cta-section):not(.contact-section) {
    background: transparent !important;
}

/* Ensure proper z-index for content */
.features-grid,
.benefits-grid,
.use-cases-grid,
.testimonials-grid,
.pricing-grid,
.integrations-grid,
.workflow-steps,
.contact-grid,
.faq-container,
.cta-content,
.section-header {
    position: relative;
    z-index: 1;
}

/* ============================================
   OVERFLOW PROTECTION - PREVENT HORIZONTAL SCROLL
   ============================================ */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
}

/* Prevent any element from causing horizontal overflow */
*,
*::before,
*::after {
    max-width: 100vw;
}

/* All major containers */
.container,
.hero-content,
.hero-visual,
.hero-mockup-wrapper,
.metrics-grid,
.features-grid,
.workflow-steps,
.use-cases-grid,
.testimonials-grid,
.pricing-grid,
.benefits-grid,
.integrations-grid,
.faq-container,
.contact-grid,
.cta-content,
.footer-grid {
    max-width: 100%;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Reset margin on body */
body {
    margin: 0;
    padding: 0;
}

/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#status {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 119, 221, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 119, 221, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 119, 221, 0.4);
}

/* Modal styles - ensure proper display */
.modal {
    overflow-x: hidden;
    z-index: 1050;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal-dialog {
    max-width: 600px;
    margin: 30px auto;
    z-index: 1050;
    position: relative;
}

.modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: transparent;
}

/* Login/Signup modal styling */
#login-modal .contact-section,
#signup-modal .contact-section {
    background: transparent !important;
    padding: 0 !important;
}

#login-modal .contact-section::before,
#signup-modal .contact-section::before {
    display: none !important;
}

#login-modal .white-bg,
#signup-modal .white-bg {
    background: #fff !important;
    border-radius: 16px;
    padding: 0;
}

#login-modal .contact-form,
#signup-modal .contact-form {
    padding: 40px;
    border-radius: 16px;
}

#login-modal .modal-header,
#signup-modal .modal-header {
    padding: 20px 20px 0;
    border-bottom: none;
}

#login-modal .modal-header .close,
#signup-modal .modal-header .close {
    font-size: 28px;
    opacity: 0.5;
    color: #000;
}

#login-modal .modal-header .close:hover,
#signup-modal .modal-header .close:hover {
    opacity: 1;
}

#login-modal h3,
#signup-modal h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

#login-modal .heading,
#signup-modal .heading {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
}

#login-modal .heading span,
#signup-modal .heading span {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
}

#login-modal .heading span:hover,
#signup-modal .heading span:hover {
    text-decoration: underline;
}

/* Form input focused state */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 119, 221, 0.1);
}

/* Menu open state - prevent body scroll */
body.menu-open {
    overflow: hidden;
}

/* Mobile menu hamburger animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   LOGO CAROUSEL SECTIONS
   ============================================ */
.logos-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.logos-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}

.logos-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.logos-carousel {
    display: flex;
    animation: slideLogos 25s linear infinite;
    gap: 40px;
    will-change: transform;
    width: fit-content;
}

.logos-carousel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    max-height: 100%;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes slideLogos {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 20px));
    }
}

/* Duplicate logos for seamless loop */
.logos-carousel-wrapper::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Partner logos section */
.partners-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.partners-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-primary);
}
