/* Enhanced Mobile-First Responsive Design */
        
/* Base mobile styles (320px and up) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

:root {
    --dark-red: #8e0000;
    --mid-red: #c1272d;
    --light-red: #e74c3c;
    --deep-space: #0a0a0f;
    --star-light: #f5f5f5;
    --cyber-blue: #3498db;
    --cyber-green: #2ecc71;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    height: 100vh;
    height: -webkit-fill-available;
}

body {
    /* Update existing body styles */
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--deep-space) 0%, var(--dark-red) 100%);
    color: var(--star-light);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-attachment: scroll;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    /* Add app-like padding for safe areas */
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-top: env(safe-area-inset-top, 0);
    overscroll-behavior-y: none; /* Prevents pull-to-refresh on some browsers */
    padding-bottom: 70px !important; /* Ensure content doesn't hide behind fixed nav */
}

/* App-like header - simplified and sticky */
header {
    padding: 10px 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.97);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(231, 76, 60, 0.2);
}

/* Container centering improvements */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    text-align: center;
}

/* Header alignment */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--light-red);
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.7);
}

/* App-like logo */
.logo-text {
    font-size: 1.1rem;
}

/* New mobile app bottom navigation */
.app-nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
    box-shadow: 0 -1px 0 rgba(231, 76, 60, 0.2);
    z-index: 1000;
    border-radius: 0;
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s ease;
    gap: 5px;
    width: 64px;
}

.app-nav-item.active {
    color: var(--light-red);
}

.app-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

/* Floating Action Button */
.fab-button {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--light-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.fab-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.6);
}

/* Mobile Navigation Enhanced */
.mobile-nav-toggle {
    display: none;
}

nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    transition: left 0.3s ease;
    z-index: 1001;
    padding-top: 80px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

nav.active {
    left: 0;
}

nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
    padding: 20px;
}

nav a {
    color: var(--star-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    background: rgba(20, 15, 20, 0.5);
}

nav a:hover {
    background: rgba(231, 76, 60, 0.3);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

nav a i {
    font-size: 1rem;
    color: var(--light-red);
    min-width: 20px;
}

/* Navigation overlay for mobile */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    backdrop-filter: blur(2px);
}

.nav-overlay.active {
    display: block;
}

/* Enhanced Hero Section for Mobile */
.hero {
    padding: 40px 0 50px;
    text-align: center;
    position: relative;
    min-height: calc(100vh - 76px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(10, 10, 15, 0.9));
    z-index: -1;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--light-red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 0 8px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero p {
    font-size: 1.1rem;
    max-width: 100%;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 8px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cta-button {
    background: var(--light-red);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    min-height: 56px;
    width: auto; /* Changed from 90% */
    max-width: none; /* Changed from 300px */
    display: inline-flex; /* Changed from flex */
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 2s infinite;
    padding: 0 32px; /* Added horizontal padding */
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 30px rgba(231, 76, 60, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
    }
}

/* Enhanced Features Section for Mobile */
.features {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--star-light);
    position: relative;
    padding: 0 16px;
    line-height: 1.3;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--mid-red), var(--light-red));
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(30, 25, 35, 0.8);
    border: none;
    border-radius: 20px;
    padding: 24px 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 
                 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    margin-bottom: 15px;
    transform: translateZ(0); /* Force hardware acceleration */
}

