/* ===================================
   WhispeeAi - Modern & Responsive Styles
   =================================== */

/* CSS Variables for Easy Customization */
:root {
    /* Modern Gradient Color Palette */
    --primary-color: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #7f9cf5;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --accent-secondary: #4facfe;
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    
    /* Rich Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --text-muted: #a0aec0;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-gradient-light: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-dark: #0f172a;
    --bg-dark-secondary: #1e293b;
    
    /* Border Styles */
    --border-color: #e2e8f0;
    --border-color-light: #edf2f7;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 24px 48px -12px rgba(0, 0, 0, 0.18);
    --shadow-2xl: 0 32px 64px -12px rgba(0, 0, 0, 0.22);
    --shadow-colored: 0 12px 32px -8px rgba(102, 126, 234, 0.35);
    --shadow-accent: 0 12px 32px -8px rgba(240, 147, 251, 0.35);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(to bottom, #ffffff 0%, #fafcff 50%, #f3f6fb 100%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

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

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

img {
    max-width: 100%;
    height: auto;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* New Gradient Styles for Hero Title */
.gradient-text-invisible {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #f5576c 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 0.05em;
    position: relative;
    animation: glow-invisible 3s ease-in-out infinite, gradient-shift 4s ease infinite;
    display: inline-block;
}

.gradient-text-power {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 30%, #43e97b 60%, #38f9d7 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    animation: glow-power 3s ease-in-out infinite 0.5s, gradient-shift 4s ease infinite 0.5s;
    display: inline-block;
}

.gradient-text-realtime {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 30%, #ffa751 60%, #ff6b95 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    position: relative;
    animation: glow-realtime 3s ease-in-out infinite 1s, gradient-shift 4s ease infinite 1s;
    display: inline-block;
}

/* Enhanced Glow Animations */
@keyframes glow-invisible {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(102, 126, 234, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 28px rgba(102, 126, 234, 0.9)) drop-shadow(0 0 48px rgba(118, 75, 162, 0.5));
    }
}

@keyframes glow-power {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(79, 172, 254, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 28px rgba(79, 172, 254, 0.9)) drop-shadow(0 0 48px rgba(0, 242, 254, 0.5));
    }
}

@keyframes glow-realtime {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(250, 112, 154, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 28px rgba(250, 112, 154, 0.9)) drop-shadow(0 0 48px rgba(254, 225, 64, 0.5));
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary::before {
    content: '';
    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.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5), 
                0 0 40px rgba(240, 147, 251, 0.3);
}

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

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius-sm);
    z-index: -1;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: rgba(218, 212, 253, 0.3);
    backdrop-filter: blur(10px);
    border: 2px solid #667eea;
    color: #667eea;
    position: relative;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: var(--border-radius-sm);
    z-index: -1;
}

.btn-outline:hover {
    color: white;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    border-color: transparent;
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
    border-radius: var(--border-radius);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.03) 0%, 
        rgba(240, 147, 251, 0.03) 50%,
        rgba(118, 75, 162, 0.03) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        #667eea 25%,
        #764ba2 50%,
        #f093fb 75%,
        transparent 100%);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled::after {
    opacity: 1;
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
}

.navbar.scrolled {
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.12), 
                0 2px 16px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.logo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover::before {
    width: 100%;
}

.logo:hover {
    transform: translateY(-3px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
}

.logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-pulse 3s ease-in-out infinite;
    position: relative;
}

@keyframes logo-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(102, 126, 234, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6)) drop-shadow(0 0 30px rgba(240, 147, 251, 0.4));
    }
}

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

.nav-links > a:not(.btn-primary):not(.btn-secondary) {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.3px;
}

