/* ==========================================================================
   Namogni — Stylesheet
   Simple, clean, content-first design.
   ========================================================================== */

:root {
    /* Palette */
    --accent: #D9731E;
    --accent-dark: #B75E14;
    --text: #2B2B2B;
    --text-muted: #656565;
    --bg: #FFFFFF;
    --bg-soft: #F7F6F4;
    --border: #E4E1DB;

    /* Type */
    --font-body: 'Poppins', Arial, Helvetica, sans-serif;

    /* Effects */
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --radius: 10px;
    --radius-sm: 6px;
    --transition: 0.2s ease;
}

::-webkit-scrollbar { background: transparent; width: 5px; height: 5px;}
::-webkit-scrollbar:hover { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-corner { display: none; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px;} 

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.3;
    font-weight: 600;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); }

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

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------------------
   Buttons
---------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.94rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    text-decoration: none !important;
}

.btn-solid {
    background: var(--accent);
    color: #fff;
}
.btn-solid:hover { background: var(--accent-dark); }

.btn-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-large { padding: 14px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------
   Header
---------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 50px; width: auto; }
.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a:not(.btn) {
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
}
.main-nav a:not(.btn):hover { color: var(--accent); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* ---------------------------------------------------------
   Flash messages
---------------------------------------------------------- */
.flash-message { padding: 12px 0; text-align: center; font-weight: 500; font-size: 0.92rem; }
.flash-success { background: #EAF6E7; color: #2E6B1F; }
.flash-error { background: #FBEAE6; color: #9C2E12; }

/* ---------------------------------------------------------
   Hero
---------------------------------------------------------- */
.hero { background: var(--bg-soft); }

.hero-logo {
    width: 300px;
    height: auto;
    margin: auto;
    margin-bottom: 30px;
    text-align: center;
}

.hero-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 6;
    max-height: 600px;
    overflow: hidden;
}
.hero-image-wrap img {
    width: 100%; height: 100%; object-fit: cover; object-position: bottom;
}

.hero-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 46px 24px 56px;
}
.hero-text .hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto;
}
.hero-actions {
    margin-top: 26px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   Sections
---------------------------------------------------------- */

.section-cream { background: var(--bg-soft); padding: 50px 0;}
.section-white { background: var(--bg); padding: 50px 0; }
.section-white .container { text-align: center; }
.section-tint { background: var(--bg-soft); padding: 50px 0; }

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    text-align: center;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }

.section-head h2 { margin-bottom: 20px; }

.section-head img { width: 150px; height: auto; margin: 20px auto; box-shadow: 1px 1px 10px 1px #634a3180; border-radius: 30px;}

.section-baseline { display: block; text-align: center; margin: 20px auto; }

.intro-text {
    max-width: 820px;
    margin: 0 auto;
    text-align: justify;
}
.intro-text p { font-size: 1.02rem; }
.intro-more { margin-top: 6px; font-weight: 600; text-align: center;}

/* ---------------------------------------------------------
   About content blocks
---------------------------------------------------------- */

#what-namogni-does h2, #what-namogni-does p, #what-namogni-does ul {
    text-align: left ;   
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 24px;
    margin-top: 10px;
}
.about-block {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.about-block h3 { color: var(--text); font-size: 1.08rem; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .dot {
    flex-shrink: 0;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    margin-top: 8px;
}

/* ---------------------------------------------------------
   Screenshot cards
---------------------------------------------------------- */
.screens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.screen-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
    text-align: center;
    border: 1px solid var(--border);
}
.screen-placeholder {
    aspect-ratio: 9 / 16;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
    border: 1px dashed var(--border);
}
.screen-card h4 { margin: 0; font-weight: 600; color: var(--text); font-size: 1rem; }

.screen-card img { margin-bottom: 20px; }

/* ---------------------------------------------------------
   Download section
---------------------------------------------------------- */
.download-section {
    background: var(--bg);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
}
.download-section .app-logo-circle {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
}
.download-section .app-logo-circle span {
    color: #fff; font-size: 1.4rem; font-weight: 700;
}
.download-section h3 { font-size: 1.6rem; }
.download-section p { max-width: 600px; margin: 0 auto 26px; }

/* ---------------------------------------------------------
   Footer
---------------------------------------------------------- */
.site-footer { background: var(--bg-soft); color: var(--text-muted); padding-top: 50px; border-top: 1px solid var(--border); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--border);
}
.footer-col h4 {
    color: var(--text);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-brand .logo-text { color: var(--text); font-size: 1.1rem; }
.footer-brand p { color: var(--text-muted); margin-top: 10px; font-size: 0.9rem; }
.footer-bottom { text-align: center; padding: 18px 0; font-size: 0.82rem; color: var(--text-muted); }

/* ---------------------------------------------------------
   Modals (Privacy / Terms placeholders)
---------------------------------------------------------- */
.modal {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.open { display: flex; }
.modal-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    max-width: 1000px;
    height: 600px;
    width: 100%;
    position: relative;
    overflow: auto;
    box-shadow: var(--shadow);
}
.modal-close {
    position: absolute; top: 12px; right: 14px;
    background: none; border: none; font-size: 1.5rem;
    cursor: pointer; color: var(--text-muted); line-height: 1;
}

/* ---------------------------------------------------------
   Auth pages (Login / Register)
---------------------------------------------------------- */
.auth-section {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    padding: 50px 0;
    background: var(--bg-soft);
}
.auth-card {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 34px;
    box-shadow: var(--shadow);
}
.auth-card h1 { text-align: center; font-size: 1.5rem; }
.auth-card .auth-sub { text-align: center; margin-bottom: 24px; font-size: 0.92rem; }

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.form-group input:focus {
    border-color: var(--accent);
    outline: none;
}
.form-error {
    color: #9C2E12;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}
.field-error input { border-color: #C6402A; }

.auth-footer-link { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer-link a { color: var(--accent); font-weight: 600; }

.error-box {
    background: #FBEAE6;
    color: #9C2E12;
    border-radius: var(--radius-sm);
    padding: 11px 15px;
    margin-bottom: 18px;
    font-size: 0.87rem;
}
.error-box ul { margin: 4px 0 0 18px; padding: 0; }

/* ---------------------------------------------------------
   Dashboard
---------------------------------------------------------- */
.dashboard-section { padding: 56px 0 80px; min-height: calc(100vh - 65px); background: var(--bg-soft); }
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}
.dashboard-header h1 { margin-bottom: 0; }
.welcome-eyebrow { color: var(--accent); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}
@media (max-width: 860px) { .dashboard-grid { grid-template-columns: 1fr; } }

.dash-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.app-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.app-icon-badge {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.app-icon-badge span { color: #fff; font-weight: 700; font-size: 1.2rem; }
.version-pill {
    display: inline-block;
    background: var(--bg-soft);
    color: var(--text-muted);
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    margin-top: 4px;
    border: 1px solid var(--border);
}

.stat-list { list-style: none; margin: 0; padding: 0; }
.stat-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}
.stat-list li:last-child { border-bottom: none; }
.stat-list .stat-value { font-weight: 700; color: var(--accent); }

/* ---------------------------------------------------------
   Responsive
---------------------------------------------------------- */
@media (max-width: 780px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 16px 24px 22px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
        display: none;
    }
    .main-nav.open { display: flex; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    section { padding: 48px 0; }
    .footer-inner { grid-template-columns: 1fr; }
    .auth-card { padding: 28px 22px; }
}
