/* -------------- CSS VARIABLES & RESET -------------- */
:root {
    /* Color Palette */
    --bg-color: #0d0f1a;
    --text-primary: #ffffff;
    --text-secondary: #9499ab;

    /* Gradients */
    --accent-glow-1: rgba(147, 51, 234, 0.4);
    /* Purple */
    --accent-glow-2: rgba(59, 130, 246, 0.4);
    /* Blue */
    --accent-glow-3: rgba(236, 72, 153, 0.3);
    /* Pink */

    /* Glass Properties */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);

    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

/* -------------- BACKGROUND ANIMATION -------------- */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 20s infinite ease-in-out;
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-glow-1);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.bg-shape-2 {
    width: 700px;
    height: 700px;
    background: var(--accent-glow-2);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.bg-shape-3 {
    width: 500px;
    height: 500px;
    background: var(--accent-glow-3);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

/* -------------- UTILITY CLASSES -------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
}

/* -------------- GLASSMORPHISM CORE -------------- */
.glass-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Liquid Hover Glow Effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.hover-glow:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.glass-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    margin-bottom: 2rem;
}

/* -------------- NAVIGATION -------------- */
.logo {
    font-weight: 800;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}



.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.nav-cta) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover:not(.nav-cta) {
    color: var(--text-primary);
}

.nav-cta {
    background: #fff;
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* -------------- HERO SECTION -------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05), 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
}

.btn-secondary:hover {
    color: var(--text-primary);
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Hero Mockup (Liquid Glass Window) */
.hero-image {
    flex: 1;
    height: 600px;
    padding: 0;
    /* Override */
    display: flex;
    flex-direction: column;
}

.hover-tilt {
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transform-style: preserve-3d;
}

.hover-tilt:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.d-red {
    background: #ff5f56;
}

.d-yellow {
    background: #ffbd2e;
}

.d-green {
    background: #27c93f;
}

.mockup-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mockup-placeholder h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skeleton {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    height: 180px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        background: rgba(255, 255, 255, 0.05);
    }

    50% {
        background: rgba(255, 255, 255, 0.08);
    }

    100% {
        background: rgba(255, 255, 255, 0.05);
    }
}

/* -------------- FEATURES SECTION -------------- */
.features {
    padding: 8rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 1.5rem;
}

.bento-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.card-large {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

.card-wide {
    grid-column: span 3;
}

.split-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.split-content .text {
    flex: 1;
}

.devices-icons {
    font-size: 4rem;
    display: flex;
    gap: 1rem;
    opacity: 0.8;
}

/* -------------- FOOTER -------------- */
.glass-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 2rem;
}

.footer-left p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* -------------- MEDIA QUERIES -------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 3rem auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        margin-top: 3rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-large {
        grid-column: span 2;
    }

    .card-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .card-large,
    .card-wide {
        grid-column: span 1;
    }

    .split-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}