/* ==========================================
   1. GLOBAL LAYOUT STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #0E0D0C; /* Authentic Repzy warm dark background */
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.global-footer {
    padding: 30px 20px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.12);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

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


/* ==========================================
   2. HOME PAGE & APP MOCKUP STYLES
   ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 4%;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: #FF7A00; /* Authentic Repzy Orange */
    top: -100px;
    left: -100px;
    animation: pulseGlow 10s infinite alternate;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: #FF5C00;
    bottom: -150px;
    right: -100px;
    animation: pulseGlow 12s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.08; }
    100% { transform: scale(1.15) translate(40px, 20px); opacity: 0.16; }
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 60px;
    align-items: center;
}

.hero-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.brand-icon {
    height: 20px;
    width: auto;
}

.brand-badge-text {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #FF7A00; /* Authentic Repzy Orange */
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #FFA800 0%, #FF7A00 50%, #FF4D00 100%); /* Athletic fire gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 19px);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0 0 40px 0;
    max-width: 580px;
    font-weight: 400;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.play-store-container {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-store-container:hover {
    transform: translateY(-3px) scale(1.03);
}

.play-badge-img {
    height: 48px;
    width: auto;
    display: block;
}

.yt-premium-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 48px;
    padding: 0 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.yt-premium-btn:hover {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
    border-color: #FF0000;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.yt-btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.yt-premium-btn:hover .yt-btn-icon {
    transform: rotate(5deg) scale(1.1);
}

.hero-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.app-mockup {
    width: 100%;
    max-width: 330px;
    aspect-ratio: 9 / 18.5;
    background: #0A0908; /* Deep warm black from app */
    border: 8px solid #1A1715; /* Bezel matching the warm app tones */
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.85), 
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                0 0 40px rgba(255, 122, 0, 0.03);
    position: relative;
    animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}



/* ==========================================
   3. PRIVACY POLICY PAGE STYLES
   ========================================== */
.container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 50px 40px;
    background: #151413;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeIn 0.6s ease-out;
}

.logo {
    text-align: center;
    margin-bottom: 40px;
}

.container h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #FF7A00;
    text-align: center;
}

.last-updated {
    text-align: center;
    font-size: 14px;
    color: #BDBDBD;
    margin-bottom: 40px;
}

section {
    margin-bottom: 30px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

p {
    font-size: 16px;
    color: #BDBDBD;
    line-height: 1.6;
    margin: 0 0 15px 0;
}


/* ==========================================
   4. ACCOUNT ACTIVATION PAGE STYLES
   ========================================== */
.activate-container {
    width: 90%;
    max-width: 450px;
    text-align: center;
    padding: 50px 40px;
    background: #151413;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeIn 0.6s ease-out;
    margin: auto;
}

.activate-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 40px;
    color: #FF7A00;
}

.activate-icon {
    font-size: 72px;
    margin-bottom: 25px;
    display: block;
}

.status-success {
    color: #00E676;
}

.status-error {
    color: #FF5252;
}

.activate-h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.activate-p {
    font-size: 16px;
    color: #BDBDBD;
    line-height: 1.6;
    margin: 0;
}

