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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b1b 50%, #1a1a1a 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #dc2626;
    box-shadow: 0 2px 10px rgba(220, 38, 38, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emergency-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #dc2626, #ffffff, #dc2626);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

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

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.construction-notice {
    text-align: center;
    margin-bottom: 3rem;
}

.construction-notice h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.construction-notice p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.countdown-container {
    text-align: center;
    margin-bottom: 4rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid #dc2626;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.time-unit .number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.8), 0 0 40px rgba(220, 38, 38, 0.4);
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.7));
}

.time-unit .label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-preview {
    margin-bottom: 3rem;
}

.features-preview h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(220, 38, 38, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    border-color: #dc2626;
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

.preview-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid rgba(255, 217, 61, 0.3);
    margin-bottom: 2rem;
}

.preview-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #ffd93d;
    font-weight: 600;
}

.dashboard-btn {
    display: inline-block;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    margin-bottom: 1rem;
}

.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
    background: linear-gradient(45deg, #5dd4cc, #4ba891);
}

.preview-note {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #e2e8f0;
}

.contact-section {
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.contact-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-email {
    color: #ffd93d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #ffed4e;
    text-shadow: 0 0 10px rgba(255, 217, 61, 0.5);
}

/* Removed duplicate footer styles - main footer styles are defined below */

.security-note {
    font-size: 0.9rem;
    color: #dc2626;
    font-weight: 500;
}

.launched {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: celebration 1s ease infinite alternate;
}

@keyframes celebration {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time-unit .number {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .construction-notice h2 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 80px;
    }
    
    .time-unit .number {
        font-size: 1.5rem;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}

/* Header Navigation Styles */
.header {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
}

.logo-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    gap: 0.5rem;
}

.logo-link:hover {
    opacity: 0.9;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    opacity: 0.8;
}

.nav-menu a.active {
    border-bottom: 2px solid rgba(255,255,255,0.8);
}

.nav-menu a.login-btn {
    background: rgba(220, 38, 38, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-menu a.login-btn:hover {
    background: #dc2626;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

.nav-menu a.logout-btn {
    background: rgba(107, 114, 128, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-menu a.logout-btn:hover {
    background: #6b7280;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
}

/* Footer Styles - High specificity to ensure consistency across all pages */
footer.footer,
.footer {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%) !important;
    color: #d1d5db !important;
    padding: 1.5rem 0 0.5rem !important;
    margin-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Remove any conflicting styles from other CSS files */
    text-align: left !important;
    backdrop-filter: none !important;
    /* Override any grid or flexbox styles that might interfere */
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

footer.footer .footer-container,
.footer .footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    /* Override any conflicting grid or flex styles */
    display: block !important;
}

footer.footer .footer-content,
.footer .footer-content {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
    margin-bottom: 1rem !important;
}

footer.footer .footer-section h4,
.footer .footer-section h4 {
    color: #ffffff !important;
    margin-bottom: 0.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

footer.footer .footer-links,
.footer .footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer.footer .footer-links li,
.footer .footer-links li {
    margin-bottom: 0.25rem !important;
}

footer.footer .footer-links a,
.footer .footer-links a {
    color: #9ca3af !important;
    text-decoration: none !important;
    transition: color 0.3s !important;
}

footer.footer .footer-links a:hover,
.footer .footer-links a:hover {
    color: #dc2626 !important;
}

footer.footer .footer-logo p,
.footer .footer-logo p {
    color: #9ca3af !important;
    font-size: 0.9rem !important;
    margin-top: 0.5rem !important;
}

footer.footer .footer-bottom,
.footer .footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.8rem !important;
    color: #6b7280 !important;
}

footer.footer .footer-copyright a,
footer.footer .footer-powered a,
.footer .footer-copyright a,
.footer .footer-powered a {
    color: #9ca3af !important;
    text-decoration: none !important;
}

footer.footer .footer-copyright a:hover,
footer.footer .footer-powered a:hover,
.footer .footer-copyright a:hover,
.footer .footer-powered a:hover {
    color: #dc2626 !important;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    padding-top: 80px; /* Account for fixed header */
}

/* Watermark Background */
body.watermark-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid white;
    border-radius: 10px;
    cursor: pointer;
    padding: 1rem;
    gap: 0.4rem;
    z-index: 1001;
    position: relative;
    min-width: 60px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 4px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
        min-width: 60px !important;
        min-height: 60px !important;
        padding: 1.2rem !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 3px solid white !important;
        border-radius: 10px !important;
        gap: 0.5rem !important;
    }
    
    .mobile-menu-toggle span {
        width: 35px !important;
        height: 5px !important;
        background: white !important;
        border-radius: 3px !important;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.98) !important;
        backdrop-filter: blur(10px);
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .main-nav.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        align-items: stretch;
    }
    
    .nav-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu > li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        padding: 1.2rem 2rem !important;
        justify-content: flex-start;
        border-radius: 0;
        display: block !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
        color: white !important;
        text-decoration: none !important;
        transition: background 0.3s ease !important;
    }
    
    .nav-menu a:hover {
        background: rgba(220, 38, 38, 0.3) !important;
        color: white !important;
    }
    
    .nav-menu a.active {
        background: rgba(220, 38, 38, 0.5) !important;
        color: white !important;
    }
    
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }
    
    .main-content {
        padding-top: 60px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .header .nav-container .mobile-menu-toggle {
        min-width: 70px !important;
        min-height: 70px !important;
        padding: 1.5rem !important;
        border: 4px solid white !important;
        gap: 0.6rem !important;
        display: flex !important;
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 12px !important;
    }
    
    .header .nav-container .mobile-menu-toggle span {
        width: 40px !important;
        height: 6px !important;
        background: white !important;
        display: block !important;
    }
    
    .nav-container {
        padding: 0 0.5rem !important;
    }
}

/* Force mobile menu visibility with highest specificity */
@media screen and (max-width: 768px) {
    .header .nav-container .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 60px !important;
        min-height: 60px !important;
        padding: 1.2rem !important;
        background: rgba(255, 255, 255, 0.25) !important;
        border: 3px solid white !important;
        border-radius: 10px !important;
        gap: 0.5rem !important;
        cursor: pointer !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    .header .nav-container .mobile-menu-toggle span {
        width: 35px !important;
        height: 5px !important;
        background: white !important;
        border-radius: 3px !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}