/* ══════════════════════════════════════════
       LANDING — global overrides
    ══════════════════════════════════════════ */
body {
    display: block;
    padding: 0;
    margin: 0;
    background: #0d1420;
    color: #e4e9f2;
    overflow-x: hidden;
}

/* ══════════════════════════════════════════
       NAV
    ══════════════════════════════════════════ */
.lp-nav {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    background: rgba(13, 20, 32, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: padding 0.3s;
}

.lp-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lp-nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.lp-nav-logo span {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.lp-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--teal, #00B4C5);
    color: #fff;
    border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.lp-nav-cta:hover {
    background: #0096a6;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 180, 197, 0.35);
    color: #fff;
    text-decoration: none;
}

/* ══════════════════════════════════════════
       HERO
    ══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

/* Radial glow background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(0, 180, 197, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 216, 77, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Sound wave SVG decoration */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    opacity: 0.06;
    pointer-events: none;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px;
    border-radius: 99px;
    background: rgba(0, 180, 197, 0.1);
    border: 1px solid rgba(0, 180, 197, 0.25);
    color: #00B4C5;
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease both;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
    margin: 0 0 24px;
    max-width: 820px;
    animation: fadeInUp 0.7s 0.1s ease both;
}

.hero-title em {
    font-style: normal;
    color: #00B4C5;
    position: relative;
}

/* Underline accent on "deeper" */
.hero-title em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00B4C5, #FFD84D);
    border-radius: 99px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 300;
    color: rgba(228, 233, 242, 0.72);
    max-width: 560px;
    line-height: 1.7;
    margin: 0 auto 44px;
    animation: fadeInUp 0.7s 0.2s ease both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #fff;
    color: #1A2744;
    border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.7s 0.3s ease both;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-cta:hover {
    background: #00B4C5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 180, 197, 0.35);
    text-decoration: none;
}

.hero-cta svg {
    transition: transform 0.2s;
}

.hero-cta:hover svg {
    transform: translateX(3px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s 0.8s ease both;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.hero-scroll-hint svg {
    animation: bounce 2s ease infinite;
}

/* ── Hero Logo ── */
.hero-logo-wrap {
    position: relative;
    margin-bottom: 36px;
    animation: fadeInUp 0.55s ease both;
}

.hero-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 197, 0.18) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.hero-logo {
    width: clamp(140px, 22vw, 141px);
    height: auto;
    display: block;
    position: relative;
    filter: drop-shadow(0 8px 32px rgba(0, 180, 197, 0.25)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease, filter 0.4s ease;
    border-radius: 17px;
}

.hero-logo:hover {
    transform: scale(1.04) translateY(-3px);
    filter: drop-shadow(0 16px 48px rgba(0, 180, 197, 0.4)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

/* ══════════════════════════════════════════
       SECTION SHARED
    ══════════════════════════════════════════ */
.lp-section {
    padding: 100px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #00B4C5;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.section-lead {
    font-size: 1.05rem;
    color: rgba(228, 233, 242, 0.6);
    font-weight: 300;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 60px;
}

/* ══════════════════════════════════════════
       SECTION B — PILLARS
    ══════════════════════════════════════════ */
.pillars-section {
    background: #111826;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.pillar-card:hover {
    border-color: rgba(0, 180, 197, 0.3);
    transform: translateY(-4px);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent, #00B4C5);
    opacity: 0;
    transition: opacity 0.3s;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-num {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 180, 197, 0.12);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.05em;
}

.pillar-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.pillar-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.pillar-desc {
    font-size: 0.88rem;
    color: rgba(228, 233, 242, 0.55);
    line-height: 1.65;
    font-weight: 300;
}

/* ══════════════════════════════════════════
       SECTION C — GAMES SHOWCASE
    ══════════════════════════════════════════ */
.games-showcase-section {
    background: #111826;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.showcase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 180, 197, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.showcase-card--soon {
    opacity: 0.7;
    cursor: default;
}

.showcase-card--soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.showcase-card-header {
    position: relative;
    padding: 32px 28px 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.showcase-icon {
    font-size: 2.4rem;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.showcase-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--teal-dark);
    backdrop-filter: blur(8px);
    border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
}

.showcase-live-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.showcase-new-badge {
    background: var(--teal-dark);
}

.showcase-card-body {
    padding: 24px 28px 28px;
}

.showcase-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

.showcase-desc {
    font-size: 0.875rem;
    color: rgba(228, 233, 242, 0.6);
    line-height: 1.7;
    font-weight: 300;
    margin: 0 0 20px;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.showcase-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    font-size: 0.72rem;
    color: rgba(228, 233, 242, 0.65);
    font-weight: 500;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .showcase-card-header {
        padding: 24px 22px 20px;
    }

    .showcase-card-body {
        padding: 20px 22px 24px;
    }
}



/* ══════════════════════════════════════════
       SECTION E — FAQ
    ══════════════════════════════════════════ */
.faq-section {
    background: #0d1420;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 24px 120px;
}

.faq-section .lp-section {
    max-width: 780px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: rgba(0, 180, 197, 0.25);
}

.faq-item.open {
    border-color: rgba(0, 180, 197, 0.35);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.faq-question:hover {
    color: var(--black)
}

.faq-item.open .faq-question {
    color: var(--teal);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
    color: var(--white);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(0, 180, 197, 0.15);
    border-color: rgba(0, 180, 197, 0.4);
    color: #00B4C5;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

.faq-answer-inner {
    padding: 0 28px 24px;
    font-size: 0.92rem;
    color: rgba(228, 233, 242, 0.62);
    line-height: 1.8;
    font-weight: 300;
}

.faq-answer-inner strong {
    color: rgba(228, 233, 242, 0.9);
    font-weight: 500;
}

.faq-answer-inner a {
    color: #00B4C5;
    text-decoration: none;
}

.faq-answer-inner a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .faq-question {
        font-size: 0.92rem;
        padding: 20px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
    }
}

/* ══════════════════════════════════════════
       SECTION D — LOGIN FORM
    ══════════════════════════════════════════ */
.login-section {
    background: #111826;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 24px 120px;
}

.login-section-inner {
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}

.login-card,
.main-card {
    background: #fff;
    border-radius: 24px;
    padding: 44px 40px;
    margin: 40px auto;
    /* Centrado horizontal en display:block */
    text-align: left;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    max-width: 460px;
    width: 100%;
}

/* Top shimmer stripe */
.login-card::before,
.main-card::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00B4C5, #FFD84D, #00B4C5);
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.login-card img.logo,
.main-card img.logo {
    width: 60px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 12px;
}

.login-card h2,
.main-card h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1A2744;
    letter-spacing: -0.03em;
    text-align: center;
    margin: 0 0 4px;
}

.login-card .card-subtitle,
.main-card .card-subtitle {
    font-size: 0.85rem;
    color: #6b7a99;
    text-align: center;
    margin-bottom: 28px;
    display: block;
    margin-top: 4px;
}

.login-card label,
.main-card label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #1A2744;
    margin-bottom: 6px;
}

.login-card input[type="text"],
.login-card input[type="password"],
.main-card input[type="text"],
.main-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1.5px solid rgba(26, 39, 68, 0.12);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #1A2744;
    background: #f4f7fa;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    outline: none;
}

.login-card input:focus,
.main-card input:focus {
    border-color: #00B4C5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 180, 197, 0.12);
}

.login-card input::placeholder {
    color: #aab4c8;
}

.recaptcha-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    transform: scale(0.9);
    transform-origin: center;
    width: 100%;
    min-height: 78px;
    overflow: hidden;
}

/* Mobile reCAPTCHA fix */
@media (max-width: 480px) {
    .recaptcha-wrapper {
        transform: scale(0.8);
        margin: 15px -10px 20px -10px;
    }

    .recaptcha-wrapper iframe {
        max-width: 100% !important;
    }
}

@media (max-width: 360px) {
    .login-card .recaptcha-wrapper {
        transform: scale(0.7);
        margin: 15px -20px 20px -20px;
    }
}

.login-card button[type="submit"],
.main-card button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: #1A2744;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Syne', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
}

.login-card button[type="submit"]:hover,
.main-card button[type="submit"]:hover {
    background: #00B4C5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 180, 197, 0.3);
}

.alert-error {
    color: #E05A44;
    background: #fff5f3;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(224, 90, 68, 0.22);
    font-size: 0.85rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error::before {
    content: '⚠';
    flex-shrink: 0;
}

.card-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7a99;
}

.card-footer a {
    color: #00B4C5;
    font-weight: 500;
}

.card-footer a:hover {
    color: #0096a6;
}

/* ══════════════════════════════════════════
       ANIMATIONS (reveal on scroll)
    ══════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════════════
       SECTION — SPEAKING PRACTICE
    ══════════════════════════════════════════ */
.speaking-section {
    background: #0d1420;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Diagonal accent band */
.speaking-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(255, 216, 77, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.speaking-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

/* Left: text column */
.speaking-text .speaking-hook {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin: 0 0 20px;
}

.speaking-text .speaking-hook em {
    font-style: normal;
    color: #FFD84D;
    position: relative;
}

.speaking-text .speaking-hook em::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD84D, rgba(255, 216, 77, 0));
    border-radius: 99px;
}

.speaking-text .speaking-body {
    font-size: 0.97rem;
    color: rgba(228, 233, 242, 0.62);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px;
}

.speaking-text .speaking-body strong {
    color: rgba(228, 233, 242, 0.88);
    font-weight: 500;
}

.speaking-lang-pills {
    display: flex;
    gap: 10px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 99px;
    font-family: 'Syne', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform 0.2s, box-shadow 0.2s;
}

.lang-pill:hover {
    transform: translateY(-2px);
}

.lang-pill--es {
    background: rgba(255, 216, 77, 0.12);
    border: 1px solid rgba(255, 216, 77, 0.3);
    color: #FFD84D;
}

.lang-pill--en {
    background: rgba(0, 180, 197, 0.1);
    border: 1px solid rgba(0, 180, 197, 0.3);
    color: #00B4C5;
}

/* Right: visual card grid */
.speaking-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.speaking-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 22px 18px;
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.speaking-card:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 216, 77, 0.2);
    transform: translateY(-3px);
}

