/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Container and layout utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
}

/* Button styles */
.btn-primary, .btn-secondary {
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.btn-primary.large, .btn-secondary.large {
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
}

.btn-primary.full-width, .btn-secondary.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-logo .logo-image {
    height: 40px;
    width: auto;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 81, 213, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #007aff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: #515154;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    animation: fadeInRight 1s ease-out 0.2s both;
}

.hero-video-container {
    position: relative;
    perspective: 1000px;
}

.hero-mockup {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: rotateY(-10deg) rotateX(2deg) scale(1.02);
}

.game-interface {
    background: #000;
    border-radius: 8px;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #00ff41;
    border-radius: 50%;
    opacity: 0.8;
}

.crosshair::before,
.crosshair::after {
    content: '';
    position: absolute;
    background: #00ff41;
}

.crosshair::before {
    top: 50%;
    left: -10px;
    right: -10px;
    height: 1px;
    transform: translateY(-50%);
}

.crosshair::after {
    left: 50%;
    top: -10px;
    bottom: -10px;
    width: 1px;
    transform: translateX(-50%);
}

.stats-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat {
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-width: 120px;
}

.stat-label {
    color: #999;
    font-size: 12px;
}

.stat-value {
    color: #00ff41;
    font-weight: 600;
    font-size: 14px;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: #515154;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Showcase */
.product-showcase {
    padding: 120px 0;
    background: #ffffff;
}

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-interface {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transform: perspective(1000px) rotateY(15deg) rotateX(-5deg);
}

.interface-window {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.window-header {
    background: #f5f5f7;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.window-controls {
    display: flex;
    gap: 6px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.window-title {
    font-weight: 600;
    font-size: 14px;
    color: #1d1d1f;
}

.interface-content {
    padding: 20px;
}

.feature-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-toggle:last-child {
    border-bottom: none;
}

.toggle-icon {
    font-size: 16px;
    color: #007aff;
}

.feature-toggle.active .toggle-icon {
    color: #00ff41;
}

.toggle-label {
    flex: 1;
    font-weight: 500;
}

.toggle-status {
    font-size: 12px;
    color: #515154;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.feature-toggle.active .toggle-status {
    background: rgba(0, 255, 65, 0.1);
    color: #00ff41;
}

.features-grid {
    display: grid;
    gap: 32px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-description {
    color: #515154;
    line-height: 1.6;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    height: 200px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 24px;
    color: #1d1d1f;
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.author-name {
    font-weight: 600;
    color: #007aff;
}

.author-game {
    color: #515154;
    font-size: 14px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: #f5f5f7;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #007aff;
    transform: scale(1.2);
}

/* Ecosystem */
.ecosystem {
    padding: 120px 0;
    background: #ffffff;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.platform-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.platform-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.platform-name {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}

.platform-description {
    color: #515154;
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.top-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bottom-row {
    display: flex;
    justify-content: center;
}

.bottom-row .pricing-card.lifetime {
    max-width: 350px;
    width: 100%;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 2px solid #007aff;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.12);
}

.bottom-row .pricing-card.lifetime:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 122, 255, 0.16);
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid #007aff;
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

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

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.plan-description {
    color: #515154;
    font-size: 14px;
}

.card-price {
    text-align: center;
    margin-bottom: 20px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    color: #1d1d1f;
}

.period {
    font-size: 14px;
    color: #515154;
    margin-left: 4px;
}

.savings {
    display: block;
    font-size: 12px;
    color: #007aff;
    font-weight: 600;
    margin-top: 4px;
}

.card-features {
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
}

.features-list li {
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #007aff;
    font-weight: 600;
    font-size: 12px;
}

/* Footer */
.footer {
    background: #f5f5f7;
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #007aff 0%, #0051d5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    color: #515154;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.link-group a {
    color: #515154;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #007aff;
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #515154;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    color: #007aff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright {
    color: #515154;
    font-size: 14px;
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .product-hero {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .product-interface {
        transform: none;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary.large,
    .btn-secondary.large {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .top-row {
        grid-template-columns: 1fr;
    }
    
    .bottom-row .pricing-card.lifetime {
        max-width: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .testimonial-content {
        padding: 24px;
    }
    
    .testimonial-quote {
        font-size: 18px;
    }


@media (max-width: 480px) {
    .section-header {
        margin-bottom: 60px;
    }
    
    .pricing-card {
        padding: 16px;
    }
    
    .card-price .price {
        font-size: 28px;
    }
}
