/* ============================================================
   Clout Homepage — assets/css/homepage.css
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
    --c-brand:    #bc0000;
    --c-brand-dk: #9a0000;
    --c-brand-tnt:#fde8e8;
    --c-brand-lt: #fff5f5;
    --c-dark:     #111827;
    --c-body:     #374151;
    --c-muted:    #6b7280;
    --c-border:   #e5e7eb;
    --c-bg:       #f9fafb;
    --c-white:    #ffffff;
    --c-gold:     #f59e0b;
    --r-sm:       8px;
    --r-md:       12px;
    --f-display:  'Plus Jakarta Sans', sans-serif;
    --f-body:     'Inter', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--f-body);
    color: var(--c-body);
    line-height: 1.6;
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }

/* === NAV === */
.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--c-border);
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    justify-content: space-between;
    gap: 2rem;
}
.nav__logo img {
    height: 40px;
    width: auto;
    display: block;
}
.nav__links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav__links li { list-style: none; }
.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-body);
    transition: color 0.15s;
}
.nav__links a:hover { color: var(--c-brand); }
.nav__cta {
    background: var(--c-brand);
    color: var(--c-white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--r-sm);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.15s;
    white-space: nowrap;
}
.nav__cta:hover { background: var(--c-brand-dk); color: var(--c-white); }

/* === HERO === */
.hero {
    padding: 5.5rem 5% 4.5rem;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 5rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    background: var(--c-brand-lt);
    color: var(--c-brand);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem 0.875rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero__h1 {
    font-family: var(--f-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: var(--c-dark);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}
.hero__h1 .accent { color: var(--c-brand); }
.hero__sub {
    font-size: 1.05rem;
    color: var(--c-muted);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2rem;
}
.hero__ctas {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    align-items: center;
}
.btn--primary {
    display: inline-block;
    background: var(--c-brand);
    color: var(--c-white);
    padding: 0.875rem 1.75rem;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--f-body);
    transition: background 0.15s, transform 0.1s;
    white-space: nowrap;
}
.btn--primary:hover { background: var(--c-brand-dk); transform: translateY(-1px); color: var(--c-white); }
.btn--ghost {
    display: inline-block;
    color: var(--c-body);
    padding: 0.875rem 1.75rem;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--f-body);
    border: 1.5px solid var(--c-border);
    transition: border-color 0.15s, color 0.15s;
}
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-brand); }
.hero__note { margin-top: 0.875rem; font-size: 0.78rem; color: var(--c-muted); }

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}
.hero__visual::before {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--c-brand-tnt) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.hw-wrap { position: relative; z-index: 1; }
.hw-notif {
    position: absolute;
    top: -14px;
    right: -18px;
    background: var(--c-brand);
    color: var(--c-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.45rem 0.875rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(188,0,0,0.3);
    white-space: nowrap;
    font-family: var(--f-body);
    z-index: 2;
}
.hw-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    box-shadow: 0 16px 48px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.05);
    width: 320px;
}
.hw-card__header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hw-card__title { font-family: var(--f-display); font-size: 0.82rem; font-weight: 700; color: var(--c-dark); }
.hw-badge { background: #d1fae5; color: #065f46; font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px; }
.hw-rating {
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--c-border);
}
.hw-rating__num { font-family: var(--f-display); font-size: 2.75rem; font-weight: 800; color: var(--c-dark); line-height: 1; }
.hw-stars { color: var(--c-gold); font-size: 0.9rem; letter-spacing: 0.05em; }
.hw-rating__count { font-size: 0.72rem; color: var(--c-muted); margin-top: 0.15rem; }
.hw-reviews { padding: 0.875rem 1.25rem; display: flex; flex-direction: column; gap: 0.625rem; }
.hw-review { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--r-sm); padding: 0.625rem 0.75rem; }
.hw-review__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; }
.hw-review__name { font-size: 0.72rem; font-weight: 600; color: var(--c-dark); }
.hw-review__stars { font-size: 0.6rem; color: var(--c-gold); }
.hw-review__text { font-size: 0.68rem; color: var(--c-muted); line-height: 1.45; }
.hw-review__tag { font-size: 0.65rem; color: #d97706; font-weight: 600; }

/* === TRUST STRIP === */
.trust {
    background: var(--c-bg);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 1rem 5%;
}
.trust__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust__label { font-size: 0.78rem; font-weight: 500; color: var(--c-muted); }
.trust__divider { width: 1px; height: 18px; background: var(--c-border); }
.trust__items { display: flex; gap: 2rem; flex-wrap: wrap; align-items: center; }
.trust__item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--c-body); }

