/* Simple Light Theme for Androfus.com (Inspired by OptiFine's layout and look) */

:root {
    --bg-main: #f4f6f9;
    --bg-card: #ffffff;
    --header-bg: #00c853; /* App's primary_dark emerald green */
    --header-text: #ffffff;
    --header-text-hover: #b9f6ca; /* App's primary_light emerald green hover */
    --primary-link: #00c853;
    --primary-link-hover: #00e676;
    --text-main: #111111;
    --text-muted: #555555;
    --border-color: #d1d5db;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    padding: 20px;
}

.web-container {
    max-width: 960px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Header style (Matches OptiFine's solid blue header banner) */
.main-header {
    background-color: var(--header-bg);
    color: var(--header-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    border-bottom: 3px solid #009624;
    border-radius: 4px 4px 0 0;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    font-family: var(--font-sans);
}

/* Navigation items inside header */
.nav-bar {
    display: flex;
    gap: 16px;
}

.nav-link {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 2px;
    transition: background-color 0.2s, color 0.2s;
}

.nav-link:hover {
    color: var(--header-text-hover);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Content Container Card */
.content-card {
    padding: 30px;
}

/* Page Sections */
.page-section {
    display: block;
}

/* Hero section */
.hero-block {
    margin-bottom: 25px;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}

.hero-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Link Group Row (OptiFine Style resource links) */
.links-row {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
}

.link-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.group-label {
    color: var(--text-main);
    font-weight: 600;
}

.resource-link, .social-link {
    color: var(--primary-link);
    text-decoration: none;
    font-weight: 500;
}

.resource-link:hover, .social-link:hover {
    color: var(--primary-link-hover);
    text-decoration: underline;
}

.separator {
    color: var(--border-color);
}

/* Features lists */
.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 6px;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.features-bullet-list {
    list-style: none;
    padding-left: 20px;
}

.features-bullet-list > li {
    margin-bottom: 15px;
    position: relative;
}

.feature-highlight {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    display: block;
}

.feature-highlight::before {
    content: "•";
    color: var(--text-muted);
    font-size: 18px;
    position: absolute;
    left: -15px;
    top: -2px;
}

.feature-sublist {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    gap: 2px;
    font-size: 13px;
    color: var(--text-muted);
}

.feature-sublist span {
    display: block;
}

/* Expanded Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 4px;
}

.feature-icon {
    font-size: 24px;
    color: var(--header-bg);
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-main);
}

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

/* Downloads section */
.download-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .download-container {
        grid-template-columns: 1fr;
    }
}

.download-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-header {
    margin-bottom: 12px;
}

.version-tag {
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    background: #10b981;
    padding: 2px 5px;
    border-radius: 2px;
    text-transform: uppercase;
}

.version-tag.beta {
    background: #3b82f6;
}

.download-header h3 {
    margin-top: 6px;
    font-size: 16px;
    color: var(--text-main);
}

.download-details {
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.download-details li {
    margin-bottom: 4px;
}

/* Action button (OptiFine Style clean buttons) */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--header-bg);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 2px;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.action-btn:hover {
    background: #2a4e8c;
}

.secondary-btn {
    background: #3b82f6;
}

.secondary-btn:hover {
    background: #2563eb;
}

/* Donate page */
.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .donate-grid {
        grid-template-columns: 1fr;
    }
}

.donate-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
}

.donate-icon {
    font-size: 30px;
    color: var(--header-bg);
    margin-bottom: 10px;
}

.donate-card h3 {
    margin-bottom: 6px;
    color: var(--text-main);
}

.donate-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* FAQ accordion */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
}

.faq-question {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.faq-answer {
    font-size: 13px;
    color: var(--text-muted);
}

/* Docs Grid */
.docs-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doc-item {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 14px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.doc-item:hover {
    background-color: #f1f5f9;
}

.doc-item i {
    font-size: 20px;
    color: var(--header-bg);
    margin-top: 2px;
}

.doc-item h4 {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 2px;
}

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

/* Footer style */
.main-footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-muted);
}

.main-footer a {
    color: var(--primary-link);
    text-decoration: none;
}

.main-footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .nav-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .links-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===================================================
   GOOGLE PLAY CTA BUTTON
   =================================================== */
.cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 24px 0 30px 0;
    padding: 24px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
}

.cta-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.google-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-family: var(--font-sans);
    transition: background 0.2s, transform 0.15s;
    border: 1px solid #333;
}

.google-play-btn:hover {
    background: #1e1e1e;
    transform: translateY(-1px);
}

.google-play-btn .play-icon {
    font-size: 26px;
    line-height: 1;
}

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

.google-play-btn .play-small {
    font-size: 10px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.google-play-btn .play-store {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.cta-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.cta-meta strong {
    color: #16a34a;
}

/* ===================================================
   STAT BADGES ROW
   =================================================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.stat-badge {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #00c853;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================================
   TECH SPEC TABLE
   =================================================== */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin: 16px 0;
}

.tech-table th {
    background: #f1f5f9;
    color: var(--text-main);
    font-weight: 700;
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
}

.tech-table td {
    padding: 9px 14px;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.tech-table tr:nth-child(even) td {
    background: #f8fafc;
}

.tech-table td:first-child {
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
}

.td-check {
    color: #16a34a;
    font-weight: 700;
}

/* ===================================================
   HIGHLIGHT CALLOUT BOX
   =================================================== */
.callout-box {
    border-left: 4px solid #00c853;
    background: #f0fdf4;
    padding: 16px 20px;
    border-radius: 0 4px 4px 0;
    margin: 24px 0;
}

.callout-box p {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.7;
}

.callout-box strong {
    color: #15803d;
}

/* ===================================================
   USE CASE GRID
   =================================================== */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.usecase-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-top: 3px solid #00c853;
    border-radius: 4px;
    padding: 18px;
}

.usecase-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.usecase-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===================================================
   FEATURE DEEP DIVE ITEM
   =================================================== */
.feature-deep-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.feature-deep-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.feature-deep-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-deep-item h3 i {
    color: #00c853;
    font-size: 18px;
}

.feature-deep-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.7;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.tag {
    background: #ecfdf5;
    color: #15803d;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 2px;
    border: 1px solid #86efac;
    font-family: var(--font-mono);
}

/* ===================================================
   SECTION SEPARATOR
   =================================================== */
.section-sep {
    margin: 36px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 600px) {
    .stats-row {
        grid-template-columns: 1fr 1fr;
    }
    .cta-block {
        align-items: stretch;
    }
    .google-play-btn {
        justify-content: center;
    }
}

