:root {
    --bg-color: #0a0a0a;
    /* Neutral 950 */
    --text-color: #f3f4f6;
    /* Gray 100 */
    --text-muted: #9ca3af;
    /* Gray 400 */
    --brand-orange: hsl(27 96% 61%);
    /* App Orange */
    --primary-color: #3b82f6;
    /* Blue 500 */
    --primary-hover: #2563eb;
    /* Blue 600 */
    --accent-color: #a855f7;
    /* Purple 500 */
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --telegram-user-bg: #8774e1;
    /* Telegram Purple */
    --telegram-bot-bg: #212121;
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
    /* Ensure relative positioning context if needed */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary.glow {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* Force viewport width */
    max-width: 100%;
    /* Safety */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    /* Explicitly prevent padding overflow */
    overflow-x: hidden;
    /* Ensure content inside doesn't spill */
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3);
    /* More Translucid */
    padding: 0.8rem 5%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-links a:not(.btn-primary):hover {
    opacity: 1;
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* Darkens video */
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-color);
    /* Was muted, now white for contrast */
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* Added shadow */
}



.slogan-band {
    background: rgba(0, 0, 0, 0.3);
    /* More Translucid */
    backdrop-filter: blur(12px);
    width: 100%;
    position: fixed;
    /* Fixed to viewport */
    bottom: 0;
    left: 0;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.slogan-band .footer-left,
.slogan-band .footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    /* Balance layout */
}

.slogan-band .footer-left img {
    height: 24px;
    width: 24px;
    border-radius: 50%;
}

/* Center Slogans */
.slogan-band .footer-center {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    text-align: center;
    flex: 2;
}

.slogan-band .footer-right {
    justify-content: flex-end;
}

.slogan-band .footer-right a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.slogan-band .footer-right a:hover {
    color: var(--primary-color);
}

.slogan-band .footer-right i {
    width: 18px;
    height: 18px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
    z-index: 10;
}

/* Sections General */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    /* Slightly tighter gap */
}

.grid-2-bias {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Features */
.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card h3 {
    margin-bottom: 1rem;
    /* Added spacing */
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.icon-box {
    background: rgba(255, 120, 40, 0.15);
    /* Orange bg */
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--brand-orange);
    /* Orange Icon */
}

/* Telegram Section */
.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--primary-color);
    width: 20px;
}

