:root {
    /* Основные цвета */
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary: #9333EA;
    --secondary-dark: #7E22CE;
    --secondary-light: #A855F7;
    --accent: #10B981;
    --accent-dark: #059669; 
    --accent-light: #34D399;

    /* Темные оттенки и нейтральные цвета */
    --dark: #111827;
    --dark-2: #1F2937;
    --dark-3: #374151;
    --gray: #6B7280;
    --gray-light: #9CA3AF;
    --gray-lighter: #D1D5DB;
    --light: #F3F4F6;
    --light-2: #F9FAFB;
    --white: #FFFFFF;

    /* Статусные цвета */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    /* Базовые параметры */
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-sm: 4px;
    --transition-speed: 0.3s;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-3));
}

* {
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Безопасная анимация */
.security-animation {
    width: 500px;
    height: 350px;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    perspective: 800px;
}

.security-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--dark-2), var(--dark-3));
}

.server-container {
    width: 120px;
    height: 160px;
    position: relative;
    transform-style: preserve-3d;
    animation: serverRotate 15s infinite linear;
}

.server {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark-3), var(--dark));
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
    border: 1px solid rgba(79, 70, 229, 0.3);
}

.server::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 10px;
    background: rgba(79, 70, 229, 0.3);
    border-radius: 5px;
}

.server::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    height: 10px;
    background: rgba(79, 70, 229, 0.3);
    border-radius: 5px;
}

.server-lock {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--primary);
    animation: pulsate 2s infinite ease-in-out;
}

.server-lock i {
    font-size: 1.5rem;
    color: var(--white);
}

.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.data-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 10px var(--primary);
    z-index: 10;
}

.data-particle:nth-child(1) {
    top: 30%;
    left: 10%;
    animation: dataMove1 4s infinite;
}

.data-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation: dataMove2 5s infinite;
    animation-delay: 1s;
}

.data-particle:nth-child(3) {
    top: 20%;
    right: 15%;
    animation: dataMove3 4.5s infinite;
    animation-delay: 0.5s;
}

.data-particle:nth-child(4) {
    top: 70%;
    right: 20%;
    animation: dataMove4 5.5s infinite;
    animation-delay: 1.5s;
}

.security-shield {
    position: absolute;
    top: 25px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 0 10px var(--secondary);
    opacity: 0.9;
    animation: float 4s infinite ease-in-out;
}

@keyframes serverRotate {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes pulsate {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px var(--primary);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px var(--primary);
    }
}

@keyframes dataMove1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(250px, 50px) scale(1.5);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes dataMove2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(200px, -50px) scale(1.5);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes dataMove3 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-250px, 50px) scale(1.5);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes dataMove4 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-200px, -50px) scale(1.5);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Адаптивность для блока безопасности */
@media (max-width: 992px) {
    .security-animation {
        width: 100%;
        max-width: 450px;
        height: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .security-animation {
        height: 280px;
    }
    
    .server-container {
        width: 100px;
        height: 140px;
    }
}

@media (max-width: 576px) {
    .security-animation {
        height: 250px;
    }
    
    .server-container {
        width: 80px;
        height: 120px;
    }
    
    .server-lock {
        width: 40px;
        height: 40px;
    }
    
    .server-lock i {
        font-size: 1.2rem;
    }
}

/* Дополнительные стили для улучшения блока безопасности */
.extra-particle {
    width: 3px;
    height: 3px;
    opacity: 0.5;
    filter: blur(1px);
}

.security-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.1), transparent 70%);
    z-index: 0;
    animation: pulse 4s infinite;
}

.security-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(79, 70, 229, 0.2);
    z-index: 0;
    animation: expand 3s infinite ease-in-out;
}

@keyframes expand {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}
a {
    text-decoration: none;
    color: var(--primary-light);
    transition: all var(--transition-speed) ease;
}

