/**
 * 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 Sound Wave Animation */
.hero {
    background: radial-gradient(circle at 20% 30%, #2e2a5e 0%, #0f172a 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

/* Animated Sound Wave Background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
    z-index: 1;
    animation: float 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
    z-index: 1;
}

/* 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: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary, .btn-premium {
    background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%);
    color: white;
    padding: 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
    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: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* 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-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.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-icon svg {
    width: 28px;
    height: 28px;
    color: #6366f1;
    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: 1px solid #e2e8f0;
    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 10px 40px rgba(0, 0, 0, 0.04);
}

.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: 2px solid #6366f1;
    background: rgba(99, 102, 241, 0.03);
}

.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 h3 {
    font-size: var(--text-3xl);
    margin-bottom: 15px;
    color: var(--text-dark);
}

.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: 10px 0;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
    padding-right: 25px;
}

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

.pricing-features li::before {
    content: "●";
    color: var(--secondary-500);
    font-weight: var(--font-bold);
    font-size: 1.2em;
    position: absolute;
    right: 0;
}

.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 {
    background: linear-gradient(135deg, var(--secondary-500) 0%, var(--secondary-400) 100%);
    color: white;
    border: none;
    box-shadow: var(--shadow-secondary);
}

.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-500) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Free Plan Button - Gray */
.pricing-card:first-child .btn-primary {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    box-shadow: 0 4px 14px rgba(148, 163, 184, 0.3);
}

.pricing-card:first-child .btn-primary:hover {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    box-shadow: 0 8px 25px rgba(148, 163, 184, 0.4);
}

/* Current Plan Styles */
.pricing-card.current {
    border-color: var(--success);
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.pricing-card.current::after {
    content: 'התוכנית הנוכחית';
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--success);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
}

.btn-primary.current {
    background: var(--success);
    color: white;
    cursor: default;
}

.btn-primary.current:hover {
    transform: none;
    box-shadow: var(--shadow-success);
}

/* 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: 58px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
    overflow: hidden;
}

/* Decorative Quote Mark */
.testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 80px;
    color: #6366F1;
    opacity: 0.1;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-400));
    -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);
}

.testimonial-card:hover::before {
    opacity: 0.5;
}

.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(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-text {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-right: 30px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    right: 0;
    font-size: 3em;
    color: var(--primary-500);
    opacity: 0.3;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    box-shadow: var(--shadow-secondary);
}

.testimonial-info h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--text-light);
    font-size: var(--text-sm);
}

/* 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 */
.footer {
    background: var(--gray-900);
    color: white;
    padding: 60px 0 30px;
}

.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;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--secondary-500);
}

.footer-section p,
.footer-section a {
    color: var(--gray-400);
    text-decoration: none;
    line-height: 1.7;
    transition: color var(--transition-base);
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-500);
}

/* 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 60px;
        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;
    }
}
