@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --bg-main: #0A0A0C;
    --bg-darker: #050506;
    --bg-card: rgba(18, 18, 20, 0.7);
    --bg-card-hover: rgba(28, 28, 32, 0.8);
    
    --primary: #00F2FF;
    --primary-glow: rgba(0, 242, 255, 0.15);
    --secondary: #8F00FF;
    --secondary-glow: rgba(143, 0, 255, 0.15);
    
    --text-primary: #E5E2E3;
    --text-secondary: #B9CACB;
    --text-dark: #0A0A0C;
    
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --transition-smooth: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

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

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

/* Background grid overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}

a.btn-primary,
a.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.download-page {
    width: min(1180px, calc(100% - 40px));
    margin: 120px auto 80px;
}

.download-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    align-items: center;
    padding: 42px;
    border-radius: 28px;
}

.download-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.95;
    margin: 14px 0 18px;
}

.download-hero h1 span {
    color: var(--primary);
    text-shadow: 0 0 28px var(--primary-glow);
}

.download-hero p,
.smartscreen-help p {
    color: var(--text-secondary);
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 26px;
}

.download-meta span {
    border: 1px solid var(--border-glass);
    border-radius: 999px;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 7px 12px;
    background: rgba(0, 242, 255, 0.06);
}

.download-button {
    min-height: 48px;
}

.download-card {
    border: 1px solid var(--border-glass);
    background: linear-gradient(145deg, rgba(0, 242, 255, 0.10), rgba(143, 0, 255, 0.10));
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.download-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: var(--primary);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    box-shadow: 0 0 35px var(--primary-glow);
    margin-bottom: 20px;
}

.download-card h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.hash-box {
    margin-top: 20px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.25);
}

.hash-box strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.hash-box code {
    display: block;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    overflow-wrap: anywhere;
}

.smartscreen-help {
    margin-top: 70px;
}

.section-badge {
    display: inline-flex;
    color: var(--primary);
    border: 1px solid rgba(0, 242, 255, 0.35);
    background: rgba(0, 242, 255, 0.08);
    border-radius: 999px;
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-header {
    max-width: 820px;
    margin-bottom: 28px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin: 12px 0;
}

.smartscreen-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.smart-step {
    position: relative;
    border-radius: 22px;
    padding: 24px;
    min-height: 390px;
}

.step-number {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 800;
}

.smart-step h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 20px 0 8px;
}

.windows-dialog {
    min-height: 170px;
    padding: 20px;
    border-radius: 6px;
    background: #0d5aa7;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 18px 42px rgba(0, 0, 0, 0.28);
}

.windows-dialog.run {
    background: #1769b7;
}

.windows-dialog.ok {
    background: linear-gradient(145deg, #0d5aa7, #0b7f70);
}

.dialog-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.windows-dialog p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.windows-dialog button {
    border: 1px solid rgba(255, 255, 255, 0.60);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 2px;
    padding: 8px 13px;
    font-weight: 700;
}

.dialog-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.windows-dialog button.muted {
    opacity: 0.65;
}

@media (max-width: 920px) {
    .download-hero,
    .smartscreen-steps {
        grid-template-columns: 1fr;
    }

    .download-page {
        margin-top: 100px;
    }
}

/* Blur lights */
.glow-light {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

.glow-cyan {
    background-color: var(--primary);
    top: 10%;
    right: -10%;
}

.glow-violet {
    background-color: var(--secondary);
    bottom: 20%;
    left: -10%;
}

/* Utility Classes */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.glass:hover {
    border-color: var(--border-glass-hover);
    background: var(--bg-card-hover);
}

/* Banner superior */
.top-bar {
    background: linear-gradient(90deg, #180033 0%, #002233 100%);
    border-bottom: 1px solid var(--border-glass);
    padding: 10px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 100;
    position: relative;
}

.top-bar span {
    color: var(--primary);
    font-weight: 700;
}

/* Header & Nav */
header {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: calc(100% - 32px);
    margin: 0 auto;
    z-index: 20;
    position: sticky;
    top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(10, 10, 12, 0.86), rgba(18, 18, 24, 0.72));
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
    min-width: 245px;
}

.logo img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    padding: 7px;
    margin-right: 0;
    border-radius: 18px;
    border: 1px solid rgba(0, 242, 255, 0.36);
    background: radial-gradient(circle at 35% 25%, rgba(0, 242, 255, 0.20), rgba(255, 255, 255, 0.03) 45%, rgba(0, 0, 0, 0.16));
    box-shadow: 0 0 24px rgba(0, 242, 255, 0.18), inset 0 0 18px rgba(0, 242, 255, 0.08);
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(0, 242, 255, 0.62);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    color: var(--text-primary);
    font-size: 19px;
    letter-spacing: 0.02em;
}

