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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background: black;
    font-family: "Poppins", sans-serif;
    position: relative;
}

::selection { background: rgba(0,255,255,0.3); color: #fff; }

/* --------------------------------- */
/* 0. AMBIENT / GRID / CURSOR LAYERS */
/* --------------------------------- */
.grid-overlay {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        linear-gradient(rgba(0,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

.cursor-glow {
    position: fixed; top: 0; left: 0;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,255,0.06) 0%, transparent 70%);
    pointer-events: none; z-index: 5; opacity: 0;
    transition: opacity 0.4s ease;
    will-change: transform;
}

/* --------------------------------- */
/* 1. NAVBAR STYLING */
/* --------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    transition: height 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.navbar.scrolled {
    height: 64px;
    background-color: rgba(0, 0, 0, 0.75);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.logo-group {
    display: flex; align-items: center; gap: 12px;
    padding-left: 40px; z-index: 101;
}

.logo-icon {
    height: 62px; width: 62px; object-fit: contain;
    transition: height 0.35s ease, width 0.35s ease;
}

.navbar.scrolled .logo-icon { height: 48px; width: 48px; }

.logo {
    color: hsl(0 0 95%);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}
.logo span { color: #00FFFF; }

.menu {
    display: flex;
    flex-grow: 1;
    justify-content: right;
    align-items: center;
    padding-right: 100px;
    z-index: 102;
    height: 100%;
}

.menu a {
    position: relative; margin-left: 40px;
    text-decoration: none; font-weight: 600;
    font-size: 15px;
    color: hsl(0 0% 70%);
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    padding: 6px 0;
}

.menu a::after {
    content: '';
    position: absolute; left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: #00FFFF;
    box-shadow: 0 0 8px #00FFFF;
    transition: width 0.3s ease;
}

.menu a:hover { color: #ffffff; }
.menu a:hover::after,
.menu a.active::after { width: 100%; }
.menu a.active { color: #00FFFF; }

/* -------------------------------------- */
/* 2. LIGHT EFFECTS */
/* -------------------------------------- */
.light-source {
    position: absolute; top: -500px; right: -500px;
    width: 600px; height: 600px;
    border-radius: 50%; z-index: -1;
    box-shadow:
        0 0 2000px 1000px rgba(0, 255, 255, 0.08),
        0 0 800px 400px rgba(50, 200, 255, 0.12);
    filter: blur(80px);
    animation: driftGlow 18s ease-in-out infinite;
}

.light2 {
    position: absolute; top: 2000px; left: -500px;
    width: 250px; height: 250px;
    border-radius: 50%; z-index: -1;
    box-shadow:
        0 0 1200px 600px rgba(0, 255, 255, 0.08),
        0 0 600px 300px rgba(50, 200, 255, 0.12);
    filter: blur(80px);
}

.light3 {
    position: absolute; top: 3900px; left: 670px;
    width: 10px; height: 10px;
    border-radius: 50%; z-index: -1;
    box-shadow:
        0 0 1800px 900px rgba(0, 255, 255, 0.08),
        0 0 900px 500px rgba(50, 200, 255, 0.12);
    filter: blur(80px);
}

@keyframes driftGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-60px, 40px); }
}

/* -------------------------------------- */
/* 3. HERO SECTION */
/* -------------------------------------- */
.hero-container {
    margin-top: 100px;
    display: flex; justify-content: space-between; align-items: flex-start;
    padding: 0 100px;
    margin-bottom: 100px; /* calibrated to match features-title's top gap for a consistent divider gap */
}

.hero-text { width: 45%; }

.takeiptv {
    color:hsl(0 0 95%); font-size: 54px;
    margin-bottom: 30px; margin-top: 100px;
    line-height: 1.15;
}
.headline {
    max-width: 750px; font-size: 20px;
    color:hsl(0 0% 70%); line-height: 36px;
    margin-bottom: 48px;
    margin-top: 50px;
}
.imagehero { width: 40%; }
.imagehero img {
    height: auto; width: 100%; object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(0,255,255,0.3));
    margin-top: 50px;
    animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 0; flex-wrap: wrap; }

