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

:root {
    /* Core dark theme */
    --background: hsl(0, 0%, 3%);
    --foreground: hsl(0, 0%, 95%);
    --card: hsl(0, 0%, 6%);
    --card-foreground: hsl(0, 0%, 95%);
    --primary: hsl(270, 100%, 70%);
    --primary-foreground: hsl(0, 0%, 5%);
    --secondary: hsl(0, 0%, 12%);
    --secondary-foreground: hsl(0, 0%, 95%);
    --muted: hsl(0, 0%, 10%);
    --muted-foreground: hsl(0, 0%, 65%);
    --accent: hsl(180, 100%, 60%);
    --accent-foreground: hsl(0, 0%, 5%);
    --border: hsl(0, 0%, 15%);
    --glass-border: hsl(0, 0%, 20%);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(270, 100%, 70%) 0%, hsl(180, 100%, 60%) 100%);
    --gradient-dark: linear-gradient(180deg, hsl(0, 0%, 3%) 0%, hsl(0, 0%, 8%) 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, hsl(270, 100%, 70%, 0.2) 0%, transparent 50%);
    
    /* Effects */
    --shadow-neon: 0 0 20px hsl(270, 100%, 70%, 0.3);
    --shadow-cyan: 0 0 20px hsl(180, 100%, 60%, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation Styles */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid hsl(var(--glass-border), 0.5);
    backdrop-filter: blur(12px);
    background: hsl(var(--background), 0.8);
}

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    width: 2rem;
    height: 2rem;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: none;
    gap: 2rem;
}

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

.nav-link {
    color: hsl(var(--foreground), 0.8);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.btn-ghost {
    background: transparent;
    color: var(--foreground);
}

.btn-ghost:hover {
    background: var(--secondary);
}

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

.btn-primary:hover {
    box-shadow: var(--shadow-neon);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: hsl(var(--secondary), 0.8);
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.hero-gradient-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
}

.floating-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 1s; }
.particle:nth-child(3) { left: 50%; animation-delay: 2s; }
.particle:nth-child(4) { left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { left: 90%; animation-delay: 4s; }

@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-main-title {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .hero-main-title {
        font-size: 4.5rem;
    }
    .hero-subtitle {
        font-size: 2rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.hero-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
}

/* Features Section */
.features-section {
    position: relative;
    padding: 5rem 0;
    background: var(--gradient-dark);
}

.features-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0.3;
}

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

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

.features-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-description {
    color: var(--muted-foreground);
}

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

.coming-soon {
    color: var(--muted-foreground);
    font-style: italic;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 5rem 0;
    background: var(--gradient-dark);
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
}

.cta-gradient-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0.4;
}

.cta-animated-lines {
    position: absolute;
    inset: 0;
}

.animated-line {
    position: absolute;
    width: 2px;
    height: 100px;
    background: var(--gradient-primary);
    animation: lineMove 8s infinite linear;
}

.animated-line:nth-child(1) { left: 20%; animation-delay: 0s; }
.animated-line:nth-child(2) { left: 50%; animation-delay: 2s; }
.animated-line:nth-child(3) { left: 80%; animation-delay: 4s; }

@keyframes lineMove {
    0% { transform: translateY(-100px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(calc(100vh + 100px)); opacity: 0; }
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.cta-highlights {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.highlight-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.highlight-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 3rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 2rem;
    height: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

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

.footer-heading {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1rem;
}

.footer-legal-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-legal-link:hover {
    color: var(--primary);
}

/* 404 Page Styles */
.not-found-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.not-found-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
}

.gradient-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
}

.not-found-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.not-found-icon {
    margin-bottom: 2rem;
}

.error-code {
    font-size: 6rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.not-found-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.not-found-description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.not-found-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.not-found-suggestions {
    margin-top: 2rem;
}

.suggestions-title {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.suggestions-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.suggestion-link:hover {
    color: var(--accent);
}

/* Redirect Page Styles */
.redirect-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.redirect-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.redirect-content {
    text-align: center;
    max-width: 600px;
    padding: 2rem;
}

.redirect-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo-image {
    width: 3rem;
    height: 3rem;
}

.logo-text {
    font-size: 2rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.redirect-message {
    margin-bottom: 2rem;
}

.redirect-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.redirect-description {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.loading-animation {
    margin-bottom: 2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.loading-text {
    color: var(--muted-foreground);
}

.redirect-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 1.2rem;
}

.feature-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.redirect-actions {
    margin-top: 2rem;
}

/* Pricing Section */
.pricing-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    overflow: hidden;
}

.pricing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.pricing-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 69, 199, 0.1) 0%,
        rgba(6, 182, 212, 0.1) 50%,
        rgba(168, 85, 247, 0.1) 100%);
}

.pricing-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.pricing-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #8B45C7, #06B6D4, #A855F7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

.pricing-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 69, 199, 0.5);
    box-shadow: 0 20px 40px rgba(139, 69, 199, 0.2);
}

.pricing-card-featured {
    border: 2px solid #10B981;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%);
}

.best-deal-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.gem-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.price {
    display: inline-block;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 1.25rem;
    font-weight: 600;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: white;
}

.feature-check {
    color: #10B981;
    font-weight: 600;
}

.feature-info {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.5);
    cursor: help;
}

.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-telegram {
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-telegram.btn-featured {
    background: linear-gradient(135deg, #10B981, #059669);
}

.payment-options {
    position: relative;
}

.payment-toggle {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-toggle:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.payment-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    margin-top: 4px;
    display: none;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.payment-option {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.payment-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.pricing-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.nav-link.active {
    color: #8B45C7;
    font-weight: 600;
}