.nav-links > a:not(.btn-primary):not(.btn-secondary)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > a:not(.btn-primary):not(.btn-secondary)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    filter: blur(4px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links > a:not(.btn-primary):not(.btn-secondary):hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-links > a:not(.btn-primary):not(.btn-secondary):hover::before,
.nav-links > a:not(.btn-primary):not(.btn-secondary):hover::after {
    transform: translateX(-50%) scaleX(1);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 10;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.hamburger:hover span {
    background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
    box-shadow: 0 2px 12px rgba(102, 126, 234, 0.5);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* User Menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-avatar-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(240, 147, 251, 0.08));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.user-avatar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(240, 147, 251, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.user-avatar-btn:hover {
    background: white;
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.user-avatar-btn:hover::before {
    opacity: 1;
}

.avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.avatar-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 70%);
    animation: avatar-shine 3s infinite;
}

@keyframes avatar-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dropdown-header .avatar-circle {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.6),
        0 0 0 4px rgba(255, 255, 255, 0.5),
        inset 0 2px 8px rgba(255, 255, 255, 0.4);
    animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
    0%, 100% {
        box-shadow: 
            0 8px 24px rgba(102, 126, 234, 0.6),
            0 0 0 4px rgba(255, 255, 255, 0.5),
            inset 0 2px 8px rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(102, 126, 234, 0.8),
            0 0 0 6px rgba(240, 147, 251, 0.3),
            0 0 40px rgba(240, 147, 251, 0.4),
            inset 0 2px 8px rgba(255, 255, 255, 0.5);
    }
}

.user-avatar-btn:hover .avatar-circle {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 
        0 6px 20px rgba(102, 126, 234, 0.7),
        0 0 0 4px rgba(240, 147, 251, 0.3),
        0 0 30px rgba(240, 147, 251, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.user-avatar-btn .avatar-circle {
    width: 24px;
    height: 24px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(30px) saturate(180%) brightness(1.05);
    border-radius: 14px;
    box-shadow: 
        0 20px 60px rgba(102, 126, 234, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    min-width: 220px;
    max-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.9) rotateX(-10deg);
    transform-origin: top right;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    perspective: 1000px;
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(240, 147, 251, 0.08) 50%,
        rgba(118, 75, 162, 0.08) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.user-dropdown::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1) rotateX(0deg);
}

.user-menu.active .user-dropdown::before {
    opacity: 1;
}

.user-menu.active .user-dropdown::after {
    opacity: 1;
    animation: border-pulse 3s ease-in-out infinite;
}

@keyframes border-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.dropdown-header {
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(240, 147, 251, 0.1) 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
}

.dropdown-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4),
        transparent);
    animation: header-shimmer 3s infinite;
}

@keyframes header-shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.dropdown-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(102, 126, 234, 0.4),
        rgba(240, 147, 251, 0.4),
        transparent);
}

.user-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.user-name {
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text-shift 6s ease infinite;
    letter-spacing: 0.3px;
}

.user-email {
    font-size: 0.65rem;
    color: var(--text-secondary);
    margin: 0;
    margin-top: 0.15rem;
    font-weight: 500;
    opacity: 0.8;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.3), 
        rgba(240, 147, 251, 0.3),
        transparent);
    margin: 0.3rem 0;
    position: relative;
}

.dropdown-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(102, 126, 234, 0.2), 
        rgba(240, 147, 251, 0.2),
        transparent);
    filter: blur(1px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0.1rem 0.3rem;
    border-radius: 10px;
    font-weight: 500;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 0 4px 4px 0;
}

.dropdown-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(102, 126, 234, 0.15) 0%, 
        rgba(240, 147, 251, 0.1) 50%,
        transparent 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item:hover::after {
    width: 300px;
    height: 300px;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.12), 
        rgba(240, 147, 251, 0.08),
        rgba(240, 147, 251, 0.04));
    color: #667eea;
    padding-left: 1.25rem;
    transform: translateX(5px);
    box-shadow: 
        0 4px 12px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.dropdown-item:active {
    transform: translateX(3px) scale(0.98);
}

.dropdown-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-size: 0.85rem;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1), 
        rgba(240, 147, 251, 0.1));
    border-radius: 8px;
    position: relative;
}

.dropdown-item i::before {
    position: relative;
    z-index: 1;
}

.dropdown-item i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 8px;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    z-index: 0;
}

.dropdown-item:hover i {
    color: white;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.dropdown-item:hover i::after {
    width: 100%;
    height: 100%;
}

.dropdown-item span {
    position: relative;
    z-index: 1;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 4rem 0 3rem;
    margin-top: 80px;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(240, 147, 251, 0.12));
    border: 2px solid rgba(102, 126, 234, 0.25);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2), 
                0 0 40px rgba(240, 147, 251, 0.15);
    animation: badge-float 3s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    animation: sparkle 2s ease-in-out infinite;
    color: #f093fb;
    font-size: 1.1rem;
}

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

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

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