a:hover {
    color: var(--primary);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Кнопки */
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(79, 70, 229, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-light);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    background: rgba(17, 24, 39, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.logo-svg {
    width: 210px;
    height: 40px;
}

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

.nav-links a {
    color: var(--light);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-speed) ease;
}

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

/* Navbar Actions Container */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher Toggle - Премиум UI элемент */
.language-switcher-toggle {
    display: flex;
    background: linear-gradient(145deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.98));
    border-radius: 35px;
    padding: 6px;
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(79, 70, 229, 0.3),
        0 0 30px rgba(79, 70, 229, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-left: 1rem;
    transform: translateZ(0);
}

.language-switcher-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.language-switcher-toggle:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 3px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(79, 70, 229, 0.6),
        0 0 40px rgba(79, 70, 229, 0.4);
}

.language-switcher-toggle:hover::before {
    opacity: 0.1;
}

.lang-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 48px;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    overflow: hidden;
}

.lang-switch::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.lang-switch:hover::before {
    left: 100%;
}

.lang-switch:not(.active) {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lang-switch:not(.active):hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lang-switch.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
    color: var(--white);
    box-shadow: 
        0 8px 25px rgba(79, 70, 229, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 20px rgba(79, 70, 229, 0.3);
    transform: scale(1.08);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    font-weight: 800;
}

.lang-switch.active::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 20px;
    pointer-events: none;
    font-size: 0.9rem;
    transition: all var(--transition-speed) ease;
}

.lang-option:hover {
    background: rgba(79, 70, 229, 0.2);
    color: var(--primary-light);
}

.lang-option i {
    font-size: 1rem;
    color: var(--primary-light);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: var(--transition-speed) ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background-color: var(--dark);
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(147, 51, 234, 0.2), transparent 60%),
                radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.2), transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 30% 30%, var(--primary-dark), var(--dark-3));
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.3),
                inset 0 0 20px rgba(147, 51, 234, 0.5);
    animation: rotate 20s linear infinite;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(129, 140, 248, 0.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
}

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

.avatar {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.avatar:nth-child(1) {
    top: 20%;
    left: 20%;
}

.avatar:nth-child(2) {
    top: 60%;
    left: 30%;
}

.avatar:nth-child(3) {
    top: 30%;
    left: 70%;
}

.avatar:nth-child(4) {
    top: 70%;
    left: 60%;
}

.avatar:nth-child(5) {
    top: 40%;
    left: 50%;
}

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

/* Section Styling */
section {
    padding: 6rem 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--dark-2);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

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

/* About Section */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--dark-3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: all var(--transition-speed) ease;
}

.card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--dark-2);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.about-summary {
    text-align: center;
    margin-top: 2rem;
}

.highlight {
    font-size: 1.2rem;
    padding: 1.5rem;
    background: rgba(79, 70, 229, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: var(--border-radius);
    display: inline-block;
}

/* Features Section */
.feature-block {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    gap: 4rem;
}

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

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.feature-content p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--success);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-container {
    position: relative;
    perspective: 1000px;
}

.mockup-phone {
    width: 300px;
    height: 600px;
    background: var(--dark-3);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    transform: rotateY(-20deg) rotateX(5deg);
    transition: all var(--transition-speed) ease;
}

.mockup-phone:hover {
    transform: rotateY(-15deg) rotateX(3deg) scale(1.05);
}

.mockup-screen {
    width: 280px;
    height: 580px;
    margin: 10px;
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--dark);
}

.mockup-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Call Demo */
.video-call-demo {
    width: 500px;
    height: 350px;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    position: relative;
}

.video-main {
    width: 100%;
    height: 75%;
    background: linear-gradient(to right, var(--dark-2), var(--dark-3));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-overlay i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-speed) ease;
}

.video-overlay:hover i {
    color: var(--primary-light);
    transform: scale(1.1);
}

.video-participants {
    width: 100%;
    height: 25%;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--dark-2);
}

