/* ========================================
   POMODORO TIMER LANDING PAGE STYLES
   Complementa style.css y new_cards.css
   ======================================== */

:root {
    /* --- Paleta base de la app --- */
    --pt-primary:                   #D95C5C;
    --pt-accent:                    #771B1B;
    --pt-surface:                   #F8BBD0;
    --pt-green:                     #90BE6D;
    --pt-white:                     #FFFFFF;
    --pt-text-on-dark:              #FFFFFF;
    --pt-text-on-light:             #771B1B;
    --pt-text-body:                 #5A2A2A;
    --pt-shadow-color:              #90CAF9;

    /* --- Derivadas semitransparentes --- */
    --pt-navbar-bg:                 var(--pt-primary);
    --pt-navbar-border:             rgba(255, 255, 255, 0.08);
    --pt-nav-link-color:            rgba(255, 255, 255, 0.65);
    --pt-back-border:               rgba(248, 187, 208, 0.40);
    --pt-back-hover-bg:             rgba(248, 187, 208, 0.10);
    --pt-placeholder-bg-dark:       rgba(255, 255, 255, 0.08);
    --pt-placeholder-border-dark:   rgba(255, 255, 255, 0.30);
    --pt-placeholder-text-dark:     rgba(255, 255, 255, 0.40);
    --pt-placeholder-bg-light:      rgba(217, 92, 92, 0.06);
    --pt-placeholder-border-light:  rgba(119, 27, 27, 0.20);
    --pt-placeholder-text-light:    rgba(119, 27, 27, 0.40);
    --pt-table-border:              rgba(119, 27, 27, 0.10);
    --pt-table-row-even:            rgba(248, 187, 208, 0.30);
    --pt-btn-secondary-border:      rgba(119, 27, 27, 0.30);
    --pt-faq-border:                rgba(119, 27, 27, 0.15);
    --pt-hero-sub-color:            rgba(255, 255, 255, 0.70);
    --pt-cta-sub-color:             rgba(255, 255, 255, 0.65);
}

/* --- LANGUAGE SELECTOR (dentro del navbar) --- */
.lang-option {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--pt-nav-link-color);
}

.lang-option:hover,
.lang-option:focus-visible {
    box-shadow: 0 4px 14px rgba(119, 27, 27, 0.25),
                0 0 10px rgba(248, 187, 208, 0.35);
}

.lang-option.is-active {
    border-color: rgba(248, 187, 208, 0.50);
    color: var(--pt-surface);
    box-shadow: 0 4px 14px rgba(119, 27, 27, 0.20);
}

/* --- NAVBAR --- */
.pt-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--pt-navbar-bg);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--pt-navbar-border);
}

.pt-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 16px;
}

.pt-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(13px, 1.6vw, 16px);
    font-weight: 800;
    color: var(--pt-text-on-dark) !important;
    text-decoration: none !important;
    flex-shrink: 0;
    white-space: nowrap;
}

.pt-brand-sub {
    font-weight: 600;
    opacity: 0.80;
}

.pt-navbar-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--pt-white);
    flex-shrink: 0;
}

.pt-navbar-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.6vw, 24px);
    flex: 1;
    justify-content: flex-end;
}

.pt-navbar-links a {
    color: var(--pt-nav-link-color);
    font-size: clamp(11px, 1.2vw, 13px);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.pt-navbar-links a:hover,
.pt-navbar-links a:focus {
    color: var(--pt-surface);
    text-decoration: none;
}

.pt-navbar-back {
    color: var(--pt-surface) !important;
    border: 1px solid var(--pt-back-border);
    border-radius: 999px;
    padding: 5px 10px !important;
    line-height: 1;
}

.pt-navbar-back:hover,
.pt-navbar-back:focus {
    color: var(--pt-surface) !important;
    border-color: var(--pt-surface);
    background: var(--pt-back-hover-bg);
    text-decoration: none !important;
}

/* --- NAVBAR RIGHT (lang + hamburger) --- */
.pt-navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
}

/* --- HAMBURGER --- */
.pt-navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.pt-navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--pt-white);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.pt-navbar-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pt-navbar-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.pt-navbar-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- MOBILE DROPDOWN --- */
.pt-navbar-mobile {
    display: none;
    flex-direction: column;
    background: var(--pt-navbar-bg);
    border-top: 1px solid var(--pt-navbar-border);
    padding: 8px 20px 16px;
}

