/* ========================================
   Furu Digital — Dark Minimal
   ======================================== */

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

:root {
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-elevated: #f8f8fa;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --text: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --accent: #2bbac2;
    --accent-dim: rgba(43, 186, 194, 0.06);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.container--narrow {
    max-width: 640px;
}

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

a:hover {
    color: var(--text);
    text-decoration: none;
}

/* ---- Header ---- */

.site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.logo img {
    height: 24px;
    width: auto;
    opacity: 0.9;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header nav a {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.site-header nav a:hover {
    color: var(--text);
    text-decoration: none;
}

/* ---- Language ---- */

.lang-switcher {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.lang-flag {
    background: none;
    border: 1px solid transparent;
    border-radius: 3px;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    opacity: 0.3;
    transition: opacity var(--transition), border-color var(--transition);
}

.lang-flag:hover {
    opacity: 0.7;
}

.lang-flag.active {
    opacity: 1;
    border-color: var(--text-muted);
}

/* ---- Hamburger ---- */

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
    padding: 64px 0 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.hero p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto;
}

/* ---- Apps Section ---- */

.apps-section {
    padding: 48px 0 80px;
}

.apps-section .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.apps-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 48px;
}

.apps-group-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
    margin: 24px 0 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.apps-group-title:first-child {
    margin-top: 0;
}

.app-card {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
    transform: perspective(800px) translateZ(0);
}

.app-card:hover {
    border-color: var(--border-hover);
    transform: perspective(800px) translateZ(8px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
}

/* ---- Screenshots ---- */

.app-screenshots {
    display: flex;
    justify-content: safe center;
    gap: 12px;
    padding: 20px 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.app-screenshots::before,
.app-screenshots::after {
    content: '';
    flex-shrink: 0;
    width: 1px;
}

.app-screenshots::-webkit-scrollbar {
    display: none;
}

.app-screenshots img {
    height: 240px;
    width: auto;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    transform: perspective(500px) rotateY(0);
}

.app-screenshots img:hover {
    transform: perspective(500px) rotateY(-2deg) translateZ(10px);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.12);
}

.screenshot-placeholder {
    width: 112px;
    height: 240px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ---- Lightbox ---- */

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-height: 90vh;
    max-width: 80vw;
    border-radius: var(--radius);
    cursor: default;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 1001;
    user-select: none;
}

.lightbox-arrow:hover {
    opacity: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ---- App Info ---- */

.app-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
}

.app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
    transform: perspective(200px) rotateY(-4deg) scale(1.03);
}

.app-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.app-title {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.app-title h3 {
    margin-bottom: 0;
}

.app-status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #d33;
    background: rgba(221, 51, 51, 0.1);
    border: 1px solid rgba(221, 51, 51, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
}

.app-price {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2b7fc2;
    background: rgba(43, 127, 194, 0.1);
    border: 1px solid rgba(43, 127, 194, 0.3);
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.app-platform {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.app-platform--ios {
    color: #6b4ee8;
    background: rgba(107, 78, 232, 0.1);
    border: 1px solid rgba(107, 78, 232, 0.3);
}

.app-platform--android {
    color: #2ea560;
    background: rgba(46, 165, 96, 0.1);
    border: 1px solid rgba(46, 165, 96, 0.3);
}

.app-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.feature-tag {
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid var(--border);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ---- Read More ---- */

.app-full-description {
    margin-bottom: 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.read-more-btn:hover {
    color: var(--accent);
    text-decoration: none;
}

.full-description-content {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.full-description-content.open {
    display: block;
}

.full-description-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.app-expandable {
    display: none;
}

.app-expandable.open {
    display: block;
}

/* ---- Privacy & Store Links ---- */

.privacy-link {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.privacy-link:hover {
    color: var(--accent);
}

.app-privacy-link {
    padding: 12px 24px 20px;
    text-align: center;
}

.app-store-link {
    padding: 20px 24px;
}

.app-store-link .appstore-badge {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

.appstore-badge img {
    height: 40px;
    width: auto;
    transition: opacity var(--transition);
}

.appstore-badge:hover img {
    opacity: 0.75;
}

/* ---- About Section ---- */

.about-section {
    padding: 80px 0;
    text-align: center;
}

.about-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.about-section p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* ---- Page Content (Privacy, Support) ---- */

.page-content {
    padding: 64px 0;
    min-height: calc(100vh - 180px);
}

.page-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 32px;
}

.page-content h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-top: 28px;
    margin-bottom: 6px;
}

.page-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.page-content ul {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 4px;
}

/* ---- Support ---- */

.support-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.support-card h2 {
    margin-top: 0;
    color: var(--text);
    font-size: 1rem;
}

.btn {
    display: inline-block;
    background: var(--text);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    transition: opacity var(--transition);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* ---- FAQ ---- */

.faq {
    margin-top: 12px;
}

.faq details {
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.faq details:last-child {
    border-bottom: none;
}

.faq summary {
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq summary::before {
    content: '+';
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 16px;
    font-family: monospace;
}

.faq details[open] summary::before {
    content: '\2212';
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq details p {
    margin-top: 8px;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ---- Footer ---- */

.site-footer {
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    padding: 32px 0;
    font-size: 0.8rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

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

/* ---- Responsive ---- */

@media (max-width: 640px) {
    .hero {
        padding: 40px 0 0;
    }

    .app-card {
        flex: 1 1 100%;
    }

    .app-card:hover {
        transform: none;
        box-shadow: none;
    }

    .app-screenshots {
        padding: 16px;
        gap: 10px;
    }

    .screenshot-placeholder,
    .app-screenshots img {
        height: 280px;
    }

    .app-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .app-title {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .app-badges {
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 8px 20px;
        gap: 0;
    }

    .site-header nav.open {
        display: flex;
    }

    .site-header nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .site-header nav a:last-child {
        border-bottom: none;
    }

    .logo img {
        height: 20px;
    }
}