.badge {
    background: rgba(168, 85, 247, 0.2);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Phone Mockup */
.phone-mockup {
    background: #000;
    border-radius: 45px;
    padding: 12px;
    border: 8px solid #2a2a2a;
    /* Outer bezel */
    box-shadow:
        0 0 0 2px #444,
        /* Metallic edge */
        0 20px 50px rgba(0, 0, 0, 0.6);
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Dynamic Island / Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.screen-content {
    background: #0f172a;
    /* Fallback */
    /* Telegram Dark Theme + Watermark */
    /* Telegram Dark Theme + Watermark */
    background: linear-gradient(135deg, rgba(17, 27, 39, 0.85) 0%, rgba(26, 35, 50, 0.85) 100%),
        url("assets/images/utxowl-wtrmkr.png");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    height: 680px;
    /* Increased from 600px */
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    /* Custom scrollbar hidden */
    scrollbar-width: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.screen-content::-webkit-scrollbar {
    display: none;
}

.msg {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    animation: msgPop 0.3s forwards;
    margin-bottom: 0.5rem;
}

@keyframes msgPop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msg.bot {
    align-items: flex-start;
}

.msg.user {
    align-items: flex-end;
}

.msg .bubble {
    padding: 8px 12px;
    border-radius: 16px;
    max-width: 90%;
    line-height: 1.4;
    position: relative;
    font-size: 0.9rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.msg.bot .bubble {
    background: var(--telegram-bot-bg);
    color: #fff;
    border-bottom-left-radius: 4px;
}

.msg.user .bubble {
    background: var(--telegram-user-bg);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg .time {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* Link Previews / Cards inside messages */
.link-preview {
    margin-top: 8px;
    border-left: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    border-radius: 4px;
}

.link-preview .site-name {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.link-preview .title {
    font-weight: 600;
    margin-bottom: 4px;
}

.link-preview .desc {
    font-size: 0.8rem;
    color: #aaa;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Spec compliance */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Command Chips in Text */
#telegram code {
    background-color: var(--telegram-user-bg);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: inherit;
    /* Blend with text but look like a chip */
    font-size: 0.9em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 0 2px;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: var(--telegram-bot-bg);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #aaa;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Gallery */
.gallery-wrapper {
    padding: 1rem;
}

.gallery-main {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    /* Centering */
    align-items: center;
    justify-content: center;
}

.gallery-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover for both img and video */
    transition: opacity 0.3s;
    display: block;
}

/* Hide by default via class is handled in JS/HTML, but ensure video fits */
video.gallery-media {
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumb {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.thumb:hover {
    background: rgba(255, 255, 255, 0.05);
}

.thumb.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.gallery-caption {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Pricing */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    padding: 3rem 2rem;
    width: 320px;
    text-align: center;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 99px;
    text-transform: uppercase;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-card li {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.pricing-card li svg {
    stroke: var(--brand-orange);
    stroke-width: 3px;
    width: 16px;
    height: 16px;
}

.pricing-card li strong {
    color: var(--primary-color);
}

/* Tweets */
.tweets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tweet-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tweet-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.tweet-user div:first-child {
    font-weight: 600;
}

.tweet-user div:last-child {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tweet-content {
    font-size: 0.95rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simplified for mobile, could add burger */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Fix Telegram Layout Alignment */
    .grid-2-bias {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 3rem;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        grid-template-columns: none !important;
    }

    /* Override any bias specific column styles if they exist elsewhere */
    .grid-2-bias>* {
        width: 100% !important;
        margin: 0 !important;
        max-width: 100% !important;
    }

    .check-list {
        display: inline-block;
        text-align: left;
        /* Keep list left-aligned but centered block */
        margin: 0 auto;
    }

    .cta-group {
        flex-direction: column;
    }

    /* Fix Telegram Text Width and Alignment */
    #telegram {
        overflow-x: hidden;
        max-width: 100vw;
    }

    #telegram .text-content {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        overflow-wrap: break-word;
        margin: 0 auto;
    }

    #telegram .image-content {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0 1rem;
    }

    .phone-mockup {
        max-width: 100%;
        margin: 0 auto;
        /* Remove any side margins */
        left: auto;
        /* Reset any positioning */
        right: auto;
    }

    #telegram .check-list {
        display: block;
        width: 100%;
        text-align: left;
    }

    #telegram h2 {
        font-size: 2rem;
    }

    /* Ensure Mobile Menu Items are Visible */
    .mobile-nav-items {
        width: 100%;
    }

    .mobile-nav-items a {
        color: #ffffff !important;
        /* Force white */
        display: block;
        padding: 0.5rem 0;
        opacity: 1;
        visibility: visible;
    }

    /* Fix Gallery Thumbs */
    .gallery-thumbs {
        flex-direction: column;
        gap: 0.8rem;
        margin-top: 1rem;
    }

    .gallery-thumbs .thumb {
        width: 100%;
        justify-content: center;
    }

    /* Show fullscreen button on mobile */
    .fullscreen-btn {
        opacity: 1 !important;
    }
}

/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    opacity: 0;
    /* Hidden by default until hover */
}

.gallery-main:hover .fullscreen-btn {
    opacity: 1;
}

.fullscreen-btn:hover {
    background: rgba(var(--primary-rgb), 0.8);
    transform: scale(1.1);
}

/* Watermarks */
#features,
#telegram,
#gallery,
#pricing {
    position: relative;
    /* Ensure no background color obscures the watermark, or use rgba */
}

#features::before,
#telegram::before,
#gallery::before,
#pricing::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    background-image: url('assets/images/utxowl-wtrmkr.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.05;
    /* filter: grayscale(100%); Optional if image is not already grey */
    pointer-events: none;
    z-index: 0;
}

#features .container,
#telegram .container,
#gallery .container,
#pricing .container {
    position: relative;
    z-index: 1;
}

/* Mobile Menu Styles */
/* Default: Hidden on Desktop */
.mobile-menu-btn,
.mobile-nav,
.mobile-nav-overlay {
    display: none;
}

/* Mobile Media Query Updates */
@media (max-width: 768px) {

    /* Show Header Elements */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        z-index: 101;
    }

    .navbar {
        padding: 1rem;
    }

    /* Mobile Nav Drawer */
    .mobile-nav {
        display: flex;
        /* Override display: none */
        position: fixed;
        top: 0;
        right: -100%;
        /* Hidden off-screen */
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(20px);
        z-index: 200;
        transition: right 0.3s ease;
        padding: 2rem;
        flex-direction: column;
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .mobile-nav.active {
        right: 0;
    }

    .mobile-nav-overlay {
        display: block;
        /* Override display: none */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 199;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 3rem;
        font-size: 1.5rem;
        font-weight: bold;
    }

    .close-menu-btn {
        background: none;
        border: none;
        color: var(--text-color);
        cursor: pointer;
    }

    .mobile-nav-items {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-nav-items a {
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.2rem;
        font-weight: 500;
        transition: color 0.3s;
    }

    .mobile-nav-items a:hover {
        color: var(--primary-color);
    }

    /* Fix Footer / Slogan Band */
    /* Fix Footer / Slogan Band */
    .slogan-band {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100vw;
        /* Force viewport width */
        max-width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        text-align: center;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(12px);
        margin-top: 0;
        font-size: 0.7rem;
        justify-content: space-between;
        z-index: 999;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        /* Prevent padding overflow */
        overflow-x: hidden;
    }

    .slogan-band .copyright {
        white-space: nowrap;
    }

    .slogan-band .footer-center {
        display: none;
    }

    /* Show footer center but tiny if screen allows */
    @media (min-width: 450px) {
        .slogan-band .footer-center {
            display: flex;
            flex-direction: column;
            font-size: 0.6rem;
            line-height: 1;
        }
    }

    .slogan-band .footer-left {
        display: flex;
        align-items: center;
        width: auto;
        flex-shrink: 0;
        /* Prevent shrinking below content */
    }

    .slogan-band .footer-right {
        width: auto;
        flex-shrink: 0;
    }

    .slogan-band img {
        height: 20px;
    }

    #hero {
        padding-top: 80px;
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        margin: 2rem auto;
    }

    /* Flatten fonts for mobile scaling */
    html {
        font-size: 14px;
        /* Slightly reduce base font size */
    }

    h1 {
        font-size: 2rem !important;
        /* Scale down Hero Title */
    }

    h2 {
        font-size: 1.5rem !important;
    }

    /* Ensure Mobile Menu Items are Visible */
    .mobile-nav-items {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 202;
    }

    .mobile-nav-items a {
        color: #ffffff !important;
        /* Force white */
        display: block !important;
        padding: 1rem 0;
        /* Larger touch target */
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 1.2rem !important;
    }

    .mobile-nav-header {
        font-size: 1.2rem;
    }

    /* Fix CTA Buttons: Side by side on mobile */
    .cta-group {
        flex-direction: row !important;
        /* Force row */
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .cta-group .btn-primary {
        width: 48%;
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .cta-group .btn-secondary {
        width: 48%;
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    /* Fix Gallery Video Scaling */
    .gallery-main {
        aspect-ratio: 16/9;
        height: auto;
    }

    .gallery-media,
    video.gallery-media {
        object-fit: contain !important;
        /* Show full video content */
        max-width: 100%;
    }

    /* Fixed Phone Mockup "Thin" Issue */
    .phone-mockup {
        width: 280px !important;
        /* Fixed width on mobile context */
        min-width: 280px !important;
        margin: 0 auto;
        left: auto;
        right: auto;
        height: 600px;
        /* Consistently tall */
    }

    #telegram .image-content {
        min-height: 620px;
        /* Reserve space */
        display: flex;
        justify-content: center;
    }

    /* Refined Mobile Menu Items */
    .mobile-nav-items {
        width: 100%;
        display: flex;
        flex-direction: column;
        opacity: 1;
        visibility: visible;
        z-index: 202;
        margin-top: 1rem;
        height: 100%;
        padding: 0 1rem;
    }

    .mobile-nav-items a:not(.btn-primary) {
        color: #f3f4f6;
        display: block;
        padding: 0.75rem 0;
        /* Reduced padding */
        opacity: 1;
        font-size: 1.1rem;
        /* Smaller, elegant font */
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-weight: 500;
        transition: color 0.2s, background 0.2s;
    }

    .mobile-nav-items a:not(.btn-primary):hover {
        color: var(--primary-color);
        background: rgba(255, 255, 255, 0.02);
    }

    /* Custom Mobile Launch Button */
    .mobile-nav-items .btn-primary {
        margin-top: 1.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.8rem;
        font-size: 1rem;
        border-radius: 8px;
        background: var(--brand-orange);
        /* Solid brand color */
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
        /* Reset any weird link styles */
        color: white !important;
        text-align: center;
        border: none;
    }
}