:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1f2937;
    --accent-live: #10b981;
    --accent-live-glow: rgba(16, 185, 129, 0.4);
    --accent-cyan: #06b6d4;
    --accent-cyan-glow: rgba(6, 182, 212, 0.4);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(75, 85, 99, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--accent-live-glow);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Animated Background - Общий фон для всей страницы */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 70%, rgba(16, 185, 129, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 20s ease-in-out infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.015) 1px, transparent 1px),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(6, 182, 212, 0.005) 2px,
            rgba(6, 182, 212, 0.005) 4px
        );
    background-size: 100px 100px, 100px 100px, 20px 20px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.9;
        transform: scale(1.02) rotate(1deg);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.08) rotate(-1deg);
    }
    75% {
        opacity: 0.9;
        transform: scale(1.04) rotate(0.5deg);
    }
}

/* Ensure content is above background */
nav, section, footer {
    position: relative;
    z-index: 1;
}

/* Floating Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 75%);
    opacity: 0.2;
    animation: particleFloat 20s infinite ease-in-out;
}

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

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 80%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 30s;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 75%);
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 40%;
    left: 60%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    width: 5px;
    height: 5px;
    top: 60%;
    left: 30%;
    animation-delay: 1s;
    animation-duration: 28s;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 75%);
}

.particle:nth-child(5) {
    width: 4px;
    height: 4px;
    top: 25%;
    left: 75%;
    animation-delay: 3s;
    animation-duration: 26s;
}

.particle:nth-child(6) {
    width: 6px;
    height: 6px;
    top: 90%;
    left: 15%;
    animation-delay: 5s;
    animation-duration: 24s;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 75%);
}

.particle:nth-child(7) {
    width: 3px;
    height: 3px;
    top: 50%;
    left: 90%;
    animation-delay: 2.5s;
    animation-duration: 27s;
}

.particle:nth-child(8) {
    width: 5px;
    height: 5px;
    top: 15%;
    left: 45%;
    animation-delay: 4.5s;
    animation-duration: 29s;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 75%);
}

.particle:nth-child(9) {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 65%;
    animation-delay: 1.5s;
    animation-duration: 23s;
}

.particle:nth-child(10) {
    width: 5px;
    height: 5px;
    top: 35%;
    left: 10%;
    animation-delay: 3.5s;
    animation-duration: 31s;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 75%);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }
    25% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.3;
    }
    50% {
        transform: translate(-30px, 50px) scale(0.8);
        opacity: 0.15;
    }
    75% {
        transform: translate(40px, 30px) scale(1.1);
        opacity: 0.25;
    }
}

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

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-tertiary);
    border-left: 1px solid var(--border-color);
    z-index: 1000;
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 24px;
}

.mobile-menu ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: var(--accent-cyan);
}

.mobile-menu ul li a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Section Spacing */
section {
    padding: 120px 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

section:first-of-type {
    padding-top: 180px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 200px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Beta Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--accent-live);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-live);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.05;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    text-shadow: 0 0 80px rgba(6, 182, 212, 0.3);
}

.hero .subtitle {
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 400;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -0.01em;
}

.hero .description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin: 0 auto 56px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .demo-note {
    margin-top: 40px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.hero .demo-note::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* Hero Interactive Fishing Canvas */
.hero-fishing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-fishing-canvas:hover {
    opacity: 0.9;
}

.hero-fishing-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-live) 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 20px var(--accent-live-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-live-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-2px);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header .subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Video Section */
.video-section {
    background: var(--bg-tertiary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    aspect-ratio: 16 / 9;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    flex-direction: column;
    gap: 16px;
}

.video-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--accent-cyan);
}

.video-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Sections */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-section h3 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.content-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
}