/* === SHARED SECTION STYLES === */
.sec { padding: 5rem 5%; }
.sec__inner { max-width: 1100px; margin: 0 auto; }
.sec__inner--narrow { max-width: 600px; margin: 0 auto; text-align: center; }
.sec__eyebrow { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-brand); margin-bottom: 0.6rem; }
.sec__h2 { font-family: var(--f-display); font-size: clamp(1.75rem, 2.8vw, 2.4rem); font-weight: 800; color: var(--c-dark); line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 0.75rem; }
.sec__lead { font-size: 1rem; color: var(--c-muted); line-height: 1.7; }

/* === PROBLEMS === */
.sec--problems { background: var(--c-dark); }
.sec--problems .sec__eyebrow { color: var(--c-brand); }
.sec--problems .sec__h2 { color: var(--c-white); margin-bottom: 2.75rem; }
.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prob { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r-md); padding: 1.75rem; }
.prob__icon { font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.prob__h3 { font-family: var(--f-display); font-size: 1rem; font-weight: 700; color: var(--c-white); margin-bottom: 0.5rem; line-height: 1.35; }
.prob__p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* === HOW IT WORKS === */
.how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; margin-top: 3rem; position: relative; }
.how__grid::after {
    content: '';
    position: absolute;
    top: 27px;
    left: calc(16.66% + 28px);
    right: calc(16.66% + 28px);
    height: 2px;
    background: linear-gradient(90deg, var(--c-brand) 0%, var(--c-brand-tnt) 100%);
}
.step__num { width: 56px; height: 56px; background: var(--c-brand); color: var(--c-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.step__h3 { font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; color: var(--c-dark); margin-bottom: 0.5rem; }
.step__p { font-size: 0.875rem; color: var(--c-muted); line-height: 1.65; }

/* === FEATURES === */
.sec--features { background: var(--c-bg); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.125rem; margin-top: 3rem; }
.feat { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 1.625rem; transition: box-shadow 0.2s, border-color 0.2s; }
.feat:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); border-color: var(--c-brand-tnt); }
.feat__icon { width: 44px; height: 44px; background: var(--c-brand-lt); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 1rem; }
.feat__h3 { font-family: var(--f-display); font-size: 0.975rem; font-weight: 700; color: var(--c-dark); margin-bottom: 0.375rem; }
.feat__p { font-size: 0.84rem; color: var(--c-muted); line-height: 1.65; }

/* === PRICING === */
.pricing__card { background: var(--c-white); border: 2px solid var(--c-brand); border-radius: var(--r-md); padding: 2.5rem; max-width: 480px; margin: 3rem auto 0; position: relative; }
.pricing__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--c-brand); color: var(--c-white); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 1.125rem; border-radius: 999px; white-space: nowrap; font-family: var(--f-body); }
.pricing__amount { display: flex; align-items: flex-end; gap: 0.2rem; margin: 0.75rem 0 0.25rem; }
.pricing__dollar { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; color: var(--c-brand); line-height: 1; align-self: flex-start; padding-top: 0.6rem; }
.pricing__num { font-family: var(--f-display); font-size: 3.5rem; font-weight: 800; color: var(--c-dark); letter-spacing: -0.03em; line-height: 1; }
.pricing__period { font-size: 1rem; color: var(--c-muted); align-self: flex-end; padding-bottom: 0.3rem; }
.pricing__sub { font-size: 0.82rem; color: var(--c-muted); margin-bottom: 1.5rem; }
.pricing__divider { height: 1px; background: var(--c-border); margin: 1.5rem 0; }
.pricing__includes-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); margin-bottom: 0.875rem; }
.pricing__list { list-style: none; display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 2rem; }
.pricing__list li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.875rem; color: var(--c-body); }
.pricing__check { color: var(--c-brand); font-weight: 700; flex-shrink: 0; line-height: 1.6; }
.pricing__cta-btn { display: block; width: 100%; text-align: center; background: var(--c-brand); color: var(--c-white); padding: 1rem; border-radius: var(--r-sm); font-weight: 700; font-size: 1rem; font-family: var(--f-body); transition: background 0.15s; }
.pricing__cta-btn:hover { background: var(--c-brand-dk); color: var(--c-white); }
.pricing__footnotes { margin-top: 1.125rem; display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.pricing__fn { font-size: 0.75rem; color: var(--c-muted); display: flex; align-items: center; gap: 0.3rem; }

/* === TESTIMONIALS === */
.sec--social { background: var(--c-bg); }
.social__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.testi { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 1.625rem; display: flex; flex-direction: column; }
.testi__stars { color: var(--c-gold); font-size: 0.875rem; letter-spacing: 0.05em; margin-bottom: 0.875rem; }
.testi__quote { font-size: 0.9rem; color: var(--c-body); line-height: 1.65; font-style: italic; flex: 1; margin-bottom: 1.25rem; }
.testi__author { display: flex; align-items: center; gap: 0.75rem; }
.testi__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand-tnt); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: 0.875rem; color: var(--c-brand); flex-shrink: 0; }
.testi__name { font-family: var(--f-display); font-size: 0.85rem; font-weight: 700; color: var(--c-dark); }
.testi__biz { font-size: 0.75rem; color: var(--c-muted); }