.participant {
    flex: 1;
    height: 100%;
    background: var(--dark-3);
    border-radius: var(--border-radius-sm);
}

/* Avatar Showcase */
.avatar-showcase {
    width: 500px;
    padding: 2rem;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.avatar-item {
    border-radius: var(--border-radius);
    aspect-ratio: 1/1;
    background: var(--dark-2);
    position: relative;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.avatar-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.3);
}

.avatar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--dark-3), var(--dark-2));
    border-radius: inherit;
}

.avatar-item.premium::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

/* Donations Section */
.donations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.donation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.donation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.donation-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.5), transparent 70%);
    opacity: 0;
    transition: all var(--transition-speed) ease;
}

.donation-card:hover .glow-effect {
    opacity: 1;
}

.donation-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.donation-card p {
    color: var(--gray-light);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-light);
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 4rem;
}

.testimonials-slider::-webkit-scrollbar {
    height: 8px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: var(--dark-3);
    border-radius: 20px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 20px;
}

.testimonial-card {
    min-width: 350px;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    padding: 2rem;
    scroll-snap-align: start;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 5rem;
    color: rgba(147, 51, 234, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary);
}

.testimonial-content {
    flex: 1;
}

.testimonial-rating {
    margin-bottom: 1rem;
    color: var(--warning);
}

.testimonial-text {
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-light);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: var(--gray-light);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-3);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    background: #404c5f;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.faq-question h3 {
    font-size: 1.2rem;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--dark-2);
    transition: all var(--transition-speed) ease;
}

.faq-item.active .toggle-icon {
    background: var(--primary);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

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

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
    color: var(--white);
    font-size: 1.5rem;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-5px);
    color: var(--white);
}

.contact-form {
    flex: 1;
    background: var(--dark-3);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--border-radius-sm);
    background: var(--dark-2);
    border: 1px solid var(--dark-3);
    color: var(--white);
    outline: none;
    transition: all var(--transition-speed) ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}
.form-group .form-check .error-message { /* Specific for checkbox terms */
    margin-left: 0; /* Align with checkbox label if needed */
}
.form-group .error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
/* End of styles for form validation errors */

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}
.form-group input.is-invalid,
.form-group select.is-invalid {
    border-color: var(--error) !important; /* Ensure override */
}
/* CTA Section */
.cta {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(147, 51, 234, 0.2));
    clip-path: polygon(0 25%, 100% 0%, 100% 75%, 0% 100%);
    z-index: 1;
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--dark-3);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-desc {
    color: var(--gray-light);
    margin-top: 1rem;
}

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

.footer-links a {
    color: var(--gray-light);
    transition: all var(--transition-speed) ease;
}

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

.app-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
    outline: none;
}

/* Founders Section */
.founders {
    background: var(--dark);
}

.founders-container {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.founder-card {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.founder-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-speed) ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-social {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -50px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9), transparent);
    transition: all var(--transition-speed) ease;
    opacity: 0;
}

.founder-card:hover .founder-social {
    bottom: 0;
    opacity: 1;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    border: 1px solid transparent;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.founder-info {
    padding: 2rem;
}

.founder-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.founder-title {
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.founder-bio {
    color: var(--gray-light);
    line-height: 1.6;
}

/* Statistics Section (replacing Testimonials) */
.statistics {
    background: var(--dark-2);
    position: relative;
    overflow: hidden;
}

.statistics::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent 70%);
    z-index: 1;
}

.statistics::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1), transparent 70%);
    z-index: 1;
}

.stats-wrapper {
    position: relative;
    z-index: 10;
}

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

.stat-item {
    background: var(--dark-3);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.stat-value-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.2rem;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.percent {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 0.25rem;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.stat-bar {
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 0 auto 1rem;
    border-radius: 3px;
}

.stat-description {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.stats-action {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--dark-3);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.stats-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(147, 51, 234, 0.1));
    z-index: -1;
}

.stats-highlight {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}
/* Pre-registration Banner */
.pre-registration-banner {
    background: var(--dark-3);
    padding: 0.75rem 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.pre-registration-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.1), rgba(147, 51, 234, 0.1));
    z-index: -1;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.banner-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    animation: pulse 2s infinite;
}