.instruction-card {
    margin-top: 35px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.btn {
    display: inline-block;
    background-color: #FF7A00;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}


/* ==========================================
   5. RESPONSIVE MEDIA QUERIES (GLOBAL & PAGES)
   ========================================== */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-info {
        align-items: center;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .action-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
        margin: 20px auto;
        padding: 30px 20px;
        border-radius: 24px;
    }

    .logo {
        margin-bottom: 30px;
    }

    .container h1 {
        font-size: 26px;
    }

    .last-updated {
        margin-bottom: 30px;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .activate-container {
        width: 92%;
        padding: 30px 20px;
        border-radius: 24px;
    }

    .activate-logo {
        margin-bottom: 30px;
    }

    .activate-icon {
        font-size: 60px;
        margin-bottom: 20px;
    }

    .activate-h1 {
        font-size: 22px;
    }

    .activate-p {
        font-size: 15px;
    }

    .instruction-card {
        margin-top: 25px;
        padding: 16px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
        margin-top: 25px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================
   6. LOGIN MOCKUP SPECIFICS
   ========================================== */
.login-mockup {
    background: #0A0908;
    justify-content: space-between;
}

.mockup-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 15px;
}

.mockup-logo {
    height: 70px;
    object-fit: contain;
}

.mockup-status-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: -10px;
}

.status-icon {
    color: #00E676;
}

.ecg-icon {
    width: 16px;
    height: 16px;
}

.status-bar-wrapper {
    position: relative;
    width: 80px;
    height: 12px;
    display: flex;
    align-items: center;
}

.status-bar-bg {
    width: 100%;
    height: 2px;
    background: rgba(0, 230, 118, 0.2);
    border-radius: 2px;
}

.status-bar-fill {
    position: absolute;
    left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00E676);
    box-shadow: 0 0 6px rgba(0, 230, 118, 0.6);
}

.status-bar-dot {
    position: absolute;
    left: 60%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 6px #00E676, 0 0 10px #00E676;
    transform: translate(-50%, 0);
}

.status-text {
    font-size: 8px;
    color: #00E676;
    font-weight: 600;
}

.mockup-bottom-sheet {
    background: #1E1E1E; /* darkSurface */
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.mockup-greeting {
    color: #FF8C00;
    font-size: 20px;
    font-weight: 800;
    text-align: left;
}

.mockup-subtitle {
    color: #BDBDBD; /* lightGrey */
    font-size: 11px;
    text-align: left;
    margin-bottom: 5px;
}

.mockup-input {
    border: none;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212; /* darkBackground */
}

.input-label {
    color: rgba(255, 255, 255, 0.38);
    font-size: 11px;
}

.eye-icon {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.54);
}

.mockup-forgot-pwd {
    color: #FF8C00;
    font-size: 9px;
    text-align: right;
    font-weight: 600;
    margin-bottom: 5px;
}

.mockup-btn {
    border-radius: 12px;
    padding: 14px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn {
    background: #FF8C00;
    color: #000; /* Dark text for contrast */
}

.mockup-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
    font-size: 9px;
}

.mockup-divider::before,
.mockup-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.google-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.google-icon {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.mockup-register {
    text-align: center;
    font-size: 10px;
    color: #ffffff;
    margin-top: 5px;
}

.mockup-footer-text {
    text-align: center;
    font-size: 8px;
    color: rgba(255, 255, 255, 0.15);
    margin-top: 10px;
}

/* ==========================================
   7. CHANGELOG PAGE STYLES
   ========================================== */
.changelog-container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
    padding: 50px 40px;
    background: #151413;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    animation: fadeIn 0.6s ease-out;
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
}

.changelog-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    color: #FF7A00;
}

.changelog-lang-toggle {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.changelog-lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.changelog-lang-btn.active {
    background: #FF7A00;
    color: white;
}

.changelog-timeline {
    position: relative;
    padding-left: 30px;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 11px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.changelog-version {
    position: relative;
    margin-bottom: 50px;
}

.changelog-version-marker {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FF7A00;
    border: 4px solid #151413;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 122, 0, 0.4);
}

.changelog-patch-marker {
    position: absolute;
    left: -26px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid #151413;
    z-index: 2;
}

.changelog-meta {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

.changelog-version-num {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
}

.changelog-date {
    font-size: 14px;
    color: #BDBDBD;
}

.changelog-item {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.changelog-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.changelog-badge.feature {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.changelog-badge.improvement {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.changelog-badge.fix {
    background: rgba(255, 122, 0, 0.15);
    color: #FF7A00;
    border: 1px solid rgba(255, 122, 0, 0.2);
}

.changelog-badge.breaking {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.changelog-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-top: 1px;
}

.changelog-patch {
    margin-top: 25px;
    padding-left: 20px;
    position: relative;
}


@media (max-width: 768px) {
    .changelog-container {
        width: 92%;
        margin: 20px auto;
        padding: 30px 20px;
        border-radius: 24px;
    }
    
    .changelog-header h1 {
        font-size: 26px;
    }
    
    .changelog-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .changelog-item {
        flex-direction: column;
        gap: 8px;
}
