html {
    /* scroll-behavior: smooth; REMOVED to allow JS control over duration */
}

:root {
    --color-black: #050505;
    --color-dark-gray: #121212;
    --color-white: #ffffff;
    --color-red: #ff0000;
    --color-red-glow: rgba(255, 0, 0, 0.6);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Backgrounds */
.bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./foggy_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -2;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: white;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.small-text {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 1rem;
}

.italic-red {
    color: var(--color-red);
    font-style: italic;
}

.highlight-red {
    color: var(--color-red);
    font-weight: 700;
}

/* Layout */
section {
    padding: 6rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

/* Components */
.cta-button {
    display: inline-block;
    background-color: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 1.5rem;
    padding: 1.5rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--color-red);
    box-shadow: 0 0 20px var(--color-red-glow);
    transition: all 0.3s ease;
    /* Default clip-path removed to allow for rounded variant override nicely or base style adjustment */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
}

.cta-button.rounded-cta {
    clip-path: none;
    border-radius: 50px;
}

.cta-button:hover {
    background-color: transparent;
    text-shadow: 0 0 10px var(--color-red);
    transform: scale(1.05);
}

/* State when clicked (scrolling) - forces return to original look */
.cta-button.clicked {
    background-color: var(--color-red) !important;
    color: var(--color-white) !important;
    text-shadow: none !important;
    transform: scale(1) !important;
    box-shadow: 0 0 20px var(--color-red-glow) !important;
}

.large-cta {
    font-size: clamp(1.2rem, 4vw, 2rem);
    padding: 2rem 4rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Border Beam Animation Definition */
@property --beam-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotate-beam {
    to {
        --beam-angle: 360deg;
    }
}

.glass-panel {
    position: relative;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Fixed dark red border */
    border: 2px solid #500000;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow for depth */
}

/* The Border Beam Pseudo-element */
.glass-panel::after {
    content: '';
    position: absolute;
    /* Negative inset to overlap the parent's border exactly */
    inset: -2px;
    border-radius: 4px;
    padding: 2px;
    /* Matches border width */
    /* Gradient from transparent to bright red, revealing the fixed border below */
    background: conic-gradient(from var(--beam-angle), transparent 50%, #ff0000 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    /* Standard mask property for compatibility */
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
    /* On top of background/border */
    animation: rotate-beam 10s linear infinite;
}

/* Ensure content is above the beam */
.glass-panel>* {
    position: relative;
    z-index: 3;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.neon-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--color-red);
}

.neon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.2);
    border-color: var(--color-red);
}

.neon-card h3 {
    color: var(--color-red);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-top: 1px solid var(--color-red);
}

/* Price Tag */
.price-tag {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
}

.amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-white);
    text-shadow: 0 0 20px var(--color-red);
}

.period {
    font-size: 1rem;
    opacity: 0.8;
}

/* Telegram Icon */
.telegram-icon {
    color: #229ED9;
    filter: drop-shadow(0 0 10px rgba(34, 158, 217, 0.5));
    margin-bottom: 1.5rem;
}

/* Scroll Animation Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glitch Effect (Simple) */
/* Glitch Effect (Redesigned for full text support) */
.glitch-text {
    position: relative;
    animation: glitch-anim 4s infinite alternate;
}

.glitch-text::before,
.glitch-text::after {
    content: none;
    display: none;
}

