/* Modern SaaS AI Design - BeeHR */
:root {
    /* Primary Colors */
    --primary-600: #6366f1;
    --primary-700: #5b21b6;
    --primary-800: #4c1d95;
    --primary-900: #3730a3;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 50px rgb(99 102 241 / 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.03;
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(2deg); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 6s;
}

.floating-element:nth-child(4) {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 9s;
}

.floating-element:nth-child(5) {
    width: 140px;
    height: 140px;
    top: 70%;
    left: 60%;
    animation-delay: 12s;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
}

.nav-logo .logo {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

.logo-badge {
    position: absolute;
    top: -8px;
    right: -12px;
}

.ai-badge {
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: transparent;
    background: rgba(99, 102, 241, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-full);
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.language-btn:hover {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
    color: var(--gray-900);
}

.language-flag {
    font-size: 1rem;
    line-height: 1;
}

.language-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.language-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.language-switcher.active .language-arrow {
    transform: rotate(180deg);
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.language-option:hover {
    background: var(--gray-50);
}

.language-option.active {
    background: var(--primary-50);
    color: var(--primary-700);
    font-weight: 600;
}

.language-option.active::after {
    content: '✓';
    margin-left: auto;
    color: var(--primary-600);
    font-weight: bold;
}

.language-name {
    flex: 1;
}

/* Show burger menu at 1200px width or smaller */
@media (max-width: 1200px) {
    .nav-toggle { 
        display: flex !important; 
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--space-xl);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
        border-top: 1px solid var(--gray-200);
        z-index: 1200;
        opacity: 0;
        transform: translateY(-10px);
        visibility: hidden;
    }
    
    .nav-menu.active { 
        left: 0; 
        opacity: 1; 
        transform: translateY(0); 
        visibility: visible; 
    }
    
    .nav-links { 
        flex-direction: column; 
        gap: var(--space-md); 
        margin-bottom: var(--space-lg); 
    }
    
    .nav-actions { 
        flex-direction: column; 
        width: 100%; 
        max-width: 320px; 
    }
    
    .nav-btn { 
        width: 100%; 
        justify-content: center; 
    }
    
    .language-switcher {
        width: 100%;
        margin-bottom: var(--space-sm);
    }
    
    .language-btn {
        width: 100%;
        justify-content: center;
    }
    
    .language-dropdown {
        right: 0;
        left: 0;
        min-width: 100%;
    }
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.login-btn {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.login-btn:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
    transform: translateY(-2px);
}

.signin-btn {
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    color: var(--white);
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(254, 190, 16, 0.25);
}

.signin-btn:hover {
    background: linear-gradient(135deg, #FE7635 0%, #FE9A22 50%, #FEBE10 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(254, 190, 16, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1300;
}

.hamburger-line {
    width: 26px;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: transform .3s ease, opacity .3s ease, background .3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.1s ease;
    border-radius: var(--radius-full);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--white);
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 2;
}

.hero-announcement {
    text-align: center;
    margin-bottom: var(--space-lg);
    animation: slideUp 1s ease-out;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--gradient-primary);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.announcement-badge:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
}

.badge-icon {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    min-height: 70vh;
}

.hero-text {
    color: var(--white);
    animation: slideUp 1s ease-out 0.2s both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
}

/* Simple badge variant */
.badge-simple {
    gap: 0;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #00f2fe;
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px #00f2fe;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.03em;
}

.title-main {
    display: block;
    color: var(--gray-800);
    opacity: 0.95;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    margin: var(--space-sm) 0;
    position: relative;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
    max-width: 600px;
    color: var(--gray-600);
}

.description-highlight {
    color: #FFD700;
    font-weight: 600;
}

.hero-description strong {
    color: #00f2fe;
    font-weight: 700;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
}

.metric-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 2px;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.85;
    font-weight: 500;
    color: var(--white);
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-xl);
}

/* Simple stat chips */
.stat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 var(--space-2xl);
}

.chip {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    color: var(--gray-800);
}

.chip-number {
    font-weight: 800;
}

.chip-label {
    opacity: 0.85;
}

/* Simple hero actions variant */
.hero-actions.simple .btn-hero.simple {
    padding: 14px 24px;
    border-radius: 12px;
    min-height: auto;
}