.brand-copy em {
    color: var(--primary);
    font-style: normal;
    font-size: 13px;
    font-family: var(--font-mono);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 6px;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 999px;
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--primary);
    background: rgba(0, 242, 255, 0.07);
}

.btn-trial-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(0, 242, 255, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 255, 0.55);
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: inset 0 0 18px rgba(0, 242, 255, 0.06);
}

.btn-trial-nav:hover {
    color: var(--text-dark);
    background: var(--primary);
    box-shadow: 0 0 24px rgba(0, 242, 255, 0.32);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 72px auto 90px auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    left: -120px;
    top: -90px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.10), transparent 68%);
    pointer-events: none;
    z-index: -1;
}

.hero-info h1 {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-info h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-info p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
    max-width: 580px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #00C8FF 0%, #005F9E 100%);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    padding: 16px 28px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 242, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 16px 28px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--text-primary);
}

/* App Mockup UI (Pure CSS Glassmorphic Dashboard) */
.mockup-container {
    perspective: 1000px;
}

.app-mockup {
    width: 100%;
    height: 380px;
    border-radius: 18px;
    background: rgba(10, 10, 12, 0.85);
    border: 1px solid rgba(0, 242, 255, 0.18);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.62), 0 0 55px rgba(0, 242, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: rotateX(2deg) rotateY(-3deg);
}

