/* ========================================================================
   AgroLibreta — Landing Page Styles
   Warm coffee palette / Outfit headings + Inter body / micro-animations
   ======================================================================== */

:root {
    --clr-bg:            hsl(40, 30%, 97%);
    --clr-border:        hsl(120, 15%, 85%);
    --clr-accent:        hsl(38, 90%, 55%);
    --clr-primary:       hsl(146, 55%, 32%);
    --clr-primary-dark:  hsl(146, 60%, 22%);
    --clr-primary-light: hsl(146, 55%, 42%);
    --clr-text:          hsl(150, 20%, 14%);
    --clr-text-muted:    hsl(150, 10%, 40%);
    --clr-white:         hsl(0, 0%, 100%);
    --clr-danger:        hsl(4, 70%, 52%);

    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 999px;
}

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

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

/* --- navbar --- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 90;
    background: hsla(40, 30%, 97%, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--clr-text);
    text-decoration: none;
}

.brand img { border-radius: 8px; }

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    margin-left: 1.5rem;
}
.nav-links a:hover { color: var(--clr-text); }

.nav-links a.active {
    color: var(--clr-primary);
    font-weight: 600;
}

.nav-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clr-primary);
    color: var(--clr-white) !important;
    padding: 0.45rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem !important;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.nav-btn-primary:hover {
    background: var(--clr-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 138, 76, 0.25);
}

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

/* --- hero --- */

.hero {
    padding: 3rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    color: var(--clr-primary-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
    max-width: 460px;
}

.hero-cta-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
}

/* --- buttons --- */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
    border: none;
    border-radius: var(--radius-full);
    background: var(--clr-primary);
    color: var(--clr-white);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.btn-primary:hover {
    background: var(--clr-text);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px hsla(146, 55%, 32%, 0.3);
}

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

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: var(--clr-white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* --- store badges --- */

.hero-cta-badges {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-cta-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stores {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--clr-primary-dark);
    color: var(--clr-white);
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(29, 43, 36, 0.15);
    min-width: 170px;
}

.store-btn:hover {
    background: var(--clr-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 43, 36, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.store-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.store-sub {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.store-main {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

/* --- phone mockup --- */

.phone-frame-mockup {
    position: relative;
    width: 260px;
    height: 520px;
    background: var(--clr-primary-dark);
    border-radius: 36px;
    padding: 10px;
    box-shadow: 0 25px 60px rgba(29, 43, 36, 0.35);
    border: 6px solid var(--clr-text);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.phone-camera {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    z-index: 10;
}

.phone-speaker {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    z-index: 10;
}

.phone-screen-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--clr-white);
    border-radius: 28px;
    overflow: hidden;
}

.active-screen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: var(--clr-white);
    opacity: 0;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-out;
    transform: scale(0.98);
}

.active-screen-img.active {
    opacity: 1;
    transform: scale(1);
}

.hero-phone .active-screen-img {
    opacity: 1;
    transform: scale(1);
}

/* --- functionalities interactive showcase --- */

.showcase-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-white) 100%);
    overflow: hidden;
}

.showcase-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    text-align: center;
    color: var(--clr-primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.showcase-subtitle {
    text-align: center;
    color: var(--clr-text-muted);
    max-width: 680px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
}

.showcase-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.showcase-tab {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    outline: none;
}

.showcase-tab:hover {
    background: hsla(40, 30%, 90%, 0.4);
    transform: translateX(4px);
}

.showcase-tab.active {
    background: var(--clr-white);
    border-color: var(--clr-border);
    border-left: 5px solid var(--clr-accent);
    box-shadow: 0 12px 30px rgba(29, 43, 36, 0.08);
    transform: translateX(8px);
}

.tab-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: hsla(38, 90%, 55%, 0.3);
    line-height: 1;
    transition: color 0.3s ease;
}

.showcase-tab.active .tab-number {
    color: var(--clr-accent);
}

.tab-content h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--clr-primary-dark);
    margin-bottom: 0.4rem;
}

.tab-content p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
}

.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 580px;
}

