:root {
    --primary-color: #4285f4;
    --accent-pink: #d96570;
    --accent-purple: #9b72cb;
    --bg-dark: #050505;
    --text-light: #f0f0f0;
    --text-dim: #a0a0a0;
    --text-muted: #6b6b6b;
    --glass-bg: rgba(20, 20, 20, 0.4);
    --glass-bg-strong: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-border-strong: rgba(255, 255, 255, 0.18);
    /* FIX UI 2026-05-12: Gemini gradient tokens — usados en CTAs, icons, links,
       hover-glows. Mantenemos los 3 colores corporativos en orden 135deg. */
    --grad-gemini: linear-gradient(135deg, #4285f4 0%, #9b72cb 50%, #d96570 100%);
    --grad-gemini-soft: linear-gradient(135deg, rgba(66,133,244,0.18), rgba(155,114,203,0.15) 50%, rgba(217,101,112,0.12));
    --gemini-glow: 0 8px 24px rgba(155, 114, 203, 0.35);
    --gemini-glow-strong: 0 12px 32px rgba(155, 114, 203, 0.45);
    --ease-gem: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body, html {
    width: 100%;
    min-height: 100%;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;   /* solo no horizontal */
    overflow-y: auto;     /* permite scroll vertical en todas las páginas (landing tiene cards + access + footer) */
}

body.doc {
    overflow-y: auto;
}

#app {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ui-container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2.5rem;
}

/* ─────────── Header ─────────── */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #4285f4, #9b72cb, #d96570);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo.small { font-size: 1.1rem; }

.nav {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.nav a:hover { color: var(--text-light); }

/* ─────────── Content layout ─────────── */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 3rem;
}

/* ─────────── Hero ─────────── */
.hero {
    text-align: center;
    max-width: 760px;
    animation: fadeIn 1s ease-out;
}

.tag {
    /* FIX UI 2026-05-12: tag con gradient border + glow sutil estilo Gemini */
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.10), rgba(155, 114, 203, 0.14), rgba(217, 101, 112, 0.10));
    border: 1px solid rgba(155, 114, 203, 0.35);
    color: #d4bff0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(155, 114, 203, 0.18);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.3rem;
}

.hero .lead {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto;
}

/* ─────────── Tools grid ─────────── */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    width: 100%;
    animation: fadeIn 1s ease-out 0.15s backwards;
}

.tool-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.8rem;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* When the card is an <a>, reset link defaults.
   text-decoration: matamos el underline en TODOS los descendientes.
   color: solo en el propio <a> y :visited (no children — preserva colores específicos
   tipo .tool-cta blue, .tool-feats li dim, etc). */
.tool-card,
.tool-card:link,
.tool-card:visited,
.tool-card:hover,
.tool-card:active {
    text-decoration: none;
    color: var(--text-light);
}
.tool-card * {
    text-decoration: none;
}

.tool-card:hover {
    transform: translateY(-3px);
    /* FIX UI 2026-05-12: borde Gemini blue + glow púrpura sutil en hover */
    border-color: rgba(66, 133, 244, 0.35);
    background: var(--glass-bg-strong);
    box-shadow: 0 16px 40px rgba(66, 133, 244, 0.12),
                0 0 0 1px rgba(155, 114, 203, 0.10);
}

.tool-card:hover .tool-cta {
    color: #fff;
    transform: translateX(3px);
}

.tool-card:hover .tool-icon {
    /* Realza el icon en hover: bg gradient revela + icono blanco */
    background: var(--grad-gemini);
    color: #fff;
    box-shadow: 0 6px 18px rgba(66, 133, 244, 0.35);
}

.tool-cta {
    display: inline-block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    /* FIX UI 2026-05-12: Gemini blue corporativo en lugar del light blue genérico */
    color: #4285f4;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
}

.tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* FIX UI 2026-05-12: bg con gemini-soft + icon color gemini-blue */
    background: var(--grad-gemini-soft);
    color: #4285f4;
    margin-bottom: 1.2rem;
    transition: background 0.35s var(--ease-gem),
                color 0.35s var(--ease-gem),
                box-shadow 0.35s var(--ease-gem);
}

.tool-icon svg {
    width: 24px;
    height: 24px;
}

.tool-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.status-live {
    background: rgba(52, 199, 89, 0.15);
    color: #4ade80;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.status-beta {
    background: rgba(245, 197, 24, 0.13);
    color: #fbbf24;
    border: 1px solid rgba(245, 197, 24, 0.3);
}

.status-soon {
    background: rgba(155, 114, 203, 0.15);
    color: #c4a8e8;
    border: 1px solid rgba(155, 114, 203, 0.3);
}

.tool-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.tool-card > p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
}