.feature-card:active {
    transform: scale(0.98);
    background: rgba(40, 30, 45, 0.8);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: var(--light-red);
    text-shadow: 0 0 15px rgba(231, 76, 60, 0.7);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-family: 'Orbitron', sans-serif;
    color: var(--star-light);
    line-height: 1.3;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Enhanced Testimonials for Mobile */
.testimonials {
    padding: 50px 0 25px; /* Increased from 60px to 100px */
    background: rgba(10, 5, 10, 0.4);
    position: relative;
}

.testimonial-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.testimonial-grid {
    display: block;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    background: rgba(40, 25, 35, 0.9);
    border-radius: 20px;
    padding: 24px 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                 0 1px 0 rgba(255, 255, 255, 0.1) inset;
    text-align: center;
    margin-bottom: 0; /* Ensure no extra spacing from the card itself */
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px; /* Reduced from 20px to 10px */
    padding: 0 20px;
}

.nav-arrow {
    background: rgba(231, 76, 60, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.nav-arrow:hover {
    background: var(--light-red);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.nav-arrow:disabled {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: var(--light-red);
    transform: scale(1.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 2.5rem;
    color: rgba(231, 76, 60, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin: 12px 0 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    padding-top: 15px;
    text-align: center;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mid-red), var(--light-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Enhanced Footer for Mobile */
footer {
    padding: 40px 0 80px;
    background: rgba(15, 10, 20, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(231, 76, 60, 0.2);
    margin-top: 30px;
}

/* Improved footer app icon */
.footer-app-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-app-icon i {
    font-size: 2.2rem;
    color: var(--light-red);
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

/* Better footer content layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Fix heading styles - removing the gray spot */
.footer-column h3 {
    font-size: 1rem;
    color: var(--light-red);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    position: relative;
    background: none; /* Remove any background */
    text-shadow: none; /* Remove any shadow */
}

/* Remove any pseudo-elements that might cause the gray spot */
.footer-column h3::before,
.footer-column h3::after {
    display: none;
}

/* Improved footer links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links li {
    width: 100%;
    margin-bottom: 0;
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 5px;
}

.footer-links a:hover {
    background: rgba(231, 76, 60, 0.1);
    color: white;
    transform: translateY(-2px);
}

.footer-links a i {
    font-size: 0.7rem;
    margin-right: 6px;
    color: var(--light-red);
}

/* Enhanced copyright section */
.copyright {
    margin-top: 35px;
    padding-top: 15px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop layout improvements */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 900px;
        gap: 25px;
    }
    
    .copyright {
        max-width: 800px;
    }
}

/* Very small screens optimization */
@media (max-width: 350px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Futuristic Elements for Mobile */
.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(193, 39, 45, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(193, 39, 45, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: -1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--light-red), transparent);
    filter: blur(25px);
    opacity: 0.15;
    z-index: -1;
}

.element-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: -10%;
}

.element-2 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    right: -10%;
}

.element-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 10%;
}

/* Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 1.7rem;
        margin-bottom: 16px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .feature-card {
        padding: 20px 16px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .testimonial-card {
        padding: 16px 12px;
    }
    
    .testimonial-content {
        font-size: 0.9rem;
    }
}

/* Large Mobile Devices (376px - 480px) */
@media (min-width: 376px) and (max-width: 480px) {
    .container {
        padding: 0 14px;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
}

/* Small Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
    
    nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        padding-top: 0;
        box-shadow: none;
    }
    
    nav ul {
        flex-direction: row;
        gap: 12px;
        padding: 0;
    }
    
    nav a {
        padding: 10px 16px;
        border: none;
        background: none;
        margin-bottom: 0;
        border-radius: 25px;
        justify-content: center;
        gap: 8px;
        font-size: 0.85rem;
        min-height: 44px;
    }
    
    nav a:hover {
        background: rgba(231, 76, 60, 0.2);
        transform: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
        max-width: 90%;
    }
    
    .cta-button {
        width: auto;
        max-width: none;
        padding: 18px 32px;
        font-size: 1.05rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 8px;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 8px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 8px;
    }
}

/* Tablets (769px - 1024px) */
@media (min-width: 769px) {
    .container {
        padding: 0 24px;
        max-width: 1200px;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
    
    nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        backdrop-filter: none;
        padding-top: 0;
        box-shadow: none;
    }
    
    nav ul {
        flex-direction: row;
        gap: 15px;
        padding: 0;
    }
    
    nav a {
        padding: 12px 18px;
        border: none;
        background: none;
        margin-bottom: 0;
        border-radius: 25px;
        justify-content: center;
        gap: 8px;
        font-size: 0.9rem;
    }
    
    nav a:hover {
        background: rgba(231, 76, 60, 0.2);
        transform: none;
    }
    
    nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--light-red);
        transition: width 0.3s ease;
    }
    
    nav a:hover::after {
        width: 100%;
    }
    
    .hero {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.3rem;
        max-width: 80%;
    }
    
    .cta-button {
        width: auto;
        max-width: none;
        padding: 18px 35px;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 12px;
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        padding: 0 12px;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
        padding: 0 12px;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .container {
        padding: 0 32px;
        max-width: 1400px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    nav a {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .features-grid {
        gap: 30px;
        padding: 0 16px;
    }
}

/* Landscape Phone Optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 20px 0 30px;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* iPhone SE and similar small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    .logo-text {
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .feature-card {
        padding: 18px 14px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .cyber-grid {
        background-size: 30px 30px;
    }
    
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
        border-color: rgba(231, 76, 60, 0.3);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
    
    .cta-button:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(193, 39, 45, 0.4);
    }
    
    nav a:hover {
        background: rgba(231, 76, 60, 0.2);
        transform: none;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .hero {
        min-height: calc(100vh - 76px);
    }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .cta-button {
        -webkit-appearance: none;
        appearance: none;
        border-radius: 50px;
    }
}

/* App-like selection color */
::selection {
    background: rgba(231, 76, 60, 0.3);
    color: white;
}

/* App status bar */
.app-status-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0);
    background-color: #0a0a0f;
    z-index: 1001;
}

/* Enhanced App Install Banner */
.app-install-banner {
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(25, 20, 30, 0.85);
    padding: 14px 18px;
    border-radius: 16px;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(231, 76, 60, 0.5),
        0 0 0 1px rgba(231, 76, 60, 0.2) inset;
    display: none;
    align-items: center;
    z-index: 1010;
    max-width: 85%;
    width: auto;
    backdrop-filter: blur(15px);
    justify-content: space-between;
    margin-top: env(safe-area-inset-top, 0);
    overflow: hidden;
    position: relative; /* Ensure position relative for absolute child */
}

/* Repositioned close button */
.close-banner {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    z-index: 2;
}

.close-banner:hover, .close-banner:active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Banner content container */
.install-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* App icon in install banner */
.install-banner-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mid-red), var(--light-red));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    margin-left: 20px;
}

.install-banner-icon i {
    font-size: 1.4rem;
    color: white;
}

/* Banner text styling */
.install-banner-text {
    flex: 1;
}

.install-banner-text h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    color: white;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

.install-banner-text p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
}

/* Banner buttons */
.install-btn {
    background: var(--light-red);
    color: white;
    border: none;
    padding: 8px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
    /* No right margin needed since parent has margin */
    margin-left: 5px;
}

.install-btn:hover, .install-btn:active {
    background: #f55a4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(231, 76, 60, 0.4);
}

/* Add spacing between install button and close button */
.install-banner-actions {
    margin-right: 2px; /* Add right margin to create space before the X button */
    display: flex;
    align-items: center;
}

/* Ensure the install banner has enough padding for both elements */
.app-install-banner {
    padding: 14px 40px 14px 2px; /* Increased right padding for X button */
}

/* Show banner animation */
.app-install-banner.show {
    display: flex;
    animation: slideInBanner 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

@keyframes slideInBanner {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Pulse animation for install button */
@keyframes pulsateButton {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.install-btn {
    animation: pulsateButton 2s infinite;
}

/* Hide on desktop */
@media (min-width: 769px) {
    .app-install-banner {
        display: none !important;
    }
}

/* Desktop view adjustments for mobile frame */
@media (min-width: 769px) {
    /* Better scrollbar for desktop mobile view */
    .app-wrapper::-webkit-scrollbar {
        width: 4px; /* Thinner scrollbar for mobile frame */
        right: 4px;
    }
    
    .app-wrapper::-webkit-scrollbar-track {
        background: rgba(10, 10, 15, 0.3);
    }
    
    .app-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, var(--mid-red), var(--light-red));
        border: none;
    }
    
    /* Fixed bottom nav in mobile frame */
    .app-wrapper .app-nav-bottom {
        position: absolute;
        width: calc(100% - 8px);
        left: 4px;
        right: 4px;
        bottom: 4px;
        border-radius: 0 0 36px 36px;
        padding-bottom: 12px;
    }
    
    /* Adjust home indicator */
    .home-indicator {
        bottom: 65px !important;
    }
    
    /* Adjust FAB position */
    .app-wrapper .fab-button {
        position: absolute;
        right: 20px;
        bottom: 80px;
    }
    
    /* Adjust footer padding */
    .app-wrapper footer {
        padding-bottom: 80px !important;
    }
}

/* Additional fixes for proper scrolling */
html, body {
    overscroll-behavior: none;
}

.app-wrapper {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--light-red) rgba(10, 10, 15, 0.3);
}

/* Fix bottom navigation in desktop mode */
@media (min-width: 769px) {
    /* Position the bottom nav properly in desktop mode */
    .app-wrapper .app-nav-bottom {
        position: fixed !important;
        bottom: 0 !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 390px !important;
        max-width: 100% !important;
        border-radius: 0 0 40px 40px !important;
        z-index: 1000;
        margin: 0 !important;
        padding-bottom: 15px !important;
    }
    
    /* Ensure content doesn't hide behind nav */
    .app-wrapper {
        padding-bottom: 70px;
    }
    
    /* Move home indicator above nav */
    .home-indicator {
        bottom: 65px !important;
    }
}

/* Improved Desktop Mode Experience */
@media (min-width: 769px) {
    /* Enhanced background for desktop */
    body {
        background: linear-gradient(135deg, #0a0a15 0%, #1a0a0f 100%);
        display: flex;
        justify-content: center;
        align-items: flex-start;
        min-height: 100vh;
        padding: 40px 0;
    }
    
    /* Enhanced device frame */
    .app-wrapper {
        width: 390px;
        height: calc(100vh - 80px);
        max-height: 844px;
        overflow-y: auto;
        overflow-x: hidden;
        position: relative;
        border-radius: 40px;
        box-shadow: 
            0 0 0 8px rgba(60, 60, 70, 0.5),
            0 25px 50px rgba(0, 0, 0, 0.3);
        background: linear-gradient(135deg, var(--deep-space) 0%, var(--dark-red) 100%);
        transform: translateZ(0);
        
        /* Add subtle phone frame details */
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 120px;
            height: 30px;
            background: rgba(10, 10, 15, 0.8);
            border-radius: 0 0 20px 20px;
            z-index: 1002;
        }
        
        /* Add power button */
        &::after {
            content: '';
            position: absolute;
            top: 100px;
            right: -8px;
            width: 4px;
            height: 40px;
            background: rgba(60, 60, 70, 0.7);
            border-radius: 2px;
            z-index: 1002;
        }
    }
    
    /* Add volume buttons */
    .app-wrapper .volume-buttons {
        position: absolute;
        top: 150px;
        left: -8px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 1002;
    }
    
    .app-wrapper .volume-button {
        width: 4px;
        height: 30px;
        background: rgba(60, 60, 70, 0.7);
        border-radius: 2px;
    }
    
    /* Add floating reflection effect */
    .device-reflection {
        position: absolute;
        top: 5%;
        left: 5%;
        right: 5%;
        height: 40%;
        background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
        border-radius: 30px;
        pointer-events: none;
        opacity: 0.3;
    }
    
    /* Improve scrollbar styling */
    .app-wrapper::-webkit-scrollbar {
        width: 4px;
        right: 4px;
    }
    
    .app-wrapper::-webkit-scrollbar-track {
        background: rgba(10, 10, 15, 0.2);
        margin: 40px 0;
    }
    
    .app-wrapper::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, var(--mid-red), var(--light-red));
        border-radius: 2px;
    }
}

