:root {
    --bg: #0D1B2A;
    --bg-rgb: 13, 27, 42;
    --surface: #1B2838;
    --surface-variant: #243447;
    --primary: #4A90D9;
    --primary-rgb: 74, 144, 217;
    --primary-light: #7CB3F0;
    --secondary: #7CB3F0;
    --text: #E0E6ED;
    --text-muted: #8899AA;
    --divider: #2A3A4E;
    --green: #25D366;
    --green-dark: #075E54;
    --chat-self: #054D44;
    --chat-other: #263238;
    --error: #EF5350;
    --warning: #FFB74D;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

section {
    padding: 100px 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(74, 144, 217, 0.1);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 24px rgba(74, 144, 217, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(74, 144, 217, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(74, 144, 217, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--divider);
    border-radius: 8px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

.input::placeholder {
    color: var(--text-muted);
}

textarea.input {
    resize: vertical;
    min-height: 120px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--divider);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-img {
    display: block;
    border-radius: 8px;
    filter: drop-shadow(0 2px 8px rgba(74, 144, 217, 0.3));
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text);
}

.nav-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--primary);
    color: #fff;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 8px 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: var(--surface-variant);
}

.nav-lang-link {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    border: 1px solid var(--divider);
    border-radius: 6px;
    transition: all var(--transition);
}

.nav-lang-link:hover {
    border-color: var(--primary);
    background: rgba(74, 144, 217, 0.1);
}

.nav-github {
    margin-left: 4px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 144, 217, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -150px;
    right: -100px;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px;
    height: 350px;
    background: var(--green);
    bottom: -100px;
    left: 10%;
    animation: orbFloat 10s ease-in-out infinite 2s;
}

.hero-orb-3 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    top: 50%;
    left: 40%;
    animation: orbFloat 12s ease-in-out infinite 4s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(74, 144, 217, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-light);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phone {
    width: 280px;
    height: 520px;
    background: var(--surface);
    border: 2px solid var(--surface-variant);
    border-radius: 36px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(74, 144, 217, 0.1) inset;
    animation: phoneFloat 6s ease-in-out infinite;
}

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

.hero-phone::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--surface-variant);
    border-radius: 2px;
}

.hero-phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    background: var(--green-dark);
    padding: 40px 16px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.phone-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.phone-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

.phone-chat {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
}

.phone-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.phone-msg-out {
    flex-direction: row-reverse;
}

.phone-msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.phone-msg-bubble {
    padding: 10px 14px;
    border-radius: 16px 16px 4px 16px;
    font-size: 12px;
    max-width: 200px;
    line-height: 1.5;
}

.phone-msg-in .phone-msg-bubble {
    background: var(--chat-other);
    border-radius: 16px 16px 16px 4px;
}

.phone-msg-out .phone-msg-bubble {
    background: var(--chat-self);
    color: #fff;
}

.phone-input-bar {
    padding: 10px 14px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--divider);
}

.phone-input-placeholder {
    font-size: 12px;
    color: var(--text-muted);
}

.phone-input-send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

/* Hero Nodes */
.hero-nodes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: nodePulse 3s ease-in-out infinite;
}

.hero-node::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(74, 144, 217, 0.3);
    animation: nodeRing 3s ease-in-out infinite;
}

.hero-node-1 { top: 15%; left: 5%; animation-delay: 0s; }
.hero-node-2 { top: 70%; left: 20%; animation-delay: 0.8s; }
.hero-node-3 { top: 25%; right: 10%; animation-delay: 1.6s; }
.hero-node-4 { top: 80%; right: 5%; animation-delay: 2.4s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes nodeRing {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(2); opacity: 0; }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(74, 144, 217, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
}

/* Screenshots */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

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

.screenshot-phone {
    position: relative;
    background: var(--surface);
    border: 2px solid var(--surface-variant);
    border-radius: 28px;
    padding: 8px;
    margin: 0 auto 20px;
    max-width: 220px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transition: all var(--transition);
    overflow: hidden;
}

.screenshot-phone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--surface-variant);
    border-radius: 2px;
    z-index: 1;
}

.screenshot-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    cursor: pointer;
}

.screenshot-card:hover .screenshot-phone {
    transform: translateY(-4px);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
    border-color: var(--primary);
}

.screenshot-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.screenshot-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 240px;
    margin: 0 auto;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step {
    text-align: center;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 65%;
    width: 70%;
    height: 1px;
    background: var(--divider);
    z-index: 0;
}

