/* ============================================================
   LANDING — EDITORIAL ATELIER
   Composición magazine-style con hero asimétrico, eyebrows
   mono, secciones numeradas, tipografía variable Fraunces
   protagonista. Sin gradientes "AI slop".
   ============================================================ */

/* ============================================================
   NAVBAR — minimalist editorial
   ============================================================ */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(251, 247, 240, .82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 2rem;
    margin: 0 auto;
    max-width: 1280px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-size: 1.45rem;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    font-variation-settings: "SOFT" 40, "opsz" 36;
}
.brand:hover { text-decoration: none; color: var(--terracotta); }
.brand-icon {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.7rem;
    color: var(--terracotta);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    padding-right: 0.6rem;
    border-right: 1px solid var(--line);
}
.brand-icon::before { content: '/ws/'; }
.brand-text { font-family: var(--font-display); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.85rem;
    text-decoration: none;
    position: relative;
    transition: color .25s var(--ease);
}
.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a:hover::before { width: 100%; }

.nav-actions { display: flex; gap: 0.5rem; align-items: center; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform .3s var(--ease);
}

/* ============================================================
   HERO — editorial split with type as the star
   ============================================================ */
.hero {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(196,84,58,.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124,139,102,.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: left;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--terracotta);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    animation: fadeUp .8s var(--ease) both;
}
.hero-badge::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--terracotta);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 400;
    line-height: .92;
    margin-bottom: 2rem;
    color: var(--ink);
    letter-spacing: -0.04em;
    max-width: 13ch;
    font-variation-settings: "SOFT" 30, "opsz" 144;
    animation: fadeUp .9s var(--ease) .05s both;
}
.hero h1 em {
    font-style: italic;
    font-weight: 300;
    color: var(--terracotta);
    font-variation-settings: "SOFT" 20, "opsz" 144;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.2rem, 1.8vw, 1.45rem);
    line-height: 1.45;
    color: var(--ink-soft);
    margin-bottom: 3rem;
    max-width: 32em;
    letter-spacing: -0.005em;
    animation: fadeUp 1s var(--ease) .15s both;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    align-items: center;
    animation: fadeUp 1s var(--ease) .25s both;
}

.hero-meta {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    max-width: 720px;
    animation: fadeUp 1s var(--ease) .35s both;
}
.hero-meta span {
    flex: 1;
    min-width: 180px;
    padding-right: 1.5rem;
    position: relative;
}
.hero-meta span:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}
.hero-meta span::before {
    content: '— ';
    color: var(--terracotta);
}

/* ─── Hero mockup — editorial preview card ─── */
.hero-mockup {
    margin-top: 5rem;
    position: relative;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 1.1s var(--ease) .5s both;
}
.mockup-frame {
    background: var(--paper-cool);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.25rem;
    border: 1px solid var(--line);
    transform: perspective(1800px) rotateX(2deg);
    transition: transform .8s var(--ease);
}
.mockup-frame:hover {
    transform: perspective(1800px) rotateX(0deg) translateY(-8px);
}
.mockup-bar {
    display: flex;
    gap: 6px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    align-items: center;
}
.mockup-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--paper-deep);
}
.mockup-bar::after {
    content: 'tuboda.com / sofia-y-lucas';
    margin-left: auto;
    margin-right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-mute);
    background: var(--paper);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
}
.mockup-content {
    height: 380px;
    background:
        radial-gradient(ellipse at top, rgba(196,84,58,.1) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(124,139,102,.12) 0%, transparent 60%),
        var(--paper-warm);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}
.mockup-content::before {
    content: '✦';
    color: var(--terracotta);
    font-size: 1.5rem;
}
.mockup-content h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
    font-variation-settings: "SOFT" 20, "opsz" 144;
}
.mockup-content p {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

/* ============================================================
   SECTION HEADERS — editorial, with section number
   ============================================================ */
.features, .how-it-works, .pricing { padding: 8rem 0; position: relative; }
.how-it-works { background: var(--paper-warm); }

.section-header {
    text-align: left;
    max-width: 1280px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: end;
}
.section-header .eyebrow {
    margin-bottom: 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--terracotta);
    font-weight: 500;
    display: block;
    grid-column: 1 / 2;
}
.section-header .eyebrow::before {
    content: none;
}
.section-header h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: .95;
    color: var(--ink);
    letter-spacing: -0.03em;
    max-width: 18ch;
    grid-column: 1 / 2;
}
.section-header p {
    color: var(--ink-soft);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 1.45;
    max-width: 32em;
    grid-column: 2 / 3;
    align-self: end;
    padding-bottom: 0.5rem;
}
.section-header::before {
    content: counter(section-counter, decimal-leading-zero);
    counter-increment: section-counter;
    grid-column: 2 / 3;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}
.section-header::after {
    content: '';
    grid-column: 1 / -1;
    height: 1px;
    background: var(--line);
    margin-top: 0.5rem;
}
body.public-layout { counter-reset: section-counter; }
@media (max-width: 768px) {
    .section-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section-header::before { display: none; }
    .section-header p { grid-column: 1; }
}

/* ============================================================
   FEATURES — editorial card grid
   ============================================================ */
.features-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
    padding: 3rem 2.5rem;
    background: transparent;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    transition: background .35s var(--ease);
    counter-increment: feature-counter;
    position: relative;
}
body.public-layout .features-grid { counter-reset: feature-counter; }

