/* ===================================
   FIZBEE LANDING PAGE - MODERN STYLES
   Mobile-First Responsive Design
   =================================== */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #545454;
    background: linear-gradient(135deg, #545454 0%, #3a3a3a 100%);
    min-height: 100vh;
}

/* Accessibility - Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container for responsive layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   HEADER STYLES
   =================================== */
.header {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, transparent 100%);
    padding: 10px 0;
}

/* Desktop header container for layered images */
.header-image-container {
    position: relative;
    width: 100%;
    height: clamp(200px, 15vw, 300px);
    max-width: 100%;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Header layer positioning */
.header-layer {
    position: absolute;
    top: 0;
    left: 0;
}

/* Background layer (full size, serves as base) */
.header-background {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

/* Hive layer positioning */
.header-hive {
    left: 14%;
    top: 30%;
    width: auto;
    height: auto;
    max-width: 9%;
}

/* Text layer (logo and tagline) positioning */
.header-text {
    left: 24%;
    top: 38%;
    width: auto;
    height: auto;
    max-width: 23%;
}

/* Trademark symbol positioning */
.trademark-symbol {
    left: 46%;
    top: 38%;
    width: auto;
    height: auto;
    max-width: 3%;
    z-index: 5;
}

/* Bee layer positioning with animation potential */
.header-bee {
    left: 48%;
    top: 58%;
    width: auto;
    height: auto;
    max-width: 3%;
    animation: buzzFloat 3s ease-in-out infinite;
}

/* Bee floating animation */
@keyframes buzzFloat {
    0%, 100% {
        transform: translateY(0px) rotate(-2deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* Mobile header */
.mobile-header {
    display: none;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.mobile-header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.mobile-hive {
    width: auto;
    height: 40px;
    max-width: 60px;
}

.mobile-text-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-text-logo {
    width: auto;
    height: 35px;
    max-width: 200px;
}

.mobile-bee {
    width: auto;
    height: 25px;
    max-width: 35px;
    animation: buzzFloat 3s ease-in-out infinite;
}

/* ===================================
   NAVIGATION STYLES
   =================================== */
.navigation {
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-button {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

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

.nav-button:focus {
    outline: 2px solid #FFB303;
    outline-offset: 2px;
}

.nav-img {
    width: 200px;
    height: 50px;
    display: block;
    transition: opacity 0.3s ease;
}

.nav-img.default {
    opacity: 1;
}

.nav-img.hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.nav-button:hover .nav-img.default {
    opacity: 0;
}

.nav-button:hover .nav-img.hover {
    opacity: 1;
}

/* ===================================
   MAIN CONTENT STYLES
   =================================== */
.main-content {
    padding: 40px 0;
}

/* Hero Section */
.hero-section {
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(255,179,3,0.1) 0%, rgba(2,163,183,0.1) 100%);
    border-radius: 16px;
    margin: 0 20px 60px 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

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

/* Typography */
h1 {
    color: #FFB303;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

h2 {
    color: #FFFFFF;
    font-size: clamp(1rem, 3vw, 1.3rem);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
}

h3 {
    color: #02A3B7;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

h4 {
    color: #FFFFFF;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 15px;
}

strong {
    font-weight: 600;
    color: #FFB303;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    margin-bottom: 60px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.08);
}

.feature-icon {
    display: flex;
    justify-content: center;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.feature:hover .feature-icon img {
    transform: scale(1.1);
}

.feature-content {
    text-align: center;
}

/* ===================================
   CALL TO ACTION SECTION
   =================================== */
.cta-section {
    background: linear-gradient(135deg, #FFB303 0%, #02A3B7 100%);
    border-radius: 20px;
    padding: 50px 30px;
    margin: 60px 20px 20px 20px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    color: #FFFFFF;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-section h2 {
    color: #FFFFFF;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.signup-button {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #02A3B7 0%, #0288A3 100%);
    color: #FFB303;
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    font-weight: 800;
    text-decoration: none;
    padding: 16px 35px;
    border-radius: 8px;
    border: 2px solid #FFB303;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    min-width: 200px;
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #FFB303 0%, #E6A000 100%);
    color: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(255,179,3,0.4);
}

.cta-button:focus {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* ===================================
   FOOTER STYLES
   =================================== */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
    padding: 20px 0;
    margin-top: 20px;
}

.footer-content {
    position: relative;
    text-align: center;
}

.footer-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Desktop footer with image map */
.desktop-footer {
    display: block;
}

.mobile-footer {
    display: none;
}

/* Image map areas for social media links - responsive handling */
map area {
    cursor: pointer;
}

/* Visual feedback for image map areas (not visible but adds accessibility) */
.footer-content {
    position: relative;
}

/* Mobile footer content */
.mobile-footer-content {
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(52,52,52,0.9) 100%);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Universal trademark notice */
.trademark-notice {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
}

.trademark-notice p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

/* CSS classes for JavaScript functionality */
.blocked-link {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

.nav-highlight {
    transform: translateY(-2px) !important;
    filter: brightness(1.1) !important;
}

.skip-link {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 9999 !important;
    background: #FFB303 !important;
    color: #000 !important;
    padding: 8px 16px !important;
    text-decoration: none !important;
    border-radius: 4px !important;
}

.focus-outline {
    outline: 2px solid #FFB303 !important;
    outline-offset: 2px !important;
}

.mobile-nav-size {
    width: 150px !important;
    height: 37.5px !important;
}

.desktop-nav-size {
    width: 200px !important;
    height: 50px !important;
}

/* SVG trademark text styling */
.trademark-text {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    fill: #FFD700;
}

/* Animation styles (moved from JavaScript) */
.animate-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.skip-link:focus {
    position: fixed !important;
    top: 10px !important;
    left: 10px !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
}

/* Improved focus styles */
*:focus {
    outline: 2px solid #FFB303 !important;
    outline-offset: 2px !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animate-target,
    .animate-in {
        transition: none !important;
        animation: none !important;
    }
}


.mobile-logo-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mobile-logo-section h3 {
    color: #FFB303;
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.mobile-logo-section p {
    color: #FFFFFF;
    font-size: 1rem;
    opacity: 0.9;
}

.mobile-social-section {
    text-align: center;
}

.mobile-social-text {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.mobile-social-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

.mobile-social-btn {
    background: linear-gradient(135deg, #FFB303 0%, #02A3B7 100%);
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 2px solid transparent;
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.mobile-social-btn:hover,
.mobile-social-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    border-color: #FFFFFF;
    outline: none;
}

.mobile-social-btn:active {
    transform: translateY(0);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #E4405F 0%, #FCAF45 100%);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #1DA1F2 0%, #14171A 100%);
}

.tiktok-btn:hover {
    background: linear-gradient(135deg, #FF0050 0%, #000000 100%);
}



/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-buttons {
        gap: 15px;
    }

    .nav-img {
        width: 150px;
        height: 37.5px;
    }

    .header {
        padding: 5px 0;
    }

    /* Hide desktop header, show mobile header */
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    .hero-section {
        margin: 0 10px 40px 10px;
        padding: 20px 0;
    }

    .feature {
        padding: 20px;
        margin-bottom: 30px;
    }

    .feature-icon img {
        width: 60px;
        height: 60px;
    }

    .cta-section {
        margin: 30px 10px 10px 10px;
        padding: 30px 20px;
    }

    .footer {
        margin-top: 10px;
        padding: 15px 0;
    }

    /* Show mobile footer, hide desktop footer */
    .desktop-footer {
        display: none;
    }


    .mobile-footer {
        display: block;
    }


    .mobile-social-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mobile-social-btn {
        font-size: 1rem;
        padding: 18px 20px;
    }

    .cta-button {
        font-size: 1.1rem;
        padding: 18px 30px;
        min-width: 220px;
    }
}

/* Tablet (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 2fr;
        gap: 40px;
    }

    .hero-text {
        text-align: left;
    }

    .feature {
        grid-template-columns: auto 1fr;
        gap: 30px;
        text-align: left;
    }

    .feature-content {
        text-align: left;
    }

    .feature-icon {
        justify-content: flex-start;
    }

    /* Show mobile footer on tablet too */
    .desktop-footer {
        display: none;
    }

    .mobile-footer {
        display: block;
    }

    .mobile-social-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 250px;
    }

    /* Hide desktop header, show mobile header on tablet */
    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }
}

/* Desktop (769px and up) */
@media (min-width: 769px) {
    .container {
        padding: 0 40px;
    }

    .header {
        padding: 20px 0;
    }

    .navigation {
        padding: 20px 0;
    }

    .main-content {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr 2fr;
        gap: 60px;
    }

    .hero-text {
        text-align: left;
    }

    .hero-section {
        margin: 0 0 80px 0;
        padding: 60px 0;
    }

    .feature {
        grid-template-columns: auto 1fr;
        gap: 40px;
        text-align: left;
        padding: 40px;
        margin-bottom: 50px;
    }

    .feature-content {
        text-align: left;
    }

    .feature-icon {
        justify-content: flex-start;
    }

    .feature-icon img {
        width: 100px;
        height: 100px;
    }

    .cta-section {
        margin: 60px 0 40px 0;
        padding: 60px 60px;
    }

    .footer {
        padding: 40px 0;
        margin-top: 40px;
    }

    /* Desktop footer enhancements */
    .footer-image {
        max-width: 100%;
        height: auto;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .hero-content {
        gap: 80px;
    }

    .feature {
        padding: 50px;
    }
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature {
        border: 2px solid #FFFFFF;
    }

    .nav-button:focus,
    .cta-link:focus,
    .social-link:focus {
        outline: 3px solid #FFFFFF;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navigation {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    h1, h2, h3, h4 {
        color: black;
    }

    .hero-section,
    .feature,
    .cta-section {
        background: transparent;
        border: 1px solid black;
    }
}