@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0084ff;
    --primary-dark: #0066cc;
    --primary-light: #4da6ff;
    --primary-rgb: 0, 132, 255;
    --secondary: #00d4ff;
    --secondary-rgb: 0, 212, 255;

    --dark: #0f1419;
    --dark-100: #1a1f29;
    --dark-200: #252d3d;

    --text: #0f1419;
    --text-light: #536471;
    --text-lighter: #8899a6;

    --border: #e1e8ed;
    --border-light: #f0f4f7;

    --success: #00ba88;
    --warning: #ffb800;
    --error: #ff4444;

    --bg: #ffffff;
    --bg-gray: #f8fafb;
    --bg-dark: #0a0e14;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);

    --easing: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --easing-smooth: cubic-bezier(0.23, 1, 0.32, 1);

    --transition-fast: 0.2s var(--easing);
    --transition-base: 0.3s var(--easing);
    --transition-slow: 0.5s var(--easing);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 100px;
    border: 3px solid var(--border-light);
    transition: all var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    border-width: 2px;
}

::-webkit-scrollbar-thumb:active {
    background: var(--primary-dark);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border-light);
}

/* ===== CURSOR FOLLOWER ===== */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follower {
        opacity: 0.5;
    }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.nav-blur {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(32px) saturate(180%);
    -webkit-backdrop-filter: blur(32px) saturate(180%);
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav.scrolled .nav-blur {
    opacity: 1;
}

.nav.scrolled {
    padding: 16px 0;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.04);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text);
    transition: transform var(--transition-base);
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-container {
    position: relative;
    width: 48px;
    height: 48px;
}

.logo-ring {
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    filter: blur(12px);
    transition: opacity var(--transition-base);
}

.nav-logo:hover .logo-ring {
    opacity: 0.6;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.logo-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.25);
    transition: all var(--transition-base);
}

.nav-logo:hover .logo-wrapper {
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.4);
    transform: scale(1.05);
}

.logo-wrapper img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: white;
    padding: 3px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--text), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-link {
    position: relative;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 10px 18px;
    border-radius: 10px;
    transition: color var(--transition-base);
    overflow: hidden;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.08), rgba(0, 212, 255, 0.08));
    opacity: 0;
    transform: scale(0.8);
    border-radius: 10px;
    transition: all var(--transition-base);
}

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

.nav-link:hover .nav-link-bg {
    opacity: 1;
    transform: scale(1);
}

.nav-github {
    padding: 11px 22px;
    background: var(--text);
    color: white !important;
    border-radius: 11px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.nav-github::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-github:hover::before {
    opacity: 1;
}

.nav-github span,
.nav-github svg {
    position: relative;
    z-index: 1;
}

.nav-github:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 24px 120px;
    position: relative;
    overflow: hidden;
}

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

.gradient-mesh {
    position: absolute;
    inset: 0;
    opacity: 0.8;
}

.mesh-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: mesh-float 25s ease-in-out infinite;
}

.mesh-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.18), transparent);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.mesh-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent);
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.mesh-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.12), transparent);
    top: 40%;
    right: 20%;
    animation-delay: 10s;
}

.mesh-4 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    bottom: 30%;
    left: 15%;
    animation-delay: 15s;
}

@keyframes mesh-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(40px, -40px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(30px, 40px) rotate(270deg) scale(1.05);
    }
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
}

.hero-content {
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.app-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 56px;
}

.app-icon-glow-ring {
    position: absolute;
    inset: -30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.25;
    filter: blur(60px);
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.25;
        transform: scale(1);
    }
    50% {
        opacity: 0.45;
        transform: scale(1.15);
    }
}

.app-icon-pulse {
    position: absolute;
    inset: -10px;
    border: 3px solid var(--primary);
    border-radius: 45px;
    opacity: 0.5;
    animation: icon-pulse 3s ease-out infinite;
}