/* Desktop mode without phone frame */
@media (min-width: 769px) {
    /* Reset the body styling */
    body {
        background: linear-gradient(135deg, var(--deep-space) 0%, var(--dark-red) 100%);
        display: block;
        padding: 0;
        min-height: 100vh;
    }
    
    /* Remove phone frame styling */
    .app-wrapper {
        width: 100%;
        max-width: 1200px;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        margin: 0 auto;
        overflow: visible;
    }
    
    /* Hide mobile-specific elements */
    .home-indicator,
    .volume-buttons,
    .device-reflection {
        display: none !important;
    }
    
    /* Desktop header styling */
    header {
        padding: 20px 0;
    }
    
    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
    
    .logo {
        margin-right: auto;
    }
    
    /* Improve desktop content layout */
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    /* Hero section for desktop */
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        max-width: 800px;
    }
    
    .hero p {
        font-size: 1.3rem;
        max-width: 700px;
        margin-bottom: 40px;
    }
    
    /* Features grid for desktop */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        gap: 30px;
    }
    
    /* Testimonials for desktop */
    .testimonial-container {
        max-width: 900px;
    }
    
    /* Convert bottom nav to top nav for desktop */
    .app-nav-bottom {
        position: static !important;
        background: transparent;
        box-shadow: none;
        justify-content: flex-end;
        padding: 0;
        width: auto !important;
        display: flex;
        margin-left: auto;
    }
    
    .app-nav-item {
        flex-direction: row;
        padding: 10px 15px;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        width: auto;
    }
    
    .app-nav-item i {
        font-size: 1rem;
        margin-bottom: 0;
        margin-right: 5px;
    }
    
    .app-nav-item.active {
        background: rgba(231, 76, 60, 0.2);
        border-radius: 20px;
    }
    
    /* Adjust footer for desktop */
    footer {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        gap: 40px;
    }
    
    /* Adjust FAB for desktop */
    .fab-button {
        right: 30px;
        bottom: 30px;
    }
    
    /* Improve scrollbar for desktop */
    ::-webkit-scrollbar {
        width: 10px;
    }
    
    ::-webkit-scrollbar-track {
        background: rgba(10, 10, 15, 0.5);
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, var(--mid-red), var(--light-red));
        border-radius: 5px;
    }
}

