/* ==========================================================================
   TAPGO HOMEPAGE STYLES
   Colors: #B7F51E (lime green) · #111111 (black) · #FFFFFF (white)
   ========================================================================== */

/* Global overflow guard — prevents ANY element from causing horizontal scroll */
html { overflow-x: hidden; }

/* --------------------------------------------------------------------------
   TAPGO CSS VARIABLES
   -------------------------------------------------------------------------- */
body.tapgo-homepage {
    --tg-green:   #B7F51E;
    --tg-green-d: #9fd919;
    --tg-black:   #111111;
    --tg-gray:    #F5F5F5;
    --tg-border:  #E8E8E8;
    --tg-muted:   #6B6B6B;
    --tg-white:   #FFFFFF;

    font-family: 'Inter', sans-serif;
    background: #ffffff !important;
    color: var(--tg-black);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Override Astra blue/colored backgrounds */
body.tapgo-homepage #page,
body.tapgo-homepage .site-content,
body.tapgo-homepage main,
body.tapgo-homepage .ast-container,
body.tapgo-homepage .entry-content,
body.tapgo-homepage .post-content {
    background: #ffffff !important;
    color: var(--tg-black) !important;
}

body.tapgo-homepage *,
body.tapgo-homepage *::before,
body.tapgo-homepage *::after {
    box-sizing: border-box;
}

/* Hide Astra theme elements */
body.tapgo-homepage .site-header,
body.tapgo-homepage .site-footer,
body.tapgo-homepage #page,
body.tapgo-homepage .ast-container,
body.tapgo-homepage .ast-masthead-custom-menu-items,
body.tapgo-homepage .ast-hfb-header,
body.tapgo-homepage footer:not(.tg-footer) { display: none !important; }

/* --------------------------------------------------------------------------
   SCROLL PROGRESS
   -------------------------------------------------------------------------- */
.tg-scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: var(--tg-green);
    z-index: 99999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.tg-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 9999;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.tg-nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--tg-border);
}

.tg-nav-inner {
    display: flex;
    align-items: center;
    height: 76px;
    max-width: 1280px;
    margin: 0 auto;
    gap: 2rem;
}

.tg-nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.tg-nav-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.tg-nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: clamp(1.25rem, 2.2vw, 3rem);
    align-items: center;
    flex: 1;
    justify-content: center;
}

.tg-nav-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tg-nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--tg-black);
    transition: color 0.2s;
    position: relative;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.tg-nav-links a:hover { color: #555; }

/* Βούλα — κρυφή by default, φαίνεται μόνο στο active li */
.tg-nav-dot {
    display: block;
    width: 5px;
    height: 5px;
    background: var(--tg-green);
    border-radius: 50%;
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.tg-nav-links li.tg-active > a { color: var(--tg-black); font-weight: 600; }
.tg-nav-links li.tg-active .tg-nav-dot { opacity: 1; }

.tg-nav-actions {
    display: none !important;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* --------------------------------------------------------------------------
   LOGIN DROPDOWN (Desktop)
   -------------------------------------------------------------------------- */
.tg-login-dropdown {
    position: relative;
}

.tg-login-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.tg-chevron {
    font-size: 0.68rem;
    transition: transform 0.25s ease;
    opacity: 0.6;
}

.tg-login-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--tg-border);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.97);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 10000;
}

.tg-login-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.tg-login-path {
    padding: 0.6rem 0.5rem 0.75rem;
}

.tg-login-path-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.tg-login-path-emoji { font-size: 1.4rem; line-height: 1; }

.tg-login-path-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--tg-black);
}

.tg-login-path-desc {
    font-size: 0.76rem;
    color: var(--tg-muted);
    margin-top: 0.1rem;
}

.tg-login-path-btns {
    display: flex;
    gap: 0.45rem;
}

.tg-login-sep {
    height: 1px;
    background: var(--tg-border);
    margin: 0 0.5rem;
}

/* Path Buttons */
.tg-path-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex: 1;
    border: none;
}

.tg-path-btn--ghost {
    background: var(--tg-gray);
    color: var(--tg-black);
}
.tg-path-btn--ghost:hover {
    background: #e5e5e5;
    color: var(--tg-black);
}

.tg-path-btn--green {
    background: var(--tg-green);
    color: var(--tg-black);
}
.tg-path-btn--green:hover {
    background: var(--tg-green-d);
    color: var(--tg-black);
    transform: translateY(-1px);
}

.tg-path-btn--outline {
    background: transparent;
    color: var(--tg-black);
    border: 1.5px solid var(--tg-border) !important;
}
.tg-path-btn--outline:hover {
    border-color: #999 !important;
    background: var(--tg-gray);
    color: var(--tg-black);
}

.tg-btn-half { flex: 1; }

/* --------------------------------------------------------------------------
   MOBILE NAV BUTTONS (auth icon + hamburger wrapper)
   -------------------------------------------------------------------------- */
.tg-mobile-nav-btns {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}

.tg-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 1.45rem;
    color: var(--tg-black);
    -webkit-tap-highlight-color: transparent;
    z-index: 10001;
    position: relative;
    outline: none !important;
}

.tg-auth-btn:hover,
.tg-auth-btn:focus { background: transparent !important; outline: none !important; }

@media (min-width: 1024px) {
    .tg-mobile-nav-btns { display: none !important; }
}

/* --------------------------------------------------------------------------
   MOBILE AUTH PANEL (slide from right)
   -------------------------------------------------------------------------- */
.tg-auth-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 90vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 10010;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -6px 0 32px rgba(0,0,0,0.14);
    border-left: 1px solid var(--tg-border);
}

.tg-auth-panel.active { transform: translateX(0); }

.tg-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10009;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.tg-auth-overlay.active { opacity: 1; pointer-events: all; }

.tg-auth-panel-inner {
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    gap: 0;
}

.tg-auth-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.tg-auth-panel-close {
    width: 34px;
    height: 34px;
    background: var(--tg-gray) !important;
    border: none !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--tg-black);
    transition: background 0.2s;
    outline: none !important;
}
.tg-auth-panel-close:hover { background: #e0e0e0 !important; }

.tg-auth-section { padding: 1.2rem 0; }

.tg-auth-section-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tg-black);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.tg-auth-section-desc {
    font-size: 0.8rem;
    color: var(--tg-muted);
    margin: 0 0 1rem 0;
}

.tg-auth-section-btns {
    display: flex;
    gap: 0.5rem;
}

.tg-auth-sep {
    height: 1px;
    background: var(--tg-border);
}

/* Mobile menu CTA (replaces old tg-mobile-actions) */
.tg-mobile-cta {
    width: 100%;
    max-width: 280px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s 0.60s ease, transform 0.4s 0.60s ease;
}
.tg-mobile-menu.active .tg-mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Hamburger */
.tg-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
    position: relative;
}

.tg-hamburger:focus,
.tg-hamburger:active,
.tg-hamburger:hover {
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.tg-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--tg-black) !important;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
}

/* X turns white when dark menu is open */
.tg-hamburger.active span {
    background: #ffffff !important;
}

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

@media (min-width: 1024px) {
    .tg-nav-links              { display: flex; }
    .tg-nav-actions            { display: flex !important; }
    .tg-hamburger              { display: none; }
}

/* Phase 23: phones/tablets — the hamburger was clipped at the right edge.
   Trim nav padding + gap + logo so logo and the mobile buttons
   (theme / auth / hamburger) always fit inside the viewport. */
@media (max-width: 1023px) {
    .tg-nav            { padding: 0 clamp(0.75rem, 3.5vw, 1.4rem); }
    .tg-nav-inner      { gap: 0.5rem; height: 64px; }
    .tg-nav-logo img   { height: 30px; }
    .tg-mobile-nav-btns{ flex-shrink: 0; gap: 0.1rem; margin-left: auto; }
    .tg-auth-btn       { width: 40px; height: 40px; font-size: 1.35rem; }
    .tg-hamburger      { padding: 0.4rem; }
}
@media (max-width: 360px) {
    .tg-nav-logo img   { height: 27px; }
    .tg-auth-btn       { width: 36px; height: 36px; font-size: 1.25rem; }
}

/* Desktop-only: TAP. ORDER. μία γραμμή, flex buttons δίπλα-δίπλα */
@media (min-width: 901px) {
    .tg-hero-title { white-space: nowrap; }
    .tg-hero-ctas  { flex-wrap: nowrap; }
}

/* Nav σε laptop 1024–1340px */
@media (min-width: 1024px) and (max-width: 1340px) {
    .tg-nav-inner        { gap: 0.75rem; }
    .tg-nav-links        { gap: 0.75rem; }
    .tg-nav-links a      { font-size: 0.82rem; }
    .tg-btn-ghost        { font-size: 0.82rem; padding: 0.55rem 0.9rem; }
    .tg-btn-primary      { font-size: 0.82rem; padding: 0.55rem 0.9rem; }
    .tg-nav-logo img     { height: 28px; }
}

/* Admin bar offset για logged-in χρήστες */
body.admin-bar .tg-nav { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .tg-nav { top: 46px; }
}

/* --------------------------------------------------------------------------
   MOBILE MENU — Fullscreen dramatic reveal (clip-path circle expand)
   -------------------------------------------------------------------------- */