.feature-card::before {
    content: counter(feature-counter, decimal-leading-zero);
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-faint);
    letter-spacing: 0.15em;
}
.feature-card:hover {
    background: var(--paper-cool);
    transform: none;
    box-shadow: none;
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--paper);
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.feature-card:hover .feature-icon {
    border-color: var(--terracotta);
    background: rgba(196,84,58,.06);
}
.feature-card h3 {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    font-variation-settings: "SOFT" 40, "opsz" 36;
}
.feature-card p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 28em;
}

/* ============================================================
   HOW IT WORKS — editorial steps
   ============================================================ */
.steps {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}
@media (max-width: 768px) { .steps { grid-template-columns: 1fr; gap: 3rem; } }

.step {
    text-align: left;
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid var(--line-strong);
}
.step-number {
    display: block;
    width: auto;
    height: auto;
    background: transparent;
    color: var(--terracotta);
    border-radius: 0;
    box-shadow: none;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-variation-settings: "SOFT" 20, "opsz" 144;
}
.step-number::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--terracotta);
    vertical-align: middle;
    margin-right: 0.75rem;
    transform: translateY(-0.6em);
}
.step h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.step p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 22em;
}

/* ============================================================
   PRICING — editorial cards
   ============================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    border: 1px solid var(--line);
    background: var(--paper-cool);
}
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
    background: transparent;
    border: none;
    border-right: 1px solid var(--line);
    border-radius: 0;
    padding: 3rem 2rem 2.5rem;
    text-align: left;
    position: relative;
    transition: background .3s var(--ease);
}
.price-card:last-child { border-right: none; }
@media (max-width: 768px) {
    .price-card { border-right: none; border-bottom: 1px solid var(--line); }
    .price-card:last-child { border-bottom: none; }
}
.price-card:hover { background: var(--paper); transform: none; box-shadow: none; }

.price-card.featured {
    background: var(--ink);
    color: var(--paper);
    transform: none;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}
.price-card.featured::before {
    content: 'recomendado';
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--terracotta);
    color: var(--paper);
    padding: 0.3rem 0.7rem;
    border-radius: 0;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transform: none;
    left: auto;
}
.price-card.featured .price-name { color: var(--terracotta-lt); }
.price-card.featured .price-amount { color: var(--paper); }
.price-card.featured .price-amount small { color: var(--ink-faint); }
.price-card.featured .price-period { color: var(--ink-faint); }
.price-card.featured .price-features li { color: rgba(251, 247, 240, .8); border-color: rgba(251, 247, 240, .12); }
.price-card.featured .price-features li::before { color: var(--terracotta-lt); }
.price-card.featured .btn { background: var(--terracotta); color: var(--paper); border-color: var(--terracotta); }
.price-card.featured .btn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.price-name {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}
.price-amount {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(3.5rem, 6vw, 5rem);
    color: var(--ink);
    line-height: .9;
    letter-spacing: -0.04em;
    font-variation-settings: "SOFT" 20, "opsz" 144;
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
}
.price-amount small {
    font-size: 0.45em;
    color: var(--ink-mute);
    font-weight: 400;
    font-style: normal;
    font-family: var(--font-body);
    letter-spacing: 0;
}
.price-period {
    color: var(--ink-mute);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    margin-top: 0.75rem;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}
.price-features li {
    padding: 0.7rem 0;
    color: var(--ink-soft);
    font-size: 0.92rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
    content: '+';
    color: var(--terracotta);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}

/* ============================================================
   CTA SECTION — bold editorial closer
   ============================================================ */
.cta-section {
    padding: 8rem 0;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(196,84,58,.18) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
    color: var(--paper);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: .95;
    letter-spacing: -0.035em;
    font-variation-settings: "SOFT" 20, "opsz" 144;
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
}
.cta-section p {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    color: rgba(251, 247, 240, .75);
    margin: 0 auto 3rem;
    max-width: 32em;
}
.cta-section .btn-primary {
    background: var(--terracotta);
    color: var(--paper);
    border-color: var(--terracotta);
}
.cta-section .btn-primary:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
}

/* ============================================================
   FOOTER — editorial closer
   ============================================================ */
.footer {
    background: var(--paper);
    color: var(--ink-soft);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--line);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}
@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
.footer-brand .brand-text {
    color: var(--ink);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-variation-settings: "SOFT" 40, "opsz" 36;
}
.footer-brand .brand-icon {
    font-family: var(--font-mono);
    font-style: normal;
    font-size: 0.65rem;
    color: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: block;
    margin-bottom: 0.75rem;
}
.footer-brand .brand-icon::before { content: 'wedding · saas'; }
.footer-brand p {
    margin-top: 1rem;
    color: var(--ink-mute);
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: 1.05rem;
    max-width: 28em;
    line-height: 1.5;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
@media (max-width: 600px) { .footer-links { grid-template-columns: repeat(2, 1fr); } }
.footer-links h4 {
    color: var(--terracotta);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.footer-links a {
    display: block;
    color: var(--ink-soft);
    padding: 0.35rem 0;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color .25s var(--ease);
}
.footer-links a:hover { color: var(--terracotta); text-decoration: none; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-mute);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-actions .btn { padding: 0.5rem 1rem; font-size: 0.78rem; }
    .hero { padding: 4rem 0 3rem; }
    .features, .how-it-works, .pricing, .cta-section { padding: 5rem 0; }
}
