@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-color: #ff4d4d;
    --accent-color: #7000ff;
    --text-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --dark-bg: #0a0a0b;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Handling */
#bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: filter 0.5s ease;
}

#bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, -1, 0.4) 100%);
    z-index: -1;
}

/* Layout */

main {
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.hero-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 4rem;
    border-radius: 40px;
    max-width: 900px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: floatingLogo 4s ease-in-out infinite;
}

.hero-logo-large {
    max-width: 400px;
    width: 80%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes floatingLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(112, 0, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(112, 0, 255, 0.5);
}

/* Rocky Peeking Animation */
.rocky-peek {
    position: fixed;
    bottom: -50px;
    right: 8%;
    width: 320px;
    z-index: 100;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: peekSurprise 8s ease-in-out infinite;
    filter: drop-shadow(0 -10px 20px rgba(0, 0, 0, 0.5));
}

@keyframes peekSurprise {

    0%,
    10% {
        transform: translateY(100%);
    }

    20%,
    40% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(10%) rotate(0deg);
    }

    60%,
    80% {
        transform: translateY(0) rotate(5deg);
    }

    90%,
    100% {
        transform: translateY(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Screenshots Section */
.screenshots-section {
    width: 90%;
    max-width: 1300px;
    margin: 6rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    padding-bottom: 10rem;
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.screenshot-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.screenshot-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: var(--accent-color);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    filter: brightness(0.9);
    transition: filter 0.5s ease;
}

.screenshot-card:hover img {
    filter: brightness(1.1);
}

.screenshot-info {
    padding: 1.5rem;
    text-align: center;
}

.screenshot-info h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.screenshot-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Technical Info Section */
.info-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 10rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    animation: fadeInUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.info-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 30px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.info-block:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-block p {
    font-size: 1.1rem;
    text-align: left;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
}

.tech-specs {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.spec-tag {
    background: rgba(112, 0, 255, 0.2);
    border: 1px solid rgba(112, 0, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #b380ff;
}

/* Architecture Section */
.architecture-details {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 10rem auto;
    padding: 4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
    border-radius: 40px;
    text-align: center;
}

.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.arch-card {
    padding: 2rem;
    border-left: 2px solid var(--accent-color);
    text-align: left;
}

.arch-card h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 992px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Footer & SEO Utils */
footer {
    background: rgba(0, 0, 0, 0.4);
    padding: 4rem 5% 8rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: left;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.seo-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    main {
        padding: 0 4%;
    }

    .hero-content {
        padding: 3rem 1.5rem;
        border-radius: 30px;
    }

    h1 {
        font-size: 2.8rem;
    }

    .hero-logo-large {
        max-width: 250px;
    }

    .screenshots-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .screenshot-card {
        min-width: unset;
    }

    .info-block {
        padding: 2rem 1.5rem;
    }

    .architecture-details {
        padding: 2rem 1rem;
    }

    .rocky-peek {
        width: 180px;
        right: 2%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 1rem 1.5rem;
        width: 100%;
        font-size: 1rem;
    }

    .hero-logo-large {
        max-width: 180px;
    }

    .rocky-peek {
        width: 140px;
    }
}