/* X Developer Platform Review Styles */

:root {
    /* Primary Colors */
    --xdev-purple: #9945ff;
    --xdev-green: #14f195;
    --xdev-gold: #ffd700;
    --accent-teal: #00d4aa;
    --dark-bg: #1a1a1a;
    --darker-bg: #0d0d0d;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #9945ff 0%, #14f195 50%, #00d4aa 100%);
    --xdev-gradient: linear-gradient(135deg, #9945ff 0%, #ffd700 100%);
    --card-gradient: linear-gradient(135deg, rgba(153, 69, 255, 0.05) 0%, rgba(20, 241, 149, 0.05) 100%);
    --hero-gradient: linear-gradient(135deg, rgba(153, 69, 255, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    
    /* Shadows */
    --primary-shadow: 0 10px 30px rgba(153, 69, 255, 0.2);
    --primary-shadow-hover: 0 15px 40px rgba(153, 69, 255, 0.3);
    --gold-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --container-padding: 0 3rem;
    --border-radius: 16px;
    --border-radius-small: 8px;
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(153, 69, 255, 0.3);
    padding: 1rem 2rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--card-shadow);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-brand:hover {
    color: var(--xdev-purple);
}

.nav-brand i {
    font-size: 0.9rem;
}

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

.nav-link {
    text-decoration: none;
    color: #cccccc;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

.nav-link.cta-nav {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-small);
    box-shadow: var(--primary-shadow);
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--primary-shadow-hover);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffd700" stroke-width="0.5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    padding: 0 3rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #cccccc;
}

.breadcrumb a {
    color: var(--xdev-purple);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.breadcrumb a:hover {
    color: var(--xdev-gold);
}

.platform-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.platform-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
}

.xdev-logo {
    background: var(--xdev-gradient);
    box-shadow: var(--gold-shadow);
}

.platform-info {
    text-align: left;
}

.platform-info h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--xdev-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    margin-bottom: 0;
    font-weight: 300;
}

.hero-rating {
    margin-bottom: 3rem;
}

.rating-score {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.rating-score .score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--xdev-gold);
}

.rating-score .max {
    font-size: 1.5rem;
    color: #cccccc;
    margin-left: 0.25rem;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-stars i {
    color: var(--xdev-gold);
    font-size: 1.2rem;
}

.rating-text {
    color: #cccccc;
    font-size: 1rem;
}

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

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--border-radius);
    font-weight: 600;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.highlight-item i {
    color: var(--xdev-gold);
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-note {
    color: #cccccc;
    font-size: 0.9rem;
    margin: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto;
}

/* Overview Section */
.overview-section {
    padding: var(--section-padding);
}

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

.stat-card {
    background: #1a1a1a;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition-smooth);
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: var(--card-shadow-hover);
}

.stat-icon {
    margin-bottom: 1.5rem;
}

.stat-icon i {
    font-size: 2.5rem;
    color: var(--xdev-gold);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--xdev-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cccccc;
    font-size: 1rem;
}

/* Referral Section */
.referral-section {
    padding: var(--section-padding);
    background: #1a1a1a;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

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

.level-card {
    background: #2a2a2a;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

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

.level-card.level-1 {
    border: 2px solid var(--xdev-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(153, 69, 255, 0.05) 100%);
}

.level-card.level-2 {
    border: 2px solid var(--xdev-purple);
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.1) 0%, rgba(20, 241, 149, 0.05) 100%);
}

.level-card.level-3 {
    border: 2px solid var(--xdev-green);
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
}

.level-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.level-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--xdev-gold);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.level-card.level-2 .level-number {
    background: var(--xdev-purple);
    color: white;
}

.level-card.level-3 .level-number {
    background: var(--xdev-green);
    color: #000;
}

.level-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.level-commission {
    font-size: 3rem;
    font-weight: 800;
    color: var(--xdev-gold);
    text-align: center;
    margin-bottom: 1rem;
}

.level-card.level-2 .level-commission {
    color: var(--xdev-purple);
}

.level-card.level-3 .level-commission {
    color: var(--xdev-green);
}

.level-card p {
    text-align: center;
    color: #cccccc;
    margin-bottom: 2rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cccccc;
}

.feature-item i {
    color: var(--xdev-gold);
    width: 16px;
}

.referral-cta {
    text-align: center;
}

.cta-card {
    background: #2a2a2a;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(255, 215, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.cta-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.cta-card p {
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(255, 215, 0, 0.2);
}

.feature-card.featured {
    border-color: var(--xdev-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--xdev-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--xdev-gold);
}

.feature-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.benefit-tag {
    background: rgba(255, 215, 0, 0.1);
    color: var(--xdev-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Technology Section */
.technology-section {
    padding: var(--section-padding);
    background: #1a1a1a;
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.tech-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tech-card {
    background: #2a2a2a;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 2px solid #444444;
    transition: var(--transition-smooth);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

.tech-card.primary {
    border-color: var(--xdev-gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(153, 69, 255, 0.05) 100%);
}

.tech-icon {
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 2.5rem;
    color: var(--xdev-gold);
}

.tech-content h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-content p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cccccc;
}

.tech-feature i {
    color: var(--xdev-gold);
    width: 16px;
}

/* Why Choose Section */
.why-choose-section {
    padding: var(--section-padding);
}

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

.choice-card {
    background: #1a1a1a;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border: 2px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition-smooth);
    position: relative;
}

.choice-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: var(--card-shadow-hover);
}

.choice-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: var(--xdev-gradient);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.choice-card h3 {
    color: #ffffff;
    margin: 1rem 0;
    font-size: 1.3rem;
}

.choice-card p {
    color: #cccccc;
    line-height: 1.6;
}

.choice-cta {
    text-align: center;
}

.cta-card.final {
    background: #2a2a2a;
    border: 2px solid var(--xdev-gold);
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cccccc;
}

.benefit-item i {
    color: var(--xdev-gold);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    justify-content: center;
    min-width: 180px;
}

.btn-primary {
    background: var(--xdev-gradient);
    color: #000000;
    font-weight: 700;
    text-shadow: none;
    box-shadow: var(--gold-shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    color: #000000;
}

.btn-primary.large {
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    min-width: 220px;
}

.btn-secondary {
    background: #1a1a1a;
    color: var(--xdev-gold);
    border-color: var(--xdev-gold);
}

.btn-secondary:hover {
    background: var(--xdev-gold);
    color: #000000;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

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

.footer-brand h3 {
    margin-bottom: 0.5rem;
    color: var(--xdev-gold);
}

.footer-brand p {
    color: #ccc;
    margin: 0;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .platform-branding {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-info {
        text-align: center;
    }
    
    .hero-highlights {
        flex-direction: column;
        gap: 1rem;
    }
    
    .overview-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .referral-structure {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-showcase {
        grid-template-columns: 1fr;
    }
    
    .tech-card {
        flex-direction: column;
        text-align: center;
    }
    
    .choice-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .platform-info h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .highlight-item {
        padding: 0.75rem 1rem;
    }
    
    .stat-card, .level-card, .feature-card, .choice-card {
        padding: 1.5rem;
    }
    
    .cta-card.final {
        padding: 2rem 1.5rem;
    }
    
    .btn-primary.large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
}