.btn-secondary.btn-hero.simple {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
}

/* Request Demo Button */
.btn-request-demo {
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    border: none;
    color: var(--white);
    position: relative;
    overflow: visible;
    min-width: 160px;
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(254, 190, 16, 0.25);
    transition: all 0.2s ease;
    cursor: pointer;
}





.btn-request-demo:hover {
    background: linear-gradient(135deg, #FE7635 0%, #FE9A22 50%, #FEBE10 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 15px -3px rgba(254, 190, 16, 0.4);
}

@keyframes orangeBorderPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

@keyframes gradientBorder {
    0% {
        background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    }
    25% {
        background: linear-gradient(225deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    }
    50% {
        background: linear-gradient(315deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    }
    75% {
        background: linear-gradient(45deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    }
    100% {
        background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    }
}

.btn-request-demo:hover {
    border-color: transparent;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.15),
        0 2px 6px -2px rgba(0, 0, 0, 0.1);
}

.btn-request-content {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 10px 16px;
    position: relative;
    z-index: 2;
}

.btn-request-icon {
    width: 28px;
    height: 28px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--gray-900);
    flex-shrink: 0;
}

.btn-request-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-request-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0;
}

.btn-request-subtitle {
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.9;
}

.btn-request-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(254, 190, 16, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    animation: rotate-glow 6s linear infinite;
}



@keyframes rotate-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-request-demo:active {
    transform: translateY(-1px) scale(1.01);
}

/* Responsive adjustments for request demo button */
@media (max-width: 640px) {
    .btn-request-demo {
        min-width: 140px;
    }
    
    .btn-request-content {
        padding: 8px 14px;
        gap: 6px;
    }
    
    .btn-request-icon {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .btn-request-title {
        font-size: 0.8125rem;
    }
    
    .btn-request-subtitle {
        font-size: 0.6875rem;
    }
}

.btn-hero {
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-2xl);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 70px;
}

.btn-hero .btn-text {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
}

.btn-hero .btn-subtext {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.btn-secondary.btn-hero {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-play-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    color: var(--primary-600);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-200);
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2),
        0 0 0 1px rgba(254, 118, 53, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.hero-trust {
    margin-top: var(--space-xl);
}

.trust-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: var(--space-md);
    text-align: center;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.trust-logo {
    padding: var(--space-xs) var(--space-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideUp 1s ease-out 0.4s both;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: 1;
}

.bg-orb {
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.orb-3 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.mockup-frame {
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.mockup-image {
    width: 100%;
    height: auto;
    display: block;
    animation: float 6s ease-in-out infinite;
}

.mockup-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 70%);
    animation: pulse-glow 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 0.8;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Redesigned floating feature chips */
.floating-features {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.ff-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(56, 43, 12, 0.7) 0%, rgba(56, 43, 12, 0.8) 50%, rgba(56, 43, 12, 0.6) 100%);
    border: 1px solid rgba(56, 43, 12, 0.4);
    backdrop-filter: blur(10px);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(56, 43, 12, 0.3);
    animation: gentle-float 6s ease-in-out infinite;
}

.ff-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--white);
}

.ff-content { line-height: 1.1; }
.ff-title { font-size: 0.875rem; font-weight: 600; opacity: 0.95; }
.ff-stat  { font-size: 1.1rem; font-weight: 800; }

/* Themed variants */
.ff-analytics .ff-icon    { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.ff-engagement .ff-icon   { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.ff-productivity .ff-icon { background: linear-gradient(135deg, #34d399, #10b981); }

/* Positions around mockup */
.ff-analytics    { top: 12%; left: -8%; }
.ff-engagement   { top: 55%; right: -8%; animation-delay: .8s; }
.ff-productivity { bottom: 12%; left: -6%; animation-delay: 1.2s; }

.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--gray-600);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gray-500);
    border-radius: var(--radius-full);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 20% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

.scroll-text {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* Partners Section */
.partners {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-600), transparent);
}

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

.partners-header {
    margin-bottom: var(--space-2xl);
}

.partners-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.partners-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.partner-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 160px;
    width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    border-color: #FE7635;
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2),
        0 0 0 1px rgba(254, 118, 53, 0.1);
    transform: translateY(-2px);
}

