:root {
    --bg: #fafaf7;
    --bg-card: #ffffff;
    --bg-alt: #f3f1ec;
    --bg-elevated: #ffffff;

    --ink: #1a1a1a;
    --ink-soft: #4a4a4a;
    --ink-muted: #7a7a7a;
    --ink-faded: #aaaaaa;

    --line: #e8e4dc;
    --line-strong: #d4cfc4;

    --accent: #3c3489;
    --accent-soft: #eeedfe;
    --accent-ink: #26215c;

    --warm: #993c1d;
    --warm-soft: #faece7;

    --cool: #085041;
    --cool-soft: #e1f5ee;

    --shadow-sm: 0 1px 2px rgba(20, 20, 30, 0.04);
    --shadow-md: 0 2px 8px rgba(20, 20, 30, 0.06);
    --shadow-lg: 0 8px 24px rgba(20, 20, 30, 0.08);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 720px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* HEADER */
.site-header {
    background: rgba(250, 250, 247, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.logo-mark {
    font-size: 18px;
    color: var(--accent);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: 500;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.2s;
}

.site-nav a:hover { color: var(--ink); }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1;
}

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn:not(.btn-sm):not(.btn-lg) { padding: 11px 18px; font-size: 14px; }

.btn-primary {
    background: var(--ink);
    color: var(--bg);
}
.btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
}
.btn-outline:hover {
    border-color: var(--ink);
    background: var(--bg-alt);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
}
.btn-ghost:hover { color: var(--ink); }

.btn-block {
    width: 100%;
}

/* HERO */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.1;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--ink-muted);
    font-size: 17px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--ink-muted);
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    text-align: center;
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto 48px;
}

/* FEATURES */
.features-list {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: border-color 0.2s, transform 0.2s;
}

.feature:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.3;
}

.feature-content p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.5;
}

/* EXAMPLE CARD */
.example-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.example-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
}

.example-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.example-meta { flex: 1; }

.example-title {
    font-weight: 500;
    font-size: 15px;
}

.example-subtitle {
    font-size: 13px;
    color: var(--ink-muted);
    margin-top: 2px;
}

.btn-copy {
    flex-shrink: 0;
}

.example-body {
    font-family: var(--font-serif);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
}

.example-body p {
    margin-bottom: 14px;
}

.example-body p:last-child {
    margin-bottom: 0;
}

.example-tags {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tags-label {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 10px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--bg-alt);
    color: var(--ink-soft);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
}

.example-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.example-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ink-muted);
}

.example-note {
    text-align: center;
    color: var(--ink-muted);
    font-size: 14px;
    margin-top: 32px;
    font-style: italic;
}

/* BENEFITS */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: left;
}

.benefit-icon {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 14px;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1;
}

.benefit-card h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
}

.benefit-card p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.5;
}

/* TESTIMONIALS */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.testimonial-stars {
    color: #d4af37;
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.avatar-coral { background: var(--warm-soft); color: var(--warm); }
.avatar-teal { background: var(--cool-soft); color: var(--cool); }

.testimonial-name {
    font-weight: 500;
    font-size: 14px;
}

.testimonial-meta {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 1px;
}

/* PRICING */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: 980px;
    margin: 0 auto 32px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border-color: var(--accent);
    border-width: 2px;
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 11px;
    padding: 4px 14px;
    border-radius: 100px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.pricing-period {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-amount {
    font-family: var(--font-serif);
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-frequency {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-features li {
    padding: 7px 0 7px 22px;
    font-size: 14px;
    color: var(--ink-soft);
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cool);
    font-weight: 600;
}

.pricing-disclaimer {
    text-align: center;
    color: var(--ink-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 8px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--line-strong);
}

.faq-item summary {
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 15px;
    user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-arrow {
    color: var(--ink-muted);
    font-size: 20px;
    transition: transform 0.2s;
    line-height: 1;
}

.faq-item[open] .faq-arrow {
    transform: rotate(90deg);
}

.faq-item p {
    padding: 0 22px 18px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
}

/* CTA FINAL */
.cta-final {
    background: var(--ink);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-final h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.2;
}

.cta-final > .container > p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    margin-bottom: 36px;
}

.signup-form {
    max-width: 440px;
    margin: 0 auto;
    text-align: left;
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-row input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: white;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
}

.form-row input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
}

.form-row input::placeholder {
    color: rgba(255,255,255,0.3);
}

.signup-form .btn-primary {
    background: white;
    color: var(--ink);
    margin-top: 8px;
}

.signup-form .btn-primary:hover {
    background: #f0f0f0;
}

.form-disclaimer {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    text-align: center;
    margin-top: 16px;
}

/* FOOTER */
.site-footer {
    background: var(--bg-alt);
    padding: 48px 0 32px;
    border-top: 1px solid var(--line);
}

.footer-inner {
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-tagline {
    color: var(--ink-muted);
    font-size: 14px;
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: var(--ink-soft);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--ink); }

.footer-legal {
    font-size: 12px;
    color: var(--ink-faded);
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.3s;
    z-index: 1000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .site-nav { gap: 16px; }
    .site-nav a:not(.btn) { display: none; }
    .hero { padding: 48px 0 40px; }
    .section { padding: 56px 0; }
    .pricing-card-featured { transform: none; }
    .feature { padding: 20px; }
    .example-card { padding: 22px; }
    .cta-final { padding: 56px 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-stats { grid-template-columns: 1fr; gap: 16px; }
}

/* DARK MODE OPCIONAL */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0f10;
        --bg-card: #1a1a1c;
        --bg-alt: #161618;
        --bg-elevated: #222226;

        --ink: #f5f5f5;
        --ink-soft: #c0c0c0;
        --ink-muted: #888888;
        --ink-faded: #555555;

        --line: #2a2a2e;
        --line-strong: #404048;

        --accent: #afa9ec;
        --accent-soft: rgba(175, 169, 236, 0.12);
        --accent-ink: #cecbf6;

        --warm: #f0997b;
        --warm-soft: rgba(240, 153, 123, 0.12);

        --cool: #5dcaa5;
        --cool-soft: rgba(93, 202, 165, 0.12);
    }

    .btn-primary { background: var(--ink); color: var(--bg); }
    .pricing-badge { background: var(--accent); color: var(--bg); }
    .signup-form .btn-primary { background: var(--ink); color: var(--bg); }
    .cta-final { background: #000; }
}