.tg-mobile-menu {
    position: fixed;
    inset: 0;
    background: #111111;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 6rem 2rem 3rem;
    overflow: hidden;

    /* Circle expands from hamburger position (top-right) */
    clip-path: circle(0% at calc(100% - 44px) 38px);
    transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.tg-mobile-menu.active {
    clip-path: circle(200% at calc(100% - 44px) 38px);
    pointer-events: all;
}

/* Phase 23c: when the dark (#111) mobile menu is open, the nav stays on top
   (z-index 9999 > 9998). In LIGHT theme the theme-toggle + profile/auth icons
   are dark → invisible on the dark overlay. Force them white while open.
   (In dark theme they're already light, so this is harmless there.) */
body.tg-menu-open .tg-theme-toggle--mobile,
body.tg-menu-open .tg-theme-toggle--mobile i,
body.tg-menu-open .tg-auth-btn,
body.tg-menu-open .tg-auth-btn i {
    color: #fff !important;
}
body.tg-menu-open .tg-theme-toggle--mobile {
    border-color: rgba(255, 255, 255, .45) !important;
}

.tg-mobile-menu ul {
    list-style: none;
    margin: 0 0 3rem 0;
    padding: 0;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Each link item fades+slides in with stagger */
.tg-mobile-menu ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tg-mobile-menu ul li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tg-mobile-menu.active ul li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
.tg-mobile-menu.active ul li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.28s; }
.tg-mobile-menu.active ul li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.36s; }
.tg-mobile-menu.active ul li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }
.tg-mobile-menu.active ul li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.52s; }

.tg-mobile-link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: clamp(1.25rem, 5.5vw, 1.7rem);
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    padding: 1.15rem 1.5rem;
    letter-spacing: -0.015em;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.tg-mobile-link:hover,
.tg-mobile-link:active {
    color: var(--tg-green);
}

.tg-mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s 0.60s ease, transform 0.4s 0.60s ease;
}

.tg-mobile-menu.active .tg-mobile-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Button overrides for dark menu */
.tg-mobile-menu .tg-btn-ghost {
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.tg-mobile-menu .tg-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.tg-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--tg-green);
    color: var(--tg-black);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.tg-btn-primary:hover,
.tg-btn-primary:focus,
.tg-btn-primary:active {
    background: var(--tg-green-d) !important;
    color: var(--tg-black) !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

.tg-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--tg-black);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.tg-btn-ghost:hover,
.tg-btn-ghost:focus,
.tg-btn-ghost:active {
    background: var(--tg-gray) !important;
    color: var(--tg-black) !important;
    box-shadow: none !important;
}

.tg-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--tg-black);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid var(--tg-border);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.tg-btn-outline:hover {
    border-color: #bbb;
    background: var(--tg-gray);
    color: var(--tg-black);
}

.tg-btn-lg {
    font-size: 1.05rem;
    padding: 1rem 2rem;
    border-radius: 10px;
}

.tg-btn-full { width: 100%; justify-content: center; }

.tg-play-icon {
    width: 32px;
    height: 32px;
    background: var(--tg-black);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.tg-hero {
    min-height: 100vh;
    padding-top: 76px;
    display: flex;
    align-items: center;
    background: var(--tg-white);
    overflow: hidden;
}

.tg-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: clamp(2rem, 5vw, 6rem);
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem);
    width: 100%;
}

/* LEFT */
.tg-hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--tg-black);
    background: #f0f0f0;
    border-radius: 50px;
    padding: 0.4rem 1rem 0.4rem 0.4rem;
    width: fit-content;
}

.tg-badge-chip {
    background: var(--tg-green);
    color: var(--tg-black);
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

.tg-hero-title {
    font-size: clamp(2.6rem, 5.8vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--tg-black);
    /* white-space: nowrap μόνο σε desktop — βλ. @media (min-width: 901px) */
}

.tg-accent { color: var(--tg-green); }

.tg-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--tg-muted);
    font-weight: 400;
    line-height: 1.6;
    max-width: 480px;
}

.tg-hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.tg-hero-pills {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--tg-border);
}

.tg-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tg-pill-icon {
    width: 36px;
    height: 36px;
    background: var(--tg-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tg-black);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tg-pill-text strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tg-black);
}

.tg-pill-text span {
    font-size: 0.78rem;
    color: var(--tg-muted);
}

/* RIGHT */
.tg-hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.tg-hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/5;
}

.tg-hero-bg-icon {
    position: absolute;
    inset: -5%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.tg-hero-bg-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    opacity: 0.12;
    border-radius: 24px;
}

.tg-hero-phone {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tg-float 4s ease-in-out infinite;
}

.tg-hero-phone img {
    width: 75%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
}

@keyframes tg-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Mobile hero: stack vertically */
@media (max-width: 900px) {
    .tg-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: start;
    }
    .tg-hero-right    { display: none; }
    .tg-hero-subtitle { margin: 0 auto; }
    .tg-hero-ctas     { justify-content: center; }
    .tg-badge         { margin: 0 auto; }
    .tg-hero-pills    { align-items: center; }
    .tg-pill          { flex-direction: column; text-align: center; gap: 0.4rem; }
    .tg-hero-pills    { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .tg-hero-title    { font-size: clamp(2.6rem, 10vw, 4rem); }
}

@media (max-width: 520px) {
    .tg-hero-ctas { flex-direction: column; width: 100%; }
    .tg-btn-lg    { justify-content: center; }
}

/* --------------------------------------------------------------------------
   STATS BAR
   -------------------------------------------------------------------------- */
.tg-stats-bar {
    background: var(--tg-gray);
    border-top: 1px solid var(--tg-border);
    border-bottom: 1px solid var(--tg-border);
    padding: 2.5rem clamp(1.5rem, 4vw, 4rem);
}

.tg-stats-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tg-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 130px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tg-stat.tg-visible {
    opacity: 1;
    transform: translateY(0);
}

.tg-stat-icon {
    font-size: 1.2rem;
    color: var(--tg-green);
    margin-bottom: 0.25rem;
}

.tg-stat-num {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--tg-black);
    letter-spacing: -0.02em;
}

.tg-stat-label {
    font-size: 0.82rem;
    color: var(--tg-muted);
    font-weight: 400;
}

/* USP bar (replaces stats) */
.tg-usp-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tg-black);
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.tg-usp-icon--green {
    width: 40px;
    height: 40px;
    background: var(--tg-green);
    color: var(--tg-black);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.tg-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--tg-border);
    flex-shrink: 0;
}

@media (max-width: 680px) {
    .tg-stats-inner    { gap: 1.5rem; }
    .tg-stat-divider   { display: none; }
    .tg-stat           { min-width: 120px; }
}

/* --------------------------------------------------------------------------
   SECTIONS (generic)
   -------------------------------------------------------------------------- */
.tg-section {
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}

.tg-section-gray { background: var(--tg-gray); }

.tg-container {
    max-width: 1280px;
    margin: 0 auto;
}

.tg-text-center { text-align: center; }

.tg-section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--tg-green);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tg-section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--tg-black);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.tg-section-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--tg-muted);
    max-width: 540px;
    line-height: 1.65;
    margin-bottom: 3.5rem;
}

.tg-text-center .tg-section-sub { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   HOW IT WORKS — TABS
   -------------------------------------------------------------------------- */
.tg-tabs {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    margin: 0 auto 3rem;
    background: var(--tg-gray);
    border: 1px solid var(--tg-border);
    border-radius: 12px;
    padding: 0.35rem;
    width: fit-content;
}

.tg-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tg-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tg-tab:hover:not(.active) {
    color: var(--tg-black) !important;
    background: rgba(183, 245, 30, 0.18) !important;
}

.tg-tab.active {
    background: #ffffff !important;
    color: var(--tg-black) !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

/* Block Astra orange on focus/active states */
body.tapgo-homepage .tg-tab:focus,
body.tapgo-homepage .tg-tab:active {
    outline: none !important;
    box-shadow: none !important;
    color: var(--tg-black) !important;
    background: transparent !important;
}

body.tapgo-homepage .tg-tab.active:focus,
body.tapgo-homepage .tg-tab.active:active {
    background: #ffffff !important;
    color: var(--tg-black) !important;
}

.tg-tab i { font-size: 0.85rem; }

.tg-tab-content { display: none; }
.tg-tab-content.active { display: block; }

/* Phase 23: on phones the two tabs ("Online Παραγγελία" / "QR Table") used to
   overflow off-screen (fit-content + nowrap + 1.5rem padding). Make them share
   the full width equally so both fit. */
@media (max-width: 640px) {
    .tg-tabs {
        width: 100%;
        max-width: 100%;
        gap: 0.3rem;
        padding: 0.3rem;
    }
    .tg-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }
    .tg-tab i { font-size: 0.78rem; }
}
@media (max-width: 360px) {
    .tg-tab { gap: 0.3rem; font-size: 0.74rem; }
}

/* --------------------------------------------------------------------------
   HOW IT WORKS — STEPS
   -------------------------------------------------------------------------- */
.tg-steps {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.tg-step {
    flex: 1;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: 16px;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    transition: box-shadow 0.25s, transform 0.25s;
    opacity: 0;
    transform: translateY(24px);
}

.tg-step.tg-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, border-color 0.25s;
}

.tg-step:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: var(--tg-green);
    transform: translateY(-4px);
}

.tg-step-num {
    position: absolute;
    top: -16px;
    left: 1.75rem;
    width: 32px;
    height: 32px;
    background: var(--tg-green);
    color: var(--tg-black);
    font-weight: 900;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-step-icon {
    font-size: 1.8rem;
    color: var(--tg-black);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.tg-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--tg-black);
}

.tg-step p {
    font-size: 0.92rem;
    color: var(--tg-muted);
    line-height: 1.65;
}

.tg-step-arrow {
    font-size: 1.5rem;
    color: var(--tg-green);
    align-self: center;
    flex-shrink: 0;
    padding-top: 1.5rem;
}