/* Desktop Mode: Move Bottom Nav to Top */
@media (min-width: 769px) {
    /* Enhance header for desktop */
    header {
        padding: 0;
        height: 70px;
        display: flex;
        align-items: center;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    /* Move nav to header */
    .app-nav-bottom {
        position: static !important;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        width: auto !important;
        padding: 0;
        margin-left: auto;
        border-radius: 0;
    }
    
    /* Style nav items for header */
    .app-nav-item {
        flex-direction: row;
        font-size: 0.9rem;
        padding: 10px 16px;
        color: rgba(255, 255, 255, 0.8);
        border-radius: 24px;
        width: auto;
        gap: 8px;
    }
    
    .app-nav-item i {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    .app-nav-item.active {
        background: rgba(231, 76, 60, 0.2);
        color: var(--light-red);
    }
    
    /* Add hover effect */
    .app-nav-item:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-2px);
    }
    
    /* Adjust spacing for top nav */
    .app-wrapper {
        padding-bottom: 0; /* Remove bottom padding */
    }
    
    /* Hide home indicator since nav is at top */
    .home-indicator {
        display: none;
    }
    
    /* Ensure footer has proper spacing */
    footer {
        padding-bottom: 50px;
    }
    
    /* Hide bottom nav on mobile only */
    .mobile-nav-display {
        display: none;
    }
}

