body {
    font-family: 'JetBrains Mono', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
    background: radial-gradient(1200px 800px at 18% 12%, rgba(0, 229, 255, 0.20), rgba(0, 0, 0, 0) 58%),
        radial-gradient(1000px 720px at 88% 22%, rgba(0, 229, 255, 0.14), rgba(0, 0, 0, 0) 56%),
        radial-gradient(900px 680px at 36% 88%, rgba(125, 92, 255, 0.06), rgba(0, 0, 0, 0) 52%),
        linear-gradient(135deg, #061018, #040812, #060b14, #040611);
    background-size: 220% 220%;
    animation: gradientShift 10s ease-in-out infinite;
    position: relative;

    /* Scrollable body */
    color: #e0e0e0;
    margin: 0;
    padding: 20px; /* Padding to avoid text touching edges */
    min-height: 100vh; /* Ensure full viewport height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.page {
    position: relative;
    z-index: 2;
    padding-top: 28px;
    padding-bottom: 28px;
    /* Elevated gray container (plays well with the Matrix background) */
    background: linear-gradient(180deg, rgba(90, 90, 90, 0.48), rgba(35, 35, 35, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow:
        0 22px 75px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.10) inset,
        0 0 40px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px) saturate(1.05);
    overflow: hidden;
    animation: pageFloat 14s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes pageFloat {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.4deg); }
    25% { transform: translate3d(4px, -3px, 0) rotate(0.3deg); }
    50% { transform: translate3d(-3px, 2px, 0) rotate(0.5deg); }
    75% { transform: translate3d(2px, 4px, 0) rotate(-0.2deg); }
}

@media (max-width: 576px) {
    .page {
        border-radius: 16px;
    }
}

/* Matrix background canvas (falls behind page content) */
#matrix-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    #matrix-canvas {
        display: none;
    }
}

.site-header {
    padding-bottom: 18px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 24px;
}

.brand-tagline {
    font-size: 24px;
    font-weight: 500;
    color: rgba(200, 210, 220, 0.85);
    letter-spacing: 0.03em;
    line-height: 1.5;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.6),
        -1px -1px 1px rgba(255, 255, 255, 0.08);
}

.hero {
    margin-top: 6px;
}

.brand-logo {
    width: 140px;
    height: auto;
    flex-shrink: 0;
}

.accent-green {
    color: #00ff00;
}

.title-sub {
    color: #f5f5f5;
    font-size: 24px;
    margin-top: 6px;
}

.platform-logo {
    object-fit: contain;
}

.platform-logo--android {
    width: 130px;
    height: 130px;
}

.platform-logo--apple {
    width: 105px;
    height: 105px;
    margin-bottom: 5px;
}

.typing-line {
    min-height: 40px;
    text-align: center;
}

.cta-row {
    margin-top: 28px;
    margin-bottom: 28px;
}

.cta-btn {
    position: relative;
    isolation: isolate;
    border-radius: 16px;
    border: 0;
    padding: 14px 28px;
    font-size: 18px;
    min-width: 220px;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    background: linear-gradient(135deg, #00e5ff 0%, #00c2ff 55%, #0077ff 100%);
    background-size: 200% 200%;
    animation: ctaGradient 6s ease infinite;
    box-shadow:
        0 18px 44px rgba(0, 229, 255, 0.26),
        0 10px 26px rgba(0, 194, 255, 0.18);
    transform: translateZ(0);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta-btn:hover {
    transform: scale(1.02);
    filter: saturate(1.12) brightness(1.03);
    box-shadow:
        0 26px 60px rgba(0, 229, 255, 0.32),
        0 14px 32px rgba(0, 194, 255, 0.18);
}

.cta-btn:active {
    transform: translateY(0px) scale(0.99);
}

.cta-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.12),
        0 0 0 8px rgba(0, 229, 255, 0.22),
        0 16px 36px rgba(0, 229, 255, 0.18),
        0 10px 24px rgba(125, 92, 255, 0.18);
}

.cta-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: radial-gradient(120px 80px at 20% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 60%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%);
    opacity: 0.6;
    mix-blend-mode: overlay;
    z-index: -1;
    transition: opacity 180ms ease;
}

.cta-btn:hover::before {
    opacity: 0.8;
}

@keyframes ctaGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-divider {
    width: 100%;
    text-align: center;
    margin-top: 12px;
    margin-bottom: 12px;
}

.section-divider img {
    max-height: 44px;
    animation: dividerBlink 6s ease-in-out infinite;
}

