/* ==========================================================================
   FreeCSSDesignes — Styles
   Aesthetic: Editorial Luxury / High-Contrast Typographic
   Palette: Black #0A0A0A / White #F5F5F0 / Yellow #FFD60A
   ========================================================================== */

/* --- Custom Properties --- */
:root {
    --black: #0A0A0A;
    --black-soft: #111111;
    --black-card: #161616;
    --black-card-hover: #1C1C1C;
    --gray-900: #1A1A1A;
    --gray-800: #222222;
    --gray-700: #333333;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #BBBBBB;
    --white: #F5F5F0;
    --white-pure: #FFFFFF;
    --yellow: #FFD60A;
    --yellow-hover: #FFE347;
    --yellow-dim: rgba(255, 214, 10, 0.12);
    --yellow-glow: rgba(255, 214, 10, 0.06);

    --font-display: 'Instrument Serif', 'Georgia', serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-mono: 'Geist Mono', 'SF Mono', monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --nav-height: 72px;
    --container: 1280px;
    --container-wide: 1440px;
}

/* --- Reset & Base --- */
*, *::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: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    color: inherit;
}

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

em {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--yellow);
}

::selection {
    background: var(--yellow);
    color: var(--black);
}

/* --- Grain Overlay --- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* --- Scroll Animations --- */
[data-animate] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate][data-delay="1"] { transition-delay: 0.1s; }
[data-animate][data-delay="2"] { transition-delay: 0.2s; }
[data-animate][data-delay="3"] { transition-delay: 0.3s; }
[data-animate][data-delay="4"] { transition-delay: 0.4s; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s ease;
}

.nav__inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.nav__logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--yellow);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    border-radius: 6px;
}

.nav__logo-text {
    letter-spacing: -0.03em;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-400);
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
    letter-spacing: 0.01em;
}

.nav__link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
}

.nav__link--icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 14px 28px;
    border-radius: 10px;
    transition: all 0.25s var(--ease-out-quart);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--yellow);
    color: var(--black);
}

.btn--primary:hover {
    background: var(--yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(255, 214, 10, 0.25);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.btn--small {
    padding: 10px 20px;
    font-size: 13px;
    border-radius: 8px;
}

.btn--large {
    padding: 18px 36px;
    font-size: 15px;
    border-radius: 12px;
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 56px;
}

.section-header__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 20px;
    padding: 6px 14px;
    background: var(--yellow-dim);
    border-radius: 100px;
}

.section-header__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--white);
}

.section-header__desc {
    margin-top: 16px;
    font-size: 17px;
    color: var(--gray-400);
    max-width: 520px;
    line-height: 1.6;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 60px) 40px 80px;
    overflow: hidden;
}

.hero__container {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--gray-300);
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    margin-bottom: 40px;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--yellow);
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 214, 10, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(255, 214, 10, 0); }
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7.5vw, 96px);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--white-pure);
}

.hero__subtitle {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 48px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll-hint {
    position: absolute;
    bottom: -40px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-600);
}

.hero__scroll-line {
    width: 48px;
    height: 1px;
    background: var(--gray-700);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--yellow);
    animation: scroll-line 2.5s ease-in-out infinite;
}

@keyframes scroll-line {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Hero decorations */
.hero__deco--1 {
    position: absolute;
    top: 15%;
    right: 5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--yellow-glow), transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: float-deco 8s ease-in-out infinite;
}

.hero__deco--2 {
    position: absolute;
    bottom: 10%;
    right: 20%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 214, 10, 0.06);
    border-radius: 50%;
    pointer-events: none;
    animation: float-deco 10s ease-in-out infinite reverse;
}

@keyframes float-deco {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

/* ==========================================================================
   STATS TICKER
   ========================================================================== */
.ticker {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
    overflow: hidden;
    background: var(--black-soft);
}

.ticker__track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    white-space: nowrap;
}

.ticker__item {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--gray-400);
}

.ticker__item strong {
    color: var(--yellow);
    font-weight: 600;
}