.banner-content p {
    margin: 0;
    color: var(--light);
    font-weight: 500;
}

.banner-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--gray-light);
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed) ease;
}

.banner-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

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

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    color: var(--white);
}

/* Navbar Waitlist Link Highlight */
.waitlist-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    color: var(--primary-light) !important;
    font-weight: 600;
}

.waitlist-link i {
    transition: transform 0.3s ease;
}

.waitlist-link:hover i {
    transform: translateX(3px);
}

/* Hero Section Enhancements */
.beta-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
    transition: all 0.2s ease;
}

.beta-badge:hover {
    transform: scale(1.03);
}

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

.hero-particle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent 70%);
    z-index: 1;
    animation: float 10s infinite ease-in-out;
}

.hero-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.hero-particle:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.2), transparent 70%);
    animation-delay: 2s;
}

.hero-particle:nth-child(3) {
    bottom: 15%;
    left: 25%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
    animation-delay: 4s;
}

/* Waitlist Section */
.waitlist {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.waitlist::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05), transparent 70%);
    z-index: 1;
}

.waitlist::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.05), transparent 70%);
    z-index: 1;
}

.waitlist-wrapper {
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.waitlist-info {
    flex: 1;
}

.waitlist-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.waitlist-benefits {
    list-style: none;
    padding: 0;
}

.waitlist-benefits li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--dark-2);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary);
    transition: all 0.2s ease;
}

.waitlist-benefits li:hover {
    background: var(--dark-3);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.waitlist-benefits li:hover .benefit-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.benefit-text h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.benefit-text p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin: 0;
}

.waitlist-form-container {
    flex: 1;
    position: relative;
}

.form-box {
    background: var(--dark-2);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.form-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.waitlist-form .form-group {
    margin-bottom: 1.5rem;
}

.waitlist-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.waitlist-form input,
.waitlist-form select {
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--dark-3);
    border: 1px solid var(--dark-3);
    color: var(--white);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
    outline: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.form-check input {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
}

.form-check label {
    font-size: 0.9rem;
    color: var(--gray-light);
}

.form-check a {
    color: var(--primary-light);
    text-decoration: underline;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    border-radius: var(--border-radius);
}

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

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    z-index: -2;
    border-radius: var(--border-radius);
}

.form-decoration {
    position: absolute;
    top: 9px;
    right: 90px;
    z-index: 1;
}

.form-badge {
    position: absolute;
    top: 12px;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    transform: rotate(15deg);
    animation: float 4s infinite ease-in-out;
}

.badge-icon {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
}

