:root {
    --gyt-brand: #e8590c;          /* rich pumpkin, not neon */
    --gyt-brand-2: #f0852e;
    --gyt-gradient: linear-gradient(135deg, #d24e0b 0%, #f0852e 100%);
    --gyt-ink: #261d15;            /* warm near-black for the footer */
    --gyt-page: #fbf6f1;           /* soft warm off-white page bg */
    --gyt-text: #2c2a28;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

/* Soften the overall brightness: warm off-white page instead of stark white */
body {
    background-color: var(--gyt-page);
    color: var(--gyt-text);
}

/* "Log In" button — previously .btn-gradient had NO rule, so it rendered
   white-on-white and was invisible. Give it the brand gradient. */
.btn-gradient,
.login-btn {
    background: var(--gyt-gradient);
    border: none;
    color: #fff !important;
    border-radius: 50rem;
    box-shadow: 0 4px 12px rgba(210, 78, 11, 0.28);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-gradient:hover,
.login-btn:hover {
    color: #fff !important;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(210, 78, 11, 0.36);
}

/* Nav links: darker for contrast on the light bar, brand colour on hover */
.nav-link-custom {
    color: #3a352f !important;
    font-weight: 500;
}

.nav-link-custom:hover {
    color: var(--gyt-brand) !important;
}

/* Solid brand primary buttons (e.g. "Start Your Journal") */
.btn-primary {
    background-color: var(--gyt-brand);
    border-color: var(--gyt-brand);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #cf4e0a;
    border-color: #cf4e0a;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    
}

/* Button and input focus styles */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Form placeholder alignment */
.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.hero-section {
    height: 100vh;
    min-height: 640px;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Gradient overlay: darker at the bottom so text/CTAs stay legible
   while the top of the photo stays bright. */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    color: white;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Eyebrow / pre-headline */
.hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.hero-title {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    max-width: 680px;
    margin: 0 auto 1.75rem;
    font-size: 1.2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* Call-to-action buttons */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-cta .btn {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    font-weight: 600;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary {
    background: var(--gyt-gradient);
    border: none;
}

.hero-section .btn-primary:hover {
    background: linear-gradient(135deg, #e0560d, #f3923f);
}

.hero-section .btn-outline-light:hover {
    color: var(--gyt-brand);
}

/* Feature pills */
.hero-pills {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    padding: 0;
    margin: 0 0 1.75rem;
}

.hero-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
}

.hero-pills i {
    color: #ffb27a;
}

/* App store badges */
.hero-stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.1rem;
    border-radius: 0.6rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.store-badge:hover {
    color: #fff;
    background: #1a1a1a;
    transform: translateY(-2px);
}

.store-badge i {
    font-size: 1.9rem;
    line-height: 1;
}

.store-badge span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    font-size: 1.05rem;
    font-weight: 600;
}

.store-badge small {
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

/* Trust line */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-stars {
    color: #ffc107;
    letter-spacing: 0.1em;
}

/* Scroll-down cue */
.hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.5rem;
    text-decoration: none;
    animation: hero-bounce 2s infinite;
}

.hero-scroll:hover {
    color: white;
}

@keyframes hero-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Smooth scrolling for the in-page "See How It Works" anchor */
html {
    scroll-behavior: smooth;
}

@media (max-width: 575.98px) {
    .hero-subtitle { font-size: 1.05rem; }
    .hero-cta .btn { width: 100%; }
    .hero-scroll { display: none; }
}

.hero-section-contact {
    background: var(--gyt-gradient);
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Journal listing cards */
.journal-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
}

.journal-card-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.journal-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.92);
    background: var(--gyt-gradient);
}

.journal-card-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.journal-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Journal entry media thumbnails */
.journal-media,
.journal-media-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.journal-media {
    display: flex;
}

/* Origin badge (which app created the journal) */
.source-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gyt-brand);
    background: rgba(232, 89, 12, 0.10);
    border: 1px solid rgba(232, 89, 12, 0.20);
    padding: 0.15rem 0.55rem;
    border-radius: 50rem;
    letter-spacing: 0.02em;
}

/* Dark footer accents — orange headings, slightly softened body text */
footer h6 {
    color: var(--gyt-brand-2);
    letter-spacing: 0.02em;
}

footer .text-light,
footer p.text-white {
    color: rgba(255, 255, 255, 0.78) !important;
}

footer .hover-text-white:hover {
    color: #fff !important;
}
