/**
 * Index Page Styles
 * Landing page specific styles using Design System
 */

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

/* Navbar with Glassmorphism */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
    animation: fadeIn 0.5s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--secondary-500);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform var(--transition-base);
}

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

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: color var(--transition-base);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width var(--transition-base);
}

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

.cta-button {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-semibold);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-secondary);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::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.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.auth-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.register-btn {
    background: var(--gradient-success);
    color: white !important;
    box-shadow: var(--shadow-success);
}

.register-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

/* Hero Section with Vertical Gradient + Stars */
.hero {
    background: linear-gradient(180deg, #2d1b4e 0%, #4b2185 50%, #6d28d9 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

/* Stars/Particles Animation */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 50%, white, transparent),
        radial-gradient(2px 2px at 79% 53%, white, transparent),
        radial-gradient(1px 1px at 10% 60%, white, transparent),
        radial-gradient(2px 2px at 70% 20%, white, transparent),
        radial-gradient(1px 1px at 25% 80%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: stars-twinkle 20s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
}

/* SVG Wave at Bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0 C150,80 350,0 600,50 C850,100 1050,20 1200,80 L1200,120 L0,120 Z" fill="white" opacity="1"/></svg>') no-repeat bottom;
    background-size: 100% 100%;
    z-index: 3;
}

@keyframes stars-twinkle {
    0%, 100% {
        opacity: 0.6;
        background-position: 0% 0%;
    }
    50% {
        opacity: 1;
        background-position: 100% 100%;
    }
}

/* Sound Wave Bars */
.sound-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    z-index: 2;
    opacity: 0.3;
}

.wave-bar {
    width: 4px;
    background: linear-gradient(to top, var(--secondary-500), var(--success));
    border-radius: 4px 4px 0 0;
    animation: wave-pulse 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 50%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 85%; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 90%; animation-delay: 0.5s; }
.wave-bar:nth-child(7) { height: 75%; animation-delay: 0.6s; }
.wave-bar:nth-child(8) { height: 50%; animation-delay: 0.7s; }
.wave-bar:nth-child(9) { height: 80%; animation-delay: 0.8s; }
.wave-bar:nth-child(10) { height: 65%; animation-delay: 0.9s; }
.wave-bar:nth-child(11) { height: 55%; animation-delay: 1s; }
.wave-bar:nth-child(12) { height: 70%; animation-delay: 1.1s; }
.wave-bar:nth-child(13) { height: 45%; animation-delay: 1.2s; }
.wave-bar:nth-child(14) { height: 85%; animation-delay: 1.3s; }
.wave-bar:nth-child(15) { height: 60%; animation-delay: 1.4s; }

@keyframes wave-pulse {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.5);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero h1 {
    font-size: var(--text-5xl);
    margin-bottom: 20px;
    font-weight: var(--font-extrabold);
    color: white;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: var(--text-xl);
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
    max-width: 600px;
    margin: 0 auto;
    align-items: center;
}

.btn-primary, .btn-premium {
    background: #ffffff !important;
    color: #4b2185 !important;
    padding: 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 56px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #f3efff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: #f3efff !important;
    color: #4b2185 !important;
}

/* Secondary Button - for Hero section (white on dark) */
.hero .btn-secondary {
    background: transparent;
    color: white;
    padding: 0;
    border: 3px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 56px;
}