/* === FAQ === */
.faq__list { margin-top: 3rem; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--c-border); }
.faq__item:last-child { border-bottom: none; }
.faq__btn { all: unset; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.25rem 1.5rem; cursor: pointer; font-family: var(--f-display); font-size: 0.95rem; font-weight: 600; color: var(--c-dark); box-sizing: border-box; text-align: left; }
.faq__btn:hover { background: var(--c-bg); }
.faq__chevron { color: var(--c-brand); font-size: 0.9rem; flex-shrink: 0; transition: transform 0.2s; }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq__answer-inner { padding: 0.25rem 1.5rem 1.25rem; font-size: 0.875rem; color: var(--c-muted); line-height: 1.75; background: var(--c-bg); }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__item.is-open .faq__answer { max-height: 300px; }

/* === FINAL CTA === */
.sec--final { background: var(--c-brand); padding: 7rem 5%; text-align: center; position: relative; overflow: hidden; }
.sec--final::before {
    content: 'CLOUT';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--f-display);
    font-size: clamp(10rem, 25vw, 22rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(255,255,255,0.07);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}
.final__inner { position: relative; z-index: 1; }
.final__h2 { font-family: var(--f-display); font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; color: var(--c-white); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 1rem; }
.final__p { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 460px; margin: 0 auto 2.25rem; line-height: 1.7; }
.btn--white { display: inline-block; background: var(--c-white); color: var(--c-brand); padding: 1rem 2.25rem; border-radius: var(--r-sm); font-weight: 700; font-size: 1.05rem; font-family: var(--f-body); transition: transform 0.15s; }
.btn--white:hover { transform: translateY(-2px); color: var(--c-brand); }
.final__sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 1rem; }

/* === FOOTER === */
.footer { background: #0d1117; color: rgba(255,255,255,0.55); padding: 3.5rem 5% 2rem; }
.footer__grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer__logo img { height: 36px; width: auto; display: block; margin-bottom: 0.75rem; }
.footer__tagline { font-size: 0.85rem; line-height: 1.6; max-width: 220px; }
.footer__legal { font-size: 0.7rem; color: rgba(255,255,255,0.3); margin-top: 1.25rem; line-height: 1.6; }
.footer__col-title { font-family: var(--f-display); font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.9); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer__links li { list-style: none; }
.footer__links a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer__links a:hover { color: rgba(255,255,255,0.9); }
.footer__bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; flex-wrap: wrap; gap: 0.75rem; }
.footer__bottom a { color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer__bottom a:hover { color: rgba(255,255,255,0.8); }

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 5% 3rem; }
    .hero__visual::before { display: none; }
    .problems__grid,
    .how__grid,
    .features__grid,
    .social__grid { grid-template-columns: 1fr; gap: 1rem; }
    .how__grid::after { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav__links { display: none; }
}
@media (max-width: 600px) {
    .trust__items { gap: 1rem; }
    .footer__grid { grid-template-columns: 1fr; }
    .sec { padding: 3.5rem 5%; }
    .sec--final { padding: 5rem 5%; }
    .hw-card { width: 100%; max-width: 320px; }
}