/* HERO CTA BUTTON STYLING */
.hero-cta {
    display: inline-block;
    padding: 16px 50px;
    background: #00FFFF;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.7);
    background: transparent;
    color: #00FFFF;
    border-color: #00FFFF;
}

/* -------------------------------------- */
/* 4. SECTION DIVIDER */
/* -------------------------------------- */
.section-divider {
    margin: 0; width: 100%; height: 3px; z-index: 2;
    background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,255,255,0.7) 50%, rgba(0,0,0,0) 100%);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.7);
    border-radius: 1px;
}

/* -------------------------------------- */
/* 5. FEATURES SECTION */
/* -------------------------------------- */
.features-title h2 {
    color:hsl(0 0 95%); font-size: 40px;
    margin-top: 100px; margin-left: 95px;
}
.features-title p {
    color:hsl(0 0 70%); font-size: 20px;
    margin-top: 50px; margin-left: 95px; margin-bottom: 10px;
}

.container {
    margin-top:0; display:flex; justify-content:space-between;
    padding:0 100px; width: 100%;
}

.box {
    width: 25%;
    min-height: 380px;
    height: auto;
    margin-top: 100px; padding: 30px 20px; margin-bottom: 100px;
    background-color: rgba(71, 69, 69, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
    border-radius: 8px; text-align: left;
    transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.box:hover {
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.4), 0 0 10px rgba(0, 255, 255, 0.3);
    background-color: rgba(71, 69, 69, 0.6);
    border-color: rgba(0, 255, 255, 0.5);
}

.box h3 { color: hsl(0 0 95%); margin-bottom: 5px; }
.box p { font-size: 18px; color:hsl(0 0 70%); }
.box ion-icon { color: hsl(0 0 95%); font-size: 80px; padding-top: 20px; transition: transform 0.3s ease, color 0.3s ease; }
.box:hover ion-icon { color: #00FFFF; transform: scale(1.08); }

/* -------------------------------------- */
/* 5.5 DEVICE MARQUEE */
/* -------------------------------------- */
.device-marquee {
    width: 100%; overflow: hidden;
    padding: 30px 0;
    margin-bottom: 70px; /* combined with the 30px padding above = a calibrated 100px gap before pricing-divider */
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(0,255,255,0.1);
    border-bottom: 1px solid rgba(0,255,255,0.1);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
    display: flex; width: max-content;
    animation: marqueeScroll 32s linear infinite;
}
.marquee-track span {
    display: flex; align-items: center; gap: 10px;
    padding: 0 40px; white-space: nowrap;
    color: hsl(0 0% 65%); font-size: 16px; font-weight: 500;
}
.marquee-track span ion-icon { font-size: 22px; color: #00FFFF; }

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* -------------------------------------- */
/* 6. SCROLLBAR */
/* -------------------------------------- */
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 6px; background: transparent; }
html::-webkit-scrollbar-track, body::-webkit-scrollbar-track { background: #080808; }
html::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 255, 255, 0.85); border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.85);
}
html::-webkit-scrollbar-thumb:hover { background-color: #00FFFF; box-shadow: 0 0 12px #00FFFF; }

/* -------------------------------------- */
/* 7. PRICING SECTION */
/* -------------------------------------- */
.price-title h2 {
    color:hsl(0 0 95%); font-size: 40px;
    margin-top: 100px; margin-left: 95px;
}
.price-title p {
    color:hsl(0 0 70%); font-size: 20px;
    margin-top: 50px; margin-left: 95px; margin-bottom: 10px;
}

.price-container {
    margin-top:0; display:flex; justify-content:space-between;
    padding:0 100px; width: 100%;
}

.price-box {
    position: relative;
    width: 27%; height: auto; min-height: 720px;
    margin-top: 100px; padding: 20px; margin-bottom: 100px;
    background-color: rgba(104, 104, 104, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
    border-radius: 8px; text-align: left;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column;
}

.standard-highlight {
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.ribbon {
    position: absolute; top: 18px; right: -34px;
    background: #00FFFF; color: #000;
    font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
    padding: 6px 40px;
    transform: rotate(40deg);
    box-shadow: 0 0 15px rgba(0,255,255,0.6);
}

.card-title-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    margin-left: 0;
    width: 100%;
}
.plan-name {
    color: hsl(0 0 95%); font-size: 34px; font-weight: 600;
}
.card-title-header ion-icon {
    color: #ffffff; font-size: 42px;
    flex-shrink: 0;
    min-width: 42px;
}

.price-y-m {
    display: flex; flex-direction: column;
    width: 90%; height: auto;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    align-items: center; justify-content: center;
    margin-left: auto; margin-right: auto;
    padding: 10px; gap: 8px;
}

.price-option {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; height: 35px;
    padding: 10px 15px; cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 6px; transition: all 0.2s ease;
}
.price-option:hover {
    background-color: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
}
.price-option.active {
    background-color: rgba(0, 255, 255, 0.2);
    border-color: #00FFFF;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}
.period-length { color: hsl(0 0 95%); font-size: 14px; font-weight: 500; }
.price-amount { color: #00FFFF; font-size: 18px; font-weight: 700; font-family: "JetBrains Mono", monospace; }

.savings-badge {
    align-self: center; margin-top: 12px;
    display: inline-flex; align-items: center;
    padding: 4px 14px; border-radius: 50px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: #00FF88; font-size: 12px; font-weight: 700;
    font-family: "JetBrains Mono", monospace;
    letter-spacing: 0.5px;
}

.features-list {
    list-style: none; padding: 20px 0; margin: 15px 0 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    flex-grow: 1;
}
.features-list li {
    display: flex; align-items: center; gap: 10px; padding: 8px 0;
    color: hsl(0 0 95%); font-size: 16px;
}
.features-list li ion-icon { font-size: 20px; color: #00FF99; }
.features-list li ion-icon[name="close-circle-outline"] { color: #FF5555; }
.features-list li span strong { color: #00FFFF; }

.cta-button, .submit-btn {
    width: 90%; display: block; margin: 0 auto 10px; padding: 12px 0;
    background: transparent; color: #00FFFF;
    border: 1px solid #00FFFF; border-radius: 8px;
    font-size: 18px; font-weight: 700;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
.cta-button:hover, .submit-btn:hover {
    background: #00FFFF; color: black;
    box-shadow: 0 0 25px #00FFFF; transform: translateY(-2px);
}

/* -------------------------------------- */
/* 7.5 TESTIMONIALS */
/* -------------------------------------- */
.testimonials-section {
    padding: 100px 100px; display: flex; flex-direction: column; align-items: center;
}
.testimonial-container {
    display: flex; justify-content: space-between; gap: 30px;
    width: 100%; max-width: 1200px; flex-wrap: wrap;
}
.testimonial-card {
    position: relative;
    flex: 1; min-width: 280px;
    background: rgba(71, 69, 69, 0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
    border-radius: 12px; padding: 30px;
    overflow: hidden;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease, background-color 0.35s ease;
}
.testimonial-card::before {
    content: '';
    position: absolute; top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(115deg, transparent, rgba(0,255,255,0.14), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    pointer-events: none;
}
.testimonial-card:hover::before { left: 130%; }
.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0,255,255,0.5);
    box-shadow: 0 15px 35px rgba(0,255,255,0.2);
    background-color: rgba(71, 69, 69, 0.5);
}
.testimonial-card:hover .avatar {
    transform: scale(1.1);
    box-shadow: 0 0 14px rgba(0,255,255,0.5);
}
.stars { color: #FFD166; font-size: 16px; margin-bottom: 14px; display: flex; gap: 3px; }
.testimonial-card:hover .stars ion-icon {
    animation: twinkle 0.7s ease forwards;
}
.stars ion-icon:nth-child(1) { animation-delay: 0s; }
.stars ion-icon:nth-child(2) { animation-delay: 0.06s; }
.stars ion-icon:nth-child(3) { animation-delay: 0.12s; }
.stars ion-icon:nth-child(4) { animation-delay: 0.18s; }
.stars ion-icon:nth-child(5) { animation-delay: 0.24s; }

@keyframes twinkle {
    0% { transform: scale(1); }
    40% { transform: scale(1.4) rotate(-8deg); filter: drop-shadow(0 0 6px #FFD166); }
    100% { transform: scale(1) rotate(0); }
}
.testimonial-text { color: hsl(0 0% 80%); font-size: 15.5px; line-height: 1.6; margin-bottom: 22px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(0,255,255,0.1); border: 1px solid rgba(0,255,255,0.4);
    color: #00FFFF; font-weight: 700; font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-author strong { color: #fff; font-size: 14.5px; display: block; }
.testimonial-author span { color: hsl(0 0% 55%); font-size: 13px; }

/* -------------------------------------- */
/* 7.6 FAQ SECTION */
/* -------------------------------------- */
.faq-section { padding: 100px 100px; display: flex; flex-direction: column; align-items: center; }
.faq-title { text-align: center; margin-bottom: 50px; width: 100%; }
.faq-title h2 { color: hsl(0 0 95%); font-size: 40px; margin-bottom: 15px; }
.faq-title p { color: #00FFFF; font-size: 18px; }
.faq-container { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(0, 255, 255, 0.15); border-radius: 10px; overflow: hidden; transition: 0.3s ease; }
.faq-question { padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: rgba(255, 255, 255, 0.02); }
.faq-question span { color: white; font-size: 18px; font-weight: 500; }
.faq-question ion-icon { color: #00FFFF; font-size: 20px; transition: 0.3s; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: rgba(0, 0, 0, 0.2); }
.faq-answer p { padding: 20px 30px; color: hsl(0 0% 70%); line-height: 1.6; font-size: 16px; }
.faq-item.active { border-color: #00FFFF; box-shadow: 0 0 20px rgba(0, 255, 255, 0.1); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-question ion-icon { transform: rotate(180deg); }

/* -------------------------------------- */
/* 8. CONTACT SECTION */
/* -------------------------------------- */
.contact-section {
    padding: 100px 20px; /* calibrated to match faq-section's bottom padding for a consistent divider gap */
    display: flex; justify-content: flex-start; width: 100%;
}

.contact-wrapper {
    display: flex;
    align-items: stretch;
    gap: 80px;
    width: 100%;
    max-width: 1280px;
    margin-left: 60px;
}

.contact-box {
    flex: 1.15;
    padding: 40px;
    background-color: rgba(71, 69, 69, 0.5); backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.15); box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
    border-radius: 12px;
}

.contact-visual {
    position: relative;
    flex: 1;
    min-height: 360px;
    width: min(100%, 520px);
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    padding: 14px;
    margin-left: 36px;
    align-self: center;
}

.contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.offer-badge {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    background: rgba(0,0,0,0.7);
    border: 1px solid #00FFFF;
    color: #00FFFF;
    font-size: 12px; font-weight: 700; letter-spacing: 1px;
    padding: 6px 14px; border-radius: 50px;
    box-shadow: 0 0 12px rgba(0,255,255,0.4);
}

.contact-header {
    display: flex; align-items: center; justify-content: flex-start;
    gap: 15px; margin-bottom: 40px;
}
.contact-header h2 { color: hsl(0 0 95%); font-size: 36px; text-transform: uppercase; }
.contact-header ion-icon { color: #00FFFF; font-size: 40px; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { color: hsl(0 0% 70%); font-size: 14px; margin-left: 5px; }

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; color: white;
    font-family: "Poppins", sans-serif; font-size: 16px; outline: none; transition: 0.3s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: #00FFFF; box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}
.contact-form textarea { resize: none; min-height: 130px; }

.contact-choose-label {
    color: hsl(0 0% 60%); font-size: 13px; text-transform: uppercase;
    letter-spacing: 1px; margin-top: 6px; text-align: center;
}

/* 3-CHANNEL BUTTON GROUP */
.contact-buttons {
    display: flex; gap: 12px; width: 100%;
}
.channel-btn {
    flex: 1; width: auto; margin: 0;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 15px; padding: 13px 0;
}
.channel-btn ion-icon { font-size: 20px; }

.whatsapp-btn { color: #25D366; border-color: #25D366; box-shadow: 0 0 10px rgba(37, 211, 102, 0.35); }
.whatsapp-btn:hover { background: #25D366; color: #000; box-shadow: 0 0 22px rgba(37, 211, 102, 0.7); }

.telegram-btn { color: #29B6F6; border-color: #29B6F6; box-shadow: 0 0 10px rgba(41, 182, 246, 0.35); }
.telegram-btn:hover { background: #29B6F6; color: #000; box-shadow: 0 0 22px rgba(41, 182, 246, 0.7); }

.gmail-btn { color: #EA4335; border-color: #EA4335; box-shadow: 0 0 10px rgba(234, 67, 53, 0.35); }
.gmail-btn:hover { background: #EA4335; color: #fff; box-shadow: 0 0 22px rgba(234, 67, 53, 0.7); }

/* 9. DROPDOWN & ANIMATION */
.contact-form select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300FFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
}

@keyframes neonFlash {
    0% { box-shadow: 0 0 0 rgba(0, 255, 255, 0); border-color: rgba(255, 255, 255, 0.1); }
    50% { box-shadow: 0 0 20px #00FFFF; border-color: #00FFFF; transform: scale(1.01); }
    100% { box-shadow: 0 0 10px rgba(0, 255, 255, 0.3); border-color: #00FFFF; transform: scale(1); }
}

.flash-highlight { animation: neonFlash 0.8s ease-in-out forwards; color: #00FFFF !important; font-weight: 700; }

/* -------------------------------------- */
/* 10. SCROLL REVEAL */
/* -------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------- */
/* 11. MOBILE & TABLET FIXES (CRITICAL) */
/* -------------------------------------- */
.menu-toggle { display: none; font-size: 35px; color: #00FFFF; cursor: pointer; padding-right: 20px; }

@media (max-width: 1100px) {
    .hero-container, .container, .price-container { padding: 0 40px; }
    .hero-text { width: 55%; }
    .takeiptv { font-size: 40px; }
    .contact-wrapper { max-width: 90%; }
}

@media (max-width: 900px) {
    .menu-toggle { display: block; z-index: 1000; }
    .navbar { justify-content: space-between; padding: 10px 0; }
    .logo-group { padding-left: 20px; }
    .logo { font-size: 24px; }
    .logo-icon { height: 44px; width: 44px; }

    .menu {
        position: fixed; top: 0; right: -100%; width: 75%; height: 100vh;
        background: rgba(0, 0, 0, 0.98); flex-direction: column;
        align-items: center; justify-content: center; transition: 0.4s ease-in-out;
        padding-right: 0;
    }
    .menu.mobile-active { right: 0; }
    .menu a { margin: 20px 0; font-size: 22px; color: white; }
    .menu a::after { bottom: -6px; }

    .hero-container { flex-direction: column; margin-top: 100px; padding: 0 20px; text-align: center; align-items: center; margin-bottom: 70px; }
    .hero-text { width: 100%; }
    .takeiptv { margin-top: 20px; margin-bottom: 16px; font-size: 34px; }
    .headline { margin-top: 0; margin-bottom: 32px; font-size: 17px; line-height: 30px; }
    .hero-actions { justify-content: center; }
    .hero-cta { margin-top: 0; width: 100%; max-width: 320px; text-align: center; }
    .imagehero { width: 80%; margin-top: 40px; }

    .container, .price-container { flex-direction: column; align-items: center; padding: 0 20px; }
    .box, .price-box { width: 100%; margin-top: 20px; margin-bottom: 20px; }
    .ribbon { top: 14px; right: -38px; font-size: 11px; padding: 5px 42px; }

    .device-marquee { margin-bottom: 40px; }
    .marquee-track span { padding: 0 24px; font-size: 14px; }

    .testimonial-container { flex-direction: column; align-items: center; }
    .testimonial-card { width: 100%; }

    .features-title h2, .features-title p, .price-title h2, .price-title p { margin-left: 20px; text-align: center; margin-right: 20px; }
    .faq-section, .testimonials-section { padding: 60px 20px; }

    /* Contact: stack image below the form, full width */
    .contact-section { padding: 60px 16px; }
    .contact-wrapper { flex-direction: column; max-width: 100%; gap: 24px; margin-left: 0; }
    .contact-box { padding: 24px; order: 1; }
    .contact-visual { order: 2; min-height: 220px; width: 100%; max-width: 100%; padding: 10px; margin-left: 0; }
    .contact-buttons { flex-direction: column; }
    .channel-btn { width: 100%; }
}

@media (max-width: 480px) {
    .takeiptv { font-size: 28px; }
    .headline { font-size: 15.5px; line-height: 27px; }
    .plan-name { font-size: 26px; }
    .price-box { min-height: auto; padding: 16px; }
    .contact-header h2 { font-size: 26px; }
    .contact-header ion-icon { font-size: 30px; }
    .footer-logo h2, .footer-logo-row h2 { font-size: 1.4rem; }
}

/* Fix for light effects and grid on small screens to prevent lag */
@media (max-width: 600px) {
    .light-source, .light2, .light3 { opacity: 0.4; transform: scale(0.7); }
    .grid-overlay { background-size: 32px 32px; }
    .cursor-glow { display: none; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ALERT */
#custom-alert {
    position: fixed;
    left: 50%;
    top: -150px;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.98);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10000;
    transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 300px;
    max-width: 90%;
    backdrop-filter: blur(15px);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

#custom-alert.show { top: 20px; }
.alert-icon { font-size: 28px; color: #FF5555; display: flex; align-items: center; }
.alert-content { color: #fff; font-size: 15px; font-weight: 500; }

.alert-progress {
    position: absolute; bottom: 0; left: 0;
    height: 4px; width: 0; border-radius: 0 2px 2px 0;
}

@keyframes progressAnim {
    from { width: 100%; }
    to { width: 0%; }
}

#custom-alert.error { border: 1px solid #FF5555; }
#custom-alert.error .alert-icon { color: #FF5555; }
#custom-alert.error .alert-progress { background: #FF5555; }

#custom-alert.success { border: 1px solid #00FF88; }
#custom-alert.success .alert-icon { color: #00FF88; }
#custom-alert.success .alert-progress { background: #00FF88; }

.submit-btn:disabled {
    cursor: not-allowed;
    background: #222 !important;
    color: #777 !important;
}

/* Footer */
.glass-footer {
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 20px 20px;
    color: white;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo-row { display: flex; align-items: center; gap: 12px; }
.footer-logo-row .logo-icon { height: 50px; width: 50px; }

.footer-logo h2 {
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.footer-logo h2 span { color: #00FFFF; }

.footer-logo p {
    color: #888;
    margin-top: 10px;
    max-width: 300px;
}

.footer-social h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

.social-icons { display: flex; gap: 20px; }

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-link ion-icon { font-size: 1.5rem; }

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25D366;
    color: #25D366;
}

.social-link.telegram:hover {
    background: rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
    color: #0088cc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .footer-logo-row { justify-content: center; }
    .social-icons { flex-direction: column; }
}