.partner-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.partners-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.partner-stat {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
}

.partner-stat::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    border-radius: var(--radius-xl);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
    pointer-events: none;
    /* ring only */
    padding: 2px;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

.partner-stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-radius: calc(var(--radius-xl) - 2px);
    z-index: -1;
}

.partner-stat:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
}

.partner-stat:hover {
    box-shadow: 
        0 8px 20px -6px rgba(254, 190, 16, 0.3),
        0 4px 12px -4px rgba(254, 190, 16, 0.2);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--gray-900);
    display: block;
    margin-bottom: var(--space-xs);
}

.stat-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modules Section */
.modules {
    padding: var(--space-3xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

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

.modules-header {
    margin-bottom: var(--space-2xl);
}

.modules-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gray-800);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.modules-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slideshow Styles */
.slideshow-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.slideshow-wrapper {
    position: relative;
    background: var(--gray-50);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-3xl);
    padding: var(--space-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slides-track {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-2xl);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100px);
}

.slide-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: var(--radius-full);
    color: var(--primary-600);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.slide-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.slide-nav.prev {
    left: 20px;
}

.slide-nav.next {
    right: 20px;
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.indicator:hover:not(.active) {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Slide Info */
.slide-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-md);
    padding: 0 var(--space-md);
}

.slide-counter {
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
    opacity: 0.8;
}

.separator {
    margin: 0 4px;
    opacity: 0.6;
}

.slide-controls {
    display: flex;
    gap: var(--space-xs);
}

.control-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* Auto-play animation */
.indicator.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    border: 2px solid var(--white);
    border-top-color: transparent;
    animation: slideProgress 4s linear infinite;
}

@keyframes slideProgress {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* App Screenshots Carousel Section */
.app-carousel-section {
    padding: var(--space-4xl) var(--space-2xl);
    background: var(--white);
    position: relative;
    overflow: visible;
}

.carousel-header {
    text-align: center;
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.carousel-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--gray-800);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.carousel-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Endless Carousel */
.endless-carousel {
    width: 100%;
    height: 70vh;
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-3xl);
    margin: var(--space-3xl) 0;
    background: var(--gray-50);
    border-radius: var(--radius-3xl);
    border: 2px solid var(--gray-200);
}

.carousel-track {
    display: flex;
    width: max-content;
    height: 100%;
    animation: scrollRight 30s linear infinite;
    will-change: transform;
}

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

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-item {
    flex: 0 0 auto;
    width: 320px;
    height: 85%;
    position: relative;
    margin: auto var(--space-xl) auto 0;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    align-self: center;
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.carousel-item:hover .carousel-image {
    transform: scale(1.05);
}

/* Item Overlay */
.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.7) 80%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel-item:hover .item-overlay {
    opacity: 1;
}

.item-info {
    margin-bottom: var(--space-md);
}

.item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.item-category {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.expand-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
}

.expand-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fullscreen-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    z-index: 10;
}

.modal-close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.modal-image-container {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.fullscreen-modal.active .modal-image-container {
    transform: scale(1);
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.modal-info {
    margin-top: var(--space-lg);
    text-align: center;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* Floating Support Chat */
.chat-launcher {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    box-shadow: 0 10px 25px rgba(254, 190, 16, 0.4), 0 4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 2000;
    overflow: visible;
}

.chat-launcher-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254,190,16,0.35) 0%, transparent 60%);
    animation: launcherPulse 2.2s ease-in-out infinite;
}

@keyframes launcherPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.15); opacity: 0.6; }
}

.chat-launcher-icon {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

.chat-launcher-badge {
    position: absolute;
    left: 80px;
    bottom: 50%;
    transform: translateY(50%) scale(0.95);
    background: rgba(15, 23, 42, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.chat-launcher:hover .chat-launcher-badge {
    opacity: 1;
    visibility: visible;
    transform: translateY(50%) scale(1);
}

.chat-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 520px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.06);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 2100;
}

.chat-widget.active { display: flex; }

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid var(--gray-200);
}

