/* ============================================================
   Storage Organizer - Official Landing Page Stylesheet
   Theme: Industrial Dark Cyber Aesthetics (Obsidian & Cyan)
   Fonts: Space Mono (Titles/Code/Pills) + DM Sans (Body)
   ============================================================ */

:root {
    --bg-base:        #0d0f12;
    --bg-surface:     #141720;
    --bg-card:        #181c24;
    --bg-card-hover:  #1e2433;
    --border:         #252a38;
    --border-bright:  #333c52;

    --text-primary:   #e8eaf2;
    --text-secondary: #8b91a8;
    --text-muted:     #636b83;
    --text-mono:      #7ec8e3;

    --accent:         #4f9cf9;
    --accent-glow:    rgba(79, 156, 249, 0.25);
    --accent-hover:   #68aaff;

    --green:          #36d399;
    --green-dim:      rgba(54, 211, 153, 0.15);
    --yellow:         #f5c842;
    --yellow-dim:     rgba(245, 200, 66, 0.15);
    --red:            #f05252;
    --red-dim:        rgba(240, 82, 82, 0.15);
    --purple:         #a78bfa;
    --purple-dim:     rgba(167, 139, 250, 0.15);
    --cyan:           #22d3ee;
    --cyan-dim:       rgba(34, 211, 238, 0.15);

    --radius-sm:      6px;
    --radius-md:      10px;
    --radius-lg:      16px;
    --radius-xl:      24px;

    --shadow-card:    0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow:    0 0 30px rgba(79, 156, 249, 0.2);

    --font-body:      'DM Sans', sans-serif;
    --font-mono:      'Space Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
    font-size: 15px;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

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

/* ── Ambient Background Blobs ── */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.14;
}

.blob-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: #4f9cf9;
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #36d399;
}

.blob-3 {
    bottom: -15%;
    left: 10%;
    width: 550px;
    height: 550px;
    background: #a78bfa;
}

/* ── Frosted Glass Navigation ── */
.glass-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(13, 15, 18, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.nav-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.nav-version {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(79, 156, 249, 0.12);
    color: var(--accent);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(79, 156, 249, 0.25);
    font-weight: 700;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

.nav-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    color: var(--text-primary) !important;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    box-shadow: 0 0 12px var(--accent-glow);
}

.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.github-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-bright);
}

/* ── Hero Section ── */
.hero-section {
    position: relative;
    padding: 70px 0 60px;
    text-align: center;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 156, 249, 0.08);
    border: 1px solid rgba(79, 156, 249, 0.25);
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 28px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulse 1.8s infinite;
}

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

.hero-logo-box {
    margin-bottom: 20px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 26px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(79, 156, 249, 0.35);
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05) translateY(-4px);
}

.hero-title {
    font-family: var(--font-mono);
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 740px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.pill svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-icon svg {
    width: 22px;
    height: 22px;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.btn-main {
    font-size: 0.96rem;
    font-weight: 700;
}

.btn-sub {
    font-size: 0.75rem;
    opacity: 0.85;
    font-family: var(--font-mono);
}

.btn-primary {
    background: linear-gradient(135deg, #4f9cf9 0%, #2962a0 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(79, 156, 249, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px rgba(79, 156, 249, 0.5);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-bright);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-footnote {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ── Metrics Bar ── */
.metrics-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface);
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.metric-num {
    font-family: var(--font-mono);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ── Generic Section Layouts ── */
.section {
    padding: 90px 0;
    position: relative;
    z-index: 1;
}

.bg-surface {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-bright);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.icon-blue   { background: var(--accent-glow); color: var(--accent); }
.icon-yellow { background: var(--yellow-dim);  color: var(--yellow); }
.icon-red    { background: var(--red-dim);     color: var(--red); }
.icon-green  { background: var(--green-dim);   color: var(--green); }
.icon-cyan   { background: var(--cyan-dim);    color: var(--cyan); }
.icon-purple { background: var(--purple-dim);  color: var(--purple); }

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Workflow Pipeline ── */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.workflow-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.step-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.workflow-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(79, 156, 249, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.workflow-icon svg {
    width: 26px;
    height: 26px;
}

.workflow-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.workflow-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Comparison Table ── */
.comparison-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow-x: auto;
    box-shadow: var(--shadow-card);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
    table-layout: fixed;
    min-width: 680px;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.comparison-table th {
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.comparison-table th.col-highlight {
    background: rgba(79, 156, 249, 0.12);
    color: var(--accent);
    border-left: 1px solid rgba(79, 156, 249, 0.25);
    border-right: 1px solid rgba(79, 156, 249, 0.25);
}

.comparison-table td.col-highlight {
    background: rgba(79, 156, 249, 0.05);
    border-left: 1px solid rgba(79, 156, 249, 0.15);
    border-right: 1px solid rgba(79, 156, 249, 0.15);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cell-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.cell-status.is-positive {
    color: var(--green);
    font-weight: 600;
}

.cell-status.is-negative {
    color: var(--text-muted);
}

.cell-status svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Tech Specs Grid ── */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-key {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.spec-val {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* ── FAQ Section ── */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 30px;
}

.faq-question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ── CTA Download Card ── */
.download-cta-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: linear-gradient(135deg, #181c24 0%, #141720 100%);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(79, 156, 249, 0.1);
}

.cta-title {
    font-family: var(--font-mono);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ── Footer ── */
.footer {
    background: #080a0d;
    border-top: 1px solid var(--border);
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    object-fit: contain;
}

.footer-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.footer-version {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 2px 6px;
    border-radius: 4px;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    width: 100%;
}

.footer-credit strong {
    color: var(--text-primary);
}

/* ── Responsive Queries ── */
@media (max-width: 1080px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .workflow-grid {
        grid-template-columns: 1fr;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .nav-links {
        display: none;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 14px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-tagline {
        font-size: 1.05rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .specs-grid {
        grid-template-columns: 1fr;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .btn {
        width: 100%;
        justify-content: center;
    }
    .cta-card {
        padding: 40px 20px;
    }
}