.ticker__sep {
    color: var(--gray-700);
    font-size: 10px;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   TEMPLATES SECTION
   ========================================================================== */
.templates {
    padding: 120px 40px;
}

.templates__container {
    max-width: var(--container-wide);
    margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-bar__search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    min-width: 280px;
    transition: border-color 0.2s ease;
}

.filter-bar__search:focus-within {
    border-color: var(--yellow);
}

.filter-bar__search svg {
    color: var(--gray-500);
    flex-shrink: 0;
}

.filter-bar__input {
    flex: 1;
    font-size: 14px;
    color: var(--white);
}

.filter-bar__input::placeholder {
    color: var(--gray-600);
}

.filter-bar__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-400);
    transition: all 0.2s ease;
}

.filter-tag:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.filter-tag--active {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.filter-tag--active:hover {
    background: var(--yellow-hover);
    color: var(--black);
    border-color: var(--yellow-hover);
}

/* Template Grid */
.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

/* Template Card */
.template-card {
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.3s ease, box-shadow 0.4s ease;
}

.template-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 10, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 214, 10, 0.08);
}

.template-card__preview {
    position: relative;
    aspect-ratio: 4 / 3.5;
    background: var(--gray-900);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.template-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover .template-card__overlay {
    opacity: 1;
}

.template-card__info {
    padding: 20px 22px 22px;
}

.template-card__tag {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--yellow);
    display: inline-block;
    margin-bottom: 8px;
}

.template-card__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 6px;
}

.template-card__desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* --- Mockup Shared Styles --- */
.template-card__mockup {
    width: 100%;
    max-width: 180px;
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.4s var(--ease-out-expo);
}

.template-card:hover .template-card__mockup {
    transform: scale(1.03);
}

.mockup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup__logo-block {
    width: 40px;
    height: 8px;
    background: var(--yellow);
    border-radius: 2px;
}

.mockup__date-block {
    width: 30px;
    height: 6px;
    background: var(--gray-700);
    border-radius: 2px;
}

.mockup__nav-dots {
    display: flex;
    gap: 4px;
}

.mockup__nav-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-600);
}

.mockup__hero-img {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    border-radius: 4px;
}

.mockup__lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mockup__lines--center {
    align-items: center;
}

.mockup__line {
    height: 4px;
    background: var(--gray-700);
    border-radius: 2px;
}

.mockup__line--full { width: 100%; }
.mockup__line--80 { width: 80%; }
.mockup__line--70 { width: 70%; }
.mockup__line--60 { width: 60%; }
.mockup__line--50 { width: 50%; }
.mockup__line--40 { width: 40%; }
.mockup__line--center { align-self: center; }
.mockup__line--thick { height: 6px; }

.mockup__cta-block {
    width: 60px;
    height: 16px;
    background: var(--yellow);
    border-radius: 4px;
}

.mockup__cta-block--wide {
    width: 80px;
    align-self: center;
}

/* Mockup 2 - Sale */
.mockup--2 {
    align-items: center;
    text-align: center;
}

.mockup__big-text {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--yellow);
    letter-spacing: 0.15em;
    line-height: 1;
}

.mockup__badge-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gray-600);
    align-self: center;
}

/* Mockup 3 - Welcome */
.mockup--3 {
    align-items: center;
}

.mockup__wave {
    font-size: 20px;
    line-height: 1;
}

.mockup__wave::after {
    content: '👋';
}

.mockup__avatar-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), #FF9500);
}

.mockup__steps {
    display: flex;
    gap: 6px;
    width: 100%;
}

.mockup__step {
    flex: 1;
    height: 24px;
    background: var(--gray-800);
    border-radius: 4px;
    border: 1px solid var(--gray-700);
}

/* Mockup 4 - Feature */
.mockup__tag-new {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--black);
    background: var(--yellow);
    padding: 2px 8px;
    border-radius: 3px;
    align-self: flex-start;
}

.mockup__feature-img {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
}

.mockup__feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.mockup__feature-box {
    height: 28px;
    background: var(--gray-800);
    border-radius: 4px;
    border: 1px solid var(--gray-700);
}

/* Mockup 5 - Two Column */
.mockup__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.mockup__col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mockup__img-block {
    width: 100%;
    height: 32px;
    background: var(--gray-800);
    border-radius: 3px;
}