@keyframes icon-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.app-icon {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 45px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow:
        0 25px 70px rgba(var(--primary-rgb), 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 10px 40px rgba(0, 0, 0, 0.1);
    animation: float-icon 7s ease-in-out infinite;
    transition: all var(--transition-slow);
}

.app-icon:hover {
    transform: translateY(-10px) scale(1.05);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 41px;
    background: white;
    padding: 12px;
}

.icon-shine {
    position: absolute;
    inset: 0;
    border-radius: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.app-icon:hover .icon-shine {
    opacity: 1;
    animation: shine-sweep 1.5s ease-in-out;
}

@keyframes shine-sweep {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float-icon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

.badge-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.badge {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.08), rgba(0, 212, 255, 0.08));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.badge:hover::before {
    opacity: 1;
}

.badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.badge span {
    position: relative;
    z-index: 1;
}

.badge-animated {
    animation: badge-float 3s ease-in-out infinite;
}

.badge-animated:nth-child(1) {
    animation-delay: 0s;
}

.badge-animated:nth-child(2) {
    animation-delay: 0.3s;
}

.badge-animated:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes badge-float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: -0.045em;
    line-height: 1.15;
    position: relative;
    display: inline-block;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-reveal 1s var(--easing-smooth) forwards;
    opacity: 0;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes title-reveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--text);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: clamp(1.125rem, 2.8vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 56px;
    line-height: 1.7;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.btn {
    padding: 20px 44px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: scale(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 12px 36px rgba(var(--primary-rgb), 0.4);
}

.btn-shine {
    position: absolute;
    inset: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover .btn-shine {
    transform: translateX(100%);
}

.btn-primary:hover {
    box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.5);
    transform: translateY(-4px);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--transition-base);
    z-index: 0;
}

.btn-glow:hover::after {
    opacity: 0.6;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-color: var(--border);
    backdrop-filter: blur(20px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.trust-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    border: 2px solid var(--border);
    backdrop-filter: blur(20px);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.trust-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.15), rgba(0, 212, 255, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.scroll-indicator {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    animation: fade-in-up 1s var(--easing) 1s both;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 100px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 100px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

/* ===== SECTION ===== */
.section {
    padding: 140px 0;
    position: relative;
}

.download-section,
.features-section {
    background: linear-gradient(180deg, transparent, rgba(0, 132, 255, 0.02), transparent);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 90px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.12), rgba(0, 212, 255, 0.12));
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    border: 2px solid rgba(var(--primary-rgb), 0.25);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.1);
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

.section-title {
    font-size: clamp(2.75rem, 7vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--text);
}

.section-description {
    font-size: 1.375rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 500;
}

/* ===== DOWNLOAD SECTION ===== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 36px;
}

.download-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 32px;
    padding: 52px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--easing-smooth);
}

.card-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at center, rgba(0, 132, 255, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.download-card:hover .card-glow {
    opacity: 1;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--easing-smooth);
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-card:hover {
    border-color: var(--primary);
    transform: translateY(-12px);
    box-shadow: 0 32px 72px rgba(var(--primary-rgb), 0.15);
}

.download-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.02), rgba(0, 212, 255, 0.02));
}

.featured-ribbon {
    position: absolute;
    top: 28px;
    right: 28px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
    animation: ribbon-shine 3s ease-in-out infinite;
}

@keyframes ribbon-shine {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.35);
    }
    50% {
        box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.5);
    }
}

.card-icon-container {
    margin-bottom: 32px;
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.25);
    position: relative;
    transition: all var(--transition-base);
}

.download-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.4);
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    opacity: 0;
    filter: blur(24px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.download-card:hover .card-icon::after {
    opacity: 0.4;
}

.card-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.download-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text);
}

.card-description {
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.75;
    font-size: 1.0625rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 20px;
    background: var(--text);
    color: white;
    text-align: center;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-base);
}

.btn-ripple {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.download-btn:hover .btn-ripple {
    opacity: 1;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.4);
}

.download-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 28px;
    border-top: 2px dashed var(--border);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
}

.meta-label {
    color: var(--text-light);
    font-weight: 600;
}

.meta-value {
    color: var(--text);
    font-weight: 800;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 36px;
}

.feature-card {
    padding: 48px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 32px;
    transition: all 0.5s var(--easing-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.03), rgba(0, 212, 255, 0.03));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.12);
    transform: translateY(-8px);
}

.feature-icon-wrapper {
    margin-bottom: 28px;
    position: relative;
    width: fit-content;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-base);
}

.feature-icon-glow {
    position: absolute;
    inset: -12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    opacity: 0;
    filter: blur(24px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon-glow {
    opacity: 0.4;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1.0625rem;
}

/* ===== SECURITY SECTION ===== */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
}

.security-card {
    padding: 48px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 32px;
    text-align: center;
    transition: all 0.5s var(--easing-smooth);
    position: relative;
    overflow: hidden;
}

.security-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top center, rgba(0, 132, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.security-card:hover::before {
    opacity: 1;
}

.security-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.12);
    transform: translateY(-8px);
}

.security-icon-wrapper {
    margin-bottom: 28px;
    display: inline-block;
}

.security-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.12), rgba(0, 212, 255, 0.12));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all var(--transition-base);
}

