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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-tertiary: #1a1a24;
    --bg-elevated: #20202d;

    --purple-primary: #c084fc;
    --purple-secondary: #f472b6;
    --purple-accent: #e879f9;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #8b5cf6;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;

    --border-subtle: rgba(148, 163, 184, 0.1);
    --border-medium: rgba(148, 163, 184, 0.2);
    --border-strong: rgba(192, 132, 252, 0.3);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.2);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3);

    --gradient-1: linear-gradient(135deg, #c084fc 0%, #f472b6 100%);
    --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-3: linear-gradient(135deg, #a855f7 0%, #f472b6 50%, #fbbf24 100%);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   BASE STYLES
   ======================================== */

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 15, 0.8);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon img {
    display: block;
    border-radius: var(--radius-sm);
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 400;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple-400);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--purple-600);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--purple-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(
        ellipse at center,
        rgba(168, 85, 247, 0.12) 0%,
        rgba(139, 92, 246, 0.08) 25%,
        rgba(192, 132, 252, 0.04) 50%,
        transparent 70%
    );
    pointer-events: none;
    animation: subtleGlow 10s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero h2 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
    max-width: 600px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple-400);
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.product-description-block {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    padding: 32px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.product-description-block h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.product-description-block p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 64px;
}

.feature-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--purple-400);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(192, 132, 252, 0.3);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--purple-400);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card > p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--purple-400);
    font-weight: 600;
}

.feature-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   SPECS
   ======================================== */

.specs-container {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.specs-container h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.spec-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition);
}

.spec-card:hover {
    border-color: var(--border-medium);
}

.spec-label {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.spec-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   STORE SECTION
   ======================================== */

.store-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.product-showcase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px;
    align-items: center;
}

.product-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-elevated);
    padding: 24px;
}

.product-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.product-info-section h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product-description {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.check-item svg {
    color: var(--purple-400);
    flex-shrink: 0;
}

.product-action {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--purple-400);
}

/* ========================================
   DOCS SECTION
   ======================================== */

.docs-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.doc-link-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.doc-link-card:hover {
    border-color: var(--purple-400);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(192, 132, 252, 0.25);
}

.doc-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    color: var(--purple-400);
}

.doc-link-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.doc-link-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.community-banner {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.banner-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.banner-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ========================================
   PARTNERS SECTION
   ======================================== */

.partners-section {
    padding: 80px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.partner-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-card:hover {
    border-color: var(--purple-400);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(192, 132, 252, 0.25);
}

.partner-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    padding: 20px;
}

.partner-logo-wrapper img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.partner-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.partner-tagline {
    font-size: 13px;
    color: var(--purple-400);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partner-card > p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
    color: var(--purple-400);
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--purple-400);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   VIDEO CAROUSEL (SWIPER)
   ======================================== */

.video-carousel-container {
    position: relative;
}

.videoSwiper {
    position: relative;
    padding-bottom: 70px;
}

/* Navigation arrows */
.videoSwiper .swiper-button-next,
.videoSwiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: var(--transition);
}

.videoSwiper .swiper-button-next::after,
.videoSwiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.videoSwiper .swiper-button-next:hover,
.videoSwiper .swiper-button-prev:hover {
    background: var(--bg-tertiary);
    border-color: var(--purple-400);
    color: var(--purple-400);
    transform: scale(1.05);
}

/* Pagination dots */
.videoSwiper .swiper-pagination {
    bottom: 0;
}

.videoSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--bg-elevated);
    border: 2px solid var(--border-medium);
    opacity: 1;
    transition: var(--transition);
}

.videoSwiper .swiper-pagination-bullet:hover {
    border-color: var(--purple-400);
    transform: scale(1.2);
}

.videoSwiper .swiper-pagination-bullet-active {
    background: var(--purple-400);
    border-color: var(--purple-400);
    width: 14px;
    height: 14px;
}

/* Custom video thumbnail */
.video-container:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(230, 33, 23, 1);
}

.play-button-overlay {
    transition: var(--transition);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .hero h2 {
        font-size: 48px;
    }

    .product-showcase-card {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 150px;
    }

    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 32px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .product-showcase-card {
        padding: 32px;
    }

    .product-action {
        flex-direction: column;
        align-items: flex-start;
    }

    .docs-grid {
        grid-template-columns: 1fr;
    }

    .community-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .product-showcase-card {
        padding: 24px;
    }

    .product-info-section h3 {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
