/* ===== NaanStop Global Styles ===== */

/* ===== CSS Variables ===== */
:root {
    --chipotle: #7D272D;
    --paprika: #E00700;
    --turmeric: #FFA40D;
    --char: #101921;
    --cream: #FDF8F2;
    --mist: #F5F0EA;
    --white: #FFFFFF;
    --text-primary: #101921;
    --text-secondary: #5A5A5A;
    --text-light: #767676; /* darkened from #8A8A8A for WCAG AA */
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Typography ===== */
.serif {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--turmeric);
    margin-bottom: 1rem;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 3rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--transparent {
    background: rgba(16, 25, 33, 0.4);
    backdrop-filter: blur(8px);
}

.nav--solid {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav__logo {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

.nav--transparent .nav__logo {
    color: var(--white);
}

.nav--solid .nav__logo {
    color: var(--char);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease, opacity 0.2s ease;
}

.nav--transparent .nav__link {
    color: var(--white);
}

.nav--solid .nav__link {
    color: var(--char);
}

.nav__link:hover {
    opacity: 0.7;
}

.nav__cta {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.65rem 1.6rem;
    border-radius: 100px;
    background: var(--chipotle);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav--transparent .nav__cta,
.nav--solid .nav__cta {
    color: var(--white);
}

.nav__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(125, 39, 45, 0.3);
    opacity: 1;
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    transition: background 0.3s ease;
}

.nav--transparent .nav__toggle span {
    background: var(--white);
}

.nav--solid .nav__toggle span {
    background: var(--char);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn--chipotle {
    background: var(--chipotle);
    color: var(--white);
}

.btn--chipotle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(125, 39, 45, 0.35);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn--char {
    background: var(--char);
    color: var(--white);
}

.btn--char:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 25, 33, 0.4);
}

.btn--outline-char {
    background: transparent;
    color: var(--char);
    border: 1.5px solid rgba(16, 25, 33, 0.4);
}

.btn--outline-char:hover {
    border-color: var(--char);
    background: rgba(16, 25, 33, 0.04);
}

/* ===== Hero (shared pattern) ===== */
.hero {
    position: relative;
    min-height: 85vh;
    max-height: 900px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(16, 25, 33, 0.82) 0%,
        rgba(16, 25, 33, 0.6) 45%,
        rgba(16, 25, 33, 0.3) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 3rem;
    padding-top: 72px;
}

.hero__headline {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.hero__sub {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero__proof {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
}

.hero__proof-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.hero__proof-stars {
    color: var(--turmeric);
    letter-spacing: 1px;
}

.hero__proof-divider {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
}

/* ===== Trust Strip ===== */
.trust-strip {
    background: var(--cream);
    padding: 1.5rem 3rem;
    text-align: center;
}

.trust-strip__text {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1.8;
}

.trust-strip__divider {
    display: inline-block;
    margin: 0 0.75rem;
    color: var(--turmeric);
    font-weight: 300;
}

/* ===== Section Spacing ===== */
.section {
    padding: 120px 3rem;
}

.section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__headline {
    font-family: Georgia, serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--char);
}

/* ===== FAQ Accordion ===== */
.faq {
    background: var(--cream);
    padding: 120px 3rem;
}

.faq__inner {
    max-width: 760px;
    margin: 0 auto;
}

.faq__header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq__headline {
    font-family: Georgia, serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--char);
}

.faq-item {
    border-bottom: 1px solid rgba(16, 25, 33, 0.12);
}

.faq-item:first-child {
    border-top: 1px solid rgba(16, 25, 33, 0.12);
}

.faq-item__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--char);
    line-height: 1.4;
}

.faq-item__question:hover {
    color: var(--turmeric);
}

.faq-item__icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--turmeric);
    flex-shrink: 0;
    margin-left: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    display: none;
}

.faq-item.open .faq-item__answer {
    display: block;
    padding-bottom: 1.5rem;
}

.faq-item__answer p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 120px 3rem;
    background: var(--mist);
}

.testimonials__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials__headline {
    font-family: Georgia, serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--char);
    margin-bottom: 1.5rem;
}

.testimonials__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.testimonials__badge-stars {
    color: var(--turmeric);
    letter-spacing: 1px;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(16,25,33,0.06);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.testimonial-card__stars {
    color: var(--turmeric);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-card__quote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.testimonial-card__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--char);
}

.testimonial-card__company {
    font-size: 0.8rem;
    color: var(--text-light);
}

.note {
    display: inline-block;
    background: rgba(0,100,255,0.08);
    border: 1px dashed rgba(0,100,255,0.3);
    color: rgba(0,100,255,0.65);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 3px;
    font-family: monospace;
    margin-left: 6px;
    vertical-align: middle;
    white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--char);
    padding: 5rem 3rem 2.5rem;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__brand-name {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer__brand-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    max-width: 280px;
}

.footer__col-title {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.25rem;
}

.footer__col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
}

.footer__col ul li a:hover {
    color: var(--white);
}

.footer__bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

.footer__social {
    display: flex;
    gap: 1.5rem;
}

.footer__social a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

.footer__social a:hover {
    color: var(--white);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__headline {
        font-size: 2.8rem;
    }
    .section__headline,
    .testimonials__headline {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0 1.5rem;
    }
    .nav__links {
        display: none;
    }
    .nav__toggle {
        display: block;
    }
    .hero__content {
        padding: 0 1.5rem;
        padding-top: 72px;
    }
    .hero__headline {
        font-size: 2.2rem;
    }
    .hero__sub {
        font-size: 1rem;
    }
    .hero__proof {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    .hero__proof-divider {
        display: none;
    }
    .section {
        padding: 80px 1.5rem;
    }
    .testimonials__grid {
        grid-template-columns: 1fr;
    }
    .footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 1.85rem;
    }
    .section__headline,
    .testimonials__headline,
    .faq__headline {
        font-size: 1.8rem;
    }
}

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