@media (max-width: 768px) {
    .tg-steps         { flex-direction: column; }
    .tg-step          { min-width: 100%; }
    .tg-step-arrow    { transform: rotate(90deg); align-self: center; padding-top: 0; }
}

/* --------------------------------------------------------------------------
   FEATURES GRID (For Businesses)
   -------------------------------------------------------------------------- */
.tg-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.tg-feature-card {
    background: #fff;
    border: 1px solid var(--tg-border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
    opacity: 0;
    transform: translateY(24px);
}

.tg-feature-card.tg-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, border-color 0.25s;
}

.tg-feature-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: var(--tg-green);
    transform: translateY(-4px);
}

.tg-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--tg-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--tg-black);
    margin-bottom: 1.25rem;
}

.tg-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--tg-black);
}

.tg-feature-card p {
    font-size: 0.9rem;
    color: var(--tg-muted);
    line-height: 1.65;
}

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

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

/* --------------------------------------------------------------------------
   PRICING / CTA CARD
   -------------------------------------------------------------------------- */
.tg-pricing-card {
    background: var(--tg-gray);
    border: 2px solid var(--tg-border);
    border-radius: 20px;
    padding: clamp(2.5rem, 5vw, 4rem);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tg-pricing-card.tg-visible {
    opacity: 1;
    transform: translateY(0);
}

.tg-pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--tg-green);
    color: var(--tg-black);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.tg-pricing-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--tg-black);
}

.tg-pricing-card > p {
    font-size: 1rem;
    color: var(--tg-muted);
    margin-bottom: 1.75rem;
}

.tg-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-align: left;
    margin-bottom: 2rem;
}

.tg-check-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--tg-black);
    font-weight: 500;
}

.tg-check-list li i {
    color: var(--tg-green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tg-pricing-note {
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: var(--tg-muted);
}

.tg-pricing-note a {
    color: var(--tg-black);
    font-weight: 600;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.tg-footer {
    background: var(--tg-black);
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) 0;
}

.tg-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 4rem);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.tg-footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; display: block; }

.tg-footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.tg-footer-col {
    text-align: left;
}

.tg-footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
    text-align: left;
}

body.tapgo-homepage .tg-footer-col ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-inline-start: 0 !important;
    -webkit-padding-start: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

body.tapgo-homepage .tg-footer-col ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-left: 0 !important;
    padding-inline-start: 0 !important;
    -webkit-padding-start: 0 !important;
}

.tg-footer-col ul a,
.tg-footer-col ul span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}

.tg-footer-col ul a:hover { color: var(--tg-green); }

.tg-footer-col ul i {
    font-size: 0.8rem;
    color: var(--tg-green);
    width: 14px;
}

/* Footer hidden — expose via grid alias */
.tg-footer-links {
    display: contents;
}

.tg-footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tg-footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

.tg-footer-bottom a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.tg-footer-bottom a:hover { color: var(--tg-green); }

@media (max-width: 768px) {
    .tg-footer-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
    .tg-footer-bottom { flex-direction: column; text-align: center; }
}

/* --------------------------------------------------------------------------
   FADE-UP ANIMATION (Intersection Observer)
   -------------------------------------------------------------------------- */
.tg-fade-up {
    opacity: 0;
    transform: translateY(24px);
}

.tg-fade-up.tg-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .tg-hero-phone { animation: none; }
    .tg-fade-up,
    .tg-step,
    .tg-feature-card,
    .tg-stat,
    .tg-pricing-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   LEGACY — QRAVELER 404 PAGE (do not remove)
   ========================================================================== */
:root {
    --primary-gradient: linear-gradient(135deg, #ff0080 0%, #ff8c00 50%, #40e0d0 100%);
    --dark-bg: #0a0a0f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
}

body.qraveler-homepage,
body.qraveler-404 {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

.bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 50%, #0a0a0f 100%);
}

/* --------------------------------------------------------------------------
   404 LAYOUT
   -------------------------------------------------------------------------- */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

.page-404-content {
    text-align: center;
    max-width: min(700px, 90vw);
}

.page-404-number {
    font-size: clamp(8rem, 25vw, 18rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(255, 0, 128, 0.4));
    margin-bottom: 1rem;
}

.page-404-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.page-404-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.page-404-btn {
    background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.2rem);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 35px rgba(255, 0, 128, 0.4);
}

.page-404-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 25px 50px rgba(255, 0, 128, 0.6);
    color: white;
}


/* ==========================================================================
   LEGACY — QRAVELER ABOUT PAGE (do not remove)
   ========================================================================== */

body.qraveler-about {
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-weight: 300;
    background: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    --a:   #ff7e5f;
    --a2:  #ff6b4a;
    --a3:  #ff9068;
    --ag:  linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%);
    --brd: rgba(255,255,255,0.09);
    --crd: rgba(12,12,18,0.97);
}

.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%);
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

.lang-btns { display: flex; gap: 4px; align-items: center; }