/* Keep bottom nav on mobile */
@media (max-width: 768px) {
    /* Hide desktop navigation if needed */
    .desktop-nav {
        display: none !important;
    }
}

/* Desktop Navigation Fix */
@media (min-width: 769px) {
    /* Hide bottom navigation in desktop mode */
    .app-nav-bottom {
        display: none !important;
    }
    
    /* Create clone of navigation in header */
    header .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }
    
    /* Add desktop navigation to header */
    header .header-content:after {
        content: "";
        display: block;
        width: 100%;
        height: 0;
        clear: both;
    }
    
    /* Create desktop navigation */
    header .logo {
        float: left;
    }
    
    /* Add this to your HTML to create the desktop navigation */
    header .desktop-nav {
        float: right;
        display: flex;
        align-items: center;
        margin-left: auto;
    }
    
    header .desktop-nav a {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        padding: 10px 16px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 8px;
        border-radius: 20px;
        transition: all 0.2s ease;
    }
    
    header .desktop-nav a:hover {
        background: rgba(231, 76, 60, 0.1);
        color: white;
    }
    
    header .desktop-nav a.active {
        color: var(--light-red);
        background: rgba(231, 76, 60, 0.1);
    }
    
    header .desktop-nav a i {
        font-size: 0.95rem;
    }
}