.security-card:hover .security-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.2), rgba(0, 212, 255, 0.2));
}

.security-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.security-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--text);
}

.security-card p {
    color: var(--text-light);
    line-height: 1.75;
    font-size: 1.0625rem;
}

/* ===== FAQ SECTION ===== */
.faq-container {
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faq-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: 28px;
    padding: 40px;
    transition: all 0.4s var(--easing-smooth);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    transform: scaleY(0);
    transition: transform var(--transition-base);
}

.faq-item:hover::before {
    transform: scaleY(1);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(var(--primary-rgb), 0.1);
    transform: translateX(8px);
}

.faq-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.faq-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.12), rgba(0, 212, 255, 0.12));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.faq-item:hover .faq-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: rotate(15deg);
}

.faq-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: color var(--transition-base);
}

.faq-item:hover .faq-icon svg {
    color: white;
}

.faq-header h4 {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.85;
    font-size: 1.0625rem;
    padding-left: 54px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: white;
    padding: 90px 0 50px;
    position: relative;
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 132, 255, 0.15), transparent);
    filter: blur(100px);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 90px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.footer-logo img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 132, 255, 0.3);
}

.footer-logo-text h3 {
    font-size: 1.625rem;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.0625rem;
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.95);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    margin-bottom: 16px;
    transition: all var(--transition-base);
    font-size: 0.9375rem;
    font-weight: 600;
    position: relative;
    padding-left: 0;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-50%);
    transition: width var(--transition-base);
}

.footer-column a:hover {
    color: white;
    padding-left: 18px;
}

.footer-column a:hover::before {
    width: 12px;
}

.footer-disclaimer {
    background: rgba(255, 180, 0, 0.12);
    border: 2px solid rgba(255, 180, 0, 0.3);
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 50px;
    display: flex;
    gap: 20px;
    align-items: start;
}

.footer-disclaimer svg {
    width: 28px;
    height: 28px;
    min-width: 28px;
    color: var(--warning);
    margin-top: 3px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    font-size: 0.9375rem;
    margin: 0;
}

.footer-disclaimer strong {
    color: var(--warning);
    font-weight: 800;
}

.footer-bottom {
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9375rem;
    font-weight: 600;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 44px;
    right: 44px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 12px 36px rgba(var(--primary-rgb), 0.4);
    z-index: 999;
    transition: all var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0;
    filter: blur(20px);
    transition: opacity var(--transition-base);
    z-index: -1;
}

.back-to-top:hover::before {
    opacity: 0.7;
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.5);
}

.back-to-top svg {
    width: 26px;
    height: 26px;
}

/* ===== SCROLL REVEAL ANIMATION ===== */
[data-scroll-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s var(--easing-smooth);
}

[data-scroll-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll-reveal][data-delay="100"].revealed {
    transition-delay: 0.1s;
}

[data-scroll-reveal][data-delay="150"].revealed {
    transition-delay: 0.15s;
}

[data-scroll-reveal][data-delay="200"].revealed {
    transition-delay: 0.2s;
}

[data-scroll-reveal][data-delay="250"].revealed {
    transition-delay: 0.25s;
}

[data-scroll-reveal][data-delay="300"].revealed {
    transition-delay: 0.3s;
}

[data-scroll-reveal][data-delay="350"].revealed {
    transition-delay: 0.35s;
}