.pt-navbar-mobile.is-open {
    display: flex;
}

.pt-navbar-mobile a {
    color: var(--pt-nav-link-color);
    font-size: 15px;
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid var(--pt-navbar-border);
    transition: color 0.2s;
}

.pt-navbar-mobile a:last-child {
    border-bottom: none;
}

.pt-navbar-mobile a:hover {
    color: var(--pt-surface);
    text-decoration: none;
}

.pt-navbar-back-mobile {
    color: var(--pt-surface) !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .pt-navbar-links  { display: none; }
    .pt-navbar-toggle { display: flex; }
    .pt-navbar-brand  { font-size: 12px; }

    /* Reservar espacio visual para el selector que pasa a ser absolute */
    .pt-navbar-right {
        min-width: 82px;
        justify-content: flex-end;
    }

    /* Selector siempre absolute en móvil, crece hacia abajo */
    .pt-navbar .lang-selector {
        position: absolute;
        right: 46px;
        top: 0;
        flex-direction: column;
        align-items: center;
        max-width: 36px;
        max-height: 36px;
        overflow: hidden;
        gap: 4px;
        transition: max-height 0.65s ease;
    }

    .pt-navbar .lang-selector.is-open {
        max-width: 36px;
        max-height: 260px;
        background: var(--pt-navbar-bg);
        border-radius: 20px;
        padding: 2px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.30);
        transition: max-height 0.65s ease;
        z-index: 1100;
    }

    /* Botón activo siempre arriba en la lista vertical */
    .pt-navbar .lang-selector .lang-option.is-active {
        order: -1;
    }

    .pt-navbar .lang-selector.is-open .lang-option {
        order: 0;
    }

    .pt-navbar .lang-selector.is-open .lang-option.is-active {
        order: -1;
    }
}

/* --- HERO --- */
#pt-hero {
    background: var(--pt-primary);
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    color: var(--pt-text-on-dark);
    display: flex;
    align-items: center;
}

.pt-hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.pt-hero-text {
    flex: 1;
    min-width: 0;
}

.pt-hero-eyebrow {
    font-size: clamp(10px, 1.5vw, 13px);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pt-surface);
    margin-bottom: 20px;
    font-weight: 700;
    text-align: left;
}

.pt-hero-headline {
    font-size: clamp(28px, 4.5vw, 56px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em;
    color: var(--pt-text-on-dark) !important;
    margin-bottom: 20px;
    text-align: left;
}

.pt-hero-sub {
    font-size: clamp(15px, 1.8vw, 20px) !important;
    line-height: 1.6 !important;
    color: var(--pt-hero-sub-color) !important;
    margin: 0 0 40px !important;
    text-align: left !important;
}

.pt-store-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

#pt-cta .pt-store-buttons {
    justify-content: center;
}


.pt-hero-desktop-buttons { display: flex; }
.pt-hero-mobile-buttons  { display: none; }

.pt-hero-mockup {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.pt-hero-img-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
    --ptf-op-scale:  1.6;
    --ptf-dur-scale: 1.6;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, black 10%, black 82%, transparent 100%),
        linear-gradient(to right,  transparent 0%, black 8%, black 90%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to bottom, transparent 0%, black 10%, black 82%, transparent 100%),
        linear-gradient(to right,  transparent 0%, black 8%, black 90%, transparent 100%);
    mask-composite: intersect;
}

.pt-hero-img {
    width: clamp(240px, 30vw, 360px);
    height: auto;
    object-fit: cover;
    display: block;
}

/* --- PROBLEM SECTION GRID --- */
.pt-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "img label"
        "img h2"
        "img text";
    column-gap: 48px;
    row-gap: 8px;
    align-items: start;
}

.pt-problem-img   { grid-area: img;   align-self: center; }
.pt-problem-label { grid-area: label; }
.pt-problem-h2    { grid-area: h2;    }
.pt-problem-p     { grid-area: text;  }