/* Enhanced Desktop Mode Styling */
@media (min-width: 769px) {
    /* Remove mobile frame in desktop mode */
    .app-wrapper {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        padding-bottom: 0;
    }
    
    /* Hide mobile-specific elements */
    .home-indicator,
    .app-status-bar,
    .app-nav-bottom {
        display: none !important;
    }
    
    /* Enhanced Header for Desktop */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        padding: 0;
    }
    
    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        padding: 0 30px;
    }
    
    /* Logo styling */
    .logo {
        display: flex;
        align-items: center;
    }
    
    .logo-icon {
        font-size: 1.8rem;
        margin-right: 10px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        font-family: 'Orbitron', sans-serif;
        font-weight: 700;
    }
    
    /* Enhanced Desktop Navigation */
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-left: auto; /* Push navigation to the right */
        justify-content: flex-end; /* Align items to the right */
        width: auto;
    }
    
    .desktop-nav a {
        padding: 8px 15px;
        border-radius: 6px;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .desktop-nav a:hover {
        background: rgba(231, 76, 60, 0.1);
        color: white;
        transform: translateY(-2px);
    }
    
    .desktop-nav a.active {
        background: rgba(231, 76, 60, 0.2);
        color: var(--light-red);
    }
    
    .desktop-nav a i {
        font-size: 1rem;
    }
    
    /* Content Adjustments for Desktop */
    .app-screen {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    /* First section needs padding for fixed header */
    #home {
        padding-top: 100px;
    }
    
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* Hero improvements for desktop */
    .hero h1 {
        font-size: 3.5rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero p {
        font-size: 1.3rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Features grid for desktop */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        max-width: 1200px;
    }
    
    /* Testimonials for desktop */
    .testimonial-container {
        max-width: 700px;
    }
    
    .testimonial-grid {
        height: 250px;
    }
    
    /* Floating action button repositioning */
    .fab-button {
        right: 30px;
        bottom: 30px;
        transform: scale(1);
    }
    
    /* Enhanced footer */
    footer {
        padding: 60px 0 40px;
        background: rgba(10, 5, 10, 0.6);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        max-width: 1000px;
    }
    
    /* Improved desktop scrollbar */
    ::-webkit-scrollbar {
        width: 12px;
    }
    
    ::-webkit-scrollbar-track {
        background: rgba(10, 10, 15, 0.3);
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(to bottom, var(--mid-red), var(--light-red));
        border-radius: 6px;
        border: 3px solid rgba(10, 10, 15, 0.3);
    }
}

/* Fix for very wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
}

/* Hide email button in desktop mode */
@media (min-width: 769px) {
    /* Hide the floating action button in desktop mode */
    .fab-button {
        display: none !important;
    }
    
    /* Alternative: If you want to show a desktop email link in the navigation instead */
    .desktop-nav .email-link {
        color: var(--light-red);
        border: 1px solid rgba(231, 76, 60, 0.3);
        padding: 8px 16px;
        margin-left: 10px;
    }
    
    .desktop-nav .email-link:hover {
        background: rgba(231, 76, 60, 0.2);
        border-color: rgba(231, 76, 60, 0.5);
    }
}

/* Fix desktop navigation alignment */
@media (min-width: 769px) {
    /* Right-aligned desktop navigation */
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 5px;
        margin-left: auto; /* Push navigation to the right */
        justify-content: flex-end; /* Align items to the right */
        width: auto;
    }
    
    /* Header content container */
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 30px;
    }
    
    /* Logo alignment */
    .logo {
        margin-right: auto; /* Push logo to the left */
        justify-content: flex-start;
    }
    
    /* Remove float properties that might interfere */
    header .desktop-nav {
        float: none;
    }
    
    header .logo {
        float: none;
    }
    
    /* Make sure we don't have competing alignments */
    header .header-content:after {
        display: none;
    }
}

