/* ===== Section Labels ===== */
.section-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
    text-align: center;
}

.section-title {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    text-align: center;
    color: var(--white);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* ===== How It Works ===== */
.how-section {
    padding: 8rem 2rem;
    background: var(--black-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.how-step {
    background: var(--black-light);
    padding: 2.5rem 2rem;
    position: relative;
    transition: background 0.4s;
}

.how-step:hover { background: var(--black-card); }

.how-step-num {
    font-family: 'Instrument Serif', serif;
    font-size: 2.5rem;
    color: var(--amber);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.how-step h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.how-step p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 400;
}

/* ===== Templates Page Header ===== */
.templates-page-header {
    padding: 8rem 2rem 3rem;
    text-align: center;
}

.templates-page-inner {
    max-width: 700px;
    margin: 0 auto;
}

.templates-page-header h1 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.templates-page-header p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.templates-search-wrapper {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.templates-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
}

.templates-search {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--white);
    background: var(--black-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.templates-search::placeholder {
    color: var(--muted);
}

.templates-search:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.1);
}

.templates-section-full {
    padding-top: 3rem;
}

.templates-no-results {
    color: var(--muted);
    text-align: center;
    font-size: 1rem;
    padding: 3rem 0;
}

/* ===== Templates ===== */
.templates-section {
    padding: 8rem 2rem;
}

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

.templates-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.templates-header-text .section-label {
    text-align: left;
}

.templates-header-text h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--white);
    letter-spacing: -0.02em;
}

.templates-header-text p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 0.5rem;
    font-weight: 400;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.template-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.template-card:hover {
    border-color: var(--border-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.template-thumbnail {
    aspect-ratio: 16 / 10;
    background: var(--black-light);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.25rem 0;
    overflow: hidden;
}

.template-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.template-thumbnail-placeholder {
    color: var(--muted);
    font-size: 0.875rem;
    padding-top: 3rem;
}

.template-info {
    padding: 1.5rem;
}

.template-info h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.375rem;
    font-weight: 400;
}

.template-info p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

.template-industries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.industry-tag {
    background: var(--amber-dim);
    color: var(--amber);
    padding: 0.1875rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.template-actions {
    display: flex;
    gap: 0.75rem;
}

.template-actions .btn {
    flex: 1;
    padding: 0.5625rem 1rem;
    font-size: 0.875rem;
    text-align: center;
    justify-content: center;
}

/* ===== Value / Pricing ===== */
.value-section {
    padding: 8rem 2rem;
    background: var(--black-light);
    border-top: 1px solid var(--border);
}

.value-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.value-headline {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.value-headline em {
    color: var(--amber);
    font-style: italic;
}

.value-sub {
    font-size: 1.05rem;
    color: var(--muted-light);
    max-width: 520px;
    margin: 0 auto 3.5rem;
    line-height: 1.7;
    font-weight: 400;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 3.5rem;
}

.value-item {
    background: var(--black-light);
    padding: 2rem 1.5rem;
    transition: background 0.3s;
}

.value-item:hover { background: var(--black-card); }

.value-item-icon {
    color: var(--amber);
    margin-bottom: 0.75rem;
}

.value-item h3 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 0.4rem;
    font-weight: 400;
}

.value-item p {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 400;
}

.value-includes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.value-tag {
    font-size: 0.82rem;
    color: var(--muted-light);
    padding: 0.45rem 1.1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-weight: 400;
}

.value-tag svg {
    display: inline;
    vertical-align: -2px;
    margin-right: 4px;
    color: var(--amber);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 8rem 2rem;
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-light);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.125rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted-light);
    min-height: 44px;
}

.faq-question:hover {
    color: var(--white);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    color: var(--muted);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    max-width: 600px;
}

/* ===== Contact ===== */
.contact-section {
    padding: 8rem 2rem;
    background: var(--black-light);
    border-top: 1px solid var(--border);
}

.contact-inner {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-family: 'Instrument Serif', serif;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.contact-info > p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.contact-info address {
    font-style: normal;
}

.contact-info address a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--amber);
}

/* ===== Final CTA ===== */
.final-cta {
    padding: 10rem 2rem;
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 60%, var(--amber-dim) 0%, transparent 70%);
}

.final-cta-content {
    position: relative;
    z-index: 1;
}

.final-headline {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.final-headline em {
    color: var(--amber);
    font-style: italic;
}

.final-sub {
    font-size: 1.05rem;
    color: var(--muted-light);
    max-width: 440px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .how-section, .templates-section, .value-section, .faq-section, .contact-section { padding: 5rem 1.5rem; }
    .how-grid { grid-template-columns: 1fr; }
    .templates-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .templates-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .value-grid { grid-template-columns: 1fr; }
    .value-includes { flex-direction: column; align-items: center; }
    .contact-inner { grid-template-columns: 1fr; }
    .final-cta { padding: 6rem 1.5rem; }
}