.pt-problem-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    -webkit-mask-image:
        linear-gradient(to bottom, transparent 0%, black 10%, black 82%, transparent 100%),
        linear-gradient(to right,  transparent 0%, black 8%, black 90%, transparent 100%);
    -webkit-mask-composite: destination-in;
    mask-image:
        linear-gradient(to bottom, transparent 0%, black 10%, black 82%, transparent 100%),
        linear-gradient(to right,  transparent 0%, black 8%, black 90%, transparent 100%);
    mask-composite: intersect;
}

/* Medium: label+h2 centrados arriba, imagen cuadrada izq + párrafo der */
@media (max-width: 767px) {
    .pt-problem-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "label label"
            "h2    h2"
            "img   text";
        column-gap: 20px;
        row-gap: 12px;
    }
    .pt-problem-label,
    .pt-problem-h2 { text-align: center; }
    .pt-problem-img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        align-self: center;
    }
    .pt-problem-h2 { margin-bottom: 8px !important; }
}

/* Pequeño: todo apilado y centrado */
@media (max-width: 620px) {
    .pt-problem-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "label"
            "h2"
            "img"
            "text";
        row-gap: 20px;
        text-align: center;
    }
    .pt-problem-img {
        width: clamp(200px, 70vw, 320px);
        margin: 0 auto;
    }
    .pt-problem-p { text-align: left; }
}

.pt-flake {
    position: absolute;
    width:         var(--ptf-w, 8px);
    height:        var(--ptf-h, 8px);
    border-radius: var(--ptf-br, 50%);
    background:    var(--pt-surface);
    opacity: 0;
    pointer-events: none;
    top:  var(--ptf-top,  20%);
    left: var(--ptf-left, 4%);
    animation: pt-flake-fall calc(var(--ptf-dur, 5s) * var(--ptf-dur-scale, 1)) var(--ptf-delay, 0s) infinite linear;
}

@keyframes pt-flake-fall {
    0%   { opacity: 0;                    transform: translate(0,     0)     rotate(0deg); }
    12%  { opacity: calc(var(--ptf-op, 0.22) * var(--ptf-op-scale, 1)); }
    82%  { opacity: calc(var(--ptf-op, 0.22) * var(--ptf-op-scale, 1)); }
    100% { opacity: 0;                    transform: translate(88px, 105px)  rotate(28deg); }
}

.pt-cta-mockup {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    .pt-hero-inner {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .pt-hero-eyebrow,
    .pt-hero-headline {
        text-align: center;
    }
    .pt-hero-sub {
        text-align: center !important;
        margin: 0 auto 40px !important;
    }
    .pt-store-buttons {
        justify-content: center;
    }
    .pt-hero-desktop-buttons { display: none; }
    .pt-hero-mobile-buttons  { display: flex; }
    .pt-hero-img {
        width: clamp(220px, 72vw, 340px);
        aspect-ratio: 1 / 1;
    }
}

/* --- IMAGE PLACEHOLDERS --- */
.pt-img-placeholder {
    background: var(--pt-placeholder-bg-dark);
    border: 2px dashed var(--pt-placeholder-border-dark);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pt-placeholder-text-dark);
    font-size: 12px;
    font-family: 'Courier New', monospace;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    line-height: 1.4;
}

.pt-section .pt-img-placeholder,
.pt-section-alt .pt-img-placeholder {
    background: var(--pt-placeholder-bg-light);
    border-color: var(--pt-placeholder-border-light);
    color: var(--pt-placeholder-text-light);
}

.pt-screenshot {
    width: 280px;
    height: 560px;
    max-width: 100%;
}

.pt-mockup-lg {
    width: 320px;
    height: 640px;
    max-width: 100%;
}

/* --- SECTION BASE --- */
.pt-section {
    padding: 56px 0;
    background: var(--pt-white);
}

.pt-section-alt {
    padding: 56px 0;
    background: var(--pt-primary);
}

.pt-section-dark {
    padding: 56px 0;
    background: var(--pt-accent);
    color: var(--pt-text-on-dark);
}

.pt-section-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pt-primary);
    margin-bottom: 12px;
}

.pt-label-light {
    color: var(--pt-nav-link-color);
}

