/* =========================================================
   TAGO Landing Page v2
   Fixed logo/ring centering
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #16213E;
    color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ---------- Layout ---------- */
.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 20px 20px;
    background: linear-gradient(180deg, #16213E 0%, #1A2332 100%);
    position: relative;
}

/* ---------- Hero ---------- */
.hero {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 10px;
}

/* ---------- LOGO + RING (shared center) ----------
   A single flex container centers both.
   The ring is a ::before pseudo-element sized exactly
   to the container. The logo sits inside, scaled to fit.
   No absolute positioning, no drift, no overflow.
*/
.hero-logo {
    position: relative;
    width: 300px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: fadeInScale 1s ease-out;
}

/* Outer decorative ring */
.hero-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

/* Secondary faint ring (for depth) */
.hero-logo::after {
    content: '';
    position: absolute;
    top: 8%;
    left: 8%;
    width: 84%;
    height: 84%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.25);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---------- Headline ---------- */
.hero-headline {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #F5B041;
    text-align: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

/* ---------- Tagline ---------- */
.hero-tagline {
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* ---------- Count Cards ---------- */
.counts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.count-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 8px;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.count-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.count-card:nth-child(2).visible {
    transition-delay: 0.15s;
}

.count-number {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    font-variant-numeric: tabular-nums;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.count-label {
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.03em;
}

/* ---------- CTA Buttons ---------- */
.cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 8px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-height: 46px;
    cursor: pointer;
    border: none;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 176, 65, 0.3);
    text-decoration: none;
}

.cta:active {
    transform: translateY(0);
}

.cta-primary {
    background: linear-gradient(135deg, #F5B041 0%, #E89923 100%);
    color: #1A2332;
}

.cta-secondary {
    background: linear-gradient(135deg, #F5B041 0%, #E89923 100%);
    color: #1A2332;
}

.cta-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-label {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

/* ---------- Chevron Divider ---------- */
.chevrons {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 0;
    position: relative;
    z-index: 1;
    opacity: 0.85;
}

.chevron-img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(245, 176, 65, 0.3));
    animation: chevronPulse 3s ease-in-out infinite;
}

@keyframes chevronPulse {
    0%, 100% { opacity: 0.85; transform: translateX(0); }
    50%      { opacity: 1;    transform: translateX(4px); }
}

/* ---------- Footer ---------- */
.landing-footer {
    margin-top: auto;
    padding: 20px 0 8px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
    text-align: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 480px) {
    .hero-logo { width: 340px; height: 340px; }
    .hero-logo-img { width: 85%; height: 85%; }
    .hero-headline { font-size: 22px; }
    .count-number { font-size: 30px; }
    .cta { font-size: 14px; }
}

@media (min-width: 768px) {
    .landing { padding: 40px 24px; }
    .hero { max-width: 480px; }
    .hero-logo { width: 380px; height: 380px; }
    .hero-logo-img { width: 85%; height: 85%; }
    .hero-headline { font-size: 24px; }
    .hero-tagline { font-size: 16px; }
    .count-number { font-size: 34px; }
}