@keyframes dividerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.bio-row {
    margin-bottom: 8px;
}

.bio {
    font-size: 22px;
    line-height: 1.55;
    max-width: 980px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(0, 120, 180, 0.04));
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-left: 4px solid rgba(0, 229, 255, 0.6);
    border-radius: 12px;
    color: rgba(245, 245, 245, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.footer {
    width: 100%;
    text-align: center;
    margin-top: 22px;
    opacity: 0.9;
}

.footer-text {
    letter-spacing: 0.08em;
    font-size: 14px;
    color: rgba(245, 245, 245, 0.85);
}

/* Keyframes for smooth gradient animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    body { animation: none; }
    .page { animation: none; }
    .section-divider img { animation: none; }
}

.container {
    color: white !important;
    padding: 32px;
}

.title { 
    font-size: 35px;
    font-weight: bold;
    text-align: center;
}

.title-container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.col-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.iphone-frame {
    width: 300px;
    height: 600px;
    border: 10px solid black;
    border-radius: 30px;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.notch {
    width: 100px;
    height: 30px;
    background-color: black;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.logos {
    margin-top: 24px;
    margin-bottom: 24px;
}
.screen {
    width: 100%;
    height: calc(100% );
    border-radius: 20px;
    overflow: hidden;
}

.home-button {
    visibility: hidden;
    width: 50px;
    height: 50px;
    background-color: #585858;
    border-radius: 50%;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* CSS to style the Telegram link */
.telegram-link {
    color: #00e5ff; /* Bright cyan for visibility on dark background */
    font-weight: bold;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for extra contrast */
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
    margin-bottom: 20px;
}

/* Hover effect for added interactivity */
.telegram-link:hover {
    background-color: #00e5ff;
    color: #1a1a1a; /* Dark color for contrast against bright hover background */
}

#typing { 
    font-size: 16px;
    color: #e0e0e0;
}

.companies {
    margin-top: 40px;
    padding: 28px 32px;
    background: #e0e0e0;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-left: 4px solid rgba(0, 229, 255, 0.6);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.companies img {
    margin: 16px;
}


.laptop {
    width: 80%;
    max-width: 800px;
    border: 10px solid black;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}

.laptop-screen {
    width: 100%;
    height: 40vh;
    background-color: white;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Fox Stories floating ad – rubble brick falling from top */
@keyframes foxAdEnter {
    0% {
        transform: translate(-50%, -120%) rotate(-18deg);
        opacity: 0.3;
        filter: blur(2px);
    }
    75% {
        transform: translate(-50%, 0) rotate(4deg);
        opacity: 1;
        filter: blur(0);
    }
    85% {
        transform: translate(-50%, 12px) rotate(-1deg) scale(1.02, 0.96);
        opacity: 1;
        filter: blur(0);
    }
    92% {
        transform: translate(-50%, -4px) rotate(0.5deg) scale(1, 1);
        opacity: 1;
        filter: blur(0);
    }
    100% {
        transform: translate(-50%, 0) rotate(0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
}

.fox-ad {
    --fox-orange: #e67e22;
    --fox-orange-dark: #d35400;
    --fox-peach: #fdf6e9;
    --fox-tan: #e8d5b7;
    --fox-brown: #5d4e37;

    position: relative;
    z-index: 2;
    margin: 0 auto 24px;
    width: min(680px, 100%);
    padding: 20px 24px;
    background: linear-gradient(180deg, var(--fox-peach), var(--fox-tan));
    border: 1px solid rgba(93, 78, 55, 0.25);
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.fox-ad__content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.fox-ad__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.fox-ad__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--fox-brown);
    text-align: left;
    flex: 1;
}

.fox-ad__line {
    display: block;
}

.fox-ad__line--question {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.85;
}

.fox-ad__line--cta {
    margin-top: 2px;
    font-size: 19px;
    font-weight: 700;
    color: var(--fox-orange-dark);
    letter-spacing: 0.01em;
}

.fox-ad__buttons {
    display: flex;
    gap: 12px;
}

.fox-ad__btn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    border: none;
}

.fox-ad__btn--primary {
    background: linear-gradient(135deg, var(--fox-orange), var(--fox-orange-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(230, 126, 34, 0.4);
}

.fox-ad__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

@media (max-width: 768px) {
    .fox-ad {
        width: 100%;
    }

    .fox-ad__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .fox-ad__text {
        text-align: center;
    }
}