/*
Theme Name: HoldThisProduct Landing
Theme URI: -
Author: HoldThisProduct
Author URI: -
Description: Minimal landing-page theme for the HoldThisProduct plugin.
Version: 1.0.0
Text Domain: holdthisproduct-landing
*/

:root {
    --htp-primary: #4A75F8;
    --htp-primary-soft: #E7EEFF;
    --htp-accent: #47C8B7;
    --htp-bg: #F7F9FC;
    --htp-text: #1F1F1F;
    --htp-muted: #6B7280;
    --htp-border: #E5E7EB;
    --htp-radius-lg: 16px;
    --htp-radius-md: 10px;
    --htp-radius-pill: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    color: #e5e7eb; /* light text by default */
    background:
        radial-gradient(circle at 0% 0%, #3b82f666 0, transparent 55%),
        radial-gradient(circle at 100% 0%, #6366f166 0, transparent 55%),
        linear-gradient(135deg, #2563eb, #4f46e5);
    line-height: 1.6;
}

/* Layout */

.htp-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.htp-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.htp-section {
    padding: 5rem 0;
    background: transparent; /* let blue show through */
}

.htp-section--alt {
    background: transparent; /* remove light grey background */
}

.htp-section__heading {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.1rem;
    font-weight: 700;
    color: #ffffff; /* white headings on blue bg */
}

.htp-section__subheading {
    text-align: center;
    max-width: 680px;
    margin: 0.5rem auto 2.5rem;
    color: #cbd5f5; /* softer light text */
}

/* Header */

.htp-header {
    border-bottom: 1px solid rgba(226, 232, 240, 0.25);
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.25); /* translucent on blue */
}

.htp-header__inner {
    padding-top: 0.2rem;   /* small top breathing room */
    padding-bottom: 0rem;  /* small bottom breathing room */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.htp-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.htp-logo__icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.htp-logo__img {
    height: 160px;   /* adjust this value */
    width: auto;
    object-fit: contain;
    display: block;
}

.htp-logo__text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.htp-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--htp-radius-pill);
    background-color: rgba(248, 250, 252, 0.16);
    color: #e5e7eb;
    font-weight: 500;
}

/* Hero */

.htp-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
}

.htp-hero::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.18) 0, transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.htp-hero > .htp-container {
    position: relative;
    z-index: 1;
}

.htp-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.htp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--htp-radius-pill);
    background-color: rgba(15, 23, 42, 0.35);
    color: #e5e7eb;
    font-weight: 500;
}

.htp-hero__title {
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    line-height: 1.15;
    margin: 1rem 0 0.75rem;
    color: #ffffff;
}

.htp-hero__highlight {
    background: linear-gradient(90deg, #ffffff, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.htp-hero__text {
    font-size: 0.98rem;
    color: #e5e7eb;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.htp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.7rem;
    justify-content: center;
}

.htp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: var(--htp-radius-pill);
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
}

.htp-button--primary {
    background: linear-gradient(135deg, var(--htp-primary), #3241b6);
    color: #fff;
}

.htp-button--primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.htp-button--ghost {
    background-color: transparent;
    border-color: rgba(226, 232, 240, 0.65);
    color: #e5e7eb;
}

.htp-button--ghost:hover {
    background: rgba(15, 23, 42, 0.35);
    border-color: rgba(226, 232, 240, 0.9);
}

.htp-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.4rem;
    font-size: 0.8rem;
    color: #cbd5f5;
    justify-content: center;
}

.htp-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero mockup */

.htp-hero-mockup {
    border-radius: 26px;
    background: radial-gradient(circle at top left, #E7EEFF 0%, #F7F9FC 40%, #ffffff 100%);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.45),
        0 0 0 1px rgba(148, 163, 184, 0.25);
    padding: 1.6rem 1.5rem;
    border: none;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
}

.htp-hero-mockup__browser {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.htp-hero-mockup__bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.htp-hero-mockup__dots {
    display: flex;
    gap: 0.3rem;
}

.htp-hero-mockup__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: #E5E7EB;
}

.htp-hero-mockup__pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--htp-radius-pill);
    background-color: #EEF2FF;
    color: #4F46E5;
}

.htp-hero-mockup__card {
    margin-top: 0.4rem;
    padding: 1rem;
    border-radius: var(--htp-radius-lg);
    background-color: #fff;
    border: 1px solid #E5E7EB;
}

.htp-hero-mockup__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.htp-pill-soft {
    padding: 0.25rem 0.6rem;
    border-radius: var(--htp-radius-pill);
    font-size: 0.7rem;
    background-color: #EFF6FF;
    color: #1D4ED8;
}