.pt-section-h2 {
    font-size: clamp(26px, 4vw, 50px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    line-height: 1.15 !important;
    color: var(--pt-text-on-light);
    margin-bottom: 24px;
}

.pt-h2-light {
    color: var(--pt-text-on-dark);
}

.pt-section-text {
    font-size: clamp(15px, 1.8vw, 18px) !important;
    line-height: 1.75 !important;
    color: var(--pt-text-body) !important;
    text-align: left !important;
    margin-bottom: 0;
}

/* --- SECTION LAYOUTS (alternating) --- */
.pt-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.pt-row .col-md-6 {
    float: none;
}

.pt-text-col {
    padding-right: 40px;
}

.pt-text-col-right {
    padding-right: 0;
    padding-left: 40px;
}

.pt-img-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .pt-row {
        flex-direction: column;
    }

    .pt-text-col {
        padding-right: 0;
        padding-bottom: 48px;
        width: 100%;
    }

    .pt-img-col {
        width: 100%;
    }

}


/* Scroll offset para navbar fija */
section[id^="pt-"],
div[id^="pt-"] {
    scroll-margin-top: 70px;
}

/* --- FEATURES GRID --- */
.pt-features-header {
    margin-bottom: 56px;
}

.pt-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

@media (max-width: 479px) {
    .pt-features-grid {
        grid-template-columns: 1fr;
    }
}

.pt-feature-card {
    background: var(--pt-white);
    border-radius: 20px;
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(119, 27, 27, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pt-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(119, 27, 27, 0.18);
}

.pt-feature-card-img {
    width: 72px;
    height: 72px;
    background: rgba(248, 187, 208, 0.35);
    border-radius: 16px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
}

.pt-feature-card-img--photo {
    width: 100%;
    height: auto;
    background: none;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    margin-bottom: 16px;
}

.pt-feature-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* ---- ESTILOS DE CARD (4 variantes para elección) ---- */

/* STYLE A: Borde acento arriba, imagen natural, texto izquierda */
.pt-feat-style-a {
    padding: 0;
    text-align: left;
    border-top: 4px solid var(--pt-primary);
}
.pt-feat-style-a .pt-feature-img {
    border-radius: 16px 16px 0 0;
}
.pt-feat-style-a .pt-feat-body {
    padding: 18px 20px 22px;
}

/* STYLE B: Header rojo oscuro, imagen centrada con sombra */
.pt-feat-style-b {
    padding: 0;
    text-align: center;
}
.pt-feat-style-b .pt-feat-header {
    background: var(--pt-accent);
    padding: 18px 10px 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 20px 20px 0 0;
}
.pt-feat-style-b .pt-feat-header .pt-feature-img {
    width: 84%;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.pt-feat-style-b .pt-feat-body {
    padding: 18px 20px 22px;
}

/* STYLE C: Split horizontal — fondo rosa izq, texto derecha */
.pt-feat-style-c {
    padding: 0;
    display: flex;
    align-items: stretch;
    text-align: left;
}
.pt-feat-style-c .pt-feat-img-side {
    background: var(--pt-surface);
    width: 44%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 20px 0 0 20px;
}
.pt-feat-style-c .pt-feat-img-side .pt-feature-img {
    border-radius: 10px;
}
.pt-feat-style-c .pt-feat-body {
    padding: 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* STYLE D: Imagen ocupa toda la card, texto en overlay degradado */
.pt-feat-style-d {
    padding: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 9 / 16;
}
.pt-feat-style-d .pt-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.pt-feat-style-d .pt-feat-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 22px;
    background: linear-gradient(to top,
        rgba(119,27,27,0.94) 0%,
        rgba(119,27,27,0.60) 55%,
        transparent 100%);
    text-align: left;
}
.pt-feat-style-d .pt-feature-card-title { color: var(--pt-white) !important; }
.pt-feat-style-d .pt-feature-card-text  { color: rgba(255,255,255,0.82) !important; }

.pt-feature-card-title {
    font-size: clamp(14px, 1.5vw, 16px) !important;
    font-weight: 700 !important;
    color: var(--pt-text-on-light) !important;
    margin: 0 0 10px !important;
    line-height: 1.3 !important;
}

.pt-feature-card-text {
    font-size: clamp(12px, 1.3vw, 14px) !important;
    color: var(--pt-text-body) !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* --- VISUAL / VIDEO SECTION --- */
.pt-visual-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title   video"
        "bullets video";
    column-gap: 64px;
    row-gap: 28px;
    align-items: start;
}

.pt-visual-title {
    grid-area: title;
    align-self: end;
}

.pt-visual-video {
    grid-area: video;
    display: flex;
    justify-content: center;
    align-self: center;
}

.pt-phone-frame {
    width: 220px;
    aspect-ratio: 9 / 19;
    background: #1a1a1a;
    border-radius: 36px;
    border: 6px solid #2e2e2e;
    box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08);
    overflow: hidden;
    position: relative;
}


.pt-app-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-bullets {
    grid-area: bullets;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pt-bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pt-bullet-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pt-surface);
    border-radius: 10px;
    overflow: hidden;
    padding: 6px;
}

