/* Import Premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Dark Theme & Layout */
:root {
    --bg-dark: #07050f;
    --bg-card: #0d0a1b;
    --bg-glass: rgba(13, 10, 27, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(112, 0, 255, 0.25);
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    
    --accent-blue: #00f2fe;
    --accent-purple: #7f00ff;
    --accent-pink: #ec008c;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    --gradient-purple: linear-gradient(135deg, #7f00ff 0%, #e100ff 100%);
    --gradient-dark: linear-gradient(180deg, #0d0a1b 0%, #07050f 100%);
    --gradient-glow: linear-gradient(135deg, rgba(127, 0, 255, 0.15) 0%, rgba(0, 242, 254, 0.15) 100%);

    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
    --shadow-glow-blue: 0 0 25px rgba(0, 242, 254, 0.35);
    --shadow-glow-purple: 0 0 25px rgba(127, 0, 255, 0.35);
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Reset and Core Layout */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(127, 0, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--text-main);
}

/* Helper Utility Classes */
.container {
    width: 100%;
    max-width: 600px; /* Force-optimized mobile width max */
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text-purple {
    text-shadow: 0 0 15px rgba(127, 0, 255, 0.6);
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(127, 0, 255, 0.25);
    box-shadow: 0 10px 40px -10px rgba(127, 0, 255, 0.15), var(--shadow-premium);
}

/* Glass Buttons & Premium Actions */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 28px;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    box-shadow: var(--shadow-glow-purple);
    transition: var(--transition-smooth);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
    pointer-events: none;
    animation: btnShine 4s infinite linear;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue), 0 5px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 24px;
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

/* Modals & Forms */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 5, 15, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

.modal-content {
    width: 100%;
    max-width: 480px;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 12px rgba(127, 0, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.form-input::placeholder {
    color: var(--text-dark);
}

.form-error-msg {
    font-size: 0.8rem;
    color: #ff3366;
    margin-top: 4px;
    display: none;
}

/* Custom CSS Loader */
.skeleton {
    background: linear-gradient(90deg, #120e25 25%, #1d173b 50%, #120e25 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Social Proof Sections */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.stat-card {
    text-align: center;
    padding: 20px 15px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Trust Badges */
.badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 25px 0;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trust-badge i {
    color: var(--accent-blue);
}

/* Carousel Styles */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
    margin: 30px 0;
}

.carousel-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scrollCarousel 40s linear infinite;
}

.carousel-slide {
    width: 200px;
    height: 125px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.carousel-slide:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Features Grid */
.features-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 30px 0;
}

.feature-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon-wrapper {
    background: var(--gradient-glow);
    border: 1px solid rgba(127, 0, 255, 0.2);
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

.faq-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    padding: 10px 0;
}

.faq-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--accent-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-right: 20px;
}

.faq-item.active .faq-content {
    max-height: 1000px;
    padding-top: 10px;
    transition: max-height 0.5s ease-in-out;
}

/* Footer style */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0 20px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: var(--accent-blue);
}

.disclaimer-text {
    font-size: 0.72rem;
    line-height: 1.5;
    margin-top: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Sticky Action Button for Mobile */
.sticky-cta-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: rgba(7, 5, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-glass);
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta-wrapper.active {
    transform: translateY(0);
}

/* Video Player Container */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-premium), var(--shadow-glow-purple);
    background: #000;
}

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

.progress-container {
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    height: 6px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.1s linear;
}

.cta-timer-note {
    font-size: 0.8rem;
    color: var(--text-dark);
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Webinar Unlocked CTA styling */
.unlocked-cta-box {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
    margin-top: 30px;
    text-align: center;
}

.unlocked-cta-box.revealed {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.benefit-list {
    text-align: left;
    margin: 20px 0;
}

.benefit-item {
    display: flex;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.benefit-item i {
    color: #10b981; /* Success Green */
}

/* Minimal Layout for UID/Thanks */
.minimal-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    text-align: center;
}

.minimal-card {
    width: 100%;
    max-width: 440px;
}

.bonus-list {
    margin: 25px 0;
    text-align: left;
}

.bonus-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
}

.bonus-item:hover {
    background: rgba(127, 0, 255, 0.05);
    border-color: rgba(127, 0, 255, 0.2);
}

.bonus-item i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.bonus-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 20px;
    z-index: 2000;
    box-shadow: var(--shadow-premium);
    display: none;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 560px;
    margin: 0 auto;
}

.cookie-banner.active {
    display: block;
    transform: translateY(0);
}

.cookie-content {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    text-align: left;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* Keyframes */
@keyframes btnShine {
    0% { left: -60%; }
    50% { left: 140%; }
    100% { left: 140%; }
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-216px * 6)); } /* Adjust according to items */
}

/* Media Queries for Responsive Adjustments */
@media (min-width: 640px) {
    :root {
        --border-radius-md: 20px;
    }
    body {
        font-size: 17px;
    }
}