.tool-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tool-feats li {
    color: var(--text-dim);
    font-size: 0.82rem;
    padding-left: 1.2rem;
    position: relative;
}

.tool-feats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4285f4, #9b72cb);
}

/* ─────────── Access card ─────────── */
.access-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* FIX UI 2026-05-12: borde con accent Gemini blue + glow sutil */
    border: 1px solid rgba(66, 133, 244, 0.22);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 620px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(155, 114, 203, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.access-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.access-card > p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.access-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.access-form .input-field {
    flex: 1;
    min-width: 200px;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.access-form .input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.2);
}

.access-form .primary-btn {
    /* FIX UI 2026-05-12: Gemini gradient primary CTA */
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: var(--grad-gemini);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.3);
    transition: background-position 0.45s var(--ease-gem),
                box-shadow 0.3s var(--ease-gem),
                transform 0.25s var(--ease-gem);
}

.access-form .primary-btn:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: var(--gemini-glow-strong);
}

/* ─────────── Trust row ─────────── */
.trust-row {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    /* FIX UI 2026-05-12: Gemini blue corporativo */
    color: #4285f4;
}

/* ─────────── Footer ─────────── */
.footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand .footer-tagline {
    margin-top: 0.3rem;
    color: var(--text-muted);
}

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-legal {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--glass-border);
    max-width: 1180px;
    margin: 0 auto;
}

/* ─────────── Animations ─────────── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─────────── Doc page styles (privacy / terms) ─────────── */
body.doc .ui-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

body.doc .doc-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* FIX UI 2026-05-12: borde Gemini blue accent + glow sutil */
    border: 1px solid rgba(66, 133, 244, 0.18);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 0 0 0 1px rgba(155, 114, 203, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
    animation: fadeIn 0.6s ease-out;
}

body.doc h1 {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
}

body.doc .last-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    display: block;
}

body.doc h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.7rem;
    color: var(--text-light);
    letter-spacing: -0.01em;
}

body.doc h2:first-of-type {
    margin-top: 0;
}

body.doc h3 {
    font-size: 1.02rem;
    font-weight: 500;
    margin-top: 1.4rem;
    margin-bottom: 0.4rem;
    color: var(--text-light);
}

body.doc p, body.doc li {
    color: var(--text-dim);
    line-height: 1.65;
    font-size: 0.96rem;
    margin-bottom: 0.9rem;
}

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

body.doc li {
    margin-bottom: 0.4rem;
}

body.doc strong {
    color: var(--text-light);
    font-weight: 500;
}

body.doc a {
    /* FIX UI 2026-05-12: Gemini blue corporativo en lugar del light blue */
    color: #4285f4;
    text-decoration: none;
    border-bottom: 1px solid rgba(66, 133, 244, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}

body.doc a:hover {
    color: #5897ff;
    border-bottom-color: #4285f4;
}

body.doc code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
    font-size: 0.85em;
    color: #c4a8e8;
}

body.doc .doc-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: none;
}

body.doc .doc-back:hover {
    color: var(--text-light);
    border-bottom: none;
}

body.doc .doc-back::before {
    content: '←';
}

/* ─────────── Tool detail pages (/sniper-hub, /stock-control, /pricepricer) ─────────── */
.tool-page {
    align-items: stretch;
}

.back-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 1rem;
    align-self: flex-start;
    transition: color 0.2s ease;
}

.back-link:hover {
    /* FIX UI 2026-05-12: hover Gemini blue corporativo */
    color: #4285f4;
}

.tool-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.tool-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* FIX UI 2026-05-12: Gemini gradient bg (más vivo) + icon blanco */
    background: var(--grad-gemini);
    color: #ffffff;
    margin: 0 auto 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 12px 28px rgba(66, 133, 244, 0.30),
                0 0 0 1px rgba(155, 114, 203, 0.15);
}

.tool-hero-icon svg {
    width: 32px;
    height: 32px;
}

.tool-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.tool-hero .lead {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-row {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-row .primary-btn {
    /* FIX UI 2026-05-12: Gemini gradient primary CTA */
    padding: 0.85rem 1.6rem;
    border-radius: 12px;
    border: none;
    background: var(--grad-gemini);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.3);
    transition: background-position 0.45s var(--ease-gem),
                box-shadow 0.3s var(--ease-gem),
                transform 0.25s var(--ease-gem);
}

.cta-row .primary-btn:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: var(--gemini-glow-strong);
}

.secondary-btn-inline {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    padding: 0.85rem 1rem;
    transition: color 0.2s ease;
}

.secondary-btn-inline:hover {
    color: var(--text-light);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 1180px;
    margin: 1rem auto 0;
    animation: fadeIn 1s ease-out 0.15s backwards;
}

