:root {
    --bg: #FAF5F0;
    --surface: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);
    --text: #1C1B19;
    --muted: #6B6760;
    --faint: #A8A49E;
    --teal: #B0817D;
    --teal-light: #F5EDEC;
    --teal-dark: #8A5F5C;
    --amber: #C47C2B;
    --amber-light: #FDF2E3;
    --green: #4A7C59;
    --green-light: #EBF4EE;
    --blue: #4A7A8A;
    --blue-light: #EBF3F6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 245, 240, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 clamp(24px, 6vw, 80px);
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    width: 30px;
    height: 30px;
    background: var(--teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
}

.nav-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.nav-cta:hover {
    background: var(--teal-dark);
}

.nav-cta:active {
    transform: scale(0.97);
}

/* ── HERO ── */
.hero {
    padding: calc(58px + 80px) clamp(24px, 6vw, 80px) 80px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 720px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: calc(58px + 48px);
    }

    .hero-visual {
        order: -1;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-light);
    border: 1px solid rgba(176, 129, 125, 0.25);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 20px;
}

.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    display: inline-block;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
}

.hero-title em {
    font-style: italic;
    color: var(--teal);
}

.hero-body {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover {
    background: var(--teal-dark);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 12px 4px;
    border: none;
    background: none;
    cursor: pointer;
}

.hero-trust {
    margin-top: 28px;
    font-size: 13px;
    color: var(--faint);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-trust::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--faint);
    display: inline-block;
    flex-shrink: 0;
}

/* ── APP PREVIEW ── */
.hero-visual {
    position: relative;
}

.preview-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.07),
        0 24px 48px rgba(0, 0, 0, 0.05);
}

.preview-topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-dots {
    display: flex;
    gap: 5px;
}

.preview-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.preview-url {
    flex: 1;
    background: var(--bg);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    color: var(--faint);
}

.preview-body {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-panel {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-panel-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--faint);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.mini-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
}

.mini-card-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.mini-tag {
    display: inline-block;
    font-size: 9px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid;
}

.mini-tag.pink {
    background: var(--teal-light);
    color: var(--teal-dark);
    border-color: rgba(176, 129, 125, 0.3);
}

.mini-tag.blue {
    background: var(--blue-light);
    color: var(--blue);
    border-color: rgba(74, 122, 138, 0.3);
}

.mini-tag.amber {
    background: var(--amber-light);
    color: var(--amber);
    border-color: rgba(196, 124, 43, 0.3);
}

.mini-tag.green {
    background: var(--green-light);
    color: var(--green);
    border-color: rgba(74, 124, 89, 0.3);
}

.mini-bar-bg {
    height: 3px;
    background: var(--border);
    border-radius: 99px;
    margin: 7px 0 4px;
    overflow: hidden;
}

.mini-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: var(--teal);
}

.mini-dz {
    border: 1.5px dashed rgba(176, 129, 125, 0.35);
    border-radius: 6px;
    padding: 6px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.mini-chip {
    font-size: 9px;
    font-weight: 500;
    background: var(--teal-light);
    color: var(--teal-dark);
    border: 1px solid rgba(176, 129, 125, 0.3);
    border-radius: 999px;
    padding: 2px 7px;
}

/* ── FLOATING BADGES ── */
.badge-float {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    animation: float 4s ease-in-out infinite;
}

.badge-float:nth-child(2) {
    animation-delay: -1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.badge-1 {
    top: -18px;
    right: -18px;
}

.badge-2 {
    bottom: -16px;
    left: -16px;
}

.badge-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ── FEATURES ── */
.features {
    border-top: 1px solid rgba(176, 129, 125, 0.15);
    border-bottom: 1px solid rgba(176, 129, 125, 0.15);
    padding: 64px clamp(24px, 6vw, 80px);
    padding: 80px clamp(24px, 6vw, 80px);
    max-width: 1100px;
    margin: 0 auto;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 12px;
}

.section-body {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 48px;
}

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

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

@media (min-width: 801px) and (max-width: 1000px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ── CTA SECTION ── */
.cta-section {
    padding: 100px clamp(24px, 6vw, 80px);
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.cta-section .section-title {
    margin-bottom: 16px;
}

.cta-section .section-body {
    margin: 0 auto 36px;
}

/* -- CTA SECTION SIGN UP CARD -- */

.signup-card {
    margin: 0px auto;
    padding: 28px;
    max-width: 420px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.signup-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #6b8cff;
    box-shadow: 0 0 0 3px rgba(107, 140, 255, 0.15);
}

#signup-btn {
    margin-top: 8px;
    width: fit-content;
    justify-content: center;
}
#login-btn {
    margin-top: 16px;
    width: fit-content;
}

.auth-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.auth-row .signup-card {
  flex: 1;
  max-width: 400px;
}

/* -- GINGERBREADS -- */
img {
   width: 100%;
   height: 100px;
   object-fit: cover;
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 28px clamp(24px, 6vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

footer .nav-brand {
    opacity: 0.6;
}

.footer-note {
    font-size: 13px;
    color: var(--faint);
}