.waitlist-success {
    text-align: center;
    padding: 3rem;
    background: var(--dark-2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.waitlist-success h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.waitlist-success p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.waitlist-particles .particle {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
    z-index: 1;
}

.waitlist-particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation: float 10s infinite ease-in-out;
}

.waitlist-particles .particle:nth-child(2) {
    top: 60%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: rgba(147, 51, 234, 0.1);
    animation: float 8s infinite ease-in-out;
    animation-delay: 1s;
}

.waitlist-particles .particle:nth-child(3) {
    bottom: 15%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: rgba(16, 185, 129, 0.05);
    animation: float 12s infinite ease-in-out;
    animation-delay: 2s;
}

.waitlist-particles .particle:nth-child(4) {
    top: 40%;
    left: 40%;
    width: 50px;
    height: 50px;
    background: rgba(245, 158, 11, 0.05);
    animation: float 9s infinite ease-in-out;
    animation-delay: 3s;
}

.waitlist-particles .particle:nth-child(5) {
    bottom: 30%;
    right: 25%;
    width: 70px;
    height: 70px;
    background: rgba(79, 70, 229, 0.05);
    animation: float 11s infinite ease-in-out;
    animation-delay: 4s;
}

/* Footer Enhancements */
.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter p {
    margin-bottom: 0.75rem;
    color: var(--gray-light);
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    outline: none;
    background: var(--dark-3);
    color: var(--white);
}

.newsletter-form button {
    width: 40px;
    background: var(--primary);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-social {
    margin-bottom: 1.5rem;
}

.footer-badges {
    display: flex;
    align-items: center;
}

.footer-beta-badge {
    background: var(--secondary);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 600;
    user-select: none;
    text-transform: uppercase;
}
/* Roadmap Section */
/* ===== ИНТЕРАКТИВНЫЙ РОАДМАП С ПРЕМИУМ АНИМАЦИЕЙ ===== */

.roadmap-interactive {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem 0; /* Reduced bottom padding to prevent overflow */
    /* Убеждаемся что роадмап не наложится на CTA */
    z-index: 1;
    isolation: isolate;
    /* Четкое завершение секции */
    margin-bottom: 0;
    /* Ensure proper containment */
    contain: layout;
}

.roadmap-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.roadmap-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(129, 140, 248, 0.3)); }
    50% { filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.6)); }
}

.roadmap-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

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

/* Прогресс-бар */
.roadmap-progress-container {
    max-width: 600px;
    margin: 2rem auto 4rem;
    position: relative;
    z-index: 1;
}

.roadmap-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(107, 114, 128, 0.3);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.roadmap-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 20px;
    width: 0;
    animation: progressFill 2s ease-out 1s forwards;
    position: relative;
    overflow: hidden;
}

.roadmap-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressFill {
    to { width: var(--progress, 35%); }
}

@keyframes progressShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.roadmap-progress-text {
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary-light);
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Timeline роадмапа */
.roadmap-timeline-container {
    position: relative;
    padding: 2rem 0 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    /* Ensure proper containment and prevent overflow */
    overflow: visible;
    contain: layout;
}

/* CLEARFIX для роадмапа чтобы float элементы НЕ ВЛИЯЛИ на CTA */
.roadmap-timeline-container::after {
    content: "";
    display: table;
    clear: both;
}

.roadmap-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.5);
    opacity: 0;
    animation: drawLine 2s ease-out 0.5s forwards;
}

@keyframes drawLine {
    to {
        opacity: 1;
    }
}

.roadmap-phase-wrapper {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
    min-height: 120px;
    /* Ensure proper containment */
    contain: layout style;
}

.roadmap-phase-wrapper.left {
    padding-right: 55%;
    float: left;
}

.roadmap-phase-wrapper.right {
    padding-left: 55%;
    float: right;
}

/* Позиционирование иконки в правом верхнем углу блока фазы для левых фаз */
.roadmap-phase-wrapper.left .roadmap-phase-icon {
    right: 1rem; /* Отступ от правого края блока */
    top: 1rem; /* Отступ от верхнего края блока */
    left: auto;
    transform: none; /* Убираем трансформации */
}

/* Позиционирование иконки в правом верхнем углу блока фазы для правых фаз */
.roadmap-phase-wrapper.right .roadmap-phase-icon {
    right: 1rem; /* Отступ от правого края блока */
    top: 1rem; /* Отступ от верхнего края блока */
    left: auto;
    transform: none; /* Убираем трансформации */
}