.feat {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.4rem;
    /* FIX UI 2026-05-12: hover suave Gemini blue para feat cards */
    transition: border-color 0.3s var(--ease-gem),
                background 0.3s var(--ease-gem),
                box-shadow 0.3s var(--ease-gem);
}

.feat:hover {
    border-color: rgba(66, 133, 244, 0.30);
    background: var(--glass-bg-strong);
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.10);
}

.feat h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.feat p {
    color: var(--text-dim);
    font-size: 0.87rem;
    line-height: 1.55;
    margin: 0;
}

.signin-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* FIX UI 2026-05-12: borde Gemini blue accent + glow */
    border: 1px solid rgba(66, 133, 244, 0.22);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 560px;
    margin: 1rem auto 0;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(155, 114, 203, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.signin-card h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.signin-card > p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    font-size: 0.95rem;
}

.signin-card .primary-btn {
    /* FIX UI 2026-05-12: Gemini gradient primary CTA */
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    border: none;
    background: var(--grad-gemini);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(66, 133, 244, 0.3);
    transition: background-position 0.45s var(--ease-gem),
                box-shadow 0.3s var(--ease-gem),
                transform 0.25s var(--ease-gem);
}

.signin-card .primary-btn:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: var(--gemini-glow-strong);
}

.finetext {
    margin-top: 1.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.finetext a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ─────────── PricePricer coming-soon band ─────────── */
.coming-soon-band {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* FIX UI 2026-05-12: borde Gemini blue accent + glow púrpura (coming soon vibe) */
    border: 1px solid rgba(155, 114, 203, 0.25);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 620px;
    margin: 1rem auto 0;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(66, 133, 244, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cs-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* FIX UI 2026-05-12: gradient suave Gemini para iconografía coming-soon */
    background: var(--grad-gemini-soft);
    color: #d4bff0;
    margin: 0 auto 1.2rem;
    border: 1px solid rgba(155, 114, 203, 0.20);
    box-shadow: 0 6px 18px rgba(155, 114, 203, 0.20);
}

.cs-icon svg {
    width: 28px;
    height: 28px;
}

.coming-soon-band h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.coming-soon-band p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.55;
    font-size: 0.95rem;
}

.coming-soon-band .secondary-btn {
    display: inline-block;
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border-strong);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.coming-soon-band .secondary-btn:hover {
    /* FIX UI 2026-05-12: hover Gemini blue accent en lugar de white-on-white */
    background: rgba(66, 133, 244, 0.10);
    border-color: rgba(66, 133, 244, 0.45);
    color: #fff;
    box-shadow: 0 6px 18px rgba(66, 133, 244, 0.20);
    transform: translateY(-1px);
}

/* ─────────── Login page ─────────── */
.login-content {
    justify-content: center;
    flex: 1;
}

.glass-card.login-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* FIX UI 2026-05-12: borde Gemini blue accent + glow púrpura sutil */
    border: 1px solid rgba(66, 133, 244, 0.25);
    border-radius: 24px;
    padding: 2.8rem;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(155, 114, 203, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.8s ease-out;
    margin: 0 auto;
}

.login-card h1 {
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.login-card > p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.login-card .amazon-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 12px;
    border: none;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-card .amazon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.25);
    filter: brightness(0.97);
}

.login-card .divider {
    margin: 1.5rem 0;
    position: relative;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.login-card .divider::before, .login-card .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--glass-border);
}

.login-card .divider::before { left: 0; }
.login-card .divider::after { right: 0; }

.login-card .form-group { margin-bottom: 0.8rem; }

.login-card .input-field {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-card .input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.2);
}

.login-card .secondary-btn {
    width: 100%;
    padding: 0.85rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-card .secondary-btn:hover {
    /* FIX UI 2026-05-12: hover con Gemini blue accent border + glow */
    background: rgba(66, 133, 244, 0.08);
    border-color: rgba(66, 133, 244, 0.40);
    box-shadow: 0 6px 18px rgba(66, 133, 244, 0.18);
    transform: translateY(-1px);
}

.login-finetext {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.login-finetext a {
    /* FIX UI 2026-05-12: Gemini blue corporativo */
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.login-finetext a:hover {
    color: #5897ff;
    text-decoration: underline;
    text-decoration-color: rgba(66, 133, 244, 0.5);
    text-underline-offset: 3px;
}

.login-legal {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 1.5rem auto 0;
    max-width: 440px;
}

.login-legal a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.login-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ─────────── Responsive ─────────── */
@media (max-width: 720px) {
    .ui-container {
        padding: 1.2rem 1.3rem;
    }
    .header {
        margin-bottom: 2.5rem;
    }
    .content {
        gap: 2.5rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .access-card {
        padding: 1.8rem;
    }
    .access-form {
        flex-direction: column;
    }
    .footer-row {
        flex-direction: column;
        gap: 1.2rem;
    }
}
