/* ================================================
   Copibara Landing Page — Dark Theme
   Design System: Yapivo-inspired dark + orange
   ================================================ */

:root {
    /* Colors */
    --bg-deep: #0B0B14;
    --bg-surface: #12121F;
    --bg-card: #1A1A2E;
    --bg-card-hover: #222240;
    --bg-elevated: #252542;

    --text-primary: #FAFAFA;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-tertiary: rgba(255, 255, 255, 0.35);

    --orange: #FF6B35;
    --orange-light: #FF8F5E;
    --orange-glow: rgba(255, 107, 53, 0.25);
    --orange-subtle: rgba(255, 107, 53, 0.08);

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);

    --purple-glow: rgba(120, 80, 200, 0.15);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Sizing */
    --max-width: 1100px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Particles canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ============================
   Navigation
   ============================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 var(--space-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(11, 11, 20, 0.75);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.logo-icon.small {
    width: 24px;
    height: 24px;
    font-size: 12px;
    border-radius: 6px;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.logo-image.small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.15);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-download {
    text-decoration: none;
    background: var(--orange);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-download:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--orange-glow);
}

/* ============================
   Hero
   ============================ */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 140px;
    padding-bottom: var(--space-3xl);
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.6s ease;
}

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ADE80;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease;
}

.hero-accent {
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-3xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s;
    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--orange-glow);
}

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

.btn-ghost:hover {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
}

/* ============================
   App Preview
   ============================ */
.app-preview {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    animation: fadeInUp 1s ease 0.4s both;
}

.app-window {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.window-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

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

.traffic-light.red { background: #FF5F57; }
.traffic-light.yellow { background: #FFBD2E; }
.traffic-light.green { background: #28CA42; }

.window-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.window-toolbar {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    gap: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.toolbar-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-deep);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.toolbar-search span {
    font-size: 13px;
    color: var(--text-tertiary);
}

.toolbar-tabs {
    display: flex;
    gap: 4px;
}

.tab {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.2s;
}

.tab.active {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.tab:hover:not(.active) {
    color: var(--text-secondary);
}

.yapivo-tab {
    display: flex;
    align-items: center;
    gap: 5px;
}

.yapivo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
}

.window-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 16px;
}

/* Clip cards in preview */
.clip-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    transition: all 0.25s;
}

.clip-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.clip-card.yapivo-card {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow:
        0 0 20px rgba(255, 107, 53, 0.08),
        0 0 0 1px rgba(255, 107, 53, 0.15) inset;
    animation: yapivo-pulse 3s ease-in-out infinite;
}

@keyframes yapivo-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.08), 0 0 0 1px rgba(255, 107, 53, 0.15) inset; }
    50% { box-shadow: 0 0 30px rgba(255, 107, 53, 0.15), 0 0 0 1px rgba(255, 107, 53, 0.25) inset; }
}

.clip-type {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.clip-type.text {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ED;
}

.clip-type.link {
    background: rgba(74, 222, 128, 0.15);
    font-size: 14px;
}

.clip-type.yapivo-type {
    background: var(--orange-subtle);
    font-size: 14px;
}

.clip-type.img {
    background: rgba(168, 85, 247, 0.15);
    font-size: 14px;
}

.clip-content {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.clip-meta {
    font-size: 10px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.yapivo-badge {
    display: inline-flex;
    padding: 1px 6px;
    border-radius: 4px;
    background: var(--orange);
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.img-placeholder {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
}

/* Mascot */
.mascot {
    position: absolute;
    top: -40px;
    right: 60px;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.mascot-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--orange-glow), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: glow-pulse 3s ease-in-out infinite;
}

.mascot-emoji {
    font-size: 60px;
    position: relative;
    filter: drop-shadow(0 4px 20px rgba(255, 107, 53, 0.3));
}

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

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

/* ============================
   Sections (shared)
   ============================ */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6495ED;
    margin-bottom: var(--space-md);
}

.section-label.orange {
    color: var(--orange);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
}

.section-title.left {
    text-align: left;
}

/* ============================
   Features
   ============================ */
.features {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: left;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background 0.3s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(100, 149, 237, 0.5), transparent);
}

.feature-card.featured {
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.05), var(--bg-card));
}

.feature-card.featured::before {
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.feature-card.featured:hover {
    border-color: rgba(255, 107, 53, 0.35);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.1);
}

.feature-icon {
    font-size: 28px;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

.feature-tag {
    display: inline-flex;
    margin-top: var(--space-md);
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--orange-subtle);
    color: var(--orange);
    font-size: 11px;
    font-weight: 600;
}

/* ============================
   Yapivo Section
   ============================ */