.lang-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.38);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 11px;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.2s;
    line-height: 1;
}
.lang-btn:hover  { border-color: #ff7e5f; color: #ff7e5f; }
.lang-btn.active { background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); border-color: transparent; color: #fff; }

.section-rule { border: none; border-top: 1px solid rgba(255,255,255,0.09); position: relative; z-index: 1; margin: 0; }

body.qraveler-about .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
body.qraveler-about .reveal.visible { opacity: 1; transform: translateY(0); }

body.qraveler-about .feat-card:nth-child(1) { transition-delay: 0s;    }
body.qraveler-about .feat-card:nth-child(2) { transition-delay: 0.08s; }
body.qraveler-about .feat-card:nth-child(3) { transition-delay: 0.16s; }
body.qraveler-about .feat-card:nth-child(4) { transition-delay: 0s;    }
body.qraveler-about .feat-card:nth-child(5) { transition-delay: 0.08s; }
body.qraveler-about .feat-card:nth-child(6) { transition-delay: 0.16s; }

@keyframes aFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.about-hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: clamp(120px, 14vh, 180px) clamp(24px, 6vw, 100px) 80px; position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; }
.hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase; color: #ff7e5f; margin-bottom: 32px; opacity: 0; animation: aFadeUp 0.8s 0.15s forwards; }
.about-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(3.2rem, 8vw, 7.5rem); line-height: 1; font-weight: 400; color: #ffffff; margin-bottom: 36px; opacity: 0; animation: aFadeUp 0.9s 0.3s forwards; }
.about-hero h1 em { font-style: italic; background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.hero-sub { font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.75; opacity: 0; animation: aFadeUp 0.9s 0.45s forwards; }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2.5rem; opacity: 0; animation: aFadeUp 0.9s 0.6s forwards; }
.hero-btn { background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); color: #fff; padding: 15px 34px; border-radius: 50px; text-decoration: none; font-size: 0.95rem; font-weight: 500; letter-spacing: 0.02em; transition: all 0.3s; box-shadow: 0 10px 28px rgba(255,126,95,0.3); }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(255,126,95,0.45); color: #fff; }
.hero-btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); padding: 15px 34px; border-radius: 50px; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: all 0.3s; }
.hero-btn-ghost:hover { border-color: #ff7e5f; color: #ff7e5f; }
.hero-line { position: absolute; right: clamp(40px, 6vw, 100px); top: 50%; transform: translateY(-50%); width: 1px; height: 200px; background: linear-gradient(to bottom, transparent, #ff7e5f, transparent); opacity: 0.25; }

.about-intro { padding: 80px clamp(24px, 6vw, 100px); max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 200px 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.intro-label { font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: #ff7e5f; padding-top: 4px; line-height: 1.6; }
.intro-text { font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255,255,255,0.65); line-height: 1.85; font-weight: 300; }

.about-features { padding: 80px clamp(24px, 6vw, 100px); max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.features-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.09); }
.features-header h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; color: #ffffff; line-height: 1; }
.feat-count { font-size: 0.62rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.28); text-transform: uppercase; padding-bottom: 4px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,0.09); }
.feat-card { background: rgba(12,12,18,0.97); padding: 44px 38px; position: relative; border-right: 1px solid rgba(255,255,255,0.09); border-bottom: 1px solid rgba(255,255,255,0.09); transition: background 0.3s; overflow: hidden; }
.feat-card:nth-child(3n)  { border-right: none; }
.feat-card:nth-child(n+4) { border-bottom: none; }
.feat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.feat-card:hover::after  { transform: scaleX(1); }
.feat-card:hover { background: rgba(18,18,26,1); }
.feat-num { font-size: 0.58rem; letter-spacing: 0.22em; color: rgba(255,255,255,0.2); text-transform: uppercase; margin-bottom: 22px; font-weight: 500; }
.feat-icon { width: 32px; height: 32px; margin-bottom: 20px; color: #ff7e5f; stroke: #ff7e5f; }
.feat-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.25rem; font-weight: 400; color: #ffffff; margin-bottom: 14px; line-height: 1.3; }
.feat-card p  { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.8; }
.feat-badge { display: inline-block; margin-top: 18px; font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: #ff7e5f; border: 1px solid rgba(255,126,95,0.3); padding: 4px 11px; border-radius: 50px; }

.section-eyebrow { font-size: 0.65rem; letter-spacing: 0.24em; text-transform: uppercase; color: #ff7e5f; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.section-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 1px; background: #ff7e5f; opacity: 0.5; flex-shrink: 0; }

.about-printers { padding: 80px clamp(24px, 6vw, 100px); max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.printers-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.printers-left h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 400; color: #ffffff; line-height: 1.15; margin-bottom: 20px; }
.printers-left h2 em { font-style: italic; background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.printers-sub { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.85; }
.flow-diagram { display: flex; flex-direction: column; align-items: center; }
.flow-source, .flow-hub { display: flex; justify-content: center; }
.flow-node { border: 1px solid rgba(255,255,255,0.12); padding: 10px 26px; font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.8); border-radius: 3px; background: rgba(10,10,16,0.98); text-align: center; white-space: nowrap; }
.hub-node { border-color: #ff7e5f; color: #ff7e5f; background: rgba(255,126,95,0.07); font-family: 'DM Serif Display', serif; font-size: 0.95rem; letter-spacing: 0.06em; padding: 10px 30px; }
.flow-arrow-down { display: flex; justify-content: center; padding: 2px 0; }
.branch-svg { width: 100%; height: 60px; display: block; }
.printer-nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.printer-node { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1px solid rgba(255,255,255,0.09); background: rgba(10,10,16,0.98); border-radius: 3px; transition: border-color 0.25s, background 0.25s; }
.printer-node:hover { border-color: rgba(255,126,95,0.35); background: rgba(18,18,26,1); }
.printer-node svg  { width: 18px; height: 18px; color: #ff7e5f; stroke: #ff7e5f; }
.printer-node span { font-size: 0.62rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.4); text-align: center; line-height: 1.35; }
.printers-note { font-size: 0.82rem; color: rgba(255,255,255,0.38); line-height: 1.8; border-left: 2px solid rgba(255,126,95,0.25); padding-left: 18px; margin-top: 24px; }

.about-dashboard { padding: 80px clamp(24px, 6vw, 100px); max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.dash-header { margin-bottom: 40px; }
.dash-header h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; color: #ffffff; line-height: 1.15; margin-bottom: 14px; }
.dash-header h2 em { font-style: italic; background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.dash-sub { font-size: 0.92rem; color: rgba(255,255,255,0.5); max-width: 460px; line-height: 1.8; }
.dash-ui { border: 1px solid rgba(255,255,255,0.09); background: #0b0b11; border-radius: 6px; overflow: hidden; }
.dash-topbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; border-bottom: 1px solid rgba(255,255,255,0.09); background: #0f0f17; }
.dash-brand { font-family: 'DM Serif Display', serif; font-size: 0.88rem; color: #ff7e5f; letter-spacing: 0.02em; }
.dash-live { display: flex; align-items: center; gap: 7px; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,0.09); }
.kpi-card { padding: 24px 20px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid rgba(255,255,255,0.09); }
.kpi-card:last-child { border-right: none; }
.kpi-label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.32); }
.kpi-value { font-family: 'DM Serif Display', serif; font-size: 1.9rem; color: #ffffff; line-height: 1; }
.kpi-sub { font-size: 1rem; }
.kpi-delta { font-size: 0.68rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.3); }
.kpi-delta.pos { color: #4ade80; }
.kpi-delta.neg { color: #f87171; }
.dash-charts { display: grid; grid-template-columns: 2fr 1fr; border-bottom: 1px solid rgba(255,255,255,0.09); }
.chart-card { padding: 22px 20px; border-right: 1px solid rgba(255,255,255,0.09); }
.chart-card:last-child { border-right: none; }
.chart-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.chart-label { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.32); }
.chart-tag { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: #ff7e5f; border: 1px solid rgba(255,126,95,0.22); padding: 3px 9px; border-radius: 50px; }
.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 90px; }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; }
.bar-wrap span { font-size: 0.48rem; color: rgba(255,255,255,0.18); }
.bar { width: 100%; height: var(--h); background: rgba(255,255,255,0.07); border-radius: 1px 1px 0 0; transition: background 0.25s; }
.bar.accent-bar { background: #ff7e5f; opacity: 0.85; }
.bar-wrap:hover .bar { background: rgba(255,126,95,0.2); }
.bar-wrap:hover .bar.accent-bar { opacity: 1; }
.top-list { display: flex; flex-direction: column; gap: 11px; }
.top-item { display: grid; grid-template-columns: 85px 1fr 26px; align-items: center; gap: 8px; }
.top-name { font-size: 0.72rem; color: rgba(255,255,255,0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-bar-bg { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.top-bar    { height: 100%; background: #ff7e5f; border-radius: 2px; opacity: 0.6; }
.top-val    { font-size: 0.7rem; color: rgba(255,255,255,0.45); text-align: right; }
.dash-footer-note { padding: 11px 22px; font-size: 0.62rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.2); text-align: center; }

.about-why { padding: 80px clamp(24px, 6vw, 100px); max-width: 1400px; margin: 0 auto; position: relative; z-index: 1; }
.about-why > h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; color: #ffffff; margin-bottom: 56px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(255,255,255,0.09); }
.why-item { padding: 44px 36px; border-right: 1px solid rgba(255,255,255,0.09); transition: background 0.3s; }
.why-item:last-child { border-right: none; }
.why-item:hover { background: rgba(255,126,95,0.04); }
.why-item .big { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 3.5vw, 3.2rem); background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 14px; display: block; }
.why-item .label { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

.about-upcoming { margin: 80px auto; max-width: calc(1400px - clamp(48px, 12vw, 200px)); background: rgba(255,126,95,0.05); border: 1px solid rgba(255,126,95,0.18); border-top: 2px solid #ff7e5f; padding: 52px 56px; display: grid; grid-template-columns: 160px 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; border-radius: 2px; }
.upcoming-label { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: #ff7e5f; line-height: 1.6; }
.about-upcoming h3 { font-family: 'DM Serif Display', serif; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 400; color: #ffffff; margin-bottom: 10px; }
.about-upcoming p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.8; }

.about-closing { padding: 100px clamp(24px, 6vw, 100px) 80px; max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.about-closing h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 400; color: #ffffff; line-height: 1.12; margin-bottom: 24px; }
.about-closing h2 em { font-style: italic; background: linear-gradient(135deg, #ff6b4a 0%, #ff7e5f 50%, #ff9068 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.about-closing > p { font-size: 1rem; color: rgba(255,255,255,0.5); max-width: 500px; margin: 0 auto; line-height: 1.85; }

/* About responsive */
@media (max-width: 1024px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-card:nth-child(3n)  { border-right: 1px solid rgba(255,255,255,0.09); }
    .feat-card:nth-child(2n)  { border-right: none; }
    .feat-card:nth-child(n+5) { border-bottom: none; }
    .feat-card:nth-child(4)   { border-bottom: 1px solid rgba(255,255,255,0.09); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-item:nth-child(2) { border-right: none; }
    .why-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.09); border-top: 1px solid rgba(255,255,255,0.09); }
    .why-item:nth-child(4) { border-right: none; border-top: 1px solid rgba(255,255,255,0.09); }
    .dash-kpis { grid-template-columns: repeat(2, 1fr); }
    .kpi-card:nth-child(2) { border-right: none; }
    .kpi-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.09); }
    .kpi-card:nth-child(4) { border-right: none; }
}

@media (max-width: 900px) {
    .about-intro    { grid-template-columns: 1fr; gap: 12px; }
    .printers-inner { grid-template-columns: 1fr; gap: 48px; }
    .printer-nodes  { grid-template-columns: repeat(2, 1fr); }
    .dash-charts    { grid-template-columns: 1fr; }
    .about-upcoming { grid-template-columns: 1fr; padding: 36px 28px; gap: 20px; }
    .hero-line      { display: none; }
    .lang-btns      { display: none; }
}

@media (max-width: 640px) {
    .feat-grid { grid-template-columns: 1fr; }
    .feat-card { border-right: none !important; }
    .feat-card:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.09) !important; }
    .feat-card:last-child { border-bottom: none !important; }
    .why-grid  { grid-template-columns: 1fr 1fr; }
    .why-item  { padding: 32px 24px; }
    .dash-kpis { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   TAPGO DARK MODE
   Toggle class: body.tg-dark
   ========================================================================== */

/* Pre-dark flash prevention (class on <html> before JS loads) */
html.tg-pre-dark body.tapgo-homepage,
body.tapgo-homepage.tg-dark {
    --tg-black:   #f0f0f0;
    --tg-gray:    #1c1c1c;
    --tg-border:  #2e2e2e;
    --tg-muted:   #909090;
    --tg-white:   #111111;
    background: #111111 !important;
    color: #f0f0f0;
}

body.tapgo-homepage.tg-dark #page,
body.tapgo-homepage.tg-dark .site-content,
body.tapgo-homepage.tg-dark main {
    background: #111111 !important;
    color: #f0f0f0 !important;
}

/* Nav in dark mode */
body.tapgo-homepage.tg-dark .tg-nav-scrolled {
    background: rgba(17,17,17,0.97);
    box-shadow: 0 1px 0 var(--tg-border);
}
body.tapgo-homepage.tg-dark .tg-nav-links a { color: var(--tg-black); }
body.tapgo-homepage.tg-dark .tg-hamburger span { background: #f0f0f0 !important; }

/* Steps + Feature cards in dark */
body.tapgo-homepage.tg-dark .tg-step,
body.tapgo-homepage.tg-dark .tg-feature-card {
    background: #1a1a1a;
    border-color: var(--tg-border);
}
body.tapgo-homepage.tg-dark .tg-step h3,
body.tapgo-homepage.tg-dark .tg-feature-card h3 { color: #f0f0f0; }

/* Pricing card in dark */
body.tapgo-homepage.tg-dark .tg-pricing-card { background: #1a1a1a; border-color: #2e2e2e; }
body.tapgo-homepage.tg-dark .tg-pricing-card h3,
body.tapgo-homepage.tg-dark .tg-check-list li { color: #f0f0f0; }

/* Tab component in dark */
body.tapgo-homepage.tg-dark .tg-tabs    { background: #1a1a1a; border-color: #2e2e2e; }
body.tapgo-homepage.tg-dark .tg-tab.active { background: #2a2a2a !important; color: #f0f0f0 !important; }

/* Badge in dark */
body.tapgo-homepage.tg-dark .tg-badge { background: #1e1e1e; color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-badge-chip { color: #111111 !important; }

/* Login panel dropdown in dark (desktop) */
body.tapgo-homepage.tg-dark .tg-login-panel {
    background: #1a1a1a;
    border-color: #2e2e2e;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
body.tapgo-homepage.tg-dark .tg-login-path-title { color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-login-sep { background: #2e2e2e; }
body.tapgo-homepage.tg-dark .tg-path-btn--ghost { background: #2a2a2a; color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-path-btn--ghost:hover { background: #333; }
body.tapgo-homepage.tg-dark .tg-path-btn--outline { border-color: #2e2e2e !important; color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-path-btn--outline:hover { background: #2a2a2a; border-color: #555 !important; }

/* Ghost button in dark nav */
body.tapgo-homepage.tg-dark .tg-btn-ghost { color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-btn-ghost:hover { background: rgba(255,255,255,.07) !important; }

/* Outline button in dark */
body.tapgo-homepage.tg-dark .tg-btn-outline { border-color: #2e2e2e; color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-btn-outline:hover { background: #1a1a1a; border-color: #555; }

/* Play icon in dark hero */
body.tapgo-homepage.tg-dark .tg-play-icon { background: #f0f0f0; color: #111; }

/* Footer stays dark (already dark) */
body.tapgo-homepage.tg-dark .tg-footer { background: #0a0a0a; }


/* ==========================================================================
   THEME TOGGLE BUTTON
   ========================================================================== */
/* Mobile-only theme toggle (desktop has it inside the panel) */
.tg-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--tg-border) !important;
    background: transparent !important;
    color: var(--tg-black) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-size: 0.9rem;
    flex-shrink: 0;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
}
.tg-theme-toggle:hover {
    background: var(--tg-gray) !important;
    border-color: var(--tg-green) !important;
    color: var(--tg-green) !important;
    box-shadow: none !important;
}
/* Kill ALL Astra focus/active orange on this button */
.tg-theme-toggle:focus,
.tg-theme-toggle:focus-visible,
.tg-theme-toggle:active,
.tg-theme-toggle:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--tg-border) !important;
    background: transparent !important;
    color: var(--tg-black) !important;
}
.tg-theme-toggle--mobile { width: 38px; height: 38px; }

body.tapgo-homepage.tg-dark .tg-theme-toggle {
    border-color: #2e2e2e !important;
    color: #f0f0f0 !important;
    background: transparent !important;
}
body.tapgo-homepage.tg-dark .tg-theme-toggle:hover {
    background: #1e1e1e !important;
    border-color: var(--tg-green) !important;
    color: var(--tg-green) !important;
}
body.tapgo-homepage.tg-dark .tg-theme-toggle:focus,
body.tapgo-homepage.tg-dark .tg-theme-toggle:active {
    background: transparent !important;
    color: #f0f0f0 !important;
    border-color: #2e2e2e !important;
}


/* ==========================================================================
   AUTH SIDE PANEL — New efood-style
   ========================================================================== */

/* Panel CSS vars — light defaults, override in dark */
.tg-auth-panel {
    --ap-bg:          #ffffff;
    --ap-surface:     #f8f8f8;
    --ap-border:      #ebebeb;
    --ap-text:        #111111;
    --ap-muted:       #6b6b6b;
    --ap-input-bg:    #f5f5f5;
    --ap-input-brd:   #e0e0e0;
    --ap-green:       #B7F51E;
    --ap-green-d:     #9fd919;
    --ap-shadow:      rgba(0,0,0,0.08);

    position: fixed;
    top: 0;
    right: 0;
    width: min(420px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: var(--ap-bg);
    z-index: 10010;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.77,0,0.175,1);
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    border-left: 1px solid var(--ap-border);
    overflow: hidden;
}
.tg-auth-panel.active { transform: translateX(0); }

body.tapgo-homepage.tg-dark .tg-auth-panel {
    --ap-bg:       #161616;
    --ap-surface:  #1e1e1e;
    --ap-border:   #2a2a2a;
    --ap-text:     #f0f0f0;
    --ap-muted:    #888;
    --ap-input-bg: #1e1e1e;
    --ap-input-brd:#333;
    --ap-shadow:   rgba(0,0,0,0.35);
    background: #161616;
    border-left-color: #2a2a2a;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}

.tg-ap-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

/* ── Header ─────────────────────────────────────────── */
.tg-ap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--ap-border);
    flex-shrink: 0;
}
.tg-ap-logo { height: 28px; width: auto; display: block; }
/* Logo keeps natural colors in dark mode — no destructive filter */

.tg-ap-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Theme toggle inside the panel */
.tg-theme-toggle--panel {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none !important;
    background: var(--ap-surface) !important;
    color: var(--ap-text) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0;
}
.tg-theme-toggle--panel:hover,
.tg-theme-toggle--panel:focus,
.tg-theme-toggle--panel:active,
.tg-theme-toggle--panel:focus-visible {
    background: var(--ap-border) !important;
    color: var(--ap-text) !important;
    outline: none !important;
    box-shadow: none !important;
}

.tg-ap-close {
    width: 34px;
    height: 34px;
    background: var(--ap-surface) !important;
    border: none !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--ap-text) !important;
    transition: background 0.2s;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0;
}
.tg-ap-close:hover,
.tg-ap-close:focus,
.tg-ap-close:active {
    background: var(--ap-border) !important;
    color: var(--ap-text) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ── Tabs ────────────────────────────────────────────── */
.tg-ap-tabs {
    display: flex;
    gap: 0;
    background: var(--ap-surface);
    border-bottom: 1px solid var(--ap-border);
    flex-shrink: 0;
}
.tg-ap-tab {
    flex: 1;
    padding: 14px 12px;
    border: none !important;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ap-muted);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2.5px solid transparent !important;
    outline: none !important;
    white-space: nowrap;
}
.tg-ap-tab:hover:not(.active) { color: var(--ap-text) !important; background: rgba(183,245,30,.06) !important; }
.tg-ap-tab.active {
    color: var(--ap-text) !important;
    border-bottom-color: var(--ap-green) !important;
    background: var(--ap-bg);
}

/* ── Panel bodies ────────────────────────────────────── */
.tg-ap-panel {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

/* ── VENDOR panel ────────────────────────────────────── */
.tg-ap-vendor-hero {
    text-align: center;
    padding: 8px 0 20px;
}
.tg-ap-vendor-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    line-height: 1;
}
.tg-ap-vendor-hero h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ap-text);
    margin: 0 0 8px;
}
.tg-ap-vendor-hero p {
    font-size: 0.88rem;
    color: var(--ap-muted);
    line-height: 1.6;
    margin: 0;
}

.tg-ap-vendor-perks {
    background: var(--ap-surface);
    border: 1px solid var(--ap-border);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tg-ap-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ap-text);
    font-weight: 500;
}
.tg-ap-perk i { color: var(--ap-green); font-size: 0.8rem; }

.tg-ap-vendor-btns { display: flex; flex-direction: column; gap: 10px; }
.tg-ap-vendor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    border: none;
}
.tg-ap-vendor-btn--green { background: var(--ap-green); color: #111; }
.tg-ap-vendor-btn--green:hover { background: var(--ap-green-d); transform: translateY(-1px); color: #111; }
.tg-ap-vendor-btn--ghost { background: var(--ap-surface); color: var(--ap-text); border: 1.5px solid var(--ap-border) !important; }
.tg-ap-vendor-btn--ghost:hover { background: var(--ap-border); color: var(--ap-text); }

.tg-ap-vendor-trial {
    text-align: center;
    font-size: 0.8rem;
    color: var(--ap-muted);
    margin-top: 16px;
}

/* ── CUSTOMER panel ──────────────────────────────────── */
.tg-ap-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1.5px solid var(--ap-border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.tg-ap-google-btn:hover { background: #f5f5f5; box-shadow: 0 2px 8px var(--ap-shadow); color: #111; }
body.tapgo-homepage.tg-dark .tg-ap-google-btn { background: #1e1e1e; border-color: #333; color: #f0f0f0; }
body.tapgo-homepage.tg-dark .tg-ap-google-btn:hover { background: #2a2a2a; }

.tg-ap-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    font-size: 0.78rem;
    color: var(--ap-muted);
}
.tg-ap-or::before,
.tg-ap-or::after { content: ''; flex: 1; height: 1px; background: var(--ap-border); }

/* Auth sub-tabs */
.tg-ap-auth-tabs {
    display: flex;
    background: var(--ap-surface);
    border: 1.5px solid var(--ap-border);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 16px;
    gap: 0;
}
.tg-ap-auth-tab {
    flex: 1;
    padding: 9px 8px;
    border: none !important;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ap-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.18s;
    outline: none !important;
}
.tg-ap-auth-tab:hover:not(.active) { color: var(--ap-text) !important; background: rgba(0,0,0,.04) !important; }
.tg-ap-auth-tab.active { background: var(--ap-bg); color: var(--ap-text); box-shadow: 0 1px 4px var(--ap-shadow); }

/* Form fields */
.tg-ap-form { display: block; }
.tg-ap-field { margin-bottom: 12px; }
.tg-ap-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ap-muted);
    margin-bottom: 5px;
    letter-spacing: .02em;
}
.tg-ap-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: var(--ap-input-bg);
    border: 1.5px solid var(--ap-input-brd);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--ap-text);
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}
.tg-ap-input::placeholder { color: var(--ap-muted); opacity: .7; }
.tg-ap-input:focus {
    border-color: var(--ap-green);
    box-shadow: 0 0 0 3px rgba(183,245,30,.15);
    background: var(--ap-bg);
}

/* Submit */
.tg-ap-submit {
    width: 100%;
    padding: 13px;
    background: var(--ap-green);
    color: #111;
    border: none !important;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background .15s, transform .1s;
    margin-top: 4px;
    outline: none !important;
}
.tg-ap-submit:hover { background: var(--ap-green-d); }
.tg-ap-submit:active { transform: scale(.98); }
.tg-ap-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Forgot link */
.tg-ap-link-btn {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: var(--ap-muted);
    background: none;
    border: none !important;
    cursor: pointer;
    padding: 10px 0 0;
    font-family: 'Inter', sans-serif;
    width: 100%;
    transition: color .15s;
    outline: none !important;
}
.tg-ap-link-btn:hover { color: var(--ap-text); }

/* Forgot back button */
.tg-ap-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none !important;
    color: var(--ap-muted);
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 14px;
    font-family: 'Inter', sans-serif;
    outline: none !important;
    transition: color .15s;
}
.tg-ap-back-btn:hover { color: var(--ap-text); }

.tg-ap-hint {
    font-size: 0.82rem;
    color: var(--ap-muted);
    margin: 0 0 14px;
    line-height: 1.55;
}

/* Spinner */
.tg-ap-spinner {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}
.tg-ap-spin {
    width: 26px;
    height: 26px;
    border: 2.5px solid rgba(183,245,30,.2);
    border-top-color: var(--ap-green);
    border-radius: 50%;
    animation: tg-ap-spin .7s linear infinite;
}
@keyframes tg-ap-spin { to { transform: rotate(360deg); } }

/* Message */
.tg-ap-msg {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    line-height: 1.45;
}
.tg-ap-msg.err { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.3); color: #ef4444; }
.tg-ap-msg.ok  { background: rgba(183,245,30,.1);  border: 1px solid rgba(183,245,30,.35); color: #5a8000; }
body.tapgo-homepage.tg-dark .tg-ap-msg.err { color: #fca5a5; }
body.tapgo-homepage.tg-dark .tg-ap-msg.ok  { color: #b7f51e; }

/* Success state */
.tg-ap-success {
    text-align: center;
    padding: 24px 0;
}
.tg-ap-success-icon { font-size: 2.5rem; margin-bottom: 10px; }
.tg-ap-success h3 { font-size: 1.1rem; font-weight: 700; color: var(--ap-text); margin: 0 0 4px; }
.tg-ap-success p { font-size: 0.84rem; color: var(--ap-muted); margin: 0; }

/* Vendor note (bottom of customer panel) */
.tg-ap-vendor-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ap-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--ap-muted);
}
.tg-ap-vendor-note a { color: var(--ap-text); font-weight: 600; text-decoration: none; }
.tg-ap-vendor-note a:hover { color: var(--ap-green); }

/* Overlay */
.tg-auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10009;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.tg-auth-overlay.active { opacity: 1; pointer-events: all; }

/* Mobile: full-width panel */
@media (max-width: 480px) {
    .tg-auth-panel { width: 100vw; border-left: none; }
    .tg-ap-panel   { padding: 20px 16px; }
}

/* ── Login button ─────────────────────────────────────── */
.tg-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

/* ── Vendor link in nav ("Έχεις κατάστημα;") ─────────── */
.tg-nav-vendor-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--tg-text-2);
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
}
body.tapgo-homepage .tg-nav-vendor-link:hover {
    color: var(--tg-text) !important;
    background: rgba(0,0,0,.04);
}
body.tapgo-homepage.tg-dark .tg-nav-vendor-link:hover {
    background: rgba(255,255,255,.06);
}

/* ── Theme toggle in mobile nav ──────────────────────── */
@media (max-width: 1023px) {
    .tg-theme-toggle--mobile { display: inline-flex; }
}
@media (min-width: 1024px) {
    .tg-theme-toggle--mobile { display: none !important; }
    .tg-theme-toggle { display: inline-flex; }
}


/* ==========================================================================
   FIX: Green buttons keep BLACK text in dark mode
   (--tg-black flips to #f0f0f0 in dark but green bg needs dark text)
   ========================================================================== */
body.tapgo-homepage .tg-btn-primary,
body.tapgo-homepage .tg-btn-primary:hover,
body.tapgo-homepage .tg-btn-primary:focus,
body.tapgo-homepage .tg-btn-primary:active,
body.tapgo-homepage.tg-dark .tg-btn-primary,
body.tapgo-homepage.tg-dark .tg-btn-primary:hover,
body.tapgo-homepage.tg-dark .tg-btn-primary:focus,
body.tapgo-homepage.tg-dark .tg-btn-primary:active {
    color: #111111 !important;
}

/* Step number circles (green bg) */
body.tapgo-homepage.tg-dark .tg-step-num { color: #111111 !important; }

/* USP icon boxes (green bg) */
body.tapgo-homepage.tg-dark .tg-usp-icon--green { color: #111111 !important; }

/* Feature icon boxes (green bg) */
body.tapgo-homepage.tg-dark .tg-feature-icon { color: #111111 !important; }

/* Pricing trial badge (green bg) */
body.tapgo-homepage.tg-dark .tg-pricing-trial { color: #111111 !important; }

/* Auth panel submit + vendor btn (always dark text on green) */
body.tapgo-homepage .tg-ap-submit,
body.tapgo-homepage .tg-ap-submit:hover,
body.tapgo-homepage.tg-dark .tg-ap-submit,
body.tapgo-homepage.tg-dark .tg-ap-submit:hover { color: #111111 !important; }

body.tapgo-homepage .tg-ap-vendor-btn--green,
body.tapgo-homepage .tg-ap-vendor-btn--green:hover,
body.tapgo-homepage.tg-dark .tg-ap-vendor-btn--green,
body.tapgo-homepage.tg-dark .tg-ap-vendor-btn--green:hover { color: #111111 !important; }


/* ==========================================================================
   FIX: Astra orange/blue overrides on homepage elements
   Astra injects its own color vars and hover styles — we override them here.
   ========================================================================== */

/* Override Astra's global accent color variables */
body.tapgo-homepage {
    --ast-global-color-0:    var(--tg-green);
    --ast-global-color-1:    var(--tg-green-d);
    --ast-global-color-2:    var(--tg-black);
    --ast-link-color:        var(--tg-green);
    --ast-link-hover-color:  var(--tg-green-d);
    --ast-button-bg-color:   var(--tg-green);
    --ast-button-color:      #111111;
    --color-base:            #111111;
    --wp--preset--color--ast-global-color-0: var(--tg-green);
}

/* Block Astra orange on ALL interactive elements within our custom components */
body.tapgo-homepage .tg-nav a:hover,
body.tapgo-homepage .tg-nav button:hover { color: inherit; }

/* ==========================================================================
   ANTI-ASTRA — COMPREHENSIVE OVERRIDE
   Astra injects its orange on :hover/:focus for <a> and <button> elements.
   Strategy: explicitly set color on each TapGo context.
   `color: inherit` is NOT used — it would inherit Astra's orange from parent.
   ========================================================================== */

/* Kill Astra focus ring / box-shadow globally on our page */
body.tapgo-homepage *:focus,
body.tapgo-homepage *:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* ── Inside auth panel & profile panel: force panel text color ── */
body.tapgo-homepage .tg-auth-panel a,
body.tapgo-homepage .tg-auth-panel a:hover,
body.tapgo-homepage .tg-auth-panel a:focus,
body.tapgo-homepage .tg-auth-panel a:active,
body.tapgo-homepage .tg-auth-panel button,
body.tapgo-homepage .tg-auth-panel button:hover,
body.tapgo-homepage .tg-auth-panel button:focus,
body.tapgo-homepage .tg-auth-panel button:active,
body.tapgo-homepage .tg-profile-panel a,
body.tapgo-homepage .tg-profile-panel a:hover,
body.tapgo-homepage .tg-profile-panel a:focus,
body.tapgo-homepage .tg-profile-panel a:active,
body.tapgo-homepage .tg-profile-panel button,
body.tapgo-homepage .tg-profile-panel button:hover,
body.tapgo-homepage .tg-profile-panel button:focus,
body.tapgo-homepage .tg-profile-panel button:active {
    /* --ap-text is scoped to each panel, resolves correctly */
    color: var(--ap-text) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ── Re-apply intentional colors AFTER the panel reset ── */

/* Green submit button — always dark text on green bg */
body.tapgo-homepage .tg-auth-panel .tg-ap-submit,
body.tapgo-homepage .tg-auth-panel .tg-ap-submit:hover,
body.tapgo-homepage .tg-auth-panel .tg-ap-submit:focus,
body.tapgo-homepage .tg-auth-panel .tg-ap-submit:active,
body.tapgo-homepage .tg-profile-panel .tg-ap-submit,
body.tapgo-homepage .tg-profile-panel .tg-ap-submit:hover,
body.tapgo-homepage .tg-profile-panel .tg-ap-submit:focus,
body.tapgo-homepage .tg-profile-panel .tg-ap-submit:active {
    color: #111111 !important;
}

/* Profile panel nav items → green on hover */
body.tapgo-homepage .tg-profile-panel .tg-pp-nav-item:hover { color: var(--tg-green) !important; }
body.tapgo-homepage .tg-profile-panel .tg-pp-nav-item:focus,
body.tapgo-homepage .tg-profile-panel .tg-pp-nav-item:active { color: var(--ap-text) !important; }

/* Logout stays red */
body.tapgo-homepage .tg-profile-panel .tg-pp-logout,
body.tapgo-homepage .tg-profile-panel .tg-pp-logout:hover { color: #f87171 !important; }

/* Vendor note link stays green */
body.tapgo-homepage .tg-auth-panel .tg-ap-vendor-note a:hover { color: var(--ap-green) !important; }

/* Auth tabs */
body.tapgo-homepage .tg-ap-auth-tab:hover:not(.active) { background: rgba(0,0,0,.04) !important; }
body.tapgo-homepage .tg-ap-tab:hover:not(.active)      { background: rgba(183,245,30,.06) !important; }

/* Theme icon in label — muted gray, not orange */
body.tapgo-homepage .tg-pp-theme-label > i,
body.tapgo-homepage .tg-pp-theme-label > i:hover { color: var(--ap-text-2) !important; }

/* Close buttons — panel bg on hover */
body.tapgo-homepage .tg-ap-close:hover,
body.tapgo-homepage .tg-pp-close:hover { background: var(--ap-border) !important; color: var(--ap-text) !important; }

/* Back button in sub-screens */
body.tapgo-homepage .tg-pp-back:hover { background: var(--ap-surface) !important; color: var(--ap-text) !important; }

/* ── Nav elements ── */
body.tapgo-homepage .tg-nav a,
body.tapgo-homepage .tg-nav a:hover,
body.tapgo-homepage .tg-nav a:visited { color: var(--tg-text) !important; }
body.tapgo-homepage .tg-nav button:hover { color: var(--tg-text) !important; }
body.tapgo-homepage .tg-nav-links a:hover         { color: #555555 !important; }
body.tapgo-homepage.tg-dark .tg-nav-links a:hover { color: #cccccc !important; }
body.tapgo-homepage .tg-nav-vendor-link,
body.tapgo-homepage .tg-nav-vendor-link:hover     { color: var(--tg-text-2) !important; }
body.tapgo-homepage .tg-nav-vendor-link:hover     { color: var(--tg-text)   !important; }

/* ── CTA buttons ── */
body.tapgo-homepage .tg-btn-primary,
body.tapgo-homepage .tg-btn-primary:hover,
body.tapgo-homepage .tg-btn-primary:focus,
body.tapgo-homepage .tg-btn-primary:active { color: #111111 !important; }
body.tapgo-homepage .tg-btn-primary:hover { background: var(--tg-green-d) !important; border-color: transparent !important; }
body.tapgo-homepage .tg-btn-ghost:hover   { background: var(--tg-gray) !important; color: var(--tg-black) !important; border-color: transparent !important; }
body.tapgo-homepage .tg-btn-outline:hover { background: var(--tg-gray) !important; color: var(--tg-black) !important; border-color: #bbb !important; }

/* ── Footer links ── */
body.tapgo-homepage .tg-footer-col ul a:hover { color: var(--tg-green) !important; }
body.tapgo-homepage .tg-footer-bottom a:hover  { color: var(--tg-green) !important; }

/* ── Section tabs ── */
body.tapgo-homepage .tg-tab:hover:not(.active) { background: rgba(183,245,30,.12) !important; color: var(--tg-black) !important; }
body.tapgo-homepage .tg-tab.active:hover       { background: #ffffff !important; color: var(--tg-black) !important; box-shadow: 0 1px 6px rgba(0,0,0,0.08) !important; }
body.tapgo-homepage.tg-dark .tg-tab.active:hover { background: #2a2a2a !important; }

/* ── Path buttons ── */
body.tapgo-homepage .tg-path-btn--green:hover { background: var(--tg-green-d) !important; color: #111111 !important; }

/* ═══════════════════════════════════════════════════════════════════
   NAV — LOGGED-IN USER BUTTON
══════════════════════════════════════════════════════════════════════ */
.tg-nav-auth-group { display: flex; align-items: center; }

/* Desktop user pill button */
.tg-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border-radius: 24px;
    border: 1.5px solid var(--tg-border);
    background: transparent;
    cursor: pointer;
    color: var(--tg-black);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: border-color .15s, background .15s;
}
.tg-user-btn:hover {
    border-color: var(--tg-green);
    background: rgba(183,245,30,.08);
}
.tg-user-btn:focus,.tg-user-btn:focus-visible,.tg-user-btn:active {
    outline: none !important; box-shadow: none !important;
}
.tg-user-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--tg-green);
    color: #111 !important;
    font-size: 10px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.tg-user-name { color: var(--tg-black); font-weight: 600; }

/* Mobile avatar circle */
.tg-user-btn-mobile {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--tg-green);
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.tg-user-avatar-sm {
    font-size: 12px;
    font-weight: 800;
    color: #111 !important;
    line-height: 1;
}
.tg-user-btn-mobile:focus,.tg-user-btn-mobile:focus-visible,.tg-user-btn-mobile:active {
    outline: none !important; box-shadow: none !important;
}

/* ═══════════════════════════════════════════════════════════════════
   PROFILE PANEL — efood-style right slide, for logged-in users
══════════════════════════════════════════════════════════════════════ */
.tg-profile-panel {
    /* Own CSS vars — auth panel's --ap-* are scoped there, not global */
    --ap-bg:          #ffffff;
    --ap-surface:     #f8f8f8;
    --ap-border:      #ebebeb;
    --ap-text:        #111111;
    --ap-text-2:      #6b6b6b;
    --ap-muted:       #6b6b6b;
    --ap-input-bg:    #f5f5f5;
    --ap-input-brd:   #e0e0e0;
    --ap-green:       #B7F51E;
    --ap-green-d:     #9fd919;
    --ap-shadow:      rgba(0,0,0,0.08);

    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 100vw);
    /* Must be ABOVE overlay (10009) so clicks don't get intercepted */
    z-index: 10011;
    display: flex;
    flex-direction: column;
    background: var(--ap-bg);
    box-shadow: -8px 0 40px rgba(0,0,0,0.12);
    border-left: 1px solid var(--ap-border);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.22,.61,.36,1);
    overflow: hidden;
}
.tg-profile-panel.active { transform: translateX(0); }

/* Dark mode vars for profile panel */
body.tapgo-homepage.tg-dark .tg-profile-panel {
    --ap-bg:         #161616;
    --ap-surface:    #1e1e1e;
    --ap-border:     #2a2a2a;
    --ap-text:       #f0f0f0;
    --ap-text-2:     #888888;
    --ap-muted:      #888888;
    --ap-input-bg:   #1e1e1e;
    --ap-input-brd:  #333333;
    --ap-green:      #B7F51E;
    --ap-green-d:    #9fd919;
    --ap-shadow:     rgba(0,0,0,0.35);
    background: #161616;
    border-left-color: #2a2a2a;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}

/* Profile panel inner */
.tg-profile-panel .tg-ap-inner {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Individual screen wrapper */
.tg-pp-screen {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* User summary block */
.tg-pp-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--ap-border);
    margin-bottom: 4px;
    flex-shrink: 0;
}
.tg-pp-avatar {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: var(--tg-green);
    color: #111 !important;
    font-size: 19px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.tg-pp-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--ap-text);
    margin-bottom: 3px;
    word-break: break-word;
}
.tg-pp-email {
    font-size: 13px;
    color: var(--ap-text-2);
    word-break: break-all;
}

/* ── Theme toggle row (pill switch) ─────────────────────────────── */
.tg-pp-theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid var(--ap-border);
    flex-shrink: 0;
}
.tg-pp-theme-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ap-text);
}
.tg-pp-theme-label > i {
    width: 20px; text-align: center;
    color: var(--ap-text-2);
    font-size: 15px;
}
/* Pill switch */
.tg-pp-theme-switch {
    width: 44px; height: 24px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    background: var(--ap-border);
    position: relative;
    flex-shrink: 0;
    transition: background .22s;
}
.tg-pp-theme-switch.on { background: var(--tg-green); }
.tg-pp-theme-switch::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .22s, background .22s;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.tg-pp-theme-switch.on::after { transform: translateX(20px); background: #111; }
.tg-pp-theme-switch:focus,.tg-pp-theme-switch:focus-visible,.tg-pp-theme-switch:active {
    outline: none !important; box-shadow: none !important;
}

/* ── Menu navigation items ──────────────────────────────────────── */
.tg-pp-menu { padding: 4px 24px; flex-shrink: 0; }
.tg-pp-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid var(--ap-border);
    background: none;
    color: var(--ap-text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: color .15s;
}
.tg-pp-nav-item:hover { color: var(--tg-green) !important; }
.tg-pp-nav-item:focus,.tg-pp-nav-item:focus-visible,.tg-pp-nav-item:active {
    outline: none !important; box-shadow: none !important; color: var(--ap-text) !important;
}
.tg-pp-nav-icon {
    width: 22px; text-align: center;
    color: var(--ap-text-2);
    font-size: 15px;
    flex-shrink: 0;
}
.tg-pp-chevron { margin-left: auto; font-size: 11px; opacity: .35; }

/* Profile panel close button (X) */
.tg-pp-close {
    width: 34px; height: 34px;
    background: var(--ap-surface) !important;
    border: none !important;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--ap-text) !important;
    transition: background .2s;
    outline: none !important;
    box-shadow: none !important;
    flex-shrink: 0;
}
.tg-pp-close:hover,
.tg-pp-close:focus,
.tg-pp-close:active {
    background: var(--ap-border) !important;
    color: var(--ap-text) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Logout link */
.tg-pp-footer { margin-top: auto; padding: 20px 24px 28px; flex-shrink: 0; }
.tg-pp-logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #f87171 !important;
    text-decoration: none !important;
    padding: 10px 0;
    transition: opacity .15s;
}
.tg-pp-logout:hover { opacity: .7 !important; color: #f87171 !important; }

/* ── Sub-screens (orders, addresses, edit) ──────────────────────── */
.tg-pp-screen--sub { overflow-y: auto; }

/* Orders & addresses list containers */
.tg-pp-orders-list,
.tg-pp-addresses-list { padding: 8px 24px 24px; }

/* Edit profile & setup: form fields get horizontal padding */
#tgPpScreen_edit .tg-ap-field,
#tgPpScreen_edit .tg-ap-msg,
#tgPpScreen_edit .tg-ap-submit,
#tgPpScreen_setup .tg-pp-setup-hero,
#tgPpScreen_setup .tg-ap-field,
#tgPpScreen_setup .tg-ap-msg,
#tgPpScreen_setup .tg-ap-submit,
#tgPpScreen_setup .tg-ap-link-btn {
    margin-left: 24px;
    margin-right: 24px;
    width: calc(100% - 48px);
}
#tgPpScreen_edit .tg-ap-submit,
#tgPpScreen_setup .tg-ap-submit { margin-top: 8px; }

.tg-pp-sub-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px 18px;
    border-bottom: 1px solid var(--ap-border);
    margin-bottom: 0;
    flex-shrink: 0;
}
.tg-pp-sub-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ap-text);
    margin: 0;
}
.tg-pp-back {
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ap-border);
    background: none;
    color: var(--ap-text);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: background .15s;
}
.tg-pp-back:hover { background: var(--ap-surface); }
.tg-pp-back:focus,.tg-pp-back:focus-visible,.tg-pp-back:active {
    outline: none !important; box-shadow: none !important;
}

/* ── Orders list ────────────────────────────────────────────────── */
.tg-pp-order-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ap-border);
}
.tg-pp-order-card:last-of-type { border-bottom: none; }
.tg-pp-order-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    background: var(--ap-surface);
}
/* Icon bg tints per status */
.tg-pp-order-icon.tg-pp-status-completed   { background: rgba(183,245,30,.15);  color: #8bc900; }
.tg-pp-order-icon.tg-pp-status-processing  { background: rgba(96,165,250,.15);  color: #60a5fa; }
.tg-pp-order-icon.tg-pp-status-pending,
.tg-pp-order-icon.tg-pp-status-pending-approval { background: rgba(245,158,11,.12); color: #f59e0b; }
.tg-pp-order-icon.tg-pp-status-cancelled,
.tg-pp-order-icon.tg-pp-status-failed      { background: rgba(239,68,68,.12);   color: #ef4444; }
.tg-pp-order-icon.tg-pp-status-on-hold     { background: rgba(156,163,175,.15); color: #9ca3af; }
.tg-pp-order-icon.tg-pp-status-refunded    { background: rgba(167,139,250,.15); color: #a78bfa; }
.tg-pp-order-body { flex: 1; min-width: 0; }
.tg-pp-order-store {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ap-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
}
.tg-pp-order-meta {
    font-size: 12px;
    color: var(--ap-text-2);
    margin-bottom: 1px;
}
.tg-pp-order-date { font-size: 11px; color: var(--ap-muted); }
.tg-pp-order-right { text-align: right; flex-shrink: 0; }
.tg-pp-order-total {
    font-size: 14px;
    font-weight: 700;
    color: var(--ap-text);
    margin-bottom: 3px;
}
.tg-pp-order-status { font-size: 10px; font-weight: 700; letter-spacing: .03em; }
.tg-pp-status-completed   { color: #8bc900; }
.tg-pp-status-processing  { color: #60a5fa; }
.tg-pp-status-pending,
.tg-pp-status-pending-approval { color: #f59e0b; }
.tg-pp-status-cancelled,
.tg-pp-status-failed      { color: #ef4444; }
.tg-pp-status-on-hold     { color: #9ca3af; }
.tg-pp-status-refunded    { color: #a78bfa; }

/* "Show more" button */
.tg-pp-orders-more {
    width: 100%;
    margin-top: 10px;
    padding: 11px;
    border-radius: 12px;
    border: 1.5px solid var(--ap-border) !important;
    background: var(--ap-surface) !important;
    color: var(--ap-text-2) !important;
    font-size: 13px; font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: border-color .15s, color .15s;
    outline: none !important; box-shadow: none !important;
}
.tg-pp-orders-more:hover { border-color: var(--ap-text-2) !important; color: var(--ap-text) !important; }

.tg-pp-loading,.tg-pp-empty {
    text-align: center;
    padding: 40px 16px;
    color: var(--ap-text-2);
    font-size: 14px;
    line-height: 1.5;
}

/* ── Address cards ──────────────────────────────────────────────── */
.tg-pp-addr-card {
    background: var(--ap-surface);
    border: 1px solid var(--ap-border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
}
.tg-pp-addr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.tg-pp-addr-type {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ap-text-2);
}
.tg-pp-addr-actions { display: flex; gap: 6px; }
.tg-pp-addr-btn-edit,
.tg-pp-addr-btn-del {
    width: 28px; height: 28px;
    border-radius: 8px;
    border: 1px solid var(--ap-border) !important;
    background: var(--ap-bg) !important;
    color: var(--ap-text-2) !important;
    font-size: 12px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
    outline: none !important; box-shadow: none !important;
}
.tg-pp-addr-btn-edit:hover { color: var(--ap-text) !important; background: var(--ap-border) !important; }
.tg-pp-addr-btn-del:hover  { color: #ef4444 !important; background: rgba(239,68,68,.12) !important; border-color: #ef4444 !important; }
.tg-pp-addr-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--ap-text);
    margin-bottom: 3px;
}
.tg-pp-addr-line {
    font-size: 12px;
    color: var(--ap-text-2);
    line-height: 1.5;
}
.tg-pp-addr-add-btn {
    width: 100%;
    margin-top: 4px;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px dashed var(--ap-border) !important;
    background: transparent !important;
    color: var(--ap-text-2) !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: border-color .15s, color .15s;
    outline: none !important; box-shadow: none !important;
}
.tg-pp-addr-add-btn:hover { border-color: var(--ap-text-2) !important; color: var(--ap-text) !important; }

/* ── Address form modal overlay ─────────────────────────────────── */
.tg-addr-form-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 20000;
    display: flex; align-items: flex-end; justify-content: center;
}
.tg-addr-form-modal {
    background: var(--ap-bg, #fff);
    border-radius: 20px 20px 0 0;
    width: 100%; max-width: 480px;
    padding: 0 0 env(safe-area-inset-bottom,16px);
    box-shadow: 0 -8px 40px rgba(0,0,0,.18);
}
body.tapgo-homepage.tg-dark .tg-addr-form-modal { background: #161616; }
.tg-addr-form-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--ap-border, #ebebeb);
    font-size: 15px; font-weight: 700; color: var(--ap-text, #111);
}
.tg-addr-form-close {
    width: 30px; height: 30px; border-radius: 50%;
    border: none !important; background: var(--ap-surface, #f8f8f8) !important;
    color: var(--ap-text, #111) !important; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    outline: none !important; box-shadow: none !important;
}
.tg-addr-form-body { padding: 16px 20px 24px; }
.tg-addr-form-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--ap-text-2,#666); margin: 12px 0 5px; }
.tg-addr-form-in {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--ap-input-brd, #e0e0e0) !important;
    border-radius: 10px; font-size: 14px;
    background: var(--ap-input-bg, #f5f5f5) !important;
    color: var(--ap-text, #111) !important;
    outline: none !important; box-shadow: none !important;
}
.tg-addr-form-in:focus { border-color: var(--ap-green, #B7F51E) !important; }
.tg-addr-form-msg { font-size: 12px; color: #f87171; min-height: 16px; margin: 8px 0 0; }
.tg-addr-form-body .tg-ap-submit {
    margin-top: 16px; width: 100%;
    --ap-green: #B7F51E; --ap-green-d: #9fd919;
    background: #B7F51E !important;
    color: #111111 !important;
}
.tg-addr-form-body .tg-ap-submit:hover { background: #9fd919 !important; color: #111111 !important; }

/* ── Address modal dark mode ────────────────────────────────────── */
body.tapgo-homepage.tg-dark .tg-addr-form-overlay { background: rgba(0,0,0,.7); }
body.tapgo-homepage.tg-dark .tg-addr-form-modal {
    background: #161616;
    --ap-bg: #161616; --ap-surface: #1e1e1e; --ap-border: #2a2a2a;
    --ap-text: #f0f0f0; --ap-text-2: #888;
    --ap-input-bg: #1e1e1e; --ap-input-brd: #333;
}
body.tapgo-homepage.tg-dark .tg-addr-form-header {
    color: #f0f0f0;
    border-bottom-color: #2a2a2a;
}
body.tapgo-homepage.tg-dark .tg-addr-form-close {
    background: #1e1e1e !important;
    color: #f0f0f0 !important;
}
body.tapgo-homepage.tg-dark .tg-addr-form-lbl  { color: #888; }
body.tapgo-homepage.tg-dark .tg-addr-form-in {
    background: #1e1e1e !important;
    border-color: #333 !important;
    color: #f0f0f0 !important;
}
body.tapgo-homepage.tg-dark .tg-addr-form-in:focus { border-color: #B7F51E !important; }

/* ── Google setup screen ────────────────────────────────────────── */
.tg-pp-setup-hero {
    text-align: center;
    padding: 24px 24px 20px;
}
.tg-pp-setup-icon { font-size: 52px; margin-bottom: 12px; }
.tg-pp-setup-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ap-text);
    margin: 0 0 8px;
}
.tg-pp-setup-sub {
    font-size: 14px;
    color: var(--ap-text-2);
    margin: 0 0 24px;
    line-height: 1.55;
}