.content-section .highlight {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.step-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Map Section */
.map-section {
    background: var(--bg-tertiary);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(6, 182, 212, 0.1) inset,
        0 4px 24px rgba(6, 182, 212, 0.08);
    border: 1px solid var(--border-color);
    padding: 48px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.map-

.map-wrapper {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

#map {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}

/* Prevent Leaflet from overflowing */
.leaflet-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.leaflet-pane {
    max-width: 100% !important;
}

.leaflet-tile-pane {
    max-width: 100% !important;
}

.leaflet-map-pane {
    max-width: 100% !important;
}

.leaflet-tile-container {
    max-width: 100% !important;
}

.map-legend {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.live {
    background: var(--accent-live);
    box-shadow: 0 0 10px var(--accent-live-glow);
}

.legend-dot.busy {
    background: #f59e0b;
}

.legend-dot.coming-soon {
    background: var(--text-muted);
}

/* Feature List */
.feature-list {
    list-style: none;
    max-width: 700px;
    margin: 48px auto 0;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li svg {
    width: 24px;
    height: 24px;
    color: var(--accent-live);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.tech-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Roadmap */
.roadmap-list {
    max-width: 700px;
    margin: 48px auto 0;
    list-style: none;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    font-size: 1.0625rem;
    color: var(--text-secondary);
}

.roadmap-item .status-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.roadmap-item .status-icon.done {
    color: var(--accent-live);
}

.roadmap-item .status-icon.progress {
    color: #f59e0b;
}

.roadmap-item .status-icon.planned {
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    background: var(--bg-tertiary);
    border-radius: 24px;
    padding: 80px 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
    margin-top: 120px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.footer-social {
    margin-top: 48px;
    text-align: center;
}

.footer-social-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
}

.social-link.telegram {
    background: #0088cc;
}

.social-link.telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulse-marker {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
}

/* Leaflet Customization */
.leaflet-container {
    background: #0a1929 !important;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.leaflet-popup-tip {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

/* Custom Markers */
.custom-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-live {
    background: var(--accent-live);
    animation: pulse-marker 2s infinite;
}

.marker-coming-soon {
    background: #6b7280;
}

.custom-marker svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--bg-tertiary);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    animation: slideUp 0.4s ease-out;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

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

.modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-header p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-live) 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--accent-live-glow);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-live-glow);
}

.form-submit:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.success-message {
    display: none;
    text-align: center;
    padding: 32px;
}

.success-message.active {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--accent-live);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.success-message p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

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

/* FAQ Accordion Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8) 0%, rgba(10, 14, 26, 0.9) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.faq-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.15);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.active {
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 6px 25px rgba(6, 182, 212, 0.2);
}

.faq-item.active::before {
    opacity: 1;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question-text {
    flex: 1;
}

.faq-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

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

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

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

.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.faq-answer-content p {
    margin-bottom: 12px;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul {
    list-style: none;
    padding-left: 0;
    margin: 12px 0;
}

.faq-answer-content ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.faq-answer-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-live);
    font-weight: bold;
}

.faq-answer-content strong {
    color: var(--text-primary);
}

.faq-final-note {
    margin-top: 48px;
    text-align: center;
    padding: 32px;
    background: var(--bg-tertiary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Section Dividers */
.section-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
    margin: 0 auto;
    max-width: 600px;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

}




    33% {
        transform: translate(8%, -8%) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translate(-8%, 8%) rotate(240deg);
        opacity: 0.9;
    }
}


























}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tech-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.tech-card:hover::after {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(6, 182, 212, 0.3);
    border-color: transparent;
}

.tech-card > * {
    position: relative;
    z-index: 1;
}

}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

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

.step-card:hover::after {
    opacity: 1;
}

.step-card:hover {
    border-color: var(--accent-cyan);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(6, 182, 212, 0.2);
    transform: translateY(-4px);
}

.step-card:last-child::after {
    display: none;
}

.step-card > * {
    position: relative;
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

/* Glow Effects for Important Elements */
.highlight {
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-live) 100%);
    opacity: 0.6;
}

}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 30px;
    bottom: -20px;
    width: 2px;
    background: linear-gradient(180deg, var(--border-color) 0%, transparent 100%);
}

.roadmap-item:last-child::before {
    display: none;
}

.roadmap-item:hover {
    padding-left: 52px;
}

.roadmap-item .status-icon {
    position: absolute;
    left: 0;
}

/* Pulse Animation for Live Badge */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--accent-live-glow);
    }
    50% {
        box-shadow: 0 0 20px 8px var(--accent-live-glow);
    }
}

.hero-badge::before {
    animation: pulse-glow 2s infinite;
}

}

.cta-

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

.cta-

/* Responsive Design */
@media (max-width: 768px) {
    nav .nav-links {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: block;
    }

    .container-wide {
        padding: 0 16px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.5rem;
    }

    .hero .description {
        font-size: 1.0625rem;
    }

    .floating-card {
        display: none;
    }

    section {
        padding: 80px 0;
    }

    section:first-of-type {
        padding-top: 120px;
    }

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

    .section-header .subtitle {
        font-size: 1.0625rem;
    }

    .content-section h3 {
        font-size: 1.75rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .map-section {
        padding: 24px 16px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .map-wrapper {
        height: 400px;
        max-width: 100%;
        width: 100%;
        margin-top: 24px;
        box-sizing: border-box;
    }

    .cta-section {
        padding: 48px 32px;
    }

    .cta-section h3 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    /* FAQ Mobile Styles */
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer-content {
        padding: 0 20px 20px 20px;
        font-size: 0.9375rem;
    }

    .faq-final-note {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container-wide {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero .subtitle {
        font-size: 1.25rem;
    }

    .hero .description {
        font-size: 1rem;
    }

    .hero .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 6px 16px;
    }

    .map-wrapper {
        height: 350px;
        max-width: 100%;
        width: 100%;
        margin-top: 20px;
        box-sizing: border-box;
    }

    .map-section {
        padding: 20px 12px;
        max-width: 100%;
        width: 100%;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .modal-content {
        padding: 32px 24px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-header p {
        font-size: 0.9375rem;
    }

    /* FAQ Mobile Styles for small screens */
    .faq-question {
        padding: 16px;
        font-size: 0.9375rem;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
        font-size: 0.875rem;
    }

    .faq-final-note {
        padding: 20px;
    }

    .faq-final-note p:first-child {
        font-size: 1rem !important;
    }
}