[data-scroll-reveal][data-delay="400"].revealed {
    transition-delay: 0.4s;
}

[data-scroll-reveal][data-delay="500"].revealed {
    transition-delay: 0.5s;
}

[data-scroll-reveal][data-delay="600"].revealed {
    transition-delay: 0.6s;
}

[data-scroll-reveal][data-delay="700"].revealed {
    transition-delay: 0.7s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 6px;
    }

    .section {
        padding: 110px 0;
    }

    .section-header {
        margin-bottom: 70px;
    }
}

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

    .nav {
        padding: 16px 0;
    }

    .nav-menu {
        gap: 4px;
    }

    .nav-link {
        padding: 8px 14px;
        font-size: 0.875rem;
    }

    .nav-github {
        padding: 9px 16px;
        font-size: 0.875rem;
    }

    .nav-github svg {
        width: 16px;
        height: 16px;
    }

    .logo-wrapper {
        width: 42px;
        height: 42px;
    }

    .logo-wrapper img {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: auto;
        padding: 140px 20px 100px;
    }

    .app-icon {
        width: 140px;
        height: 140px;
        border-radius: 36px;
    }

    .app-icon img {
        border-radius: 32px;
    }

    .badge-group {
        gap: 8px;
    }

    .badge {
        font-size: 0.75rem;
        padding: 10px 18px;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 14px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 18px 36px;
        font-size: 1rem;
    }

    .trust-grid {
        gap: 14px;
    }

    .trust-item {
        font-size: 0.875rem;
        padding: 12px 20px;
    }

    .section {
        padding: 90px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .download-grid,
    .features-grid,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .download-card,
    .feature-card,
    .security-card {
        padding: 36px;
    }

    .faq-item {
        padding: 32px;
    }

    .faq-item p {
        padding-left: 0;
        margin-top: 14px;
    }

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

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

    .back-to-top {
        bottom: 28px;
        right: 28px;
        width: 56px;
        height: 56px;
    }

    .scroll-indicator {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .mesh-1, .mesh-2, .mesh-3, .mesh-4 {
        width: 350px;
        height: 350px;
    }
}

/* ===== PREVIEW SECTION ===== */
.preview-section {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);
}

.preview-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.preview-frame {
    position: relative;
    background: rgba(30, 30, 40, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    z-index: 2;
}

.preview-frame:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 35px 100px rgba(59, 130, 246, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(40, 40, 50, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.preview-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.preview-dots .dot:hover {
    transform: scale(1.2);
}

.preview-dots .dot.red {
    background: #ff5f57;
    box-shadow: 0 0 8px rgba(255, 95, 87, 0.5);
}

.preview-dots .dot.yellow {
    background: #ffbd2e;
    box-shadow: 0 0 8px rgba(255, 189, 46, 0.5);
}

.preview-dots .dot.green {
    background: #28c840;
    box-shadow: 0 0 8px rgba(40, 200, 64, 0.5);
}

.preview-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.preview-image-wrapper {
    position: relative;
    overflow: hidden;
}

.preview-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.preview-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
    pointer-events: none;
}

.preview-frame:hover .preview-shine {
    left: 150%;
}

.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(
        ellipse at center,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(139, 92, 246, 0.2) 40%,
        transparent 70%
    );
    filter: blur(60px);
    z-index: 1;
    animation: preview-glow-pulse 4s ease-in-out infinite;
}

@keyframes preview-glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Preview Section Responsive */
@media (max-width: 768px) {
    .preview-frame {
        border-radius: 12px;
    }

    .preview-header {
        padding: 10px 14px;
    }

    .preview-dots .dot {
        width: 10px;
        height: 10px;
    }

    .preview-title {
        font-size: 0.75rem;
    }

    .preview-image {
        max-height: 400px;
    }

    .preview-glow {
        filter: blur(40px);
    }
}

@media (max-width: 480px) {
    .preview-header {
        padding: 8px 12px;
    }

    .preview-dots .dot {
        width: 8px;
        height: 8px;
    }

    .preview-dots {
        gap: 6px;
    }

    .preview-image {
        max-height: 300px;
    }
}

/* ===== UTILITY ANIMATIONS ===== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
