/* --- Base & Variables --- */
:root {
    --bg-color: #262433;
    /* Deep purple-grey */
    --bg-gradient: radial-gradient(circle at 70% 30%, #3a3253 0%, #1f1d2b 50%, #171520 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #9AA0B1;
    --accent-primary: #5A58E8;
    /* Blue-purple */
    --accent-hover: #4b49c7;

    --card-bg: rgba(255, 255, 255, 0.95);
    --pill-bg: rgba(25, 22, 33, 0.6);
    --pill-border: rgba(255, 255, 255, 0.1);

    --icon-yellow: #FFB347;
    --icon-pink: #FF6B8B;
    --icon-blue: #4A90E2;
    --icon-green: #2ecc71;

    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* --- Hero Section --- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 4rem auto 0;
    padding: 0 5%;
    min-height: 55vh;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.badge {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    color: rgba(255, 255, 255, 0.8);
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(90, 88, 232, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 88, 232, 0.6);
}

.btn-primary i {
    font-size: 0.9rem;
}

.btn-video {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.05rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--icon-yellow);
    font-family: inherit;
    transition: opacity 0.3s ease;
}

.btn-video:hover {
    opacity: 0.8;
}

.play-icon-container {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--icon-yellow);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.4);
}

.play-icon-container i {
    font-size: 1rem;
    margin-left: 3px;
}

.hero-question {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.hero-question a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--icon-green);
    border-radius: 50%;
    display: inline-block;
}

/* --- Hero Visual --- */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 800px;
    height: 500px;
    transform: translateX(120px);
}

.visual-container {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 20, 40, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(2px);
}

/* Star Badge Removed */

/* --- Floating Pills --- */
.floating-pill {
    position: absolute;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem 0.8rem 0.5rem 0.5rem;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    cursor: default;
    transition: transform 0.3s ease;
}

.floating-pill:hover {
    transform: scale(1.05);
}

.pill-1 {
    top: 20%;
    right: 2%;
    animation-delay: 0s;
}

.pill-2 {
    bottom: 25%;
    left: 8%;
    animation-delay: 1.5s;
}

.pill-3 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

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

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    color: white;
}

.color-pink {
    background: linear-gradient(135deg, #FF6B8B, #ff4d72);
}

.color-green {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.color-yellow {
    background: linear-gradient(135deg, #FFB347, #ff9e1a);
}

.pill-text {
    display: flex;
    flex-direction: column;
}

.pill-text strong {
    font-size: 0.85rem;
    font-weight: 600;
}

.pill-text span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* --- Bottom Action Cards --- */
.action-cards {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.card-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 26px;
    padding: 8px;
    transition: transform 0.3s ease;
}

.card-outline:hover {
    transform: translateY(-8px);
}

.card-outline:hover .card {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card {
    height: 100%;
    display: block;
    background: var(--card-bg);
    color: #111;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card:hover::before {
    border-color: rgba(90, 88, 232, 0.4);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.bg-yellow {
    background: var(--icon-yellow);
}

.bg-pink {
    background: var(--icon-pink);
}

.bg-blue {
    background: var(--icon-blue);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #222;
}

.card-text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 8, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
}

.modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    z-index: 10;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-modal {
    width: 90%;
    max-width: 1000px;
    padding: 1rem;
    background: #000;
}

.video-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.info-modal {
    width: 90%;
    max-width: 650px;
    padding: 3rem 2.5rem;
}

.info-modal h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.info-modal p,
.info-modal li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-modal ol,
.info-modal ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- Install Steps --- */
.install-steps {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.step {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    min-height: 100px;
}

.step-img-placeholder,
.step-img {
    width: 30%;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    flex-shrink: 0;
    object-fit: cover;
}

.step-info {
    padding: 1.2rem 1.5rem;
    flex: 1;
}

.step-info h4 {
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
}

.step-info p {
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.4;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .action-cards {
        grid-template-columns: 1fr;
    }

    .visual-container {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .image-placeholder {
        width: 300px;
        height: 300px;
    }

    .floating-pill {
        padding: 0.6rem 1rem 0.6rem 0.6rem;
    }

    .pill-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .pill-text strong {
        font-size: 0.85rem;
    }

    .pill-text span {
        font-size: 0.7rem;
    }

    .pill-1 {
        top: 15%;
        right: 0;
    }

    .pill-2 {
        bottom: 10%;
        left: 0;
    }

    .pill-3 {
        bottom: 0%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1.2rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .visual-container {
        height: 350px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }
}