.showcase-phone.main-phone {
    z-index: 3;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-phone.back-phone {
    position: absolute;
    transform: translateX(110px) translateY(30px) rotate(6deg) scale(0.9);
    z-index: 2;
    opacity: 0.7;
    filter: brightness(0.85);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
}

.showcase-phone.back-phone.hidden {
    transform: translateX(0) translateY(0) rotate(0deg) scale(0.7);
    opacity: 0;
    pointer-events: none;
}

.showcase-phone.main-phone.centered {
    transform: translateX(0) scale(1.05);
}

/* --- features --- */

.features {
    padding: 4rem 0;
    background: var(--clr-white);
}

.features h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    color: var(--clr-primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--clr-text-muted);
    margin: 0.5rem 0 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px hsla(120, 15%, 85%, 0.5);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--clr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}

/* --- cta --- */

.cta {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(160deg, var(--clr-text), var(--clr-primary-dark));
    color: var(--clr-white);
}

.cta h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 0.75rem;
}

.cta p { margin-bottom: 1.5rem; opacity: 0.85; }

.cta .btn-primary {
    display: inline-flex;
    width: auto;
    background: var(--clr-accent);
    color: var(--clr-text);
}
.cta .btn-primary:hover {
    background: var(--clr-border);
    box-shadow: 0 4px 16px hsla(120, 15%, 85%, 0.3);
}

/* --- article teaser --- */

.article-teaser {
    padding: 3rem 0;
}

.article-teaser h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: 1.5rem;
    color: var(--clr-primary-dark);
}

.article-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    transition: box-shadow 0.2s;
}

.article-card:hover {
    box-shadow: 0 4px 20px hsla(120, 15%, 85%, 0.5);
}

.article-card h3 a {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--clr-text);
    text-decoration: none;
}
.article-card h3 a:hover { color: var(--clr-primary); }

.article-card p { margin-top: 0.3rem; color: var(--clr-text-muted); font-size: 0.92rem; }

/* --- footer --- */

.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--clr-border);
}

.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}

.footer-brand img { border-radius: 6px; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--clr-text); }

/* --- modal --- */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: hsla(150, 20%, 14%, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.25s ease;
}

.modal {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 1.5rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px hsla(150, 20%, 14%, 0.3);
    animation: scaleIn 0.25s ease;
}

.modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.modal-icon.success { background: hsl(146, 45%, 90%); color: var(--clr-primary); }
.modal-icon.duplicate { background: hsl(38, 80%, 90%); color: var(--clr-accent); }
.modal-icon.error { background: hsl(4, 70%, 90%); color: var(--clr-danger); }

.modal h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--clr-text);
    margin-bottom: 0.4rem;
}

.modal p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.25rem;
}

/* --- animations --- */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* --- responsive --- */

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stores {
        justify-content: center;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

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

    .hero { padding: 2rem 0 2.5rem; }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .showcase-tab {
        padding: 1.25rem;
    }

    .showcase-tab.active {
        transform: translateX(0);
    }

    .showcase-visual {
        min-height: 480px;
    }

    .showcase-phone.back-phone {
        transform: translateX(70px) translateY(20px) rotate(6deg) scale(0.8);
    }

    .showcase-phone.back-phone.hidden {
        transform: translateX(0) translateY(0) rotate(0deg) scale(0.75);
        opacity: 0;
    }

    .showcase-phone.main-phone.centered {
        transform: translateX(0) scale(1);
    }
}

/* --- hero phone image --- */

.hero-phone-img {
    display: block;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 24px 60px hsla(146, 55%, 32%, 0.3);
    object-fit: cover;
}

/* --- pillar sections (asymmetric text + image) --- */

.pillar {
    padding: 5rem 0;
    background: var(--clr-white);
}

