@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --primary: #6C5CE7;
    --primary-light: #A29BFE;
    --primary-dark: #5541D7;
    --secondary: #00CEC9;
    --secondary-light: #81ECEC;
    --secondary-dark: #00B5B0;
    --accent: #FDCB6E;
    --accent-glow: #F9CA24;
    --gradient-hero: linear-gradient(135deg, #6C5CE7 0%, #570054 50%, #0984E3 100%);
    --gradient-card: linear-gradient(145deg, rgba(108,92,231,0.1) 0%, rgba(0,206,201,0.1) 100%);
    --gradient-button: linear-gradient(90deg, #6C5CE7, #00CEC9);
    --gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #16213E 100%);
     0 20px rgba(108,92,231,0.5);
     0 20px rgba(0,206,201,0.5);
    --dark-bg: #1A1A2E;
    --darker-bg: #0F0F1A;
    --card-bg: #16213E;
    --card-bg-light: #1E2A4A;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.5);
    --border-color: rgba(108,92,231,0.3);
    --success: #00E676;
    --error: #FF5252;
    --warning: #FFB74D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.no-js .animate-on-scroll {
    opacity: 1;
    transform: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

.logo-text {
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-button);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.header-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--neon-purple), var(--neon-cyan), 0 10px 30px rgba(108, 92, 231, 0.5);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(108, 92, 231, 0.7) 50%, rgba(0, 206, 201, 0.7) 100%);
}

.hero::before {
    content: '?';
    position: absolute;
    font-size: 300px;
    color: rgba(255, 255, 255, 0.03);
    top: -50px;
    right: -50px;
    animation: floatQuestion 8s ease-in-out infinite;
    pointer-events: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.hero::after {
    content: '💡';
    position: absolute;
    font-size: 100px;
    bottom: 15%;
    left: 5%;
    animation: pulse-glow 3s ease-in-out infinite;
    opacity: 0.15;
    pointer-events: none;
}

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

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.1); filter: brightness(1.3); }
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(108, 92, 231, 0.3);
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    animation: pulse-glow 3s ease-in-out infinite;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-countdown {
    background: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    min-width: 60px;
}

.countdown-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.countdown-promo {
    text-align: center;
    font-weight: 600;
    color: var(--accent);
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats-mini {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-mini {
    display: flex;
    flex-direction: column;
}

.stat-mini-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-mini-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.stats-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-button);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-purple), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-variant-numeric: tabular-nums;
    min-width: 150px;
    display: inline-block;
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-button);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 20px auto 0;
}

.how-it-works {
    padding: 100px 0;
    background: var(--darker-bg);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-purple);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    margin: 20px 0;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary);
    align-self: center;
}