/* Mockup 6 - Confirmation */
.mockup--6 {
    align-items: center;
}

.mockup__icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 214, 10, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
}

.mockup__receipt-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: var(--gray-900);
    border-radius: 4px;
}

.mockup__receipt-row {
    display: flex;
    justify-content: space-between;
    height: 4px;
}

.mockup__receipt-row::before {
    content: '';
    width: 45%;
    height: 100%;
    background: var(--gray-700);
    border-radius: 2px;
}

.mockup__receipt-row::after {
    content: '';
    width: 20%;
    height: 100%;
    background: var(--gray-600);
    border-radius: 2px;
}

.mockup__receipt-divider {
    height: 1px;
    background: var(--gray-700);
}

.mockup__receipt-row--bold::before {
    background: var(--white);
    width: 35%;
}

.mockup__receipt-row--bold::after {
    background: var(--yellow);
}

/* Mockup 7 - Product Grid */
.mockup__product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.mockup__product-box {
    aspect-ratio: 1;
    background: var(--gray-800);
    border-radius: 4px;
    border: 1px solid var(--gray-700);
}

/* Mockup 8 - Welcome Celebration */
.mockup--8 {
    align-items: center;
    position: relative;
}

.mockup__confetti {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 30px;
}

.mockup__confetti span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 1px;
}

.mockup__confetti span:nth-child(1) { left: 10%; top: 5px; background: var(--yellow); transform: rotate(45deg); }
.mockup__confetti span:nth-child(2) { left: 35%; top: 12px; background: var(--gray-500); transform: rotate(-20deg); }
.mockup__confetti span:nth-child(3) { left: 55%; top: 3px; background: var(--yellow); transform: rotate(60deg); width: 3px; height: 8px; }
.mockup__confetti span:nth-child(4) { left: 75%; top: 10px; background: var(--gray-600); transform: rotate(-45deg); }
.mockup__confetti span:nth-child(5) { left: 90%; top: 6px; background: var(--yellow); border-radius: 50%; }

.mockup__social-row {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.mockup__social-row span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--gray-600);
}

/* Templates CTA */
.templates__cta {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works {
    padding: 120px 40px;
    background: var(--black-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.how-it-works__container {
    max-width: var(--container);
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.step {
    padding: 40px 32px;
    background: var(--black-card);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s ease;
}

.step:first-child { border-radius: 16px 0 0 16px; }
.step:last-child { border-radius: 0 16px 16px 0; }

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

.step__number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--yellow);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.step__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-dim);
    border-radius: 12px;
    color: var(--yellow);
    margin-bottom: 24px;
    transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}

.step:hover .step__icon {
    background: rgba(255, 214, 10, 0.18);
    transform: scale(1.05);
}

.step__title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.step__desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ==========================================================================
   ABOUT / CTA
   ========================================================================== */
.about-cta {
    padding: 120px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.about-cta__container {
    max-width: var(--container);
    margin: 0 auto;
}

.about-cta__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-top: 20px;
    margin-bottom: 24px;
}

.about-cta__text {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 56px;
}

.about-cta__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    overflow: hidden;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 36px 32px;
    background: var(--black-card);
    text-align: center;
    transition: background 0.3s ease;
}

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

.stat__number {
    font-family: var(--font-display);
    font-size: 40px;
    color: var(--yellow);
    letter-spacing: -0.03em;
    line-height: 1;
}

.stat__label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--black-soft);
}