.roadmap-phase {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(129, 140, 248, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 0;
    position: relative;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: phaseSlideIn 0.6s ease-out forwards;
}

.roadmap-phase-header {
    padding: 1.5rem 2rem 2rem 2rem; /* Уменьшен верхний отступ, так как иконка теперь не над датой */
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.roadmap-phase-header:hover {
    background: rgba(129, 140, 248, 0.1);
}

.roadmap-phase-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 2rem;
    opacity: 0;
    background: rgba(17, 24, 39, 0.3);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    backdrop-filter: blur(10px);
}

.roadmap-phase-content.active {
    max-height: 400px;
    padding: 1.5rem 2rem 2rem 2rem;
    opacity: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.roadmap-phase-toggle {
    position: absolute;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(129, 140, 248, 0.7);
    transition: all 0.3s ease;
}

.roadmap-phase-toggle.active {
    transform: translateY(-50%) rotate(180deg);
    color: rgba(129, 140, 248, 1);
}

.roadmap-phase-wrapper:nth-child(2) .roadmap-phase { animation-delay: 0.2s; }
.roadmap-phase-wrapper:nth-child(3) .roadmap-phase { animation-delay: 0.4s; }
.roadmap-phase-wrapper:nth-child(4) .roadmap-phase { animation-delay: 0.6s; }
.roadmap-phase-wrapper:nth-child(5) .roadmap-phase { animation-delay: 0.8s; }
.roadmap-phase-wrapper:nth-child(6) .roadmap-phase { animation-delay: 1.0s; }

@keyframes phaseSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contentSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(-5px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.roadmap-phase:hover {
    border-color: rgba(129, 140, 248, 0.6);
    box-shadow: 0 12px 40px rgba(129, 140, 248, 0.2);
    /*transform: translateY(-5px); */
}

.roadmap-phase.completed {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(31, 41, 55, 0.9);
}

.roadmap-phase.in-progress {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(31, 41, 55, 0.9);
}

.roadmap-phase.planned {
    border-color: rgba(107, 114, 128, 0.5);
    background: rgba(31, 41, 55, 0.7);
}

.roadmap-phase-wrapper.left .roadmap-phase::after {
    content: '';
    position: absolute;
    top: 60px; /* Фиксированная позиция относительно верха фазы */
    right: -17px; /* Немного сдвигаем точку ближе к линии */
    width: 34px; /* Увеличиваем размер точки */
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.6);
    border: 3px solid var(--bg-dark); /* Уменьшаем толщину границы */
    z-index: 10; /* Высокий z-index для точки */
}

.roadmap-phase-wrapper.right .roadmap-phase::after {
    content: '';
    position: absolute;
    top: 60px; /* Фиксированная позиция относительно верха фазы */
    left: -17px; /* Немного сдвигаем точку ближе к линии */
    width: 34px; /* Увеличиваем размер точки */
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 20px rgba(129, 140, 248, 0.6);
    border: 3px solid var(--bg-dark); /* Уменьшаем толщину границы */
    z-index: 10; /* Высокий z-index для точки */
}

.roadmap-phase-icon {
    position: absolute;
    width: 40px; /* Уменьшаем размер для размещения в углу */
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem; /* Уменьшаем размер иконки */
    box-shadow: 0 0 8px var(--primary), 0 0 15px rgba(129, 140, 248, 0.3);
    z-index: 15; /* Увеличен z-index чтобы быть выше точек на линии */
    transition: none; /* Убираем все анимации */
}

/* Убираем анимацию при наведении на иконки */
.roadmap-phase-wrapper.left .roadmap-phase:hover .roadmap-phase-icon {
    transform: none !important; /* Иконка остается на месте при наведении */
}

.roadmap-phase-wrapper.right .roadmap-phase:hover .roadmap-phase-icon {
    transform: none !important; /* Иконка остается на месте при наведении */
}

.roadmap-phase-date {
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.roadmap-phase h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.roadmap-phase ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-phase li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.status-icon {
    margin-right: 0.8rem;
    width: 20px;
    display: flex;
    justify-content: center;
}

.status-icon.completed {
    color: var(--success);
}

.status-icon.in-progress {
    color: var(--warning);
}

.status-icon.planned {
    color: var(--gray-light);
}




.roadmap-milestone {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(129, 140, 248, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: milestoneSlideIn 0.4s ease-out forwards;
}

.roadmap-milestone:nth-child(1) { animation-delay: 0.1s; }
.roadmap-milestone:nth-child(2) { animation-delay: 0.2s; }
.roadmap-milestone:nth-child(3) { animation-delay: 0.3s; }
.roadmap-milestone:nth-child(4) { animation-delay: 0.4s; }
.roadmap-milestone:nth-child(5) { animation-delay: 0.5s; }

@keyframes milestoneSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.roadmap-milestone:hover {
    background: rgba(129, 140, 248, 0.05);
    border-radius: 8px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.roadmap-milestone:last-child {
    border-bottom: none;
}

.milestone-status {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.milestone-status.completed {
    background: var(--success);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.milestone-status.in-progress {
    background: var(--warning);
    color: white;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: milestoneRotate 2s linear infinite;
}

.milestone-status.planned {
    background: var(--gray);
    color: var(--gray-dark);
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

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

.milestone-text {
    flex: 1;
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.roadmap-milestone:hover .milestone-text {
    color: var(--light);
}

/* CTA секция */
/* Старые стили roadmap-cta удалены - теперь используется roadmap-cta-section */

/* Отдельная секция для CTA кнопки */
.roadmap-cta-section {
    padding: 4rem 0;
    /* Используем тот же фон что и у роадмапы */
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%); /*linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark) 100%) */
    position: relative;
    overflow: hidden;
    /* Очень высокий z-index чтобы роадмап НИ В КОЕМ СЛУЧАЕ не мог наложиться */
    z-index: 999;
    /* Дополнительная изоляция */
    isolation: isolate;
    /* МАКСИМАЛЬНОЕ разделение от роадмапа */
    margin-top: 5rem;
    clear: both;
    /* Создаем новый контекст наложения */
    transform: translateZ(0);
    /* Дополнительная защита от float элементов */
    display: block;
    width: 100%;
}

/* Дополнительный clearfix перед CTA */
.roadmap-cta-section::after {
    content: "";
    display: table;
    clear: both;
}

.roadmap-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Используем тот же радиальный градиент что и у роадмапы */
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundPulse 8s ease-in-out infinite;
}

.roadmap-cta-block {
    position: relative;
    z-index: 10;
    /* Полное центрирование */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.98));
    border-radius: var(--border-radius-lg);
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    border: 2px solid rgba(129, 140, 248, 0.4);
    backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(129, 140, 248, 0.2);
    transform: translateZ(0);
    /* Дополнительная защита от наложения */
    contain: layout style;
}
.roadmap-cta-block h3 {
    font-size.8rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Идеальное центрирование заголовка */
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.roadmap-cta-block p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    /* Идеальное центрирование текста */
    text-align: center;
    width: 100%;
}

.roadmap-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(129, 140, 248, 0.3);
    /* Simplified centering */
    margin: 0 auto;
    min-width: 250px;
    width: auto;
}

.roadmap-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.4);
    text-decoration: none;
    color: white;
}




@media (max-width: 768px) { /* Mobile Landscape / Small Tablet */
    
    .roadmap-line {
        left: 30px;
        box-shadow: 0 0 6px var(--primary-light),
                    0 0 10px var(--primary-light),
                    0 0 12px var(--secondary-light); /* Slightly reduce glow */
    }
    .roadmap-phase-wrapper,
    .roadmap-phase-wrapper.right,
    .roadmap-phase-wrapper.left {
        width: 100%;
        float: none;
        padding-left: 70px; /* (30px for line offset + 40px space) */
        padding-right: 15px; /* Some padding on the other side */
        margin-bottom: 50px;
    }
    .roadmap-phase-wrapper.right::after,
    .roadmap-phase-wrapper.left::after {
        left: 20px; /* (30px line left - 11px half dot width) */
        right: auto;
    }
    .roadmap-phase-date {
        margin-top: 15px;
    }
    .roadmap-phase h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) { /* Mobile Portrait */
    .roadmap {
        padding: 4rem 0;
    }
    .roadmap-line {
        left: 20px; /* Closer to edge */
    }
    .roadmap-phase-wrapper,
    .roadmap-phase-wrapper.right,
    .roadmap-phase-wrapper.left {
        padding-left: 45px; /* (20px for line offset + 30px space) */
        /*padding-right: 10px; */
    }
    .roadmap-phase-wrapper.right::after,
    .roadmap-phase-wrapper.left::after {
          /* Recalculate for line at 20px and wrapper padding-left at 45px */
        /* Difference = 45 - 20 = 25px */
        transform: translateX(calc(-1 * (45px - 20px))) translateY(-50%);
        margin-left: -9px; /* Assuming dot width remains 18px */
    }
    .roadmap-phase {
        padding: 20px;
    }
    .roadmap-phase-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        top: -32px; /* Увеличен отступ для мобильных устройств */
        z-index: 4;
        /* Базовое позиционирование для мобильных устройств */
        transform: translateX(-50%);
    }
    
    .roadmap-phase:hover .roadmap-phase-icon {
        transform: translateX(-50%) scale(1.1) rotate(5deg);
    }
    .roadmap-phase h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    .roadmap-phase ul li {
        font-size: 0.9rem;
    }
    .roadmap-cta-block p {
        font-size: 1rem;
    }
    .roadmap-cta-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}
@media (max-width: 576px) {
    .roadmap-line {
        left: 20px;
    }
    .roadmap-phase-wrapper,
    .roadmap-phase-wrapper.right,
    .roadmap-phase-wrapper.left {
        padding-left: 45px;
    }
    .roadmap-phase-wrapper.right::after,
    .roadmap-phase-wrapper.left::after {
        /*left: 10px;
        width: 16px;
        height: 16px;
        border-width: 3px; */
         /* Recalculate for line at 20px and wrapper padding-left at 45px */
        /* Difference = 45 - 20 = 25px */
        transform: translateX(calc(-1 * (45px - 20px))) translateY(-50%);
        margin-left: -9px; /* Assuming dot width remains 18px */
    }
    .roadmap-phase h3 { font-size: 1.5rem; }
    .roadmap-phase ul li { font-size: 0.95rem; }
}
/* Animations */
@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 100%;
    }
}
/* Responsive adjustments for Roadmap */
@media (max-width: 992px) { /* Tablet */
    .roadmap-timeline-container {
    position: relative;
    padding: 40px 0 650px; /* Increased padding-bottom from 280px to 330px */
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    }
}
/* Responsive Additions */
@media (max-width: 992px) {
    .waitlist-wrapper {
        flex-direction: column;
    }
    
    .roadmap-timeline-container {
    position: relative;
    padding: 40px 0 0px; /* Increased padding-bottom from 280px to 330px */
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    }
    .pre-registration-banner .container {
        padding: 0 3rem;
    }
    
    .form-decoration {
        top: -20px;
        right: -20px;
    }
    
    .form-badge {
        width: 80px;
        height: 80px;
    }
    
    .badge-icon {
        font-size: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        padding: 0.5rem 0;
        text-align: center;
    }
    
    .banner-close {
        top: 15px;
        transform: none;
    }
    
    .waitlist-benefits li {
        padding: 1.2rem;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .pre-registration-banner .container {
        padding: 0 2rem;
    }
    
    .waitlist-benefits li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .benefit-icon {
        margin-bottom: 0.5rem;
    }
    
    .form-box {
        padding: 1.5rem;
    }
}
/* Responsive adjustments for new sections */
@media (max-width: 992px) {
    .founders-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .founder-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .founder-social {
        bottom: 0;
        opacity: 1;
    }
    
    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .stat-value {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .stat-value {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .founder-image {
        height: 250px;
    }
}
.app-link:hover {
    background: var(--dark-2);
    transform: translateY(-3px);
}

.app-link i {
    font-size: 1.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--dark-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray-light);
}

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

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