/* Global Styles */
:root {
    --primary-color: #2DC9D6; /* Teal from logo */
    --secondary-color: #FFA990; /* Peach from logo */
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --dark: #212121;
    --gray: #757575;
    --light-gray: #e0e0e0;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-display: swap;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

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

.btn.primary:hover {
    background-color: #25a8b3; /* Darker teal */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn.secondary:hover {
    background-color: #ff8c70; /* Darker peach */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

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

/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

@media (min-width: 993px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle {
    position: relative;
    width: 25px;
    height: 18px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    position: absolute;
    left: 0;
    transform-origin: center;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

header a {
    text-decoration: none;
    color: inherit;
}

header a:hover {
    color: inherit;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

.language-dropdown {
    position: relative;
    user-select: none;
}

.selected-language {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.selected-language:hover {
    background-color: #25a8b3; /* Darker teal */
}

.selected-language span {
    margin-right: 8px;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: 120px;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 5px;
    z-index: 1000;
    display: none;
    list-style: none;
}

.language-dropdown.active .language-options {
    display: block;
}

.language-option {
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.language-option:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.language-option.active {
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    color: var(--white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 600px;
    padding: 2rem;
    background-color: rgba(45, 201, 214, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.telegram-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.telegram-cta i {
    font-size: 1.2rem;
}


/* Sport Map Animation Styles */
.sport-map-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
}

.sport-map-animation svg {
    width: 100%;
    height: 100%;
    will-change: transform;
    transform: translateZ(0);
}

/* Map background animation */
.map-bg {
    animation: gradientShift 20s infinite alternate;
}

/* Grid lines animation */
.grid-line {
    animation: gridPulse 8s infinite alternate;
}

/* Park areas animation */
.park {
    animation: parkPulse 10s infinite alternate;
    transform-origin: center;
}

/* Roads animation */
.road {
    animation: roadDash 15s infinite linear;
    stroke-dasharray: 10;
}

/* Location pins animation */
.pin {
    animation: pinHover 5s infinite ease-in-out;
    transform-origin: center;
    will-change: transform;
}

.pin1 {
    animation-delay: 0s;
}

.pin2 {
    animation-delay: 1.5s;
}

.pin3 {
    animation-delay: 3s;
}

/* Pin pulse animation */
.pin-pulse {
    animation: pinPulse 3s infinite;
}

/* Blockchain connections animation */
.connection {
    animation: connectionFlash 8s infinite;
}

/* Data packets animation */
.data-packet {
    animation: movePacket 10s infinite;
}

.packet1 {
    animation-delay: 0s;
}

.packet2 {
    animation-delay: 3s;
}

.packet3 {
    animation-delay: 6s;
}

/* Logo elements animation */
.logo-diamond {
    animation: rotateDiamond 20s infinite linear;
    transform-origin: center;
}

/* Particles animation */
.particle {
    animation: floatParticle 15s infinite;
    will-change: transform, opacity;
}

.p1 { animation-delay: 0s; }
.p2 { animation-delay: 2s; }
.p3 { animation-delay: 4s; }
.p4 { animation-delay: 6s; }
.p5 { animation-delay: 8s; }
.p6 { animation-delay: 10s; }
.p7 { animation-delay: 12s; }
.p8 { animation-delay: 14s; }

/* Keyframes */
@keyframes gradientShift {
    0% {
        fill: #2DC9D6;
    }
    50% {
        fill: #25a8b3;
    }
    100% {
        fill: #1d8f99;
    }
}

@keyframes gridPulse {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 0.3;
    }
}

@keyframes parkPulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

@keyframes roadDash {
    0% {
        stroke-dashoffset: 1000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

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

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

@keyframes connectionFlash {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes movePacket {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    45% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    55% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(0, 0) scale(0.5);
    }
}

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

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translate(0, 0);
    }
    25% {
        opacity: 1;
    }
    50% {
        transform: translate(50px, -30px);
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(0, 0);
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    will-change: transform;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefit-card i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--white);
}

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

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-bg);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover, .step.active-step {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step.active-step {
    border: 2px solid var(--primary-color);
}

.step-number {
    background-color: var(--secondary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Phone Mockup Styles */
.phone-mockup {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: 300px;
    height: 600px;
    background-color: #111;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 
                inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 24px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background-color: #111;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    z-index: 10;
}

.phone-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

/* App Screen Styles */
.app-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    display: none;
    flex-direction: column;
}

.app-screen.active {
    display: flex;
}

.app-header {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.app-logo {
    display: flex;
    align-items: center;
}

.app-logo-img {
    height: 24px;
    margin-right: 8px;
}

.app-content {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.app-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    text-align: center;
}

/* Verification Form Styles */
.verification-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-field label {
    font-size: 0.8rem;
    color: var(--gray);
}

.input-field {
    height: 36px;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.upload-btn {
    background-color: var(--light-bg);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9rem;
    cursor: pointer;
}

.verification-status {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

/* Map Styles */
.map-container {
    position: relative;
    height: 180px;
    background-color: #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef 25%, #dee2e6 25%, #dee2e6 50%, #e9ecef 50%, #e9ecef 75%, #dee2e6 75%, #dee2e6 100%);
    background-size: 20px 20px;
    opacity: 0.5;
}

.map-pin {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.map-pin:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    margin-top: -5px;
    margin-left: -5px;
}

.map-pin.pin1 {
    top: 40%;
    left: 30%;
    background-color: var(--secondary-color);
}

.map-pin.pin2 {
    top: 60%;
    left: 70%;
}

.map-pin.pin3 {
    top: 30%;
    left: 60%;
    background-color: var(--secondary-color);
}

/* Event Form Styles */
.event-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.publish-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    margin-top: 10px;
    font-weight: 500;
    cursor: pointer;
}

/* Event Details Styles */
.event-details {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.event-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.event-info div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.event-info i {
    color: var(--secondary-color);
}

.payment-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}

/* Transaction Styles */
.transaction {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.transaction-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.transaction-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #28a745;
    font-weight: 600;
}

.transaction-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.transaction-item span:first-child {
    color: var(--gray);
}

.blockchain-note {
    font-size: 0.8rem;
    color: var(--gray);
    text-align: center;
    margin-top: 10px;
}

/* Responsive adjustments for phone mockup */
@media (max-width: 768px) {
    .phone-frame {
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 576px) {
    .phone-frame {
        width: 260px;
        height: 520px;
    }

    .app-header {
        padding: 35px 15px 12px;
    }

    .app-title {
        font-size: 1.1rem;
    }

    .map-container {
        height: 150px;
    }
}

/* Legal Content Styles */
.legal-content {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--white);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}


/* Event Examples Section */
.event-examples {
    background-color: var(--light-bg);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    will-change: transform;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.event-details {
    padding: 0 1.5rem 1.5rem;
}

.event-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.event-details i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Token Section */
.token {
    background-color: var(--white);
}

.token-info {
    display: flex;
    gap: 3rem;
}

.token-visualization {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.token-description {
    flex: 1;
}

.token-description h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.token-description h3:first-child {
    margin-top: 0;
}

.token-description ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.token-description li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.token-description i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.token-image {
    flex: 1;
    text-align: center;
}

.token-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: inherit;
}

/* Documentation Section */
.documentation {
    background-color: var(--light-bg);
}

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

.doc-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.doc-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.doc-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Whitepaper Styles */
.whitepaper-content {
    padding-top: 120px; /* Account for fixed header */
    padding-bottom: 50px;
}

.whitepaper-section {
    margin-bottom: 3rem;
}

.whitepaper-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.whitepaper-section h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.whitepaper-section h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 1.2rem 0 0.8rem;
    font-weight: 600;
}

.whitepaper-section ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.whitepaper-section ul ul li {
    margin-bottom: 0.3rem;
    font-size: 0.95em;
}

.whitepaper-section p, 
.whitepaper-section ul {
    margin-bottom: 1rem;
}

.whitepaper-section ul {
    padding-left: 1.5rem;
}

.whitepaper-section li {
    margin-bottom: 0.5rem;
}

.whitepaper-section .cta-buttons {
    margin-top: 2rem;
    text-align: center;
}

.whitepaper-section code {
    background-color: var(--light-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: var(--primary-color);
    border: 1px solid var(--light-gray);
}

.whitepaper-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.whitepaper-section ol li {
    margin-bottom: 0.5rem;
}

.whitepaper-section strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Roadmap Styles */
.roadmap-timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.roadmap-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.roadmap-item:nth-child(odd) {
    left: 0;
}

.roadmap-item:nth-child(even) {
    left: 50%;
}

.roadmap-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.roadmap-item:nth-child(odd)::after {
    right: -12px;
}

.roadmap-item:nth-child(even)::after {
    left: -12px;
}

.roadmap-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.roadmap-content {
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.roadmap-content h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.roadmap-content ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

/* Responsive Roadmap */
@media (max-width: 768px) {
    .roadmap-timeline::before {
        left: 40px;
    }

    .roadmap-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .roadmap-item:nth-child(odd),
    .roadmap-item:nth-child(even) {
        left: 0;
    }

    .roadmap-item:nth-child(odd)::after,
    .roadmap-item:nth-child(even)::after {
        left: 30px;
    }
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

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

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--white);
}

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

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

.partners img {
    height: 40px;
    margin-right: 1rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}


/* Animations */
.animated {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

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

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

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

/* Initially hide elements that will be animated */
.benefit-card, .step, .event-card, .doc-card, .pricing-card, .faq-item {
    opacity: 0;
}

/* Modal Dialog Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.modal p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.modal-social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.modal-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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


/* Pricing Comparison Section */
.pricing-comparison {
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--light-bg);
    border-radius: 15px;
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card.kinetrax {
    background: linear-gradient(135deg, var(--primary-color), #25a8b3);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(45, 201, 214, 0.3);
}

.pricing-card.kinetrax:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(45, 201, 214, 0.4);
}

.pricing-card.traditional:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-card.kinetrax h3 {
    color: var(--white);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: var(--white);
    border-radius: 8px;
}

.pricing-card.kinetrax .feature-item {
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.feature-item i.fa-check {
    color: #28a745;
}

.pricing-card.kinetrax .feature-item i.fa-check {
    color: #90ee90;
}

.feature-item i.fa-times {
    color: #dc3545;
}


/* FAQ Section */
.faq {
    background-color: var(--white);
}

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

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

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.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;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        text-align: center;
    }

    .hero-content {
        max-width: 80%;
        margin: 0 auto;
        padding: 2rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    /* Language dropdown adjustments */
    .language-dropdown {
        margin-left: 10px;
    }

    /* Responsive adjustments for sport map animation */
    .sport-map-animation svg {
        transform: scale(1.2);
    }

    /* Adjust pin positions for better visibility */
    .pin1 {
        transform: translate(180px, 130px);
    }

    .pin2 {
        transform: translate(700px, 320px);
    }

    .pin3 {
        transform: translate(450px, 230px);
    }

    .token-info {
        flex-direction: column;
    }

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

    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        z-index: 999;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 0;
        display: block;
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .pricing-card.kinetrax {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .token-visualization {
        flex-direction: column;
    }

    /* Language dropdown adjustments */
    .language-dropdown {
        position: relative;
        z-index: 1001; /* Ensure dropdown appears above other elements */
    }

    .language-options {
        right: 0;
        width: 100px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo, .social-links {
        justify-content: center;
    }

    .partners {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 0;
    }

    /* Language dropdown adjustments */
    .selected-language {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .language-options {
        width: 90px;
        font-size: 0.9rem;
    }

    .language-option {
        padding: 6px 10px;
    }

    .hero {
        padding-top: 6rem;
        min-height: 70vh;
    }

    .hero-content {
        max-width: 90%;
        padding: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    /* Mobile adjustments for sport map animation */
    .sport-map-animation svg {
        transform: scale(1.5);
        transform-origin: center;
    }

    /* Simplify the animation for better performance on mobile */
    .grid-line {
        opacity: 0.15 !important;
    }

    /* Adjust pin positions for better visibility on mobile */
    .pin1 {
        transform: translate(160px, 120px);
    }

    .pin2 {
        transform: translate(650px, 300px);
    }

    .pin3 {
        transform: translate(400px, 210px);
    }

    /* Make pins more visible */

    .pin-icon {
        stroke-width: 4;
    }

    /* Reduce the number of visible particles for better performance */
    .particle.p6, .particle.p7, .particle.p8 {
        display: none;
    }

    .benefit-card, .step, .event-card, .doc-card {
        padding: 1.5rem;
    }
}