/* Accent top stripe per card */
.speaking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sc-accent, #FFD84D);
    opacity: 0;
    transition: opacity 0.3s;
}

.speaking-card:hover::before {
    opacity: 1;
}

.speaking-card-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.speaking-card-label {
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sc-accent, #FFD84D);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.speaking-card-desc {
    font-size: 0.8rem;
    color: rgba(228, 233, 242, 0.5);
    line-height: 1.55;
    font-weight: 300;
}

/* Wide card spanning 2 cols */
.speaking-card--wide {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
}

.speaking-card--wide .speaking-card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.speaking-stat-big {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 2px;
}

.theme-toggle {
    display: none;
}

/* ── Modal Styles ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    max-width: 520px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay:not(.hidden) .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.modal-header h2 {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.rule-num {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-coral);
    min-width: 24px;
    text-align: center;
}

.bonus-box {
    background: rgba(255, 216, 77, 0.1);
    border: 1px solid rgba(255, 216, 77, 0.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.bonus-icon {
    font-size: 1.4rem;
}

.btn-start {
    width: 100%;
    padding: 14px;
    background: var(--teal) !important;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-start:hover {
    background: var(--teal-dark) !important;
    transform: translateY(-1px);
}

.rules-trigger {
    color: var(--white) !important;
    background-color: var(--teal) !important;
}

/* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
@media (max-width: 768px) {
    .lp-nav {
        padding: 14px 20px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .philosophy-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .lp-section {
        padding: 72px 20px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .hero-scroll-hint {
        display: none;
    }

    .speaking-inner {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .speaking-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* ══════════════════════════════════════════
   PASSWORD VISIBILITY TOGGLE
══════════════════════════════════════════ */
.password-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    display: block;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0 !important;
    padding-right: 44px !important;
}

.password-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 42px;
    background: none;
    border: none;
    cursor: pointer;
    color: #8e9ab5;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    outline: none;
    user-select: none;
    border-radius: 0 10px 10px 0;
}

.password-toggle:hover {
    color: #1A2744;
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}