.step:last-child::after {
    display: none;
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Transport */
.transport-visual {
    position: relative;
    margin: 0 auto;
}

.transport-center {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: var(--surface);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    box-shadow: 0 0 60px rgba(74, 144, 217, 0.15);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.transport-center-logo {
    display: block;
    border-radius: 50%;
}

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

.transport-layer {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all var(--transition);
}

.transport-layer:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.tl-rank {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface-variant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
}

.tl-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tl-info h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.tl-info span {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
    display: block;
}

/* Tech Stack */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.tech-item:hover {
    border-color: var(--primary);
    background: var(--surface-variant);
}

.tech-icon {
    width: 44px;
    height: 44px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.tech-item span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* Download */
.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.download-card {
    display: block;
    padding: 36px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(74, 144, 217, 0.05), transparent 70%);
}

.download-card-primary {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(74, 144, 217, 0.1);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.download-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.download-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
}

.download-card p {
    font-size: 14px;
    color: var(--text-muted);
    position: relative;
}

.download-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(74, 144, 217, 0.15);
    color: var(--primary-light);
}

/* Release Info */
.release-info {
    max-width: 700px;
    margin: 48px auto 0;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.release-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: rgba(74, 144, 217, 0.06);
    border-bottom: 1px solid var(--divider);
}

.release-info-badge {
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.release-info-tag {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.release-info-body {
    padding: 24px 28px;
}

.release-info-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.release-changelog {
    margin-bottom: 20px;
}

.release-changelog strong {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.release-changelog p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Waitlist */
.waitlist-box {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.waitlist-content {
    flex: 1;
}

.waitlist-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.waitlist-content p {
    color: var(--text-muted);
    font-size: 15px;
}

.waitlist-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.waitlist-form .btn {
    flex-shrink: 0;
 }

.waitlist-message {
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.waitlist-message.success {
    background: rgba(37, 211, 102, 0.1);
    color: var(--green);
}

.waitlist-message.error {
    background: rgba(239, 83, 80, 0.1);
    color: var(--error);
}

/* Contact */
.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}

.contact-form {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-xl);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius);
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(74, 144, 217, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.contact-info-item span,
.contact-info-item a {
    font-size: 13px;
    color: var(--text-muted);
}

.contact-info-item a {
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--divider);
    padding: 64px 0 32px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-img {
    display: block;
    border-radius: 10px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social-link {
    width: 38px;
    height: 38px;
    background: var(--surface-variant);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-social-link:hover {
    background: var(--primary);
    color: #fff;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .step::after {
        display: none;
    }

    .transport-layers {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }

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

    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--divider);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }

    .nav-github {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .transport-layers {
        grid-template-columns: 1fr;
    }

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

    .download-options {
        grid-template-columns: 1fr;
    }

    .waitlist-box {
        flex-direction: column;
        padding: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .install-step {
        flex-direction: column;
        gap: 16px;
    }

    .install-info-box {
        flex-direction: column;
        padding: 24px;
    }

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

    .screenshot-phone {
        max-width: 260px;
    }

    section {
        padding: 64px 0;
    }
}

/* Contact Form Messages */
.contact-form-message {
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
    display: none;
}

.contact-form-message.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: var(--green);
}

.contact-form-message.error {
    display: block;
    background: rgba(239, 83, 80, 0.1);
    color: var(--error);
}

/* Loading spinner in button */
.btn-loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* Install Guide */
.install-guide {
    margin-top: 64px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 48px;
    border-top: 1px solid var(--divider);
}

.install-guide .section-header {
    margin-bottom: 40px;
}

.install-info-box {
    display: flex;
    gap: 20px;
    padding: 28px 32px;
    background: rgba(74, 144, 217, 0.05);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: var(--radius-xl);
    margin-bottom: 48px;
}

.install-info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.install-info-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-light);
}

.install-info-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.install-info-list li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
}

.install-info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

.install-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.install-step {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.install-step:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.install-step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(74, 144, 217, 0.12);
    border: 2px solid rgba(74, 144, 217, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-light);
    flex-shrink: 0;
    font-family: 'JetBrains Mono', monospace;
}

.install-step-content {
    flex: 1;
}

.install-step-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.install-step-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: rgba(74, 144, 217, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    padding: 0 24px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-item.active .faq-answer p {
    padding-bottom: 0;
}

.faq-item.active {
    border-color: var(--primary);
}

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

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background var(--transition);
    line-height: 1;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-image-wrap {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-image-wrap {
    transform: scale(1);
}

.lightbox-image-wrap img {
    display: block;
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    border-radius: 28px;
    border: 2px solid var(--surface-variant);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

/* Release Modal */
.release-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s ease;
}

.release-modal.active {
    visibility: visible;
    opacity: 1;
}

.release-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
}

.release-modal-card {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 560px;
    background: var(--surface);
    border: 1px solid rgba(74, 144, 217, 0.3);
    border-radius: var(--radius-xl);
    padding: 40px 32px 32px;
    text-align: center;
    transform: scale(0.85) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 80px rgba(74, 144, 217, 0.15), 0 30px 80px rgba(0, 0, 0, 0.5);
}

.release-modal.active .release-modal-card {
    transform: scale(1) translateY(0);
}

.release-modal-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--green), var(--secondary), var(--primary));
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderShimmer 4s linear infinite;
    pointer-events: none;
}

.release-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--divider);
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
}

.release-modal-close:hover {
    background: rgba(239, 83, 80, 0.15);
    border-color: var(--error);
    color: var(--error);
}

.release-modal-dismiss {
    margin-top: 28px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all var(--transition);
}

.release-modal-dismiss:hover {
    color: var(--text);
    background: var(--surface-variant);
}

.release-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(74, 144, 217, 0.15);
    margin-bottom: 20px;
    animation: releaseBounce 2s ease-in-out infinite;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    user-select: none;
}

.release-icon:hover {
    transform: scale(1.15);
    background: rgba(74, 144, 217, 0.25);
}

.release-icon:active {
    transform: scale(0.95);
}

@keyframes releaseBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-8px); }
    75% { transform: translateY(3px); }
}

.release-modal-card h2 {
    font-size: clamp(22px, 3.5vw, 30px);
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.release-version-badge {
    display: inline-block;
    padding: 5px 16px;
    background: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    box-shadow: 0 4px 20px rgba(74, 144, 217, 0.3);
    animation: releaseBounce 2s ease-in-out infinite 0.3s;
}

.release-modal-card h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.release-modal-card p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.release-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.release-highlight-tag {
    padding: 6px 12px;
    background: rgba(74, 144, 217, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition);
}

.release-modal-card p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.release-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.release-highlight-tag {
    padding: 7px 14px;
    background: rgba(74, 144, 217, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition);
}

.release-highlight-tag:hover {
    background: rgba(74, 144, 217, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.release-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@keyframes borderShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

/* Confetti Canvas */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001;
}

/* Hide lightbox on mobile/tablet */
@media (max-width: 1024px) {
    .lightbox {
        display: none !important;
    }

    .screenshot-phone img {
        cursor: default;
    }
}