.yapivo-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.yapivo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.yapivo-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.orange-text {
    color: var(--orange);
    font-weight: 600;
}

.yapivo-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.yapivo-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.check {
    color: var(--orange);
    font-weight: 700;
}

.yapivo-demo {
    display: flex;
    justify-content: center;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 380px;
    box-shadow:
        0 0 40px rgba(255, 107, 53, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.3);
    animation: yapivo-pulse 3s ease-in-out infinite;
}

.demo-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
}

.wave-bar {
    width: 3px;
    border-radius: 2px;
    background: var(--orange);
    opacity: 0.7;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(odd) { animation-delay: 0.1s; }
.wave-bar:nth-child(3n) { animation-delay: 0.3s; }
.wave-bar:nth-child(4n) { animation-delay: 0.5s; }
.wave-bar:nth-child(5n) { animation-delay: 0.2s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.demo-text {
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: var(--space-md);
}

.demo-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ============================
   Open Source
   ============================ */
.open-source {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    text-align: center;
}

.os-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto var(--space-2xl);
}

.os-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    margin: 0 auto;
}

.os-stat {
    text-align: center;
    flex: 1;
}

.os-number {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.os-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

.os-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ============================
   Download CTA
   ============================ */
.download {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
    text-align: center;
}

.download-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.download-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.download-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

/* Editions Grid */
.editions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
}

.edition-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.edition-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.edition-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Yapivo edition special styling */
.edition-yapivo {
    border-color: rgba(255, 107, 53, 0.2);
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.04) 0%, var(--bg-card) 40%);
}

.edition-yapivo:hover {
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.1), 0 0 60px rgba(255, 107, 53, 0.05);
}

/* Edition badge */
.edition-badge {
    display: inline-block;
    width: fit-content;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.edition-badge-yapivo {
    background: var(--orange-subtle);
    color: var(--orange);
}

/* Edition name */
.edition-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.yapivo-plus {
    color: var(--orange);
}

/* Tagline */
.edition-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: -8px;
}

/* Price */
.edition-price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Feature list */
.edition-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.edition-features li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.edition-features .check {
    font-size: 14px;
    color: var(--text-secondary);
    width: 18px;
    flex-shrink: 0;
}

.edition-features .check.orange {
    color: var(--orange);
}

.yapivo-highlight {
    color: var(--text-primary) !important;
}

/* Edition button */
.btn-edition {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-sm);
}

/* Edition note */
.edition-note {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
}

/* Staggered reveal */
.edition-card:nth-child(2) {
    transition-delay: 0.15s;
}

/* ============================
   The Maker Section
   ============================ */
.maker-section {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0;
}

.maker-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 107, 53, 0.1) inset;
    background: linear-gradient(135deg, var(--bg-card) 40%, rgba(255, 107, 53, 0.05) 100%);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.maker-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.maker-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.05), 0 0 40px rgba(0, 0, 0, 0.4);
}

.maker-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.maker-socials {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.maker-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.03);
}

.maker-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.maker-avatar-wrapper {
    position: relative;
}

.maker-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 2px solid rgba(255, 107, 53, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.15);
}

.avatar-gradient {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), transparent);
    z-index: -1;
    opacity: 0.5;
    animation: spin 6s linear infinite;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 1;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================
   Footer
   ============================ */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    text-decoration: none;
    color: var(--text-tertiary);
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

.footer-creator {
    width: 100%;
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    margin-top: var(--space-md);
}

.creator-line {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.6;
}

.creator-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--space-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.creator-link:hover {
    color: var(--orange);
}

.creator-link svg {
    transition: transform 0.2s;
}

.creator-link:hover svg {
    transform: scale(1.15);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.features-grid .feature-card,
.yapivo-content,
.os-stats,
.download-title,
.edition-card,
.maker-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.features-grid .feature-card.visible,
.yapivo-content.visible,
.os-stats.visible,
.download-title.visible,
.edition-card.visible,
.maker-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.4s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.5s; }

/* ============================
   Responsive
   ============================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .yapivo-content { grid-template-columns: 1fr; }
    .window-grid { grid-template-columns: repeat(2, 1fr); }
    .os-stats { flex-direction: column; gap: var(--space-md); }
    .os-divider { width: 40px; height: 1px; }
    .footer-inner { flex-direction: column; gap: var(--space-md); text-align: center; }
    .editions-grid { grid-template-columns: 1fr; max-width: 420px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .maker-card { grid-template-columns: 1fr; text-align: center; padding: var(--space-xl); }
    .maker-socials { justify-content: center; }
    .section-title.left { text-align: center; }
    .maker-avatar-wrapper { margin: 0 auto; order: -1; margin-bottom: var(--space-md); }
}