.chat-agent { display: flex; align-items: center; gap: 12px; }
.agent-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.agent-name { font-weight: 700; color: var(--gray-900); }
.agent-status { font-size: 0.75rem; color: var(--gray-600); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #10b981; margin-right: 6px; }

.chat-close { background: transparent; border: none; color: var(--gray-700); cursor: pointer; font-size: 1.1rem; }

.chat-body {
    flex: 1;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow-y: auto;
}

.chat-message { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 14px; }
.chat-message.agent { align-items: flex-start; }
.msg-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.msg-bubble {
    max-width: 75%;
    background: #eef2ff;
    border: 1px solid #e5e7eb;
    color: var(--gray-800);
    padding: 10px 12px;
    border-radius: 14px 14px 14px 6px;
    box-shadow: var(--shadow-sm);
}
.chat-message.user .msg-bubble {
    background: #111827;
    color: white;
    border-color: #111827;
    border-radius: 14px 14px 6px 14px;
}
.msg-text { line-height: 1.5; }
.msg-time { font-size: 0.7rem; color: var(--gray-500); margin-top: 6px; }

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--gray-200);
    background: white;
}
.chat-text { flex: 1; border: 1px solid var(--gray-300); border-radius: 12px; padding: 12px 14px; font-size: 0.95rem; }
.chat-text:focus { outline: none; border-color: var(--primary-400); box-shadow: 0 0 0 3px rgba(99,102,241,0.2); }
.chat-send { width: 44px; height: 44px; border-radius: 10px; border: none; background: var(--primary-600); color: white; cursor: pointer; box-shadow: var(--shadow-md); }
.chat-send:hover { background: var(--primary-700); }

@media (max-width: 768px) {
    .chat-widget { left: 0; right: 0; bottom: 0; top: 0; width: 100vw; height: 100vh; border-radius: 0; max-width: 100vw; }
    .chat-launcher { left: 12px; bottom: 12px; }
    .chat-launcher-badge { display: none; }
}

/* Avatar fullscreen modal */
.avatar-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2200;
}
.avatar-modal.active { display: flex; }
.avatar-modal-image { max-width: 90vw; max-height: 90vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.avatar-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
.avatar-modal-close:hover { background: rgba(255,255,255,0.25); }

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: linear-gradient(135deg, rgba(254, 190, 16, 0.1) 0%, rgba(254, 154, 34, 0.1) 50%, rgba(254, 118, 53, 0.1) 100%);
    color: #FEBE10;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(254, 190, 16, 0.2);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
    box-shadow: 0 0 8px rgba(254, 190, 16, 0.4);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-showcase {
    margin-bottom: var(--space-3xl);
    background: var(--gray-50);
    border-radius: var(--radius-3xl);
    padding: var(--space-2xl);
    border: 1px solid var(--gray-200);
}

.features-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.feature-nav-btn {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
}

.feature-nav-btn.active {
    background: var(--white);
    border-color: #FE7635;
    color: var(--text-primary);
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2);
}

.feature-nav-btn:hover:not(.active) {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 190, 16, 0.2);
}

.nav-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-700);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-nav-btn.active .nav-icon {
    background: var(--gray-100);
    color: var(--gray-900);
    border-color: var(--gray-300);
}

.nav-content {
    flex: 1;
    text-align: left;
}

.nav-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
}

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

.features-display {
    position: relative;
    min-height: 400px;
}

.feature-showcase {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.feature-showcase.active {
    display: grid;
}

.showcase-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.showcase-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.showcase-feature i {
    color: var(--primary-600);
}

.showcase-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-dashboard {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    color: var(--text-primary);
    min-width: 300px;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid #FE7635;
    position: relative;
    overflow: hidden;
}

.ai-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
}

.dashboard-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-900);
}