.hero-title-enhanced {
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-description-enhanced {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-description-enhanced strong {
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 600;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-stats .stat i {
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.trust-badges {
    margin-top: 3rem;
}

.trust-badges p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.company-logo {
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.6;
}

.hero-image {
    position: relative;
    margin-top: 2.5rem;
}

.app-preview {
    max-width: 680px;
    margin: 0 auto;
    animation: float-preview 6s ease-in-out infinite;
}

@keyframes float-preview {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(1deg);
    }
}

.app-window {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 20px 60px -10px rgba(102, 126, 234, 0.3),
        0 0 100px rgba(240, 147, 251, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.app-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(240, 147, 251, 0.05) 50%,
        rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.app-window:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 80px -10px rgba(102, 126, 234, 0.4),
        0 0 120px rgba(240, 147, 251, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.app-window:hover::before {
    opacity: 1;
}

.window-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    padding: 0.625rem 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: gradient-shift 6s ease infinite;
}

.window-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.window-controls {
    display: flex;
    gap: 0.5rem;
    z-index: 1;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.window-controls span:nth-child(1) {
    background: linear-gradient(135deg, #ff5f57 0%, #ff8787 100%);
}

.window-controls span:nth-child(2) {
    background: linear-gradient(135deg, #ffbd2e 0%, #ffd76e 100%);
}

.window-controls span:nth-child(3) {
    background: linear-gradient(135deg, #28c840 0%, #5edb6f 100%);
}

.window-controls span:hover {
    transform: scale(1.15);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.window-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    pointer-events: none;
}

.window-title::before {
    content: '✨';
    animation: sparkle-rotate 2s ease-in-out infinite;
}

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

.window-action-btn {
    margin-left: auto;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    position: relative;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    text-transform: none;
    letter-spacing: 0.5px;
    pointer-events: auto;
    user-select: none;
}

.window-action-btn:hover {
    background: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    color: #5a67d8;
}

.window-action-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hidden-message {
    display: none;
    opacity: 0;
}

.hidden-message.show {
    display: flex;
    animation: slideInFade 0.6s ease-out forwards;
}

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

.window-content {
    padding: 0.875rem;
    min-height: 140px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(247, 250, 252, 0.95) 100%);
    position: relative;
}

.window-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(102, 126, 234, 0.3),
        rgba(240, 147, 251, 0.3),
        transparent);
}

.chat-message {
    padding: 0.625rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: start;
    gap: 0.625rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out backwards;
}

.chat-message:nth-child(1) { animation-delay: 0.2s; }
.chat-message:nth-child(2) { animation-delay: 0.4s; }

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

.chat-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-message:hover {
    transform: translateX(5px);
}

.chat-message:hover::before {
    opacity: 1;
}

.chat-message.ai {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.12) 0%, 
        rgba(118, 75, 162, 0.12) 50%,
        rgba(240, 147, 251, 0.12) 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    box-shadow: 
        0 4px 16px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    margin-right: auto;
    max-width: 75%;
    font-size: 0.875rem;
}

.chat-message.ai::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chat-message.ai:hover {
    box-shadow: 
        0 8px 24px rgba(102, 126, 234, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 126, 234, 0.4);
}

.chat-message.user {
    background: linear-gradient(135deg, 
        rgba(79, 172, 254, 0.08) 0%, 
        rgba(0, 242, 254, 0.08) 100%);
    border: 2px solid rgba(79, 172, 254, 0.15);
    box-shadow: 
        0 4px 16px rgba(79, 172, 254, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    margin-left: auto;
    max-width: 75%;
    flex-direction: row-reverse;
    font-size: 0.875rem;
}

.chat-message.user::before {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.chat-message.user:hover {
    box-shadow: 
        0 8px 24px rgba(79, 172, 254, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(79, 172, 254, 0.3);
}

.chat-message i {
    color: white;
    font-size: 1rem;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 12px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    position: relative;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 
            0 4px 12px rgba(102, 126, 234, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(102, 126, 234, 0.6),
            0 0 30px rgba(240, 147, 251, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

.chat-message.user i {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.chat-message p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
}

.chat-message.ai p {
    font-style: italic;
    font-weight: 600;
    color: #5a67d8;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.08) 0%, 
        rgba(240, 147, 251, 0.08) 100%);
    border-radius: 12px;
    border: 2px dashed rgba(102, 126, 234, 0.2);
    animation: fadeInScale 0.6s ease-out 0.6s backwards;
    margin-right: auto;
    max-width: 75%;
    font-size: 0.875rem;
}

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

.typing-indicator::before {
    content: '💭';
    font-size: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

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

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    animation: typing 1.4s infinite;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { 
        transform: translateY(0) scale(1); 
        opacity: 0.6;
    }
    30% { 
        transform: translateY(-10px) scale(1.2); 
        opacity: 1;
    }
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #2d3748;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f7fafc 100%);
}

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

.feature-card {
    background: #dad4fd;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color-light);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-colored);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Platforms Section */
.platforms {
    padding: 3rem 0;
    background: white;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 2px solid var(--border-color-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background: white;
}

.platform-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
}

.platform-item i {
    font-size: 2.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.platform-item:hover i {
    transform: scale(1.15);
}

.platform-item span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* How It Works */
.how-it-works {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--bg-secondary), white);
}

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

.step {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-colored);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.video-demo {
    max-width: 800px;
    margin: 0 auto;
}

.video-placeholder {
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 3rem 0;
    background: white;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(102, 126, 234, 0.15));
    border-radius: 50px;
    color: #065f46;
    font-weight: 700;
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
}

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

.pricing-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f7ff 100%);
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    padding: 1.25rem 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25), 0 0 40px rgba(240, 147, 251, 0.15);
}

.pricing-card.featured {
    background: linear-gradient(145deg, #faf9ff 0%, #f0edff 100%);
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2), 0 0 80px rgba(240, 147, 251, 0.1);
    transform: scale(1.05);
    position: relative;
}

.pricing-card.featured::before {
    opacity: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    animation: rotate-gradient 4s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

.best-value-badge {
    position: absolute;
    top: 35px;
    left: -1px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c471ed 50%, #667eea 100%);
    background-size: 200% 200%;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    transform: rotate(-20deg);
    transform-origin: left center;
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.5), 0 2px 8px rgba(196, 113, 237, 0.3);
    animation: badge-pulse 2s ease-in-out infinite, gradient-shift 3s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.free-badge {
    position: absolute;
    top: 25px;
    left: -1px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c471ed 50%, #667eea 100%);
    background-size: 200% 200%;
    color: #ffffff;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    transform: rotate(-20deg);
    transform-origin: left center;
    box-shadow: 0 4px 16px rgba(255, 107, 157, 0.5), 0 2px 8px rgba(196, 113, 237, 0.3);
    animation: free-badge-pulse 2s ease-in-out infinite, gradient-shift 3s ease infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.free-badge i {
    font-size: 0.75rem;
}

@keyframes badge-pulse {
    0%, 100% {
        transform: rotate(-20deg) scale(1);
        box-shadow: 0 4px 16px rgba(255, 107, 157, 0.5), 0 2px 8px rgba(196, 113, 237, 0.3);
    }
    50% {
        transform: rotate(-20deg) scale(1.15);
        box-shadow: 0 8px 24px rgba(255, 107, 157, 0.7), 0 4px 16px rgba(196, 113, 237, 0.5), 0 0 20px rgba(102, 126, 234, 0.4);
    }
}

@keyframes free-badge-pulse {
    0%, 100% {
        transform: rotate(-20deg) scale(1);
        box-shadow: 0 4px 16px rgba(255, 107, 157, 0.5), 0 2px 8px rgba(196, 113, 237, 0.3);
    }
    50% {
        transform: rotate(-20deg) scale(1.15);
        box-shadow: 0 8px 24px rgba(255, 107, 157, 0.7), 0 4px 16px rgba(196, 113, 237, 0.5), 0 0 20px rgba(102, 126, 234, 0.4);
    }
}

.popular-badge {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.2rem 0.625rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-colored);
}

.pricing-header {
    text-align: center;
    margin-bottom: 0.875rem;
    position: relative;
}

.pricing-header h3 {
    margin-bottom: 0.375rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #3d4db8 0%, #5a3080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.pricing-header p {
    color: #2d3748;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 600;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.875rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(240, 147, 251, 0.05));
    border-radius: var(--border-radius);
    position: relative;
}

.pricing-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    opacity: 0.3;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
    font-weight: 700;
    background: linear-gradient(135deg, #3d4db8 0%, #5a3080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-price .amount {
    font-size: 2.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3d4db8 0%, #5a3080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: inline-block;
}

.pricing-price .per-credit {
    display: block;
    font-size: 0.85rem;
    color: #2d3748;
    margin-top: 0.75rem;
    font-weight: 700;
}

.pricing-features {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(240, 147, 251, 0.03));
    padding: 0.875rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
    padding: 0.375rem;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: translateX(5px);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a202c;
}

.pricing-card .btn-primary,
.pricing-card .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card .btn-primary::after,
.pricing-card .btn-outline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.pricing-card .btn-primary:hover::after,
.pricing-card .btn-outline:hover::after {
    width: 300px;
    height: 300px;
}

.pricing-card .btn-primary:hover,
.pricing-card .btn-outline:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35), 0 0 40px rgba(240, 147, 251, 0.2);
}

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

/* Testimonials */
.testimonials {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #f7fafc 0%, #ffffff 100%);
}

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

.testimonial-card {
    background: #dad4fd;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(102, 126, 234, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.2);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 0.25rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-colored);
}

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

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

/* FAQ Section */
.faq {
    padding: 3rem 0;
    background: white;
}

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

.faq-item {
    border: 1px solid var(--border-color-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background: #dad4fd;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background: #dad4fd;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition-fast);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1rem 1rem;
    margin: 0;
}

/* CTA Section */
.cta {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

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

.cta h2 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.125rem;
}

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

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

.cta .btn-primary:hover {
    background: #f7fafc;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

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

.cta .btn-outline:hover {
    background: #f7fafc;
    color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
}

.cta-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 2.5rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

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

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

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.security-badges {
    display: flex;
    gap: 1.5rem;
}

.security-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Guest buttons wrapper */
#guestButtons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#guestButtons .btn-secondary,
#guestButtons .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        flex-direction: column;
        padding: 2rem 1.5rem;
        box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        opacity: 0;
        border-bottom: 2px solid rgba(102, 126, 234, 0.1);
        border-left: 2px solid rgba(102, 126, 234, 0.1);
        border-radius: 0 0 0 24px;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links > a {
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-links > a:hover {
        padding-left: 1rem;
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
    }
    
    /* Mobile guest buttons */
    #guestButtons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    #guestButtons .btn-secondary,
    #guestButtons .btn-primary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile user menu positioning */
    .user-menu {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }
    
    .user-avatar-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile user dropdown */
    .user-dropdown {
        min-width: 260px;
        max-width: 90vw;
        right: 0.5rem;
        left: auto;
        top: calc(100% + 0.75rem);
    }
    
    .dropdown-header {
        padding: 1.25rem 1rem;
    }
    
    .dropdown-header .avatar-circle {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .dropdown-item {
        padding: 0.65rem 0.875rem;
        margin: 0.15rem 0.3rem;
    }
    
    .dropdown-item i {
        width: 20px;
        height: 20px;
        font-size: 0.875rem;
    }
    
    .dropdown-item:hover {
        padding-left: 1.25rem;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .company-logos {
        gap: 1rem;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .security-badges {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Enhanced responsive for app window */
    .app-preview {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .window-header {
        padding: 1rem;
    }
    
    .window-title {
        font-size: 0.875rem;
    }
    
    .window-content {
        padding: 1.25rem;
        min-height: 240px;
    }
    
    .chat-message {
        padding: 1rem;
    }
    
    .chat-message i {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .chat-message p {
        font-size: 0.925rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile-specific for app window */
    .window-header {
        padding: 0.875rem;
    }
    
    .window-title {
        font-size: 0.8rem;
    }
    
    .window-controls span {
        width: 12px;
        height: 12px;
    }
    
    .window-content {
        padding: 1rem;
        min-height: 200px;
    }
    
    .chat-message {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    
    .chat-message i {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .chat-message p {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .typing-indicator {
        padding: 0.875rem 1rem;
    }
    
    .typing-indicator span {
        width: 8px;
        height: 8px;
    }
}
