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

body {
    font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #F5F0FF 0%, #FAF5FF 50%, #F0F5FF 100%);
    color: #2D1B4E;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    transition: background 0.3s, color 0.3s;
}

body.dark-theme {
    background: linear-gradient(135deg, #0F0A1F 0%, #1A0F2E 50%, #130B2E 100%);
    color: #E9D5FF;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(199, 125, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(157, 78, 221, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(90deg, rgba(157, 78, 221, 0.03) 0px, transparent 1px, transparent 100px),
        repeating-linear-gradient(0deg, rgba(157, 78, 221, 0.03) 0px, transparent 1px, transparent 100px);
    z-index: 0;
    pointer-events: none;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 25px 0;
    background: transparent;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.theme-toggle {
    background: none;
    border: 1px solid rgba(157, 78, 221, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9D4EDD;
}

.theme-toggle:hover {
    background: rgba(157, 78, 221, 0.1);
    border-color: #9D4EDD;
}

.theme-icon-light {
    display: none;
}

.theme-icon-dark {
    display: block;
}

body.dark-theme .theme-icon-light {
    display: block;
}

body.dark-theme .theme-icon-dark {
    display: none;
}

body.dark-theme .theme-toggle {
    color: #C77DFF;
    border-color: rgba(199, 125, 255, 0.3);
}

body.dark-theme .theme-toggle:hover {
    background: rgba(199, 125, 255, 0.1);
    border-color: #C77DFF;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.speed-indicators {
    display: flex;
    gap: 12px;
}

.speed-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    background: rgba(157, 78, 221, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(157, 78, 221, 0.2);
    transition: all 0.2s;
}

body.dark-theme .speed-item {
    background: rgba(199, 125, 255, 0.15);
    border-color: rgba(199, 125, 255, 0.3);
    color: #C77DFF;
}

.speed-item:hover {
    background: rgba(157, 78, 221, 0.15);
    border-color: rgba(157, 78, 221, 0.3);
}

body.dark-theme .speed-item:hover {
    background: rgba(199, 125, 255, 0.2);
    border-color: rgba(199, 125, 255, 0.4);
}

.speed-icon {
    font-size: 16px;
    font-weight: bold;
    color: #9D4EDD;
}

body.dark-theme .speed-icon {
    color: #C77DFF;
}

.speed-value {
    font-weight: 600;
    color: #9D4EDD;
}

body.dark-theme .speed-value {
    color: #E9D5FF;
}

.connect-button {
    background: linear-gradient(135deg, #C77DFF 0%, #9D4EDD 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
}

.connect-button:hover {
    background: linear-gradient(135deg, #B865FF 0%, #8B3ECD 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(157, 78, 221, 0.4);
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(199, 125, 255, 0.3) 0%, rgba(157, 78, 221, 0.2) 30%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    font-size: 90px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 30px;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, #C77DFF 0%, #9D4EDD 100%);
    color: white;
    padding: 10px 40px;
    border-radius: 60px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

body.dark-theme .hero-subtitle {
    color: #C7B8E0;
}

.highlight {
    color: #9D4EDD;
    font-weight: 600;
}

body.dark-theme .highlight {
    color: #D8B4FE;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 7s;
}

.floating-icon:nth-child(2) {
    animation-delay: 1s;
    animation-duration: 6s;
}

.floating-icon:nth-child(3) {
    animation-delay: 2s;
    animation-duration: 8s;
}

.floating-icon:nth-child(4) {
    animation-delay: 0.5s;
    animation-duration: 7.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-15px) translateX(5px);
    }
}

/* Locations Section */
.locations-section {
    padding: 60px 0;
}

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

.location-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(199, 125, 255, 0.2);
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
    cursor: pointer;
}

.location-item:hover {
    border-color: #C77DFF;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(199, 125, 255, 0.25);
    transform: translateY(-2px);
}

body.dark-theme .location-item {
    background: rgba(26, 15, 46, 0.6);
    border-color: rgba(199, 125, 255, 0.3);
}

body.dark-theme .location-item:hover {
    background: rgba(26, 15, 46, 0.8);
    border-color: #C77DFF;
    box-shadow: 0 4px 12px rgba(199, 125, 255, 0.35);
}

.country-flag {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.location-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    flex: 1;
}

body.dark-theme .location-text {
    color: #E9D5FF;
}

.location-provider {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    display: block;
}

body.dark-theme .location-provider {
    color: #A78BFA;
}

/* CTA Section */
.cta-section {
    padding: 80px 0 100px;
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-box {
    background: linear-gradient(135deg, #C77DFF 0%, #9D4EDD 100%);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(157, 78, 221, 0.2);
}

.contact-box:hover {
    background: linear-gradient(135deg, #B865FF 0%, #8B3ECD 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(157, 78, 221, 0.35);
}

.contact-box-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-align: left;
}

.contact-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-email {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.contact-arrow {
    color: white;
    font-size: 24px;
    font-weight: 300;
    opacity: 0.9;
    transition: transform 0.2s;
}

.contact-box:hover .contact-arrow {
    transform: translateX(5px);
}

/* Footer */
.footer {
    padding: 30px 40px;
    text-align: center;
    margin-top: 0;
}

.footer p {
    font-size: 13px;
    color: #888;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s ease;
}

body.dark-theme .modal-content {
    background: #1A0F2E;
    border: 1px solid rgba(199, 125, 255, 0.2);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

body.dark-theme .modal-title {
    color: #E9D5FF;
}

.modal-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

body.dark-theme .modal-description {
    color: #A78BFA;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: white;
    color: #000;
}

body.dark-theme .form-row input,
body.dark-theme .form-row textarea {
    background: rgba(26, 15, 46, 0.6);
    border-color: rgba(199, 125, 255, 0.3);
    color: #E9D5FF;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #C77DFF;
    box-shadow: 0 0 0 3px rgba(199, 125, 255, 0.1);
}

.form-row textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: linear-gradient(135deg, #C77DFF 0%, #9D4EDD 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(157, 78, 221, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #B865FF 0%, #8B3ECD 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(157, 78, 221, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .header-inner,
    .main-content {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 60px;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .speed-indicators {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .cta-title {
        font-size: 32px;
    }

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

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

    .header-inner,
    .main-content {
        padding: 0 20px;
    }
}