.pt-bullet-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pt-bullet-text {
    color: var(--pt-text-body);
    font-size: clamp(13px, 1.3vw, 15px);
    line-height: 1.55;
    margin: 0;
    padding-top: 8px;
}

/* Tablet: título → vídeo centrado → bullets en 2 columnas */
@media (max-width: 767px) {
    .pt-visual-inner {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "title   title"
            "video   video"
            "bullets bullets";
        column-gap: 20px;
        row-gap: 32px;
        text-align: center;
    }

    .pt-visual-video {
        justify-content: center;
    }

    .pt-bullets {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        text-align: left;
    }

    .pt-phone-frame {
        width: 180px;
    }
}

/* Móvil: todo en una columna */
@media (max-width: 479px) {
    .pt-visual-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "video"
            "bullets";
    }

    .pt-bullets {
        grid-template-columns: 1fr;
    }

    .pt-phone-frame {
        width: 160px;
    }
}


/* --- BOTONES EN FONDO PRIMARY (pt-section-alt) --- */
.pt-section-alt .pt-btn-primary {
    background: var(--pt-white);
    color: var(--pt-primary) !important;
    border-color: var(--pt-white);
}

.pt-section-alt .pt-btn-primary:hover,
.pt-section-alt .pt-btn-primary:focus {
    background: var(--pt-surface);
    border-color: var(--pt-surface);
    color: var(--pt-accent) !important;
}

.pt-section-alt .pt-btn-secondary {
    color: var(--pt-white) !important;
    border-color: rgba(255, 255, 255, 0.40);
}

.pt-section-alt .pt-btn-secondary:hover,
.pt-section-alt .pt-btn-secondary:focus {
    border-color: var(--pt-white);
    color: var(--pt-white) !important;
}

/* --- PLAN CARDS --- */
.pt-plans-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 48px auto 0;
    max-width: 800px;
    text-align: left;
}

.pt-plan-card {
    background: var(--pt-white);
    border-radius: 24px;
    padding: 36px 28px 32px;
    position: relative;
}

.pt-plan-free {
    border: 2px solid rgba(255, 255, 255, 0.30);
}

.pt-plan-premium {
    border: 2px solid var(--pt-white);
    box-shadow: 0 8px 40px rgba(119, 27, 27, 0.25);
}

.pt-plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pt-accent);
    color: var(--pt-white);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.pt-plan-name {
    font-size: clamp(20px, 2.2vw, 24px) !important;
    font-weight: 800 !important;
    color: var(--pt-text-on-light) !important;
    margin: 0 0 24px !important;
    line-height: 1.2 !important;
    text-align: center;
}

.pt-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pt-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--pt-table-border);
    color: var(--pt-text-body);
    font-size: clamp(13px, 1.3vw, 14px);
    line-height: 1.5;
}

.pt-plan-features li:last-child {
    border-bottom: none;
}

.pt-plan-tomato {
    flex-shrink: 0;
    font-size: 15px;
    line-height: 1.5;
}

.pt-compare-store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .pt-plans-grid {
        grid-template-columns: 1fr;
    }
}

.pt-btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
}

.pt-btn-primary {
    background: var(--pt-primary);
    color: var(--pt-white) !important;
    border: 2px solid var(--pt-primary);
}

.pt-btn-primary:hover,
.pt-btn-primary:focus {
    background: var(--pt-accent);
    border-color: var(--pt-accent);
    color: var(--pt-white) !important;
}

.pt-btn-secondary {
    background: transparent;
    color: var(--pt-text-on-light) !important;
    border: 2px solid var(--pt-btn-secondary-border);
}

.pt-btn-secondary:hover,
.pt-btn-secondary:focus {
    border-color: var(--pt-text-on-light);
    color: var(--pt-text-on-light) !important;
}

