/**
 * Homepage Layout Styles
 * 
 * Clean, modern homepage layout matching dashboard theme.
 * No animations, effects, or heavy visuals.
 */

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    backdrop-filter: none;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.nav-logo:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-links {
    display: none;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.nav-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.nav-cta {
    margin-left: 24px;
}

.nav-toggle {
    display: block;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2rem;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
}

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    padding: 80px 0;
    background: var(--bg);
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 0;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

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

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
    }
}

.hero-headline {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-headline {
        font-size: 3.5rem;
    }
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 32px;
    line-height: 1.6;
}

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

@media (min-width: 1024px) {
    .hero-ctas {
        justify-content: flex-start;
    }
}

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

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
}

/* Placeholder for hero image */
.hero-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* ============================================================
   CREDIBILITY STRIP
   ============================================================ */
.credibility {
    background: var(--panel);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}

.credibility-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .credibility-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.credibility-item {
    text-align: center;
    padding: 16px;
}

.credibility-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credibility-text {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ============================================================
   OVERVIEW CARDS
   ============================================================ */
.overview {
    background: var(--bg);
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.steps {
    background: var(--panel);
}

.steps-list {
    max-width: 800px;
    margin: 0 auto;
    counter-reset: step-counter;
}

.step-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-left: 0;
    counter-increment: step-counter;
}

.step-item::before {
    content: counter(step-counter);
    position: static;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.step-text {
    color: var(--text);
    line-height: 1.6;
}

/* ============================================================
   XP EXPLANATION
   ============================================================ */
.xp-explanation {
    background: var(--bg);
}

.xp-rules {
    max-width: 700px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.xp-rules-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.xp-rules-list {
    margin-bottom: 24px;
}

.xp-rules-list li {
    margin-bottom: 16px;
    color: var(--text);
}

/* ============================================================
   DEVICES SECTION
   ============================================================ */
.devices {
    background: var(--panel);
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.device-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.device-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.device-status {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.device-status.available {
    color: var(--success);
}

.device-status.planned {
    color: var(--text-dim);
    font-style: italic;
}

/* ============================================================
   PRIVACY SECTION
   ============================================================ */
.privacy {
    background: var(--bg);
}

.privacy-content {
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================================
   ROADMAP SECTION
   ============================================================ */
.roadmap {
    background: var(--panel);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.roadmap-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.roadmap-phase {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.roadmap-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.roadmap-description {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--accent);
    text-decoration: none;
}

.footer-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.footer-note {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2rem;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
