* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: overflow 0.3s ease;
}

/* Performance optimizations */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navigation Bar */
.navbar {
    background-color: rgba(20, 30, 40, 0.95);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    will-change: background-color, box-shadow;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
}

.logo-square {
    position: absolute;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #9ed421 0%, #7ab31a 100%);
    border-radius: 6px;
    top: 0;
    left: 0;
    transform: translateZ(0);
}

.logo-square-small {
    position: absolute;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #7ab31a 0%, #5a8f14 100%);
    border-radius: 4px;
    bottom: 0;
    right: 0;
    transform: translateZ(0);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

/* Hero Section - Legacy support */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.hero-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-logo-icon {
    position: relative;
    width: 80px;
    height: 80px;
}

.hero-logo-square {
    position: absolute;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 12px;
    top: 0;
    left: 0;
}

.hero-logo-square-small {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 8px;
    bottom: 0;
    right: 0;
}

.hero-logo-text {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Search Container - Legacy support */
.search-container {
    display: flex;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    background-color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.search-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    background-color: #ffffff;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background-color: #3b82f6;
    border: none;
    padding: 1.2rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #2563eb;
}

.search-btn svg {
    color: #fff;
}

/* View Full Site Button */
.view-site-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #ffd700;
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.view-site-btn:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.view-site-btn svg {
    width: 24px;
    height: 24px;
}

/* Content Section */
.content {
    background-color: #0a0a0a;
    padding: 4rem 2rem;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2rem;
}

.content-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 2rem;
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        gap: 0;
        padding: 0 1rem;
        justify-content: space-between;
    }
    
    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 65px);
        background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #2a2a2a;
    }
    
    .nav-link {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: #2a2a2a;
        padding-left: 2.5rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
        min-height: 60vh;
    }

    .hero-logo-icon {
        width: 60px;
        height: 60px;
    }

    .hero-logo-square {
        width: 52px;
        height: 52px;
    }

    .hero-logo-square-small {
        width: 30px;
        height: 30px;
    }

    .hero-logo-text {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .search-container {
        flex-direction: row;
        max-width: 100%;
    }

    .search-input {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .search-btn {
        padding: 1rem 1.5rem;
    }

    .view-site-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .content {
        padding: 3rem 1rem;
    }

    .content-title {
        font-size: 1.5rem;
    }

    .content-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-menu {
        width: 100%;
        top: 57px;
        height: calc(100vh - 57px);
    }
    
    .hamburger {
        width: 28px;
        height: 22px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero {
        padding: 5rem 0.75rem 2rem;
    }

    .hero-logo-icon {
        width: 50px;
        height: 50px;
    }

    .hero-logo-square {
        width: 44px;
        height: 44px;
    }

    .hero-logo-square-small {
        width: 25px;
        height: 25px;
    }

    .hero-logo-text {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .search-input {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }

    .search-btn {
        padding: 0.875rem 1.25rem;
    }

    .search-btn svg {
        width: 20px;
        height: 20px;
    }

    .view-site-btn {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }

    .view-site-btn svg {
        width: 20px;
        height: 20px;
    }

    .content {
        padding: 2.5rem 0.75rem;
    }

    .content-title {
        font-size: 1.3rem;
    }

    .content-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .content-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .hero-logo-text {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .search-input {
        padding: 0.75rem;
        font-size: 0.8rem;
    }

    .view-site-btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    .logo-icon, .hero-logo-icon {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .search-container {
        transform: translateZ(0);
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    border-top: 1px solid #1a1a1a;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #1a1a1a;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: #999;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
}

.heart {
    color: #ff4757;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.footer-extra {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-extra-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-extra-link:hover {
    color: #3b82f6;
}

.separator {
    color: #333;
    font-size: 0.8rem;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
        margin-top: 3rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 1rem 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column {
        text-align: center;
    }

    .footer-list {
        align-items: center;
    }

    .footer-link:hover {
        padding-left: 0;
    }

    .footer-social {
        gap: 1.25rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
    }

    .footer-copyright {
        font-size: 0.85rem;
    }

    .footer-extra {
        flex-direction: column;
        gap: 0.5rem;
    }

    .separator {
        display: none;
    }
}