.htp-hero-mockup__timer {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: var(--htp-radius-pill);
    background-color: #0F172A;
    color: #E5E7EB;
    font-size: 0.7rem;
}

.htp-hero-mockup__button {
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--htp-radius-pill);
    background-color: var(--htp-primary);
    color: #fff;
    font-size: 0.75rem;
    border: none;
}

/* Product preview layout inside hero mockup */

.htp-hero-mockup__product {
    display: flex;
    flex-direction: row;      /* Image left, text right */
    align-items: center;      /* Vertically center both sides */
    justify-content: space-around;
    gap: 1rem;                /* Space between image and details */
}

.htp-hero-mockup__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}

.htp-hero-mockup__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--htp-text);
}

.htp-hero-mockup__price {
    font-size: 0.85rem;
    color: var(--htp-muted);
}

.htp-hero-mockup__image {
    width: 140px;      /* adjust size here */
    height: 140px;     /* adjust size here */
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.htp-hero-mockup__image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* crop to fit the box cleanly */
    display: block;
}

/* Features, steps, use cases */

.htp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.htp-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.htp-card {
    border-radius: var(--htp-radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 1.4rem 1.3rem;
    background: rgba(15, 23, 42, 0.82);            /* dark glassy */
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
}

.htp-card__eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    color: #bfdbfe;               /* light blue */
    margin-bottom: 0.2rem;
}

.htp-card__title {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #f9fafb;               /* almost pure white */
}

.htp-card__text {
    font-size: 0.88rem;
    color: #e5e7eb;               /* light grey text for readability */
}

/* Screenshot grid */

#screenshots.htp-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.htp-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* wider cards */
    gap: 2.5rem;
    justify-items: center;
}

.htp-screenshot {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.55);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;       /* image touches edges */
    padding: 0;             /* no inner gap */
    width: 100%;
    max-width: 560px;       /* nice width for admin UI */
}

.htp-screenshot__img {
    width: 100%;
    height: 320px;          /* bigger preview */
    object-fit: contain;    /* keep UI readable */
    background: #0f172a;    /* backing for letterboxing */
    display: block;
    cursor: zoom-in;
}

.htp-screenshot__caption {
    margin: 0;
    padding: 1rem;
    font-size: 0.95rem;
    text-align: center;
    color: #e5e7eb;
}

/* Lightbox for screenshots */

.htp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.htp-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeIn .2s ease-out;
}

@keyframes fadeIn {
    from { opacity: .3; transform: scale(.95); }
    to   { opacity: 1;  transform: scale(1); }
}

/* FAQ */

.htp-faq {
    max-width: 760px;
    margin: 0 auto;
}

.htp-faq__item {
    border-radius: var(--htp-radius-md);
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 1rem 1.1rem;
    margin-bottom: 0.8rem;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);
}

.htp-faq__question {
    font-weight: 600;
    font-size: 0.95rem;
    color: #f9fafb;
}

.htp-faq__answer {
    font-size: 0.88rem;
    color: #e5e7eb;
    margin-top: 0.35rem;
}

/* Footer */

.htp-footer {
    border-top: 1px solid rgba(226, 232, 240, 0.25);
    padding: 1.5rem 0;
    font-size: 0.8rem;
    color: #e5e7eb;
}

/* Responsive */

@media (max-width: 960px) {
    .htp-hero__inner {
        text-align: center;
    }

    .htp-hero {
        padding-top: 3.5rem;
    }

    .htp-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .htp-screenshot-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .htp-header__inner {
        gap: 0.75rem;
    }

    .htp-logo__img {
        height: 120px;
    }
}

/* ===========================================
   Modern SaaS Screenshot Gallery (Full Bleed)
   =========================================== */

.htp-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    justify-items: center;
}

.htp-screenshot {
    position: relative;
    width: 100%;
    max-width: 560px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    transition: transform .25s ease, box-shadow .25s ease;
}

.htp-screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
}

/* Screenshot image full bleed */
.htp-screenshot__img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

/* Subtle zoom on hover */
.htp-screenshot:hover .htp-screenshot__img {
    transform: scale(1.05);
}

/* Caption overlay */
.htp-screenshot__caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem 1.2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.0));
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    pointer-events: none; /* keeps clicks on the image/lightbox */
}

/* Mobile improvements */
@media (max-width: 640px) {
    .htp-screenshot__img {
        height: 260px;
    }
}
