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

:root {
    --gradient-violet: #8B5CF6;
    --gradient-magenta: #EC4899;
    --gradient-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --dark-slate: #0F172A;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark-slate);
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

h1 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-magenta), var(--gradient-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Icons */
.icon {
    flex-shrink: 0;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.language-switcher .icon {
    color: var(--gray-600);
}

.lang-btn {
    padding: 6px 12px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--gray-100);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-blue));
    color: white;
}

/* Buttons */
.btn-primary {
    padding: 16px 32px;
    border-radius: 9999px;
    border: none;
    background: linear-gradient(135deg, var(--accent-cyan), var(--gradient-blue));
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    padding: 16px 32px;
    border-radius: 9999px;
    border: 2px solid var(--gradient-violet);
    background: white;
    color: var(--gradient-violet);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background: var(--gray-50);
}

.btn-cta {
    padding: 20px 40px;
    border-radius: 9999px;
    border: none;
    background: white;
    color: var(--gray-900);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

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

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

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

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.2; }
}

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

@keyframes floatReverse {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: white;
    padding: 80px 0;
}

.gradient-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background: radial-gradient(circle at 20% 50%, var(--gradient-violet) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, var(--gradient-blue) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

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

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero-content .badge .icon {
    color: var(--gradient-violet);
}

.hero-content .badge span {
    color: var(--gradient-violet);
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

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

.social-proof {
    color: var(--gray-500);
}

.social-proof strong {
    color: var(--gray-700);
}

/* View Mode Toggle */
.view-mode-toggle {
    max-width: fit-content;
    margin: 32px auto;
    display: flex;
    gap: 8px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 9999px;
}

.toggle-btn {
    padding: 8px 24px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Card Stack */
.card-stack-container {
    position: relative;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-stack {
    position: relative;
    width: 320px;
    height: 100%;
}

.swipe-card {
    position: absolute;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-100);
    cursor: grab;
    user-select: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.card-image {
    height: 256px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.card-content {
    padding: 24px;
}

.card-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 16px;
}

.card-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.card-btn-pass {
    background: white;
    border: 2px solid var(--gray-300);
    color: var(--gray-600);
}

.card-btn-pass:hover {
    border-color: #EF4444;
    background: #FEF2F2;
    color: #EF4444;
    transform: scale(1.1);
}

.card-btn-match {
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-magenta), var(--gradient-blue));
    color: white;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.card-btn-match:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.swipe-indicator {
    position: absolute;
    top: 32px;
    padding: 12px 24px;
    background: #22C55E;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.swipe-indicator.right {
    right: 32px;
    transform: rotate(12deg);
}

.swipe-indicator.left {
    left: 32px;
    background: #EF4444;
    transform: rotate(-12deg);
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-1 {
    width: 96px;
    height: 96px;
    background: var(--gradient-magenta);
    opacity: 0.2;
    top: -40px;
    right: -40px;
    animation: float 3s ease-in-out infinite;
}

.shape-2 {
    width: 128px;
    height: 128px;
    background: var(--gradient-blue);
    opacity: 0.2;
    bottom: -40px;
    left: -40px;
    animation: floatReverse 4s ease-in-out infinite;
}

.swipe-hint {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 24px;
}

/* Problem Section */
.problem-section {
    padding: 96px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 672px;
    margin: 0 auto;
}

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

.problem-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.problem-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.problem-icon svg {
    color: #EF4444;
}

.problem-card h3 {
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray-600);
}

.problem-conclusion {
    text-align: center;
}

.problem-conclusion p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* How It Works Section */
.how-it-works-section {
    padding: 96px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.section-bg-shapes {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
}

.bg-shape-1 {
    width: 256px;
    height: 256px;
    background: var(--gradient-violet);
    top: 80px;
    left: 40px;
}

.bg-shape-2 {
    width: 384px;
    height: 384px;
    background: var(--gradient-blue);
    bottom: 80px;
    right: 40px;
}

.timeline-desktop {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.timeline-line {
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--gradient-violet), var(--gradient-magenta), var(--gradient-blue));
    opacity: 0.2;
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-icon {
    width: 96px;
    height: 96px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
    position: relative;
    z-index: 10;
    transition: transform 0.3s;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.gradient-violet {
    background: linear-gradient(to bottom right, #8B5CF6, #A78BFA);
}

.gradient-pink {
    background: linear-gradient(to bottom right, #A78BFA, #EC4899);
}

.gradient-rose {
    background: linear-gradient(to bottom right, #EC4899, #F43F5E);
}

.gradient-blue {
    background: linear-gradient(to bottom right, #F43F5E, #3B82F6);
}

.gradient-cyan {
    background: linear-gradient(to bottom right, #06B6D4, #3B82F6);
}

.step-icon svg {
    color: white;
}

.step-number {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    z-index: 20;
}

.step-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Features Section */
.features-section {
    padding: 96px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.feature-icon svg {
    color: white;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
}

/* Testimonials Section */
.testimonials-section {
    padding: 96px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: radial-gradient(circle at 50% 50%, var(--gradient-violet) 0%, transparent 70%);
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto 48px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-100);
}

.testimonial-content {
    display: flex;
    gap: 32px;
    align-items: center;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(139, 92, 246, 0.1);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--gray-700);
    margin-bottom: 24px;
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.testimonial-author .role {
    color: var(--gray-600);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -64px;
}

.carousel-next {
    right: -64px;
}

.carousel-btn svg {
    color: var(--gray-600);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.carousel-dot.active {
    width: 32px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-blue));
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-600);
}

/* CTA Section */
.cta-section {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.cta-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-magenta), var(--gradient-blue));
}

.cta-shape-1 {
    width: 128px;
    height: 128px;
    background: rgba(255, 255, 255, 0.1);
    top: 40px;
    left: 40px;
    animation: float 6s ease-in-out infinite;
    filter: blur(40px);
}

.cta-shape-2 {
    width: 192px;
    height: 192px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 40px;
    right: 40px;
    animation: floatReverse 8s ease-in-out infinite 1s;
    filter: blur(40px);
}

.cta-shape-3 {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.1);
    top: 50%;
    left: 25%;
    animation: float 7s ease-in-out infinite 2s;
    filter: blur(40px);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 896px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.9);
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 64px 0;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gradient-violet), var(--gradient-magenta), var(--gradient-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: var(--gray-400);
}

.footer-links h4 {
    color: white;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-social h4 {
    color: white;
    margin-bottom: 16px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.2s;
}

.social-icon:hover {
    background: var(--gray-700);
    color: white;
}

.footer-email {
    color: var(--gray-400);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: white;
}

/* RTL Support */
[dir="rtl"] .hero-grid,
[dir="rtl"] .problem-grid,
[dir="rtl"] .timeline-desktop,
[dir="rtl"] .features-grid,
[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .language-switcher {
    left: 24px;
    right: auto;
}

[dir="rtl"] .carousel-prev {
    left: auto;
    right: -64px;
}

[dir="rtl"] .carousel-next {
    right: auto;
    left: -64px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
    }

    .timeline-desktop {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        display: none;
    }

    .step-number {
        position: static;
        transform: none;
        margin-bottom: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .carousel-prev {
        left: 16px;
    }

    .carousel-next {
        right: 16px;
    }

    [dir="rtl"] .carousel-prev {
        right: 16px;
        left: auto;
    }

    [dir="rtl"] .carousel-next {
        left: 16px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .view-mode-toggle {
        flex-direction: column;
    }

    .card-stack-container {
        height: 450px;
    }

    .swipe-card {
        width: 280px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* Popup Trigger Button */
.waitlist-btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 26px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.waitlist-btn:hover { transform: translateY(-2px); opacity: 0.9; }

/* Modal Background */
.waitlist-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}

/* Modal Box */
.waitlist-content {
  background: #fff;
  color: #333;
  border-radius: 20px;
  padding: 40px 30px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease;
}

/* Close Button */
.close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}
.close:hover { color: #4f46e5; }

.waitlist-content h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #4f46e5;
}

.waitlist-content p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

#waitlistForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#waitlistForm input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
}

#waitlistForm button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

#waitlistForm button:hover {
  background: #4f46e5;
}

#waitlistMessage {
  margin-top: 10px;
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}
.waitlist-type {
  display: flex;
  justify-content: space-between;
  background: #f9fafb;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.waitlist-type label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  flex: 1;
  justify-content: center;
}

.waitlist-type input[type="radio"] {
  accent-color: #4f46e5; /* Modern purple */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.waitlist-type label:hover span {
  color: #4f46e5;
  transition: color 0.2s ease;
}
.hero-logo {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(79, 70, 229, 0.2));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-logo-container {
      position: fixed;
    display: inline-block;
    background: none;
    z-index: 1000;
    padding: 8px 16px;
    top: 24px;
    left: 24px;
}

.hero-logo {
    
  width: 100px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(79, 70, 229, 0.2));
}
/* Mobile responsive */
@media (max-width: 768px) {
  .hero-logo-container {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-logo {
    width: 46px;
  }
}

/* ---------- MOBILE BOTTOM-UP CHAT ---------- */
@media(max-width:900px){

  /* Sidebar (still slides from right) */
  .sidebar {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 90%;
    max-width: 380px;
    height: calc(100vh - 64px);
    background: #fff;
    box-shadow: -6px 0 22px rgba(16,24,40,0.12);
    border-left: 1px solid #E8EAF2;
    transition: right .35s ease;
    z-index: 120;
    overflow-y: auto;
    padding: 20px 16px 60px;
  }

  .sidebar.active {
    right: 0;
  }

  /* Chat slides up from bottom */
  .chat-panel {
    position: fixed;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 80vh;
    max-height: 720px;
    background: #fff;
    box-shadow: 0 -6px 22px rgba(16,24,40,0.12);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    transition: bottom .4s ease;
    z-index: 140;
    display: grid;
    grid-template-rows: 56px 1fr 64px;
  }

  .chat-panel.active {
    bottom: 0;
  }

  .chat-head {
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(90,125,255,0.1));
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }

  .chat-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 18px;
    display: grid;
    place-items: center;
  }

  .chat-input {
    border-top: 1px solid #eee;
    background: #fff;
    padding: 8px;
  }

  /* Dim background when chat is open */
  body.chat-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 130;
    transition: opacity .3s;
  }

  /* Mobile bottom navigation bar */
  .mobile-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    background: #fff;
    border-top: 1px solid #E8EAF2;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.05);
    z-index: 150;
  }

  .mobile-bar button {
    flex: 1;
    background: none;
    border: none;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.2s;
  }

  .mobile-bar button:active {
    transform: scale(0.96);
  }
}