@keyframes glitch-anim {
    0% {
        transform: skew(0deg);
        text-shadow: none;
    }

    2% {
        transform: skew(0.5deg);
        text-shadow: 2px 0 #ff0000, -2px 0 #00ffff;
    }

    4% {
        transform: skew(-0.5deg);
        text-shadow: -2px 0 #ff0000, 2px 0 #00ffff;
    }

    6% {
        transform: skew(0deg);
        text-shadow: none;
    }

    20% {
        transform: skew(0deg);
        text-shadow: none;
    }

    21% {
        transform: skew(-0.3deg);
        text-shadow: -1px 0 #ff0000, 1px 0 #00ffff;
    }

    22% {
        transform: skew(0deg);
        text-shadow: none;
    }

    60% {
        transform: skew(0deg);
        text-shadow: none;
    }

    61% {
        transform: skew(1deg);
        text-shadow: 3px 0 #ff0000, -3px 0 #00ffff;
    }

    62% {
        transform: skew(0deg);
        text-shadow: none;
    }

    100% {
        transform: skew(0deg);
        text-shadow: none;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
    background: #000;
}

/* New Styles for VSL and Effects */


.vsl-container {
    width: 100%;
    margin: 2rem auto 3rem;
    position: relative;
    z-index: 10;
}

/* Default (Mobile/Shorts) styles */
.vsl-container {
    max-width: 280px;
}

.vsl-wrapper {
    position: relative;
    width: 100%;
    /* 9:16 Aspect Ratio for Shorts */
    padding-bottom: 177.77%;
    border: 2px solid var(--color-red);
    box-shadow: 0 0 30px var(--color-red-glow), inset 0 0 20px var(--color-red-glow);
    background: #000;
    overflow: hidden;
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

/* Desktop adjustments */
@media (min-width: 768px) {
    .vsl-container {
        max-width: 1000px;
        /* Wider for 1920x1080 content */
    }

    .vsl-wrapper {
        padding-bottom: 56.25%;
        /* 16:9 Aspect Ratio for standard video */
    }

    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: linear-gradient(45deg, #111, #000);
}

.play-button {
    font-size: 4rem;
    color: var(--color-red);
    margin-top: 1rem;
    text-shadow: 0 0 15px var(--color-red);
    animation: pulse 2s infinite;
}

.hero-footer {
    margin-top: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blinking Light Effect */
.blinking-light {
    position: fixed;
    top: 20%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.4) 0%, rgba(255, 0, 0, 0) 70%);
    opacity: 0;
    animation: blink-light 4s infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes blink-light {

    0%,
    100% {
        opacity: 0;
    }

    5% {
        opacity: 0.8;
    }

    10% {
        opacity: 0;
    }

    15% {
        opacity: 0.5;
    }

    20% {
        opacity: 0;
    }

    /* Long pause */
}

/* Delivery Section Specifics */
#delivery h2 {
    color: var(--color-white);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

/* Mobile Adjustments */
/* Mobile Adjustments */
@media (max-width: 768px) {
    .glass-panel {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    .cta-button {
        padding: 1rem 1rem;
        font-size: 1rem;
        width: 100%;
    }

    .split-layout {
        flex-direction: column;
        text-align: center;
    }

    .pain-points-list li {
        justify-content: center;
        text-align: left;
    }

    .tilt-image {
        max-width: 80%;
        margin-top: 2rem;
    }
}

/* Centered Content for Section 2 */
.centered-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.centered-list {
    margin: 2rem auto 0;
    max-width: 600px;
}

.centered-list li {
    justify-content: flex-start;
    text-align: left;
}

/* Target Audience Section */
.target-audience-section {
    background-image: url('./bg.png');
    /* Reusing the concrete/asphalt texture from hero as requested */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Darken the bg slightly to make text pop */
.target-audience-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.target-audience-section .container {
    position: relative;
    z-index: 2;
}

.target-grid {
    display: grid;
    /* Force 2 columns equal width */
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem auto 0;
    max-width: 900px;
    /* Limit width to keep them tight and centered */
    text-align: left;
}

/* Responsive adjustment for mobile to go back to 1 column if needed, or keep 2 small ones? 
   Usually stacking is better for mobile. */
@media (max-width: 768px) {
    .target-grid {
        grid-template-columns: 1fr;
    }
}

.target-card {
    /* Base styles inherit from glass-panel but we ensure specificity for the border beam */
    position: relative;
    transition: transform 0.3s ease;
}

.target-card:hover {
    transform: translateY(-5px);
}

.target-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    font-style: italic;
}

.target-card h3 {
    font-family: '--font-heading', sans-serif;
    /* Fallback to Impact as requested */
    font-style: normal;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
}

.pain-points-list {
    list-style: none;
    margin-top: 2rem;
    padding: 0;
}

.pain-points-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ddd;
}

.cross-icon {
    color: var(--color-red);
    font-weight: bold;
    font-size: 1.5rem;
}

.check-icon {
    color: #00ff00;
    font-weight: bold;
    font-size: 1.5rem;
    text-shadow: 0 0 5px #00ff00;
}

/* Pricing Card Structure */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    /* Clean, dark background for maximum readability */
    background: rgba(5, 5, 5, 0.95);
    /* Neon Border & Glow - 3D Effect */
    border: 2px solid var(--color-red);
    box-shadow:
        0 0 10px rgba(255, 0, 0, 0.4),
        /* Inner glow */
        0 0 30px rgba(255, 0, 0, 0.3),
        /* Outer glow */
        0 15px 50px rgba(0, 0, 0, 0.8);
    /* Deep shadow */
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--color-red);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.2);
    /* Red glow */
}

.benefit-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.benefit-list li {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list span {
    font-size: 1rem;
    color: #e0e0e0;
}

.check-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: #ff0000;
    border-radius: 50%;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.pricing-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.pricing-top {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    margin-bottom: 0;
}

.pricing-main {
    font-size: 6rem;
    font-weight: 900;
    color: var(--color-red);
    line-height: 1;
    display: flex;
    align-items: baseline;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
}

.pricing-main .currency {
    font-size: 2.5rem;
    margin-right: -2px;
}

.pricing-bottom {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Base styles for footer (mobile-first, units adjust) */
@media (max-width: 768px) {
    .pricing-top {
        font-size: 1rem;
    }

    .pricing-main {
        font-size: 4rem;
    }

    .pricing-main .currency {
        font-size: 1.8rem;
    }

    .pricing-bottom {
        font-size: 1.1rem;
    }
}

/* FAQ List Styling (Accordion) */
.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.faq-item-accordion summary {
    list-style: none;
    /* Hide default triangle */
    display: flex;
    align-items: center;
    cursor: pointer;
    background: transparent;
    padding: 0;
}

/* Hide marker for Webkit */
.faq-item-accordion summary::-webkit-details-marker {
    display: none;
}

.icon-q {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.5rem;
    margin-right: 1.5rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.question-text {
    flex: 1;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    padding-right: 1rem;
    transition: color 0.3s ease;
}

.faq-item-accordion[open] .question-text {
    color: var(--color-red);
}

.icon-arrow {
    color: #555;
    transition: transform 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
}

.faq-item-accordion[open] .icon-arrow {
    transform: rotate(180deg);
    color: #fff;
}

.answer-text {
    margin-top: 1rem;
    padding-left: 3rem;
    /* Align with text, avoiding icon space */
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}