.footer__container {
    max-width: var(--container-wide);
    margin: 0 auto;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer__tagline {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.footer__columns {
    display: flex;
    gap: 72px;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__col-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.footer__link {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--yellow);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
}

.footer__copy {
    font-size: 13px;
    color: var(--gray-600);
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-links a {
    font-size: 13px;
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
    color: var(--gray-300);
}

/* ==========================================================================
   TEMPLATE-SPECIFIC MOCKUP COLORS
   ========================================================================== */

/* Kanji for Sushi template */
.mockup__kanji {
    font-size: 14px;
    color: #C2955A;
    line-height: 1;
}

/* Logo block color variants */
.mockup__logo-block--ember   { background: #C46A2E; }
.mockup__logo-block--bakery  { background: #C9A84C; }
.mockup__logo-block--teal    { background: #5BA4A4; }
.mockup__logo-block--brass   { background: #B89B72; }
.mockup__logo-block--blue    { background: #4A90D9; }
.mockup__logo-block--champagne { background: #D4C5A9; }
.mockup__logo-block--gold    { background: #D4A846; }
.mockup__logo-block--burgundy { background: #8B3A3A; }
.mockup__logo-block--amber   { background: #D4883A; }
.mockup__logo-block--orange  { background: #E8722A; }
.mockup__logo-block--lumen   { background: #8B7EC8; }
.mockup__logo-block--dialogue { background: #171717; }
.mockup__logo-block--azure-tide { background: #1b4965; }
.mockup__logo-block--indigo    { background: #4F46E5; }
.mockup__logo-block--chainvault { background: #00e5a0; }
.mockup__logo-block--forest    { background: #2D6A4F; }
.mockup__logo-block--cyan      { background: #0EA5E9; }
.mockup__logo-block--wine      { background: #722F37; }
.mockup__logo-block--vermillion { background: #E4572E; }
.mockup__logo-block--violet    { background: #7C3AED; }
.mockup__logo-block--silver    { background: #A3A3A3; }
.mockup__logo-block--neon-pink { background: #FF2D78; }
.mockup__logo-block--ivory     { background: #C8A96E; }

/* Hero image color variants */
.mockup__hero-img--warm      { background: linear-gradient(135deg, #2A2318, #3D2E1E); }
.mockup__hero-img--coffee    { background: linear-gradient(135deg, #2C1F14, #4A3322); }
.mockup__hero-img--bakery    { background: linear-gradient(135deg, #3D3428, #5C4A38); }
.mockup__hero-img--dark      { background: linear-gradient(135deg, #0F1419, #1A2332); }
.mockup__hero-img--noir      { background: linear-gradient(135deg, #1A1714, #2A2520); }
.mockup__hero-img--bright    { background: linear-gradient(135deg, #E8EFF5, #D1E3F5); }
.mockup__hero-img--lux       { background: linear-gradient(135deg, #1A1816, #2C2824); }
.mockup__hero-img--vintage   { background: linear-gradient(135deg, #1C1418, #2A1E22); }
.mockup__hero-img--studio    { background: linear-gradient(135deg, #141414, #222222); }
.mockup__hero-img--blueprint { background: linear-gradient(135deg, #0D1B2A, #1B2D45); }
.mockup__hero-img--gallery   { background: linear-gradient(135deg, #0A0A0C, #1A1A1E); }
.mockup__hero-img--dialogue  { background: linear-gradient(135deg, #F5F5F5, #E5E5E5); }
.mockup__hero-img--azure-tide{ background: linear-gradient(135deg, #0f2138, #1b4965); }
.mockup__hero-img--pulse     { background: linear-gradient(135deg, #eef2ff, #e0e7ff); }
.mockup__hero-img--chainvault{ background: linear-gradient(135deg, #0a0e17, #0f1a14); }
.mockup__hero-img--forest    { background: linear-gradient(135deg, #0B1A0F, #1A3A2A); }
.mockup__hero-img--cyan      { background: linear-gradient(135deg, #0A0A1A, #0C1929); }
.mockup__hero-img--wine      { background: linear-gradient(135deg, #1A0C10, #2A1518); }
.mockup__hero-img--verso     { background: linear-gradient(135deg, #09090B, #18181B); }
.mockup__hero-img--social    { background: linear-gradient(135deg, #0F0720, #1A1040); }
.mockup__hero-img--editorial { background: linear-gradient(135deg, #F5F5F0, #E8E8E3); }
.mockup__hero-img--neon      { background: linear-gradient(135deg, #0A0012, #1A0028); }
.mockup__hero-img--sanctum   { background: linear-gradient(135deg, #0E0E0C, #1C1A16); }

/* CTA block color variants */
.mockup__cta-block--hinoki    { background: #C2955A; }
.mockup__cta-block--ember     { background: #C46A2E; }
.mockup__cta-block--gold      { background: #C9A84C; }
.mockup__cta-block--teal      { background: #5BA4A4; }
.mockup__cta-block--brass     { background: #B89B72; }
.mockup__cta-block--blue      { background: #4A90D9; }
.mockup__cta-block--champagne { background: #D4C5A9; }
.mockup__cta-block--burgundy  { background: #8B3A3A; }
.mockup__cta-block--amber     { background: #D4883A; }
.mockup__cta-block--orange    { background: #E8722A; }
.mockup__cta-block--lumen     { background: #8B7EC8; }
.mockup__cta-block--dialogue  { background: #171717; }
.mockup__cta-block--azure-tide{ background: #2a7a8c; }
.mockup__cta-block--indigo    { background: #4F46E5; }
.mockup__cta-block--chainvault{ background: #00e5a0; }
.mockup__cta-block--forest   { background: #2D6A4F; }
.mockup__cta-block--cyan     { background: #0EA5E9; }
.mockup__cta-block--wine     { background: #722F37; }
.mockup__cta-block--vermillion { background: #E4572E; }
.mockup__cta-block--violet    { background: #7C3AED; }
.mockup__cta-block--silver    { background: #A3A3A3; }
.mockup__cta-block--neon-pink { background: #FF2D78; }
.mockup__cta-block--ivory     { background: #C8A96E; }

/* Template card meta row */
.template-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.template-card__pages {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--gray-500);
    letter-spacing: 0.04em;
}

/* 3-column steps grid */
.steps-grid--three {
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   GITHUB CTA BANNER
   ========================================================================== */
.github-cta {
    padding: 0 40px;
    margin-bottom: 80px;
}

.github-cta__container {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 56px;
    background: var(--black-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.github-cta__container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--yellow-dim), transparent);
}

.github-cta__content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.github-cta__icon {
    color: var(--gray-400);
    flex-shrink: 0;
}

.github-cta__title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.github-cta__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .template-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .template-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid,
    .steps-grid--three {
        grid-template-columns: 1fr;
    }

    .step:first-child { border-radius: 16px 16px 0 0; }
    .step:nth-child(2) { border-radius: 0; }
    .step:last-child { border-radius: 0 0 16px 16px; }

    .about-cta__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__top {
        flex-direction: column;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .hero {
        padding: calc(var(--nav-height) + 40px) 24px 60px;
        min-height: auto;
        padding-bottom: 100px;
    }

    .templates,
    .how-it-works,
    .about-cta {
        padding: 80px 24px;
    }

    .footer {
        padding: 60px 24px 32px;
    }

    .nav__inner {
        padding: 0 24px;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
    }

    .nav__links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav__link {
        font-size: 15px;
        padding: 12px 16px;
        width: 100%;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.is-active span:first-child {
        transform: translateY(3.25px) rotate(45deg);
    }

    .nav__toggle.is-active span:last-child {
        transform: translateY(-3.25px) rotate(-45deg);
    }

    .template-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar__search {
        min-width: unset;
    }

    .filter-bar__tags {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .filter-bar__tags::-webkit-scrollbar {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step:first-child { border-radius: 16px 16px 0 0; }
    .step:nth-child(2) { border-radius: 0; }
    .step:nth-child(3) { border-radius: 0; }
    .step:last-child { border-radius: 0 0 16px 16px; }

    .about-cta__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__columns {
        flex-direction: column;
        gap: 36px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .hero__scroll-hint {
        display: none;
    }

    .github-cta {
        padding: 0 24px;
        margin-bottom: 60px;
    }

    .github-cta__container {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
        gap: 24px;
    }

    .github-cta__content {
        flex-direction: column;
        gap: 16px;
    }

    .hero__deco--1 {
        width: 250px;
        height: 250px;
        right: -10%;
        top: 10%;
    }

    .hero__deco--2 {
        display: none;
    }

    .hide-mobile {
        display: none;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 40px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .about-cta__stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat {
        padding: 28px 20px;
    }

    .stat__number {
        font-size: 32px;
    }
}
