/* CSS Variables for Theme */
:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0F0F0;
    --text-primary: #1A1A1A;
    --text-secondary: #666666;
    --border-color: #DADADA;
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-gold: #f59e0b;
    --accent-silver: #64748b;
    --success-color: #10b981;
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.12);
    --shadow-heavy: rgba(0, 0, 0, 0.16);
}

/* Dark mode variables (for future implementation) */
[data-theme="dark"] {
    --bg-primary: #1A1A1A;
    --bg-secondary: #2A2A2A;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --border-color: #404040;
    --shadow-light: rgba(255, 255, 255, 0.08);
    --shadow-medium: rgba(255, 255, 255, 0.12);
    --shadow-heavy: rgba(255, 255, 255, 0.16);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--bg-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--bg-primary);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--bg-primary);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--bg-primary);
    color: var(--accent-primary);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.btn-primary:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--shadow-heavy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-primary);
    border: 2px solid var(--bg-primary);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    font-size: 2rem;
    color: var(--bg-primary);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

/* Trending Section */
.trending-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.carousel-container {
    position: relative;
    padding: 0 60px;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.trending-card {
    min-width: 280px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-light);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.trending-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.trending-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--bg-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0) 100%);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.trending-card:hover .card-overlay {
    transform: translateY(0);
}

.card-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.card-overlay p {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 10px;
}

.rating {
    color: #ffd700;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-primary);
    color: var(--accent-primary);
    border: 2px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px var(--shadow-light);
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Creators Section */
.creators-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.creator-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.creator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    border-color: var(--accent-primary);
}

.creator-image {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.creator-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-primary);
}

.creator-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.creator-info h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

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

.creator-stats {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.creator-achievements {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--accent-primary);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px 0;
    border-bottom: 2px solid var(--border-color);
}

.feature-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    font-size: 8rem;
    text-align: center;
    opacity: 0.6;
    filter: grayscale(20%);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--accent-primary);
    font-weight: 700;
    transform: scale(1.1);
}

.save-badge {
    background-color: var(--success-color);
    color: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--accent-primary);
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 5px var(--shadow-medium);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px 35px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 3px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px var(--shadow-medium);
}

.silver-card {
    border-color: var(--accent-silver);
}

.silver-card .plan-name {
    color: var(--accent-silver);
}

.silver-card .currency,
.silver-card .amount {
    color: var(--accent-silver);
}

.silver-card .plan-button {
    background: var(--accent-silver);
    color: var(--bg-primary);
}

.silver-card .plan-button:hover {
    background: #475569;
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.4);
}

.gold-card {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.gold-card:hover {
    transform: scale(1.05) translateY(-10px);
}

.gold-card .plan-name {
    color: var(--accent-gold);
}

.gold-card .currency,
.gold-card .amount {
    color: var(--accent-gold);
}

.gold-card .plan-button {
    background: var(--accent-gold);
    color: var(--text-primary);
}

.gold-card .plan-button:hover {
    background: #d97706;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--text-primary);
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-name {
    font-size: 2rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.plan-description {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.plan-price {
    text-align: center;
    margin-bottom: 35px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.currency {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 8px;
}

.amount {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 28px;
    margin-left: 5px;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 35px;
}

.plan-features li {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li.available {
    color: var(--text-primary);
}

.plan-features li.unavailable {
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.plan-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-button:hover {
    transform: translateY(-2px);
}

.plan-button:active {
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--bg-primary);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--bg-primary);
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: var(--bg-primary);
    color: var(--accent-primary);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-secondary);
    box-shadow: 0 6px 30px var(--shadow-heavy);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-row {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .device-mockup {
        font-size: 6rem;
    }
    
    .creators-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .trending-card {
        min-width: 220px;
    }
    
    .feature-text h2 {
        font-size: 1.8rem;
    }
    
    .feature-text p {
        font-size: 1.1rem;
    }
    
    .pricing-card.gold-card {
        transform: scale(1);
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 20px;
    }
}
