:root {
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --bg-tertiary: #0a0a0a;
    --bg-elevated: #111111;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #22c55e;
    --accent-light: #4ade80;
    --accent-dark: #16a34a;
    --accent-pink: #14b8a6;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-elevated: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent: #16a34a;
    --accent-light: #22c55e;
    --accent-dark: #15803d;
    --accent-pink: #0d9488;
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 3px;
}

.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    cursor: none;
}

@media (pointer: coarse) {
    .cursor {
        display: none;
    }
    body {
        cursor: auto;
    }
}

.cursor-dot {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: width 0.1s, height 0.1s;
    box-shadow: 0 0 15px var(--accent), 0 0 30px rgba(139, 92, 246, 0.5);
}

.cursor-ring {
    display: none;
}

.cursor.hover .cursor-dot {
    width: 16px;
    height: 16px;
}

.bg-effects {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, transparent 70%);
    top: -150px;
    right: -100px;
    animation: float1 25s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.4) 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation: float2 30s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.4) 0%, transparent 70%);
    top: 60%;
    left: 20%;
    animation: float3 20s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(15, 15, 17, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 50px;
    padding: 8px 24px 8px 16px;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.logo-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: var(--bg-secondary);
    padding: 4px;
    transition: all 0.3s var(--ease-out);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15);
}

.logo:hover .logo-wrapper {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.4), 0 0 50px rgba(34, 197, 94, 0.2);
    transform: scale(1.02);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.15s;
}

.logo-text.active {
    background: rgba(255, 255, 255, 0.1);
}

.logo-text:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    padding: 8px 16px;
    border-radius: 40px;
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.github-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-secondary);
    transition: all 0.15s;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
}

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

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

.github-btn svg {
    width: 20px;
    height: 20px;
}

.main {
    position: relative;
    z-index: 1;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 32px 80px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 480px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
    box-shadow: 0 0 10px var(--accent);
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-line.gradient {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease-out);
}

.btn-primary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    transform: translateX(-100%);
    transition: transform 1s var(--ease-out);
    z-index: -1;
    border-radius: 12px;
}

.btn-primary span, .btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent);
    border-radius: 16px;
    opacity: 0;
    pointer-events: none;
    z-index: -2;
}

.btn-primary:hover::after {
    animation: splash 0.6s ease-out 1s;
}

.btn-primary:hover {
    animation: shake 0.3s ease 1s;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.4);
    border-color: transparent;
    color: white;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

@keyframes shake {
    0%, 100% { transform: translateY(-3px) rotate(0); }
    25% { transform: translateY(-3px) rotate(-2deg); }
    75% { transform: translateY(-3px) rotate(2deg); }
}

@keyframes splash {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-elevated);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.app-preview {
    position: relative;
}

.preview-glow {
    display: none;
}

.preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 80px rgba(0, 0, 0, 0.6);
}

.preview-img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
}

.hero::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

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

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features {
    padding: 120px 32px;
    background: var(--bg-secondary);
}