.constructor-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.constructor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.constructor-options {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.option-group {
    margin-bottom: 30px;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-group h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn {
    padding: 10px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover,
.option-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.rounds-slider {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 4px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gradient-button);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--neon-purple);
}

.rounds-display {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    min-width: 100px;
}

#roundsValue {
    font-size: 1.5rem;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.theme-tag {
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-tag:hover,
.theme-tag.active {
    background: var(--primary);
    border-color: var(--primary);
}

.constructor-preview {
    position: sticky;
    top: 100px;
}

.preview-screen {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--darker-bg);
    border-bottom: 1px solid var(--border-color);
}

.preview-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.preview-badge {
    padding: 5px 12px;
    background: var(--error);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse-glow 2s ease-in-out infinite;
}

.preview-content {
    padding: 30px;
}

.preview-question {
    margin-bottom: 25px;
}

.question-number {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: block;
}

.question-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.preview-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.answer-option {
    padding: 15px 20px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.answer-option:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.preview-timer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timer-bar {
    flex: 1;
    height: 8px;
    background: rgba(108, 92, 231, 0.2);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.timer-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 70%;
    background: var(--gradient-button);
    border-radius: 4px;
    animation: timerDecrease 30s linear infinite;
}

@keyframes timerDecrease {
    from { width: 100%; }
    to { width: 0%; }
}

.preview-participants {
    padding: 20px;
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
}

.participants-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.counter-icon {
    font-size: 1.5rem;
}

.counter-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.counter-label {
    color: var(--text-muted);
}

.topics-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.topic-card {
    position: relative;
    height: 280px;
    perspective: 1000px;
    cursor: pointer;
}

.topic-front,
.topic-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.topic-front {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.topic-back {
    background: var(--gradient-button);
    transform: rotateY(180deg);
}

.topic-card:hover .topic-front {
    transform: rotateY(-180deg);
}

.topic-card:hover .topic-back {
    transform: rotateY(0);
}

.topic-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.topic-front h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.topic-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.topic-back h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.topic-back p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hr-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.hr-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hr-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(253, 203, 110, 0.2);
    border: 1px solid var(--accent);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
}

.hr-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hr-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hr-benefits {
    margin-bottom: 30px;
}

.hr-benefits li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.hr-benefits li strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.hr-benefits li p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.hr-image {
    position: relative;
}

.hr-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hr-image:hover img {
    transform: scale(1.03);
    box-shadow: var(--neon-purple), 0 30px 80px rgba(0, 0, 0, 0.4);
}

.timezone-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.timezone-map {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    border-radius: 20px;
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: var(--neon-cyan);
    animation: mapPulse 2s ease-in-out infinite;
}

.map-point.active {
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.timezone-info {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.active-games {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 206, 201, 0.1);
    border-radius: 15px;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

.games-count {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.timezone-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tz-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
}

.tz-feature span:first-child {
    font-size: 1.5rem;
}

.pricing-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.toggle-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background: var(--gradient-button);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(28px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-purple), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.pricing-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 30px rgba(253, 203, 110, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 25px;
    background: var(--accent);
    color: var(--dark-bg);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 20px;
}

.pricing-header {
    margin-bottom: 25px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-price {
    margin-bottom: 30px;
}

.price-value {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    color: var(--text-secondary);
}

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

.testimonials-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-purple), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(108, 92, 231, 0.1);
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

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

.company-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.games-played {
    font-size: 0.85rem;
    color: var(--secondary);
}

.testimonial-content {
    padding: 25px;
}

.rating {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.testimonial-content blockquote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.7;
}

.testimonial-author {
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.author-name {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 3px;
}

.author-position {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.faq-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

.faq-item {
    margin-bottom: 15px;
    background: var(--card-bg);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.demo-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    position: relative;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.demo-content > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.demo-benefits {
    margin-bottom: 30px;
}

.demo-benefits li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.demo-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-form .form-group {
    margin-bottom: 20px;
}

.demo-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: var(--error);
}

.demo-form input,
.demo-form select,
.demo-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.demo-form input::placeholder,
.demo-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.demo-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.demo-form select option {
    background: var(--dark-bg);
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-note {
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
    margin-top: 15px;
}

.btn-text {
    margin-right: 10px;
}

.contact-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-purple), 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-card a {
    display: block;
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.contact-card a:hover {
    color: var(--secondary-light);
}

.contact-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 20px 0;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--neon-purple);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-button);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(108, 92, 231, 0.4);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--neon-purple), 0 8px 30px rgba(108, 92, 231, 0.6);
}

.sticky-demo {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    transition: bottom 0.4s ease;
}

.sticky-demo.show {
    bottom: 20px;
}

.sticky-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.sticky-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: -350px;
    z-index: 9999;
    padding: 15px 25px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 350px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    right: 20px;
}

.toast-notification.success {
    background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
}

.toast-notification.error {
    background: linear-gradient(135deg, #FF5252 0%, #D32F2F 100%);
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--darker-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .constructor-wrapper {
        grid-template-columns: 1fr;
    }
    
    .constructor-preview {
        position: static;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hr-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hr-image {
        order: -1;
    }
    
    .timezone-map {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .demo-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats-mini {
        justify-content: center;
        gap: 30px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .steps-grid {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .sticky-demo {
        left: 20px;
        right: 20px;
        transform: none;
    }
    
    .sticky-content {
        flex-direction: column;
        gap: 10px;
        border-radius: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
        min-width: 120px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        flex: 1 1 40%;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .stat-card {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
        min-width: 100px;
    }
    
    .demo-form-wrapper {
        padding: 25px;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .toast-notification {
        right: -100%;
        left: auto;
        max-width: calc(100% - 40px);
    }
    
    .toast-notification.show {
        right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}