/* ============================================ */
/* Goi-Tho Website - Custom Styles              */
/* ============================================ */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

body {
    font-size: 20px;
    line-height: 1.6;
}

/* Alpine.js: hide elements with x-cloak until Alpine initializes */
[x-cloak] {
    display: none !important;
}

/* Phone mockups */
.phone-mock {
    background: #0F1F3D;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(15, 31, 61, 0.2);
}

.phone-mock.light {
    background: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

/* Scroll offset for sticky nav (prevents content hiding behind nav) */
:target {
    scroll-margin-top: 80px;
}

/* Font helpers */
.font-sans {
    font-family: "Be Vietnam Pro", system-ui, sans-serif;
}

.font-display {
    font-family: "Be Vietnam Pro", system-ui, sans-serif;
}

/* Typography tweaks */
.text-sm {
    font-size: 1.1875rem;
    line-height: 1.8rem;
}

.text-xs {
    font-size: 1.0875rem;
    line-height: 1.6rem;
}

.text-base {
    font-size: 1.2375rem;
    line-height: 1.9rem;
}

.text-lg {
    font-size: 1.3375rem;
    line-height: 2rem;
}

/* Backgrounds */
.hero-shell {
    background: #f3f4f6;
}

.sos-shell {
    background: #E8500A;
}

.section-pad {
    padding-top: 80px;
    padding-bottom: 80px;
}

@media (max-width: 640px) {
    .section-pad {
        padding-top: 48px;
        padding-bottom: 48px;
    }
}

/* Chips & badges */
.stat-chip {
    border: 1px solid rgba(15, 31, 61, 0.12);
    background: #ffffff;
}

/* Cards */
.card-soft {
    border: 1px solid rgba(15, 31, 61, 0.08);
    box-shadow: 0 14px 30px rgba(15, 31, 61, 0.08);
}

/* Toggle */
.role-toggle button[aria-pressed="true"] {
    background: #0F1F3D;
    color: #ffffff;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.menu-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 200ms ease;
}

.menu-panel.open {
    max-height: 240px;
}