/* --- REVIEWS --- */
#pt-reviews .review-app {
    color: var(--pt-surface) !important;
}

/* --- FAQ --- */
.pt-faq-accordion {
    max-width: 720px;
    margin: 48px auto 0;
}

.pt-faq-panel.panel {
    border: none !important;
    border-bottom: 1px solid var(--pt-faq-border) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.pt-faq-panel .panel-heading {
    background: transparent !important;
    border: none !important;
    padding: 0;
}

.pt-faq-panel .panel-title {
    font-size: inherit;
}

.pt-faq-panel .panel-title a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    color: var(--pt-text-on-light) !important;
    text-decoration: none !important;
    line-height: 1.4;
}

.pt-faq-panel .panel-title a:hover,
.pt-faq-panel .panel-title a:focus {
    color: var(--pt-primary) !important;
    text-decoration: none !important;
}

.pt-faq-arrow {
    font-size: 11px !important;
    color: var(--pt-primary);
    transition: transform 0.25s;
    flex-shrink: 0;
    margin-left: 16px;
}

.pt-faq-panel .panel-collapse.in .pt-faq-arrow {
    transform: rotate(180deg);
}

.pt-faq-panel .panel-body {
    font-size: clamp(14px, 1.4vw, 16px) !important;
    color: var(--pt-text-body) !important;
    line-height: 1.75 !important;
    padding: 0 4px 20px !important;
    border-top: none !important;
    text-align: left !important;
}

/* FAQ sobre fondo oscuro (pt-section-alt) */
#pt-faq.pt-section-alt .pt-faq-panel.panel {
    border-bottom-color: rgba(255,255,255,0.20) !important;
}
#pt-faq.pt-section-alt .pt-faq-panel .panel-title a {
    color: var(--pt-text-on-dark) !important;
}
#pt-faq.pt-section-alt .pt-faq-panel .panel-title a:hover,
#pt-faq.pt-section-alt .pt-faq-panel .panel-title a:focus {
    color: var(--pt-surface) !important;
}
#pt-faq.pt-section-alt .pt-faq-arrow {
    color: var(--pt-surface);
}
#pt-faq.pt-section-alt .pt-faq-panel .panel-body {
    color: rgba(255,255,255,0.75) !important;
}

/* --- CONTACT & FOOTER (paleta Pomodoro) --- */
#contact {
    background: var(--pt-accent);
    padding: 60px 0 !important;
}

#contact .contact-title {
    color: var(--pt-white);
    font-size: clamp(22px, 3vw, 36px) !important;
    margin-bottom: 16px;
}

#contact hr {
    border-color: rgba(255, 255, 255, 0.15);
}

#contact .contact-description {
    font-size: clamp(14px, 1.4vw, 16px) !important;
    margin-bottom: 12px;
    color: var(--pt-hero-sub-color);
}

#contact .contact-email-link {
    font-size: clamp(15px, 1.6vw, 18px) !important;
}

#contact .contact-email-link,
#contact a {
    color: var(--pt-surface) !important;
}

#contact .contact-email-link:hover {
    color: var(--pt-white) !important;
    text-decoration: none;
}

nav#footer {
    background: var(--pt-accent);
    border-bottom: 5px solid var(--pt-primary);
    padding: 28px 0 !important;
}

nav#footer a,
nav#footer .footer-copyright-text {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 13px !important;
}

nav#footer .footer-links {
    font-size: 13px !important;
}

nav#footer a:hover {
    color: var(--pt-surface) !important;
}

nav#footer span.fa {
    color: var(--pt-surface);
    font-size: 14px !important;
    margin-left: 6px;
}

/* --- CTA FINAL --- */
#pt-cta {
    background: var(--pt-white);
    padding: 100px 0;
    color: var(--pt-text-on-light);
}

.pt-cta-headline {
    font-size: clamp(28px, 5vw, 58px) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: var(--pt-text-on-light) !important;
    margin-bottom: 20px;
    line-height: 1.15 !important;
}

.pt-cta-sub {
    font-size: clamp(15px, 2vw, 20px) !important;
    color: var(--pt-text-body) !important;
    max-width: 560px;
    margin: 0 auto 44px !important;
    line-height: 1.65 !important;
    text-align: center !important;
}
