/* ── Homepage Update Styles ─────────────────────────────────────────── */

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-inner {
    max-width: 720px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #f0ede8;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: #7a7568;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Products ───────────────────────────────────────────────────────── */
.products {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e07a5f;
    margin-bottom: 48px;
    font-weight: 500;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-card {
    display: block;
    text-decoration: none;
    background: #111620;
    border: 1px solid rgba(128, 128, 128, 0.15);
    border-radius: 12px;
    padding: 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-2px);
}

/* Per-accent border colours */
.product-card[style*="--accent: #E8960C"] {
    border-color: rgba(232, 150, 12, 0.15);
}
.product-card[style*="--accent: #E8960C"]:hover {
    border-color: rgba(232, 150, 12, 0.4);
}

.product-card[style*="--accent: #3b82f6"] {
    border-color: rgba(59, 130, 246, 0.15);
}
.product-card[style*="--accent: #3b82f6"]:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.product-card[style*="--accent: #C8CDD4"] {
    border-color: rgba(200, 205, 212, 0.15);
}
.product-card[style*="--accent: #C8CDD4"]:hover {
    border-color: rgba(200, 205, 212, 0.4);
}

.product-card[style*="--accent: #5a8a7a"] {
    border-color: rgba(90, 138, 122, 0.15);
}
.product-card[style*="--accent: #5a8a7a"]:hover {
    border-color: rgba(90, 138, 122, 0.4);
}

.product-card--coming {
    opacity: 0.5;
    pointer-events: none;
}

.product-icon {
    margin-bottom: 20px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f0ede8;
    margin-bottom: 6px;
}

.product-tagline {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}

.product-desc {
    font-size: 0.85rem;
    color: #7a7568;
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-price {
    font-size: 0.8rem;
    color: #f0ede8;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.product-link {
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0.7;
}

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

/* ── Ecosystem ──────────────────────────────────────────────────────── */
.ecosystem {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.ecosystem-intro {
    font-size: 1.05rem;
    color: #7a7568;
    margin-bottom: 48px;
    line-height: 1.7;
}

.connections {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.connection {
    background: #111620;
    border-radius: 8px;
    padding: 24px;
}

.connection-from,
.connection-to {
    font-weight: 600;
    font-size: 0.95rem;
}

.connection-arrow {
    color: #e07a5f;
    margin: 0 12px;
    font-size: 1.1rem;
}

.connection-desc {
    color: #7a7568;
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.5;
}

.ecosystem-note {
    font-size: 0.85rem;
    color: #e07a5f;
    opacity: 0.7;
    font-style: italic;
}

/* ── About ──────────────────────────────────────────────────────────── */
.about {
    padding: 80px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    color: #a09b90;
    line-height: 1.8;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(224, 122, 95, 0.15);
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #e07a5f;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: #7a7568;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
    padding: 60px 24px;
    background: #0a0d12;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7a7568;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: #a09b90;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #f0ede8;
}

.footer-legal {
    width: 100%;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(122, 117, 104, 0.15);
}

.footer-legal p {
    font-size: 0.75rem;
    color: #7a7568;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
}