.mock-titlebar {
    height: 36px;
    background: rgba(20, 20, 22, 0.9);
    border-bottom: 1px solid var(--border-glass);
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-window-dots {
    display: flex;
    gap: 6px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mock-dot.red { background: #FF5F56; }
.mock-dot.yellow { background: #FFBD2E; }
.mock-dot.green { background: #27C93F; }

.mock-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

.mock-content {
    flex: 1;
    display: grid;
    grid-template-columns: 200px 1fr;
}

.mock-sidebar {
    background: rgba(15, 15, 17, 0.9);
    border-right: 1px solid var(--border-glass);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-side-item {
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
    color: var(--text-secondary);
}

.mock-side-item.active {
    background: var(--primary-glow);
    color: var(--primary);
    border-left: 2px solid var(--primary);
}

.mock-main {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-search {
    width: 180px;
    height: 28px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
}

.mock-camelot-strip {
    display: flex;
    gap: 2px;
}

.mock-camelot-segment {
    width: 12px;
    height: 16px;
    border-radius: 1px;
}

.mock-grid {
    flex: 1;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    background: rgba(5, 5, 5, 0.5);
    display: flex;
    flex-direction: column;
}

.mock-grid-header {
    height: 28px;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(255,255,255,0.02);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 0 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-secondary);
}

.mock-grid-row {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;
    padding: 0 12px;
    font-size: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.01);
}

.mock-grid-row span.key-pill {
    background: #004F54;
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    width: fit-content;
}

/* Features Grid */
.features-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

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

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 12px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* Interactive Demos Section */
.demos-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
}

.demos-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-top: 40px;
}

.demo-card {
    padding: 40px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 380px;
}

.demo-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 10px;
}

.demo-card p.demo-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Interactive Camelot Strip */
.camelot-interactive-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.camelot-color-strip {
    display: flex;
    width: 100%;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    cursor: pointer;
}

.camelot-cell {
    flex: 1;
    height: 100%;
    transition: transform 0.2s ease;
}

.camelot-cell:hover {
    transform: scaleY(1.15);
    filter: brightness(1.2);
}

/* Camelot Tooltip / Wheel Popup */
.camelot-wheel-popup {
    position: absolute;
    bottom: 60px;
    background: #0f0f11;
    border: 1px solid var(--border-glass-hover);
    border-radius: 12px;
    padding: 16px;
    width: 280px;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(143, 0, 255, 0.1);
    z-index: 10;
}

.camelot-wheel-popup img {
    width: 200px;
    height: 200px;
    margin-bottom: 12px;
}

.popup-info {
    text-align: center;
}

.popup-info h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 6px;
}

.popup-info p {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Playable Flat Piano UI */
.piano-demo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.piano-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.piano-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.octave-selector {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    padding: 3px;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
}

.octave-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    width: 28px;
    height: 24px;
    font-size: 11px;
    font-family: var(--font-mono);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.octave-btn.active {
    background: var(--primary);
    color: var(--text-dark);
    font-weight: 700;
}

.flat-piano-keyboard {
    display: grid;
    grid-template-columns: repeat(18, 1fr);
    height: 140px;
    width: 100%;
    background: #050506;
    padding: 4px;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    gap: 3px;
}

.flat-key {
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.1s ease;
    user-select: none;
}

.flat-key.white {
    background: #FFFFFF;
    color: #000000;
    border: 1px solid #B0B0B0;
}

.flat-key.white:hover {
    background: #EAEAEA;
}

.flat-key.white:active {
    background: var(--primary);
}

.flat-key.black {
    background: #2C2C2E;
    color: #FFFFFF;
    border: 1px solid #333333;
}

.flat-key.black:hover {
    background: #444446;
}

.flat-key.black:active {
    background: var(--secondary);
}

.flat-key span {
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    line-height: 1.1;
}

/* Pricing Section */
.pricing-section {
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 40px;
    text-align: center;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 50px 40px;
    border-radius: 16px;
    position: relative;
    border: 1px solid var(--border-glass-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 255, 0.05);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
    opacity: 0.15;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(143, 0, 255, 0.4);
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 20px;
}

.price {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.price span {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-trial {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
    padding: 0 10px;
}

.pricing-features li {
    font-size: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    margin-right: 12px;
    font-size: 16px;
}

.pricing-card .btn-primary {
    width: 100%;
}

.download-link {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-bottom: 14px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.checkout-form label {
    text-align: left;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
}

.checkout-form input {
    width: 100%;
    height: 46px;
    border-radius: 6px;
    border: 1px solid var(--border-glass-hover);
    background: rgba(5, 5, 6, 0.75);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 0 14px;
    outline: none;
    transition: var(--transition-smooth);
}

.checkout-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.checkout-note {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: left;
}

.checkout-message {
    min-height: 22px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.checkout-message.error {
    color: #ff6b6b;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
}

.faq-list {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    background: rgba(255,255,255,0.01);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 20px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding-bottom 0.3s ease;
    font-size: 14px;
    color: var(--text-secondary);
}

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

/* Footer */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 60px 40px;
    text-align: center;
    background: var(--bg-darker);
    font-size: 13px;
    color: var(--text-secondary);
}

footer p {
    margin-bottom: 16px;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 24px;
}

footer .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }
    .hero-info p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .demos-container {
        grid-template-columns: 1fr;
    }
    .demo-card {
        height: auto;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 16px;
        width: calc(100% - 20px);
        padding: 16px;
        top: 8px;
    }
    .logo {
        min-width: 0;
        justify-content: center;
    }
    .logo img {
        height: 50px;
        width: 50px;
    }
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    nav a {
        font-size: 13px;
        padding: 8px 10px;
    }
    .hero-info h1 {
        font-size: 40px;
    }
    .flat-piano-keyboard {
        height: 110px;
    }
    .flat-key span {
        font-size: 8px;
    }
}

/* ==========================================================================
   Detailed Tabbed Features Section CSS
   ========================================================================== */
.features-tab-container {
    margin-top: 40px;
    padding: 40px;
    border-radius: 12px;
}

.features-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 24px;
    margin-bottom: 35px;
    justify-content: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    padding: 12px 22px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--primary);
    border-color: var(--primary-glow);
    background: var(--primary-glow);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.tab-pane.active {
    display: block;
}

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

.tab-pane-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.tab-pane-info h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.tab-pane-lead {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
}

.pane-feature-list {
    list-style: none;
}

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

.pane-feature-list li::before {
    content: '▪';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-size: 18px;
    top: -2px;
}

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

.tab-pane-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    background: rgba(5, 5, 6, 0.7);
    border: 1px solid var(--border-glass-hover);
    border-radius: 8px;
    width: 100%;
    max-width: 380px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

.visual-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--primary);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.visual-mock-row {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 12px;
    color: var(--text-secondary);
}

.visual-mock-row .v-btn {
    background: var(--primary);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    border: none;
    cursor: default;
}

.visual-mock-row .v-badge {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .tab-pane-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .visual-box {
        max-width: 100%;
    }
    .features-tab-list {
        flex-direction: column;
        align-items: stretch;
    }
    .tab-btn {
        text-align: center;
    }
}