.pillar.pillar-right {
    background: var(--clr-bg);
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pillar-text {
    position: relative;
}

.pillar-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 5rem;
    color: hsla(38, 90%, 55%, 0.2);
    position: absolute;
    top: -2.5rem;
    left: -0.3rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.pillar-text h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--clr-primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pillar-text p {
    font-size: 1rem;
    color: var(--clr-text-muted);
    line-height: 1.75;
    max-width: 460px;
}

.pillar-images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pillar-images-single {
    position: relative;
}

.pillar-images-stack {
    position: relative;
    height: 480px;
}

.pillar-img {
    border-radius: 22px;
    box-shadow: 0 16px 40px hsla(146, 55%, 32%, 0.2);
    object-fit: cover;
    height: auto;
}

.pillar-img-center {
    border-radius: 24px;
    box-shadow: 0 20px 50px hsla(146, 55%, 32%, 0.25);
}

.pillar-img-front {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.pillar-img-back {
    position: absolute;
    top: 40px;
    left: 60px;
    z-index: 1;
    opacity: 0.55;
}

/* --- planes CTA section --- */

.planes-cta {
    padding: 5rem 0;
    background: linear-gradient(160deg, var(--clr-text), var(--clr-primary-dark));
    color: var(--clr-white);
}

.planes-cta h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.planes-cta .section-subtitle {
    text-align: center;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.planes-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-mini-card {
    background: var(--clr-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--clr-text);
    text-align: center;
}

.plan-mini-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.plan-mini-card .plan-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--clr-primary-dark);
    margin-bottom: 1.25rem;
}

.plan-mini-card .plan-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.plan-mini-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.plan-mini-card ul li {
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--clr-text-muted);
    border-bottom: 1px solid var(--clr-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-mini-card ul li::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--clr-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.plan-mini-card ul li:last-child {
    border-bottom: none;
}

.plan-mini-card .btn-primary {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.plan-mini-card .btn-primary:hover {
    background: var(--clr-text);
}

.plan-mini-pro {
    border: 3px solid var(--clr-accent);
    position: relative;
}

.plan-mini-pro::before {
    content: "Más popular";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-accent);
    color: var(--clr-text);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.plan-mini-pro .btn-primary {
    background: var(--clr-text);
}

.plan-mini-pro .btn-primary:hover {
    background: var(--clr-primary-dark);
}

/* ============================================================
   Legal pages (Privacidad, Términos, Eliminar Cuenta)
   ============================================================ */
.legal-page {
    padding: 3rem 0 5rem;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-family: var(--font-heading);
    color: var(--clr-text);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.legal-page h2 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page h3 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page p,
.legal-page li {
    color: var(--clr-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.legal-page ul,
.legal-page ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page ul li,
.legal-page ol li {
    margin-bottom: 0.4rem;
}

.legal-page a {
    color: var(--clr-primary);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--clr-text);
}

.last-updated {
    font-size: 0.85rem !important;
    color: var(--clr-accent) !important;
    margin-bottom: 2rem !important;
}

.legal-warning {
    background: hsl(4, 70%, 92%);
    border-left: 4px solid var(--clr-danger);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.legal-warning p {
    color: var(--clr-text);
    margin: 0;
}

/* Delete account form */
.delete-form {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 2rem;
}

.delete-form .form-group {
    margin-bottom: 1.25rem;
}

.delete-form label {
    display: block;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

.delete-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--clr-white);
    box-sizing: border-box;
}

.delete-form input[type="email"]:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px hsla(146, 55%, 32%, 0.15);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    accent-color: var(--clr-primary);
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.btn-delete {
    background: var(--clr-danger) !important;
    width: 100%;
    justify-content: center;
}

.btn-delete:hover {
    background: hsl(4, 70%, 40%) !important;
}

.btn-delete:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.response-message {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.response-success {
    background: hsl(146, 45%, 90%);
    border: 1px solid var(--clr-primary-light);
    color: var(--clr-primary);
}

.response-error {
    background: hsl(4, 70%, 92%);
    border: 1px solid var(--clr-danger);
    color: var(--clr-danger);
}

/* --- responsive overrides for pillars --- */

@media (max-width: 768px) {
    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pillar-images-stack {
        height: 400px;
    }

    .pillar-text {
        order: -1;
    }

    .pillar {
        padding: 3rem 0;
    }

    .planes-mini-grid {
        grid-template-columns: 1fr;
    }
}
