/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #E8EAED;
    --foreground: #2C3E50;
    --card: #ffffff;
    --border: #546E7A;
    --muted: #546E7A;
    --muted-foreground: #546E7A;
    --slate-blue: #B0BEC5;
    --slate-gray: #546E7A;
    --dark-blue: #2C3E50;
    --light-bg: #E8EAED;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: oklch(from var(--background) l c h / 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid oklch(from var(--border) l c h / 0.3);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.nav-link {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary);
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.kyrgyzstan-hero {
    position: relative;
    padding-top: 4rem;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--slate-blue), var(--light-bg));
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.back-link {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--dark-blue);
}

.back-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.back-text {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 200;
    letter-spacing: -0.02em;
    color: var(--dark-blue);
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-divider {
    height: 1px;
    width: 8rem;
    background: var(--slate-gray);
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    color: var(--slate-gray);
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 2.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--slate-gray);
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.75;
}

.hero-button-container {
    padding-top: 2rem;
}

.hero-cta-button {
    position: relative;
    display: inline-block;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.button-glow {
    position: absolute;
    inset: 0;
    background: rgba(84, 110, 122, 0.1);
    filter: blur(1.5rem);
    transition: all 0.5s;
}

.hero-cta-button:hover .button-glow {
    filter: blur(2rem);
}

.button-content {
    position: relative;
    padding: 1rem 3rem;
    border: 1px solid rgba(84, 110, 122, 0.4);
    background: rgba(232, 234, 237, 0.8);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.hero-cta-button:hover .button-content {
    border-color: var(--dark-blue);
}

.button-text {
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    color: var(--dark-blue);
}

/* What Is Section */
.what-is-section {
    padding: 8rem 1.5rem;
}

.what-is-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.what-is-text {
    font-size: 1.125rem;
    color: var(--dark-blue);
    line-height: 1.75;
}

/* Portal States Section */
.portal-states-section {
    padding: 6rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--dark-blue);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.125rem;
    }
}

.states-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .states-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.state-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
}

.state-circle {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    border: 1px solid rgba(84, 110, 122, 0.3);
    background: rgba(232, 234, 237, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
}

.state-item:hover .state-circle {
    border-color: var(--dark-blue);
    box-shadow: 0 0 30px rgba(84, 110, 122, 0.2);
}

.state-circle-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(to bottom, rgba(176, 190, 197, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.state-item:hover .state-circle-glow {
    opacity: 1;
}

.state-line {
    width: 0.25rem;
    height: 3rem;
    background: rgba(84, 110, 122, 0.5);
    transition: background-color 0.5s;
}

.state-item:hover .state-line {
    background: var(--dark-blue);
}

.state-label {
    font-size: 0.875rem;
    text-align: center;
    color: var(--slate-gray);
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.state-item:hover .state-label {
    color: var(--dark-blue);
}

/* How It Works Section */
.how-it-works-section {
    padding: 8rem 1.5rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(84, 110, 122, 0.2);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.5s;
    cursor: pointer;
}

.info-card:hover {
    border-color: rgba(44, 62, 80, 0.4);
}

.card-divider {
    height: 1px;
    width: 3rem;
    background: rgba(84, 110, 122, 0.5);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--dark-blue);
    letter-spacing: 0.05em;
}

.card-text {
    color: var(--slate-gray);
    line-height: 1.75;
}

/* Inner Transition Section */
.inner-transition-section {
    padding: 8rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
}

.transition-steps-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .transition-steps-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.transition-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.transition-step-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step-circle {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(84, 110, 122, 0.4);
    background: rgba(232, 234, 237, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-gray);
    font-weight: 300;
    flex-shrink: 0;
}

.step-label {
    font-size: 0.875rem;
    text-align: center;
    color: var(--slate-gray);
    max-width: 7.5rem;
    line-height: 1.4;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        width: 2rem;
        height: 1px;
        background: rgba(84, 110, 122, 0.3);
    }
}

.transition-footer {
    text-align: center;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transition-footer-text {
    font-size: 1.125rem;
    color: var(--dark-blue);
    line-height: 1.75;
}

/* CTA Section */
.cta-section {
    padding: 8rem 1.5rem;
}

.cta-section .container {
    max-width: 42rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-button {
    position: relative;
    display: inline-block;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    margin: 0 auto;
}

.cta-button-glow {
    position: absolute;
    inset: 0;
    background: rgba(84, 110, 122, 0.1);
    filter: blur(1.5rem);
    transition: all 0.5s;
}

.cta-button:hover .cta-button-glow {
    filter: blur(2rem);
}

.cta-button-content {
    position: relative;
    padding: 1.25rem 4rem;
    border: 1px solid rgba(84, 110, 122, 0.4);
    background: rgba(232, 234, 237, 0.8);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}

.cta-button:hover .cta-button-content {
    border-color: var(--dark-blue);
}

.cta-button-text {
    font-size: 1rem;
    letter-spacing: 0.3em;
    color: var(--dark-blue);
}

.cta-note {
    color: var(--slate-gray);
    line-height: 1.75;
    padding-top: 1rem;
}

/* For Whom Section */
.for-whom-section {
    padding: 6rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
}

.for-whom-section .container {
    max-width: 48rem;
}

.for-whom-section .section-title {
    font-size: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .for-whom-section .section-title {
        font-size: 2.5rem;
    }
}

.for-whom-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.for-whom-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.for-whom-dot {
    width: 0.25rem;
    height: 0.25rem;
    background: var(--slate-gray);
    flex-shrink: 0;
}

.for-whom-text {
    font-size: 1.125rem;
    color: var(--slate-gray);
}

/* Audio Section */
.audio-section {
    padding: 6rem 1.5rem;
}

.audio-section .container {
    max-width: 42rem;
}

.audio-card {
    padding: 2rem;
    border: 1px solid rgba(84, 110, 122, 0.3);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audio-title {
    text-align: center;
    color: var(--dark-blue);
    letter-spacing: 0.05em;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.audio-button {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(84, 110, 122, 0.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s;
    padding: 0;
}

.audio-button:hover {
    border-color: var(--dark-blue);
}

.play-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--slate-gray);
}

.audio-line {
    flex: 1;
    height: 1px;
    background: rgba(84, 110, 122, 0.3);
}

/* Closing Section */
.closing-section {
    padding: 8rem 1.5rem;
}

.closing-section .container {
    max-width: 48rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.closing-text {
    font-size: 1.125rem;
    color: var(--slate-gray);
    line-height: 1.75;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

