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

:root {
    --primary-red: #C90000;
    --dark-red: #800000;
    --light-red: #FFE6E6;
    --accent-red: #FF3333;
    --neutral-light: #F8F9FA;
    --neutral-medium: #6C757D;
    --neutral-dark: #212529;
    --white: #FFFFFF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 30px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: env(safe-area-inset-top);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover img {
    transform: scale(1.01);
    filter: brightness(1.01);
}

.logo img {
    max-height: 55px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-red);
    background: var(--light-red);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    overflow: visible;
    position: relative;
}

.mobile-menu-toggle:hover {
    background: var(--light-red);
    border-radius: 10px;
}

.hamburger-icon,
.close-icon {
    position: absolute;
    font-size: 1.2rem;
    color: var(--neutral-dark);
    transition: all 0.3s ease;
}

.hamburger-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.close-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.mobile-menu-toggle.active .hamburger-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(201, 0, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.floating-contact.visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-contact:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 25px rgba(201, 0, 0, 0.5);
    background: var(--dark-red);
}

.floating-contact i {
    transition: transform 0.3s ease;
}

.floating-contact:hover i {
    transform: scale(1.1);
}

/* Main Content */
main {
    margin-top: 80px;
}

section {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-medium);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Home Section */
.hero {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 0, 0, 0.03) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -300px;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(201, 0, 0, 0.04) 0%, rgba(201, 0, 0, 0.04) 10%, transparent 50%);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-45%, -55%) rotate(180deg);
    }
}

/* Easter Egg Animations */
@keyframes carRace {
    0% {
        transform: translateX(0) scale(1) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    20% {
        transform: translateX(200px) scale(1.2) rotate(-5deg);
        filter: hue-rotate(0deg);
    }
    40% {
        transform: translateX(800px) scale(1.5) rotate(-10deg);
        filter: hue-rotate(20deg);
    }
    60% {
        transform: translateX(1200px) scale(1.8) rotate(-15deg);
        filter: hue-rotate(40deg);
    }
    80% {
        transform: translateX(2000px) scale(2) rotate(-20deg);
        filter: hue-rotate(60deg);
    }
    100% {
        transform: translateX(3000px) scale(2.5) rotate(-25deg);
        filter: hue-rotate(80deg);
        opacity: 0;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-red);
}

.hero p {
    font-size: 1.3rem;
    color: var(--neutral-medium);
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.8s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

/* Apps Section */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-light);
}

.app-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.app-icon img {
    max-height: 80px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.app-icon:hover img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 6px 16px rgba(0, 0, 0, 0.2);
}

.app-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

.app-description {
    color: var(--neutral-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.app-store-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.app-store-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.app-store-link:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--neutral-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--neutral-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.faq-question:hover {
    color: var(--primary-red);
    background: rgba(201, 0, 0, 0.02);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--neutral-medium);
    max-height: 0;
    overflow: hidden;
    line-height: 1.7;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq-answer.active {
    max-height: 200px;
    opacity: 1;
    padding-top: 0.5rem;
}

.faq-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    color: var(--primary-red);
}

.faq-icon.active {
    transform: rotate(45deg) scale(1.1);
    color: var(--dark-red);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: var(--neutral-light);
    border-radius: 20px;
    padding: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--neutral-dark);
}

.contact-method:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-light);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--neutral-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 999;
        gap: 1rem;
    }

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

    .nav-links a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        border-radius: 15px;
        width: 100%;
        text-align: left;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 1rem;
    }

    section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
}