/* Hide desktop navigation in mobile mode */
@media (max-width: 768px) {
    /* Hide desktop navigation on mobile screens */
    .desktop-nav {
        display: none !important;
    }
    
    /* Ensure the logo is centered on mobile */
    .header-content {
        justify-content: center;
    }
    
    .logo {
        margin-right: 0;
    }
}

/* Increase spacing after testimonials section */
.testimonials {
    padding: 50px 0 100px; /* Increased from 60px to 100px */
    background: rgba(10, 5, 10, 0.4);
    position: relative;
}

/* Desktop-specific testimonial spacing */
@media (min-width: 769px) {
    .testimonials {
        padding: 50px 0 80px; /* Increased from 40px to 80px */
    }
    
    /* Ensure consistent spacing in desktop non-frame mode */
    body:not(.mobile-frame) .testimonials {
        padding-bottom: 100px;
    }
}

/* Reduce spacing between testimonials and navigation buttons */
.testimonial-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px; /* Reduced from 20px to 10px */
    padding: 0 20px;
}

/* Additional testimonial card adjustments for better spacing */
.testimonial-card {
    /* Existing properties remain unchanged */
    margin-bottom: 0; /* Ensure no extra spacing from the card itself */
}

/* Adjust spacing for desktop */
@media (min-width: 769px) {
    .testimonial-nav {
        margin-top: 8px; /* Even less spacing on desktop */
    }
}

/* Improved Mobile Spacing and Centering */
@media (max-width: 768px) {
    /* Consistent container padding */
    .container {
        padding: 0 20px;
    }
    
    /* Improved vertical spacing */
    section {
        margin-bottom: 40px;
    }
    
    /* Better testimonial centering */
    .testimonials {
        padding: 40px 0 60px;
    }
    
    .testimonial-container {
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
    }
    
    .testimonial-card {
        padding: 20px 16px;
        width: calc(100% - 10px);
        left: 5px;
    }
    
    /* Improved footer alignment */
    footer {
        padding: 40px 0 90px;
    }
    
    .footer-content {
        width: 100%;
        max-width: 100%;
        gap: 25px;
        padding: 0;
    }
    
    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        width: 100%;
    }
    
    .footer-links a {
        width: 100%;
        justify-content: center;
    }
    
    /* Better vertical rhythm */
    .hero h1 {
        margin-bottom: 16px;
    }
    
    .hero p {
        margin-bottom: 24px;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    /* Improved feature card spacing */
    .feature-card {
        margin-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center header elements properly */
    .header-content {
        justify-content: center;
        padding: 0;
    }
    
    /* Center navigation items */
    .app-nav-bottom {
        padding: 12px 5px;
    }
    
    /* Fix floating action button position */
    .fab-button {
        right: 20px;
        bottom: 100px; /* Increased from 80px to 100px to move it higher */
    }
    
    /* Improved form elements if any */
    input, textarea, select, button {
        width: 100%;
        max-width: 100%;
    }
}

/* Even smaller screens */
@media (max-width: 350px) {
    .container {
        padding: 0 15px;
    }
    
    .app-nav-item {
        width: 60px;
        padding: 8px 2px;
    }
    
    .fab-button {
        bottom: 95px;
        width: 50px; /* Slightly smaller on very small screens */
        height: 50px;
    }
}