.hero .btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.hero .btn-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.hero .btn-secondary:hover {
    color: var(--primary-500);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* General secondary button (for other sections) */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 18px 40px;
    border: 2px solid var(--text-primary);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: var(--font-semibold);
    font-size: var(--text-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-secondary:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Features Section with Generous Spacing - Pure White */
.features {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
}

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

.section-title {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease;
}

.section-title h2 {
    font-size: var(--text-4xl);
    color: var(--text-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-400) 100%);
    border-radius: var(--radius-xs);
}

.section-title p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: #ffffff;
    padding: 48px 36px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Feature Cards - Different Colors */
.feature-card:nth-child(1) { 
    animation-delay: 0.1s;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border-color: #ff6b3520;
}
.feature-card:nth-child(2) { 
    animation-delay: 0.2s;
    background: linear-gradient(135deg, #f5f3ff 0%, #fff 100%);
    border-color: #8b5cf620;
}
.feature-card:nth-child(3) { 
    animation-delay: 0.3s;
    background: linear-gradient(135deg, #ecfeff 0%, #fff 100%);
    border-color: #06b6d420;
}
.feature-card:nth-child(4) { 
    animation-delay: 0.4s;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-color: #3b82f620;
}
.feature-card:nth-child(5) { 
    animation-delay: 0.5s;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
    border-color: #ec489920;
}
.feature-card:nth-child(6) { 
    animation-delay: 0.6s;
    background: linear-gradient(135deg, #eff6ff 0%, #fff 100%);
    border-color: #1e40af20;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--secondary-500), var(--success));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.feature-card:hover::after {
    left: 100%;
}

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

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

/* Feature Icons - Different Colors */
.feature-card:nth-child(1) .feature-icon {
    background: rgba(255, 107, 53, 0.1);
}
.feature-card:nth-child(1) .feature-icon svg {
    color: #ff6b35;
}

.feature-card:nth-child(2) .feature-icon {
    background: rgba(139, 92, 246, 0.1);
}
.feature-card:nth-child(2) .feature-icon svg {
    color: #8b5cf6;
}

.feature-card:nth-child(3) .feature-icon {
    background: rgba(6, 182, 212, 0.1);
}
.feature-card:nth-child(3) .feature-icon svg {
    color: #06b6d4;
}

.feature-card:nth-child(4) .feature-icon {
    background: rgba(59, 130, 246, 0.1);
}
.feature-card:nth-child(4) .feature-icon svg {
    color: #3b82f6;
}

.feature-card:nth-child(5) .feature-icon {
    background: rgba(236, 72, 153, 0.1);
}
.feature-card:nth-child(5) .feature-icon svg {
    color: #ec4899;
}

.feature-card:nth-child(6) .feature-icon {
    background: rgba(30, 64, 175, 0.1);
}
.feature-card:nth-child(6) .feature-icon svg {
    color: #1e40af;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.feature-card:nth-child(even) .feature-icon {
    animation-delay: 1.5s;
}

.feature-card h3 {
    font-size: var(--text-2xl);
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Pricing Section with Generous Spacing */
.pricing {
    padding: 120px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.05) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

.pricing-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.15) !important;
}

.pricing-card.popular:hover {
    box-shadow: 0 25px 70px rgba(99, 102, 241, 0.3) !important;
    border-color: #4f46e5 !important;
}

.pricing-card.featured:hover {
    box-shadow: 0 25px 70px rgba(245, 158, 11, 0.3) !important;
    border-color: #d97706 !important;
}

.pricing-card.featured {
    border: 2px solid #f59e0b;
    background: rgba(245, 158, 11, 0.03);
}

.pricing-card.featured::before {
    content: 'מומלץ ⭐';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Popular Badge for Basic Plan - מודגש עם מסגרת סגולה */
.pricing-card.popular {
    border: 3px solid #6366f1;
    background: white;
    transform: none;
}

.pricing-card.popular::before {
    content: 'הכי הפופולרי ⭐';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.5px;
}

.pricing-card.popular:hover {
    transform: translateY(-8px) scale(1.02) !important;
}

.pricing-card h3 {
    font-size: var(--text-3xl);
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 800;
}

.plan-subtitle {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 15px 0 25px 0;
    min-height: 42px;
}

.pricing-card .price {
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    color: var(--secondary-600);
    margin: 20px 0;
    position: relative;
}

.pricing-card.featured .price {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card .price small {
    font-size: 0.4em;
    color: var(--text-light);
    -webkit-text-fill-color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 12px 0;
    color: #334155;
    border-bottom: none;
    position: relative;
    padding-right: 32px;
    text-align: right;
    font-size: 15px;
    line-height: 1.5;
}

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

/* V ירוק לתכונות כלולות */
.pricing-features li.feature-included::before {
    content: "✓";
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

/* X אדום לתכונות לא כלולות */
.pricing-features li.feature-excluded {
    color: #94a3b8;
    text-decoration: line-through;
}

.pricing-features li.feature-excluded::before {
    content: "✕";
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
}

.plan-audience {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(254, 243, 199, 0.1) 100%);
    padding: 15px;
    border-radius: var(--radius-lg);
    margin: 15px 0 25px 0;
    text-align: center;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.plan-audience strong {
    display: block;
    color: var(--secondary-500);
    font-size: var(--text-lg);
    margin-bottom: 5px;
    font-weight: var(--font-bold);
}

.plan-audience p {
    color: var(--text-light);
    margin: 0;
    font-size: var(--text-sm);
    font-style: italic;
}

.pricing-card.featured .plan-audience {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(254, 243, 199, 0.2) 100%);
    border-color: var(--secondary-400);
}

.pricing-card.featured .plan-audience strong {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* כפתור חינמי - אפור בהיר */
.pricing-card .btn-primary.btn-free {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    font-weight: 600 !important;
}

.pricing-card .btn-primary.btn-free::before {
    display: none !important;
}

.pricing-card .btn-primary.btn-free:hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* כפתור בסיסי (פופולרי) - סגול מלא */
.pricing-card .btn-primary.btn-popular {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(109, 40, 217, 0.4) !important;
    position: relative !important;
    font-weight: 700 !important;
}

.pricing-card .btn-primary.btn-popular::before {
    display: none !important;
}

.pricing-card .btn-primary.btn-popular:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.5) !important;
}

/* כפתור מתקדם - אפור בהיר */
.pricing-card .btn-primary:not(.btn-free):not(.btn-popular):not(.current) {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    font-weight: 600 !important;
}

.pricing-card .btn-primary:not(.btn-free):not(.btn-popular):not(.current)::before {
    display: none !important;
}

.pricing-card .btn-primary:not(.btn-free):not(.btn-popular):not(.current):hover {
    background: #e5e7eb !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Current Plan Styles - Clean and Professional */
.pricing-card.current {
    border: 2px solid #10b981;
    transform: translateY(-10px);
    position: relative;
    background: white;
}

.pricing-card.current::before {
    content: 'התכנית שלך ✓';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.5px;
}

/* Disabled button for current plan */
.pricing-card.current .btn-primary,
.pricing-card.current button {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    border: 1px solid #e5e7eb !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.pricing-card.current .btn-primary::before,
.pricing-card.current button::before {
    content: '✓ ';
    font-weight: bold;
}

.pricing-card.current:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15) !important;
}

/* Testimonials Section with Generous Spacing */
.testimonials {
    padding: 120px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ציטוט דקורטיבי גדול בפינה השמאלית העליונה */
.testimonial-card::before {
    content: '\201C\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    color: #f3f4f6;
    font-family: Georgia, serif;
    line-height: 0.8;
    pointer-events: none;
    z-index: 0;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

/* 5 כוכבים זהובים */
.testimonial-stars {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.testimonial-stars::before {
    content: '⭐⭐⭐⭐⭐';
    font-size: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #1e293b;
    margin: 0;
    font-style: normal;
    position: relative;
    z-index: 1;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.testimonial-info {
    text-align: right;
}

.testimonial-info h4 {
    color: #0f172a;
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 700;
}

.testimonial-info p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Contact Section - Clean Light Background */
.contact {
    padding: 120px 0;
    background: #f8f9ff;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite;
}

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

.contact h2 {
    font-size: var(--text-4xl);
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact p {
    font-size: var(--text-lg);
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.contact-form {
    display: grid;
    gap: var(--space-md);
    margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    color: #1a202c;
    font-size: var(--text-base);
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-form textarea {
    border-radius: 12px;
    resize: vertical;
    min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0aec0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.contact-form button {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    border-radius: var(--radius-full);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* Footer - Dark Theme */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    line-height: 1.7;
    transition: color var(--transition-base);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #64748b;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: var(--z-modal);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    max-width: 450px;
    width: 90%;
    box-shadow: var(--shadow-2xl);
    text-align: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

#loginModal .close-modal {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    background: transparent !important;
    color: #94a3b8 !important;
    border: none !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer !important;
    font-size: 24px !important;
    transition: all var(--transition-base) !important;
    padding: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 100 !important;
}

#loginModal .close-modal:hover {
    color: #64748b !important;
    transform: scale(1.1) !important;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header .icon {
    font-size: 3em;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

.modal-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
}

.modal-header h3 {
    color: #6366f1;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-header p {
    color: var(--text-light);
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: var(--font-semibold);
    color: var(--text-dark);
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    transition: all var(--transition-base);
    background: #f8fafc;
}

.form-group input::placeholder {
    color: #cbd5e1;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 50px !important;
}

#loginModal .toggle-password-icon {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease !important;
    z-index: 50 !important;
}

#loginModal .toggle-password-icon:hover {
    color: #64748b !important;
}

.toggle-password {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    font-size: var(--text-lg);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-600) 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: var(--radius-full);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: 20px;
    box-shadow: var(--shadow-secondary);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.message {
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.message.success {
    background: var(--success-light);
    color: var(--success-dark);
    border: 1px solid var(--success);
}

.message.error {
    background: var(--error-light);
    color: var(--error-dark);
    border: 1px solid var(--error);
}

/* User Section */
#userSection {
    display: flex;
    align-items: center;
    gap: 15px;
}

#userGreeting {
    color: var(--text-dark);
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
}

.app-btn {
    background: var(--gradient-success);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    box-shadow: var(--shadow-success);
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: var(--z-fixed);
    animation: fadeIn 1s ease 2s both;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    gap: 10px;
    max-width: 200px;
    direction: rtl;
    flex-direction: row-reverse;
}

.whatsapp-float a:hover {
    transform: translateY(-3px) scale(1.05);
    background: #128C7E;
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-text {
    white-space: nowrap;
}

/* Application Showcase Section */
.app-showcase {
    padding: 120px 0;
    background: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.showcase-text {
    z-index: 10;
    position: relative;
    padding-right: 40px;
}

.showcase-image {
    position: relative;
    z-index: 1;
    min-height: 600px;
}

.showcase-text h2 {
    font-size: var(--text-4xl);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease;
}

.showcase-description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.showcase-btn {
    animation: fadeInUp 0.8s ease 0.7s both;
}

.showcase-image {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* 3D Circular Carousel */
.carousel-3d-wrapper {
    perspective: 1400px;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.carousel-3d-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-3d-item {
    position: absolute;
    width: 70%;
    height: 70%;
    left: 50%;
    top: 50%;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    overflow: visible;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.carousel-3d-item:nth-child(1) {
    transform: translate(-50%, -50%) rotateY(0deg) translateZ(400px);
}

.carousel-3d-item:nth-child(2) {
    transform: translate(-50%, -50%) rotateY(240deg) translateZ(400px);
}

.carousel-3d-item:nth-child(3) {
    transform: translate(-50%, -50%) rotateY(120deg) translateZ(400px);
}

.carousel-3d-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float a {
        padding: 10px 15px;
        font-size: 13px;
        max-width: 160px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-text {
        display: none !important;
    }
    
    .whatsapp-float {
        bottom: 30px !important;
        right: 30px !important;
    }
    
    .whatsapp-float a {
        width: 60px !important;
        height: 60px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        position: relative !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
        animation: pulse 2s ease-in-out infinite !important;
    }
    
    .whatsapp-icon {
        width: 60px !important;
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .whatsapp-icon svg {
        width: 34px !important;
        height: 34px !important;
        fill: white !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    @keyframes pulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.05); }
    }

    .navbar {
        padding: 8px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
        align-items: stretch;
    }
    
    .logo {
        font-size: 18px;
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .logo span:first-child {
        font-size: 1.1em;
    }

    .nav-links {
        display: none;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero {
        padding: 100px 0 150px;
        margin-top: 140px;
    }

    .hero h1 {
        font-size: 1.8em;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1em;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
        gap: 16px !important;
        padding: 0 20px !important;
    }
    
    .btn-primary, .btn-premium, .hero .btn-secondary {
        width: 100% !important;
        max-width: 280px !important;
        min-width: auto !important;
        height: 54px !important;
        padding: 16px 28px !important;
        border-radius: 50px !important;
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        flex: none !important;
        margin: 0 auto !important;
    }
    
    .hero .btn-secondary {
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .features-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    #userSection {
        width: 100%;
        order: 3;
        margin-top: 5px;
    }

    #userSection > div {
        display: flex;
        gap: 5px;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-wrap: wrap;
    }

    #userGreeting {
        font-size: 13px;
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }
    
    .app-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .showcase-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-text {
        padding-right: 0 !important;
        text-align: center;
    }

    .showcase-text h2 {
        font-size: 1.8em;
    }

    .showcase-description {
        font-size: 1em;
    }
    
    .showcase-btn {
        display: block !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 280px !important;
    }
}

/* Video Demo Section */
.video-demo {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.video-demo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.video-demo .container {
    position: relative;
    z-index: 2;
}

.video-demo .section-title {
    margin-bottom: 50px;
}

.video-demo .section-title h2 {
    color: var(--text-dark);
    font-size: var(--text-4xl);
    margin-bottom: 15px;
}

.video-demo .section-title h2::after {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-400) 100%);
}

.video-demo .section-title p {
    color: var(--text-secondary);
    font-size: var(--text-lg);
}

.video-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.15);
    animation: fadeInUp 0.8s ease 0.4s both;
    background: transparent;
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: transform 0.3s ease;
}

.video-wrapper:hover .demo-video {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .video-demo {
        padding: 60px 0;
    }
    
    .video-wrapper {
        padding: 15px;
    }
    
    .video-demo .section-title h2 {
        font-size: var(--text-3xl);
    }
}

/* Templates Badges Section */
.templates-badges-section {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-radius: 24px;
    margin: 50px auto 0;
    max-width: 900px;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.badges-title {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.template-badge {
    background: white;
    color: #6366f1;
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.template-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s;
}

.template-badge:hover::before {
    left: 100%;
}

.template-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
    border-color: #ede9fe;
}

/* Responsive for Badges */
@media (max-width: 768px) {
    .templates-badges-section {
        padding: 40px 20px;
        margin: 40px auto 0;
    }
    
    .badges-title {
        font-size: 1.15rem;
        margin-bottom: 24px;
    }
    
    .badges-container {
        gap: 10px;
    }
    
    .template-badge {
        padding: 10px 18px;
        font-size: 0.9rem;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .templates-badges-section {
        padding: 35px 16px;
        margin: 35px auto 0;
    }
    
    .badges-title {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
    
    .template-badge {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 12px;
    }
}

/* Mobile User Profile in Menu */
.mobile-user-profile {
    padding: 20px 24px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 10px;
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-user-avatar {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.mobile-user-avatar i {
    color: #6366f1;
}

.mobile-user-details {
    flex: 1;
    text-align: right;
}

.mobile-user-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.mobile-user-status {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Mobile Logout Button */
.mobile-menu-btn.logout {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    font-weight: 700;
}

.mobile-menu-btn.logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

/* ===== VIDEO SECTION - macOS STYLE ===== */

/* מיכל הווידאו הראשי */
.video-container-glass {
    position: relative;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* מסגרת macOS חיצונית */
.macos-window {
    position: relative;
    background: linear-gradient(180deg, #4c1d95 0%, #581c87 50%, #581c87 100%);
    border-radius: 32px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    overflow: visible;
}

.macos-window:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* 3 עיגולים של macOS */
.macos-controls {
    position: absolute;
    top: 24px;
    left: 28px;
    display: flex;
    gap: 10px;
    z-index: 30;
}

.mac-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.mac-dot:hover {
    transform: scale(1.15);
}

.mac-red {
    background: #ff6057;
}

.mac-yellow {
    background: #ffbd2e;
}

.mac-green {
    background: #28ca42;
}

/* תגיות צפות חדשות - 2 שורות */
.floating-tag {
    position: absolute;
    z-index: 25;
    background: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: floatIn 0.8s ease-out both;
    transition: all 0.3s ease;
}

.floating-tag:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2),
                0 6px 16px rgba(0, 0, 0, 0.15);
}

.tag-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
}

.tag-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.tag-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.2;
}

.tag-icon-wrapper {
    width: 44px;
    height: 44px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* מיקום התגיות */
.tag-recording {
    top: 70px;
    right: -40px;
    animation-delay: 0.4s;
}

.tag-ai-summary {
    bottom: 60px;
    left: -40px;
    animation-delay: 0.6s;
}

/* הווידאו עצמו */
.video-wrapper-macos {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(180deg, #4c1d95 0%, #581c87 50%, #581c87 100%);
}

.video-wrapper-macos video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* כפתור Play במרכז - גדול */
.play-overlay-macos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: transparent;
    z-index: 15;
}

.play-btn-macos {
    width: 110px;
    height: 110px;
    background: rgba(139, 92, 246, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    padding-right: 6px;
}

.play-btn-macos:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.play-btn-macos svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.play-text {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

/* תכונות מתחת לווידאו */
.video-features-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.video-features-tags .feature-tag {
    background: linear-gradient(135deg, #f3efff 0%, #ede9fe 100%);
    color: #4b2185;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(75, 33, 133, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9d5ff;
}

.video-features-tags .feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 33, 133, 0.15);
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
}

.check-icon {
    color: #6d28d9;
    font-weight: 900;
    font-size: 1.1rem;
}

/* אנימציות */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* התאמה למובייל */
@media (max-width: 768px) {
    .video-container-glass {
        padding: 0 20px;
    }
    
    .video-wrapper-glass {
        border-radius: 20px;
    }
    
    /* הסתרת תגיות צפות במובייל */
    .floating-tag {
        display: none;
    }
    
    .video-features-tags {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }
    
    .video-features-tags .feature-tag {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 20px;
    }
    
    /* כפתור Play קטן יותר במובייל */
    .play-btn-macos {
        width: 70px;
        height: 70px;
    }
    
    .play-btn-macos svg {
        width: 28px;
        height: 28px;
    }
    
    .play-text {
        font-size: 16px;
    }
    
    /* מסגרת macOS קטנה יותר */
    .macos-window {
        border-radius: 20px;
    }
    
    .video-wrapper-macos {
        border-radius: 20px;
    }
    
    /* עיגולים קטנים יותר */
    .macos-controls {
        top: 16px;
        left: 16px;
        gap: 6px;
    }
    
    .mac-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .video-wrapper-glass {
        border-radius: 16px;
    }
    
    .play-btn-glass {
        width: 60px;
        height: 60px;
    }
    
    .play-btn-glass svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== HERO CTA BUTTON - WHITE ON PURPLE ===== */
/* Override all other styles for maximum visibility */
.hero .btn-premium,
.hero button.btn-premium,
button.btn-premium.ripple {
    background: #ffffff !important;
    color: #4b2185 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    border: none !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    transition: all 0.3s ease !important;
}

.hero .btn-premium:hover,
.hero button.btn-premium:hover,
button.btn-premium.ripple:hover {
    background: #f3efff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35) !important;
}

/* Video CTA Button - Glassmorphism with offset */
.hero .video-cta-button,
.video-cta-button {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    position: relative;
    top: 8px;
}
