/* ==============================
   FCO Super V1.01 — Landing Page
   ============================== */

/* ---- Variables ---- */
:root {
    --bg-primary: #0a0b14;
    --bg-secondary: #111225;
    --bg-card: #161832;
    --bg-card-hover: #1c1f42;
    --text-primary: #f0f0f5;
    --text-secondary: #9a9ab8;
    --text-muted: #6b6b8a;
    --accent-1: #6c5ce7;
    --accent-2: #00cec9;
    --accent-gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
    --accent-glow: rgba(108, 92, 231, 0.3);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(108, 92, 231, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1100px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--accent-2); text-decoration: none; transition: var(--transition); }
a:hover { color: #69f5f2; }
img { max-width: 100%; height: auto; }
code {
    background: rgba(108, 92, 231, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--accent-2);
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Gradient text ---- */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(108, 92, 231, 0.5);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
    background: rgba(108, 92, 231, 0.1);
    border-color: var(--accent-1);
    color: #fff;
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl { padding: 20px 48px; font-size: 1.15rem; }

.btn-nav {
    background: var(--accent-gradient);
    color: #fff;
    padding: 10px 24px;
    font-size: 0.88rem;
}

/* ---- Header ---- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 300;
}
.logo strong { font-weight: 800; }
.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a:hover { color: var(--text-primary); }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- Hero ---- */
#hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.orb-1 {
    width: 500px; height: 500px;
    background: var(--accent-1);
    top: -200px; left: -100px;
    animation: float 8s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    background: var(--accent-2);
    bottom: -150px; right: -100px;
    animation: float 10s ease-in-out infinite reverse;
}
.orb-3 {
    width: 300px; height: 300px;
    background: #a855f7;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-2);
    margin-bottom: 28px;
    animation: pulse-border 3s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: rgba(108, 92, 231, 0.3); }
    50% { border-color: rgba(0, 206, 201, 0.5); }
}

#hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---- Screenshot ---- */
#screenshot {
    padding: 0 0 80px;
    position: relative;
}

.screenshot-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.screenshot-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.placeholder-content {
    text-align: center;
    color: var(--text-muted);
}
.placeholder-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.placeholder-content p { font-size: 1.1rem; margin-bottom: 4px; }
.placeholder-content small { font-size: 0.82rem; opacity: 0.6; }

.screenshot-glow {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: var(--accent-gradient);
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---- Features ---- */
#features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ---- Guide ---- */
#guide {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.guide-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.guide-step:hover {
    border-color: var(--border-hover);
}

.step-number {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 16px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
}

.step-content { flex: 1; }
.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-body ol, .step-body ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.step-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.step-body li strong { color: var(--text-primary); }

.step-body ul {
    margin-top: 8px;
    margin-bottom: 0;
}

.step-note {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: rgba(108, 92, 231, 0.08);
    border: 1px solid rgba(108, 92, 231, 0.15);
    margin-top: 16px;
}
.step-note span { font-size: 1.2rem; flex-shrink: 0; }
.step-note p { color: var(--text-secondary); font-size: 0.9rem; margin: 0; }

.step-note.success {
    background: rgba(0, 206, 201, 0.08);
    border-color: rgba(0, 206, 201, 0.15);
}

.step-note.warning {
    background: rgba(253, 203, 110, 0.08);
    border-color: rgba(253, 203, 110, 0.15);
}

/* ---- Param Table ---- */
.param-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

.param-table th {
    padding: 12px 16px;
    text-align: left;
    background: rgba(108, 92, 231, 0.1);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
.param-table th:first-child { border-radius: var(--radius-xs) 0 0 0; }
.param-table th:last-child { border-radius: 0 var(--radius-xs) 0 0; }

.param-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

/* ---- Requirements ---- */
#requirements {
    padding: 100px 0;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.req-card {
    text-align: center;
    padding: 36px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.req-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.req-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.req-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.req-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ---- FAQ ---- */
#faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-hover); }

.faq-item summary {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--accent-1);
    font-weight: 300;
    transition: var(--transition);
}
.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ---- Download ---- */
#download {
    padding: 100px 0;
}

.download-box {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.download-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: var(--accent-gradient);
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
}

.download-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.download-box > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
    position: relative;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    color: var(--text-muted);
    font-size: 0.88rem;
    position: relative;
}

.download-note {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
}

/* ---- Footer ---- */
#footer {
    padding: 60px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-icon { margin-right: 8px; }
.footer-brand > span { font-size: 1.2rem; }
.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.88rem;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 10px;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .req-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 700px) {
    .nav-links { display: none; }
    .btn-nav { display: none; }
    .hamburger { display: flex; }

    .features-grid { grid-template-columns: 1fr; }
    .req-grid { grid-template-columns: repeat(2, 1fr); }

    .guide-step { flex-direction: column; gap: 20px; padding: 24px; }
    .step-number { width: 48px; height: 48px; font-size: 1.1rem; border-radius: 12px; }

    .hero-stats { gap: 24px; }
    .stat-divider { display: none; }

    .download-box { padding: 48px 24px; }
    .download-info { flex-direction: column; gap: 12px; }
}