.dashboard-status {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray-700);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.metric-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metric-card:hover::before {
    opacity: 1;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.metric-value {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: var(--space-xs);
}

/* Automation Dashboard */
.automation-dashboard {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    color: var(--text-primary);
    min-width: 320px;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid #FE7635;
    position: relative;
    overflow: hidden;
}

.automation-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.automation-workflows {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.workflow-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.workflow-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.workflow-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.workflow-info {
    flex: 1;
}

.workflow-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.workflow-status {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.workflow-status.running {
    background: rgba(34, 197, 94, 0.2);
    color: rgb(34, 197, 94);
}

.workflow-status.completed {
    background: rgba(59, 130, 246, 0.2);
    color: rgb(59, 130, 246);
}

.workflow-status.scheduled {
    background: rgba(251, 191, 36, 0.2);
    color: rgb(251, 191, 36);
}

.workflow-progress {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    min-width: 80px;
}

.progress-bar {
    width: 50px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 600;
}

.workflow-metrics {
    display: flex;
    align-items: center;
    gap: 4px;
}

.metric-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.workflow-time {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Sync Dashboard */
.sync-dashboard {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    color: var(--text-primary);
    min-width: 320px;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
    border: 2px solid #FE7635;
    position: relative;
    overflow: hidden;
}

.sync-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.sync-connections {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.connection-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.connection-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.connection-platform {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.platform-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.platform-icon.slack {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.platform-icon.teams {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.platform-icon.google {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.platform-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sync-indicator {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
}

.sync-indicator.active {
    background: rgb(34, 197, 94);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.sync-indicator.syncing {
    background: rgb(251, 191, 36);
    animation: pulse 2s infinite;
}

.sync-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
}

.last-sync {
    font-size: 0.75rem;
    opacity: 0.8;
    min-width: 70px;
    text-align: right;
}

.sync-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.metric-trend {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.metric-trend.up {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.metric-trend.down {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2),
        0 0 0 1px rgba(254, 118, 53, 0.1);
}



.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.feature-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.feature-stats {
    display: flex;
    gap: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    display: block;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .stat-chips { justify-content: center; }
    .hero-actions { justify-content: center; }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-showcase {
        padding: var(--space-lg);
    }
    
    .feature-showcase {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .features-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-nav-btn {
        min-width: 280px;
    }
}

@media (max-width: 1024px) {
    .floating-features { display: none; }
    
    .mockup-container {
        max-width: 400px;
    }
    
    /* App Carousel tablet */
    .endless-carousel {
        height: 60vh;
        padding: var(--space-xl) var(--space-2xl);
        margin: var(--space-2xl) 0;
    }
    
    .carousel-item {
        width: 280px;
        height: 80%;
    }
    
    .carousel-header {
        margin-bottom: var(--space-2xl);
    }
    
    .modal-image-container {
        max-width: 95vw;
        max-height: 85vh;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: var(--space-xl);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
        border-top: 1px solid var(--gray-200);
        z-index: 1200;
        opacity: 0;
        transform: translateY(-10px);
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        gap: var(--space-md);
        margin-bottom: var(--space-lg);
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .btn-hero {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }
    
    .btn-secondary.btn-hero {
        justify-content: center;
    }
    
    .btn-content { align-items: center; }
    
    .hero-metrics {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .metric-card {
        padding: var(--space-md);
    }
    
    .trust-logos {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .hero-title {
        margin-top: var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
    
    .features-showcase {
        padding: var(--space-md);
    }
    
    .feature-showcase {
        padding: var(--space-lg);
    }
    
    /* Fix scroll indicator positioning on mobile */
    .scroll-indicator {
        bottom: var(--space-md);
        z-index: 10;
    }
    
    .hero-visual {
        margin-bottom: 60px; /* Add space for scroll indicator */
    }
    
    /* Fix dashboard panels responsive overflow */
    .ai-dashboard,
    .automation-dashboard,
    .sync-dashboard {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        padding: var(--space-md);
        overflow: hidden;
    }
    
    .features-showcase {
        overflow-x: auto;
        padding: var(--space-md) var(--space-sm);
    }
    
    .feature-showcase {
        padding: var(--space-md);
        overflow: hidden;
    }
    
    .feature-content {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .feature-text {
        width: 100%;
        max-width: 100%;
    }
    
    .feature-demo {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    /* Fix dashboard content overflow */
    .dashboard-header {
        font-size: 0.875rem;
        margin-bottom: var(--space-xs);
    }
    
    .dashboard-metrics {
        flex-wrap: wrap;
        gap: var(--space-xs);
    }
    
    .metric-item {
        min-width: auto;
        flex: 1;
        max-width: 100%;
    }
    
    .metric-value {
        font-size: 1.25rem;
    }
    
    .metric-label {
        font-size: 0.75rem;
    }
    
    .workflow-item,
    .connection-item {
        padding: var(--space-xs);
        font-size: 0.875rem;
    }
    
    .workflow-status,
    .connection-status {
        font-size: 0.75rem;
    }
}

/* Solutions Section */
.solutions {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
    position: relative;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.solution-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2),
        0 0 0 1px rgba(254, 118, 53, 0.1);
}

.solution-card.featured {
    background: var(--white);
    border: 2px solid var(--gray-200);
    transform: none;
    color: var(--text-primary);
}

.solution-card.featured:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
}

.solution-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.solution-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.solution-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    color: var(--gray-700);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.solution-badge.startup {
    background: var(--gray-100);
    color: var(--gray-700);
}

.solution-badge.enterprise {
    background: var(--gray-100);
    color: var(--gray-700);
}

.solution-badge.global {
    background: var(--gray-100);
    color: var(--gray-700);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.solution-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.solution-feature i {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Pricing Section */
.pricing {
    padding: var(--space-3xl) 0;
    background: var(--white);
    position: relative;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.toggle-label {
    font-weight: 600;
    color: var(--gray-700);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.toggle-input:checked + .toggle-slider {
    background: var(--primary-600);
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(30px);
}

.discount-badge {
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-left: var(--space-xs);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.pricing-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-2xl);
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2),
        0 0 0 1px rgba(254, 118, 53, 0.1);
}

.pricing-card.featured {
    background: var(--white);
    border: 2px solid var(--gray-200);
    transform: none;
    color: var(--text-primary);
}

.pricing-card.featured:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 700;
    padding: var(--space-xs) var(--space-md);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border: 1px solid var(--gray-200);
    border-top: none;
    box-shadow: var(--shadow-sm);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--gray-200);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-600);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600);
}

.custom-price {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    display: inline-block;
}

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

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.pricing-feature i {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.pricing-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--white);
    color: var(--gray-900);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.1);
}

.pricing-btn:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px -4px rgba(254, 118, 53, 0.3),
        0 2px 8px -2px rgba(254, 118, 53, 0.2);
}



/* CTA Section */
.cta {
    padding: var(--space-3xl) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-orb {
    position: absolute;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    opacity: 0.15;
    animation: float 12s ease-in-out infinite;
}

.cta-orb.orb-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cta-orb.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

.cta-orb.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 30%;
    animation-delay: 8s;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--gray-800);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    line-height: 1.2;
    color: var(--gray-800);
}

.cta-description {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    color: var(--gray-600);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

/* Redesigned Book a Demo Button */
.btn-demo {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--text-primary);
    position: relative;
    overflow: visible;
    min-width: 240px;
    padding: 0;
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 4px 12px -4px rgba(0, 0, 0, 0.1),
        0 2px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-demo:hover {
    border-color: #FE7635;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px -8px rgba(254, 118, 53, 0.4),
        0 4px 15px -4px rgba(254, 118, 53, 0.2),
        0 0 0 1px rgba(254, 118, 53, 0.1);
}

.btn-demo-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 20px 30px;
    position: relative;
    z-index: 2;
}

.btn-demo-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-demo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-demo-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 2px;
}

.btn-demo-subtitle {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    line-height: 1.2;
}



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

.btn-demo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 50%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 80%;
    animation-delay: 2s;
}

@keyframes particle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}

.btn-demo:active {
    transform: translateY(-1px);
}

/* Responsive adjustments for demo button */
@media (max-width: 640px) {
    .btn-demo {
        min-width: 200px;
    }
    
    .btn-demo-content {
        padding: 16px 24px;
        gap: var(--space-sm);
    }
    
    .btn-demo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .btn-demo-title {
        font-size: 1rem;
    }
    
    .btn-demo-subtitle {
        font-size: 0.8125rem;
    }
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    opacity: 0.9;
    color: var(--gray-600);
}

.trust-item i {
    font-size: 1rem;
}

/* Footer Updates */
.footer {
    background: var(--white);
    color: var(--gray-800);
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
    border-top: 1px solid var(--gray-200);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-600), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section:first-child {
    max-width: 350px;
}

.footer-logo .logo-white {
    height: 45px;
    width: auto;
    margin-bottom: var(--space-md);
    filter: none;
}

.footer-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
}

.social-link:hover {
    background: linear-gradient(135deg, #FEBE10 0%, #FE9A22 50%, #FE7635 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px -3px rgba(254, 190, 16, 0.4);
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--gray-800);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-600);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--gray-200);
    padding-top: var(--space-lg);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom-content p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .solution-card.featured {
        transform: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .partners-grid {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .partner-card {
        min-height: 150px;
        padding: var(--space-lg);
        width: 100%;
        max-width: 320px;
    }
    
    .partner-logo {
        max-height: 100px;
    }
    
    .partners-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Fix AI dashboard responsive on tablets */
    .ai-dashboard,
    .automation-dashboard,
    .sync-dashboard {
        min-width: unset;
        width: 100%;
        max-width: 100%;
        padding: var(--space-lg);
    }
    
    .feature-showcase {
        overflow: hidden;
    }
    
    .feature-content {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .feature-text {
        width: 100%;
    }
    
    .feature-demo {
        width: 100%;
        margin: 0;
    }
    
    /* Fix scroll indicator on tablets */
    .scroll-indicator {
        bottom: var(--space-lg);
        z-index: 10;
    }
    
    .hero-visual {
        margin-bottom: 80px;
    }
    
    /* Modules responsive */
    .slideshow-wrapper {
        padding: var(--space-md);
    }
    
    .slides-track {
        height: 300px;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slide-nav.prev {
        left: 10px;
    }
    
    .slide-nav.next {
        right: 10px;
    }
    
    .slide-info {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    /* App Carousel mobile */
    .endless-carousel {
        height: 50vh;
        padding: var(--space-lg) var(--space-xl);
        margin: var(--space-xl) 0;
    }
    
    .carousel-item {
        width: 240px;
        height: 75%;
        margin-right: var(--space-lg);
    }
    
    .carousel-header {
        padding: 0 var(--space-md);
        margin-bottom: var(--space-xl);
    }
    
    .carousel-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
    
    .item-overlay {
        padding: var(--space-lg);
    }
    
    .item-title {
        font-size: 1.25rem;
    }
    
    .modal-content {
        padding: var(--space-lg);
    }
    
    .modal-close {
        top: var(--space-lg);
        right: var(--space-lg);
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modal-image-container {
        max-width: 95vw;
        max-height: 70vh;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .footer-section:first-child {
        max-width: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .footer-description {
        text-align: center;
        max-width: 400px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .social-links {
        justify-content: center;
        width: 100%;
    }
}

/* Sign In Modal */
.signin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signin-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.signin-container {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 480px;
    width: calc(100% - 2rem);
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signin-modal.active .signin-container {
    transform: scale(1) translateY(0);
}

.signin-header {
    position: relative;
    padding: var(--space-2xl) var(--space-2xl) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.signin-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.signin-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
    transform: scale(1.05);
}

.signin-content {
    padding: var(--space-xl) var(--space-2xl) var(--space-2xl);
}

.signin-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.signin-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.signin-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 0;
}

.signin-option:hover::before {
    opacity: 0.05;
}

.signin-option:hover {
    border-color: var(--primary-300);
    transform: translateY(-2px);
    box-shadow: 
        0 10px 25px -5px rgba(99, 102, 241, 0.1),
        0 4px 6px -2px rgba(99, 102, 241, 0.05);
}

.signin-option:active {
    transform: translateY(-1px);
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.signin-domains .option-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.signin-google .option-icon {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #fbbc05 75%, #ea4335 100%);
    color: var(--white);
}

.signin-linkedin .option-icon {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
    color: var(--white);
}

.option-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.option-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
    line-height: 1.3;
}

.option-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.option-arrow {
    color: var(--gray-400);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.signin-option:hover .option-arrow {
    color: var(--primary-600);
    transform: translateX(2px);
}

.signin-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-sm) 0;
    position: relative;
}

.signin-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.signin-divider span {
    background: var(--white);
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0 var(--space-md);
    position: relative;
}

.signin-footer {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-100);
}

.signin-help {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.help-link {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.help-link:hover {
    color: var(--primary-700);
    text-decoration: underline;
}

/* Responsive adjustments for signin modal */
@media (max-width: 640px) {
    .signin-container {
        width: calc(100% - 1rem);
        margin: 0.5rem;
    }
    
    .signin-header {
        padding: var(--space-xl) var(--space-lg) var(--space-md);
    }
    
    .signin-content {
        padding: var(--space-lg);
    }
    
    .signin-title {
        font-size: 1.5rem;
    }
    
    .signin-option {
        padding: var(--space-md);
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .option-title {
        font-size: 1rem;
    }
}

/* ===== MODERN DEMO MODAL STYLES ===== */
.modern-demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-demo-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-container {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-demo-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

/* Header */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 32px 24px;
    border-bottom: 1px solid #F1F5F9;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.demo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FE7635, #FF8C42);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.header-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.header-text p {
    font-size: 15px;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}

.close-btn {
    width: 40px;
    height: 40px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748B;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #F1F5F9;
    color: #0F172A;
    transform: scale(1.05);
}

/* Modal Body */
.modal-body {
    padding: 0 32px 32px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Form */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row:first-child {
    margin-top: 16px;
}

.input-group {
    position: relative;
    flex: 1;
}

.input-group.full {
    flex: 100%;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 18px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    color: #0F172A;
    background: #FEFEFE;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #FE7635;
    box-shadow: 0 0 0 4px rgba(254, 118, 53, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.input-group input:focus + label,
.input-group select:focus + label,
.input-group textarea:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group select:not([value=""]) + label,
.input-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-32px) scale(0.85);
    color: #FE7635;
    font-weight: 600;
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 16px;
    font-weight: 500;
    color: #64748B;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
    background: white;
    padding: 0 6px;
    border-radius: 4px;
}

.input-group select {
    cursor: pointer;
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FE7635, #FF8C42);
    transition: width 0.3s ease;
}

.input-group input:focus ~ .input-border,
.input-group select:focus ~ .input-border,
.input-group textarea:focus ~ .input-border {
    width: 100%;
}

/* Demo Highlights */
.demo-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 32px 0 24px;
    padding: 24px;
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
}

.highlight-icon {
    width: 20px;
    height: 20px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Submit Button */
.submit-button {
    width: 100%;
    padding: 20px 32px;
    background: linear-gradient(135deg, #FE7635, #FF8C42);
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 16px;
    box-shadow: 0 4px 14px rgba(254, 118, 53, 0.25);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(254, 118, 53, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.button-text {
    transition: opacity 0.2s ease;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.submit-button.loading .button-text {
    opacity: 0;
}

.submit-button.loading .button-loader {
    opacity: 1;
}

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success State */
.success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    min-height: 300px;
}

.success-state.active {
    display: flex;
}

.success-animation {
    margin-bottom: 24px;
}

.success-checkmark {
    animation: checkmarkBounce 0.6s ease-out;
}

@keyframes checkmarkBounce {
    0% { transform: scale(0) rotate(45deg); opacity: 0; }
    50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.success-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px 0;
}

.success-state p {
    font-size: 16px;
    color: #64748B;
    line-height: 1.5;
    margin: 0 0 32px 0;
    max-width: 400px;
}

.success-button {
    padding: 12px 32px;
    background: #F8FAFC;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.success-button:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
    color: #0F172A;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-wrapper {
        padding: 16px;
    }
    
    .modal-container {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 24px 24px 20px;
    }
    
    .modal-body {
        padding: 0 24px 24px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .demo-highlights {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-text h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .modal-wrapper {
        padding: 12px;
    }
    
    .modal-container {
        border-radius: 16px;
        max-height: 98vh;
    }
    
    .modal-header {
        padding: 20px 20px 16px;
    }
    
    .modal-body {
        padding: 0 20px 20px;
    }
    
    .demo-icon {
        width: 40px;
        height: 40px;
    }
    
    .header-text h2 {
        font-size: 18px;
    }
    
    .header-text p {
        font-size: 14px;
    }
}