.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-pink));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(139, 92, 246, 0.15);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 14px;
    margin-bottom: 20px;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    transition: color 0.3s;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.feature-card:hover .feature-icon svg {
    color: white;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.tech {
    padding: 120px 32px;
}

.tech-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-text {
    max-width: 480px;
}

.tech-text .section-desc {
    margin-bottom: 28px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 400px;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.tech-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-badge:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.tech-badge-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tech-badge-icon.rust { color: #f74c00; }
.tech-badge-icon.gtk { color: #4a90d9; }
.tech-badge-icon.gst { color: #00acc1; }
.tech-badge-icon.relm { color: #e8b931; }

.tech-badge-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.tech-badge-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.install {
    padding: 120px 32px;
    background: var(--bg-secondary);
}

.install-steps {
    max-width: 900px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    display: flex;
    gap: 28px;
    padding: 28px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out);
}

.step-card:hover {
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    min-width: 60px;
}

.step-body {
    flex: 1;
}

.terminal {
    background: #0a0a0c;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.terminal-bar {
    background: #141417;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.terminal-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-bar .dot:nth-child(1) { background: #ef4444; }
.terminal-bar .dot:nth-child(2) { background: #eab308; }
.terminal-bar .dot:nth-child(3) { background: #22c55e; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-copy {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
}

.terminal:hover .terminal-copy {
    opacity: 1;
}

.terminal-copy:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.terminal-copy.copied {
    color: #22c55e;
}

.terminal-copy svg {
    width: 14px;
    height: 14px;
}

.terminal-content {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.prompt {
    color: #22c55e;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.command {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.command .cmd { color: var(--accent-light); }
.command .arg { color: #f472b6; }
.command .path { color: #60a5fa; }

.step-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.step-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.requirements {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.req-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.req-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.req-items span {
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cta {
    padding: 140px 32px;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    display: none;
}

.cta-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 36px;
}

.btn-cta {
    position: relative;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent);
    border-radius: 16px;
    opacity: 0;
    pointer-events: none;
    z-index: -2;
}

.btn-cta:hover::after {
    animation: splash 0.6s ease-out 1s;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    transform: translateX(-100%);
    transition: transform 1s var(--ease-out);
    z-index: -1;
    border-radius: 12px;
}

.btn-cta:hover {
    animation: shake 0.3s ease 1s;
    box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
    border-color: transparent;
    color: white;
}

.btn-cta:hover::before {
    transform: translateX(0);
}

.footer {
    background: var(--bg-secondary);
    padding: 80px 32px 40px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-wrapper {
    width: 32px;
    height: 32px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-group h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-group a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-group a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

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

.credit {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-left {
        max-width: 100%;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-right {
        order: -1;
    }
    
    .preview-img {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .tech-text {
        max-width: 100%;
        text-align: center;
    }
    
    .tech-tags {
        justify-content: center;
    }
    
    .tech-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header {
        top: 8px;
        left: 12px;
        right: 12px;
        transform: none;
        border-radius: 40px;
        padding: 6px 10px 6px 8px;
    }
    
    .logo-text {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
    
    .nav {
        gap: 4px;
    }
    
    .nav-link {
        display: none;
    }
    
    .nav-link:last-child {
        display: block;
    }
    
    .theme-toggle {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }
    
    .github-btn {
        padding: 6px 8px;
        font-size: 0;
    }
    
    .github-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .features {
        padding: 80px 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech {
        padding: 80px 20px;
    }
    
    .install {
        padding: 80px 20px;
    }
    
    .step-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .step-number {
        font-size: 1.5rem;
    }
    
    .cta {
        padding: 100px 20px;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(20, 184, 166, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-pink));
    opacity: 0;
    transition: opacity 0.2s;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    border-color: var(--accent);
}

.theme-toggle:hover::before {
    opacity: 0.15;
}

.theme-toggle svg {
    position: relative;
    z-index: 1;
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="light"] .theme-toggle .moon-icon {
    display: none;
}

/* Light theme overrides */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .logo-text {
    color: var(--text-primary);
}

[data-theme="light"] .nav-link {
    color: var(--text-secondary);
}

[data-theme="light"] .hero::before {
    opacity: 0.02;
}

[data-theme="light"] .feature-card {
    background: var(--bg-elevated);
}

[data-theme="light"] .step-card {
    background: var(--bg-elevated);
}

[data-theme="light"] .tech-badge {
    background: var(--bg-elevated);
}

[data-theme="light"] .terminal {
    background: #1e293b;
}

[data-theme="light"] .terminal-bar {
    background: #0f172a;
}

[data-theme="light"] .preview-frame {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 25px 80px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .cta-bg {
    background: radial-gradient(ellipse at center, rgba(22, 163, 74, 0.15) 0%, rgba(13, 148, 136, 0.1) 40%, transparent 70%);
}

[data-theme="light"] .footer {
    border-top: 1px solid var(--border);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid var(--border);
}

/* Light theme - orbs visibility */
[data-theme="light"] .gradient-orb {
    opacity: 0.2;
}
