/* ========================================
   MAKEINIT - IMPROVED RESPONSIVE STYLES
   ======================================== */

/* CSS Variables for easy theming */
:root {
    --primary-color: #bd14a4;
    --secondary-color: #cb0c9f;
    --dark-color: #1f2937;
    --light-color: #ffffff;
    --gray-color: #6b7280;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    /* FIXED: Remove overflow hidden to allow natural scrolling */
    overflow-x: hidden;
    overflow-y: auto;
}

/* reCAPTCHA invisible badge positioning (keep visible, avoid overlapping CTAs) */
.grecaptcha-badge {
    right: auto !important;
    left: 14px !important;
}

body {
    background-color: #000;
    /* Prevent flash of unstyled content */
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.loaded {
    opacity: 1;
}

/* ========================================
   NAVBAR - BASE STYLES
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    background: rgba(59, 59, 59, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    --bs-navbar-padding-y: 0rem;
    overflow: hidden;
}

/* Rounded Navbar */
.navbar.nav-blur.blur-rounded {
    border-bottom-right-radius: 3rem;
    border-bottom-left-radius: 3rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow: hidden;
}

/* Light blur override */
.nav-blur {
    background-color: rgba(255, 255, 255, 0.6) !important;
}

/* Navbar Inner Container */
.navbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

/* Custom navbar logo */
.custom-navbar-logo {
    height: 50px;
    max-width: 200px;
    transition: transform 0.2s ease;
}
.custom-navbar-logo:hover {
    transform: scale(1.05);
}

/* Nav Links Container */
.nav-links {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links .nav-link {
    position: relative;
    display: inline-flex;
    padding: 0.75rem 1.25rem;
    text-align: center;
    font-size: 1em;
    color: #000000;
    text-decoration: none;
    z-index: 1;
    transition: transform 0.2s ease, background 0.3s ease;
}

/* Active State - just color change */
.nav-links .nav-link.active {
    font-weight: 600;
    color: #bd14a4;
}

/* Hover State */
.nav-links .nav-link:hover,
.nav-links .nav-link:focus {
    color: #bd14a4;
    transform: translateX(4px);
}

/* Nav Highlight Underline */
.nav-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(45deg, #2e3192, #1bffff);
    border-radius: 8px;
    transition: 0.5s ease;
    pointer-events: none;
}

/* Right-aligned links */
.navbar-nav.ms-auto {
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-nav.ms-auto .nav-highlight {
    bottom: -8px;
}

/* Prevent content being hidden under navbar */
body { padding-top: 70px; }

/* ========================================
    padding: 0;
}

.navbar-logo {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.navbar-logo:hover {
    opacity: 0.8;
}

.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover .bar {
    background-color: var(--primary-color);
}

/* Hamburger active state - Transform to X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

.nav-links .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
    color: var(--primary-color);
}

.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
    width: 100%;
}

/* Navigation Buttons */
.mk-btn-login,
.mk-btn-signup,
.mk-btn-waitlist {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.9rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem; /* Add gap between buttons */
}

.mk-btn-login {
    background: var(--light-color);
    border: 2px solid var(--primary-color);
    color: var(--dark-color);
}

.mk-btn-login:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.mk-btn-signup,
.mk-btn-waitlist {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--light-color);
    box-shadow: 0 4px 15px rgba(189, 20, 164, 0.3);
}

.mk-btn-signup:hover,
.mk-btn-waitlist:hover {
    background: var(--light-color);
    color: var(--dark-color);
}

/* ========================================
   HERO VIEWPORT - RESPONSIVE CONTAINER
   ======================================== */

.hero-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    z-index: 0;
    pointer-events: none;
}

/* Background Layers with Lazy Loading */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1);
}

.hero-background.next {
    opacity: 0;
    z-index: 2;
}

/* ========================================
   LOGIN / SIGNUP / WAITING LIST SECTIONS
   ======================================== */

#login,
#signup,
#waiting-list {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
    margin-top: 100px;
    min-height: auto;
    overflow: visible;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    pointer-events: auto;
}

/* Remove white background from signup form column */
#signup .bg-light {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Waiting List & Signup Form Styling */
#waiting-list .form-check-input,
#signup .form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin-top: 0.15em;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
}

#waiting-list .form-check-input:checked,
#signup .form-check-input:checked {
    background-color: #bd14a4;
    border-color: #bd14a4;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

#waiting-list .form-check-label,
#signup .form-check-label,
#waiting-list .form-label,
#signup .form-label,
#waiting-list label,
#signup label,
#waiting-list h4,
#signup h4,
#waiting-list p,
#signup p {
    color: #ffffff !important;
}

#waiting-list .form-check,
#signup .form-check {
    margin-bottom: 0.75rem;
}

#waiting-list .form-control,
#signup .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

#waiting-list .form-control::placeholder,
#signup .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#waiting-list .form-control:focus,
#signup .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #bd14a4;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(189, 20, 164, 0.25);
}

/* Rocket section styling - center content in the column */
#waiting-list .col-lg-2,
#signup .col-lg-2 {
    padding-left: 2rem;
    padding-right: 2rem;
}

#waiting-list .col-lg-2 h4,
#signup .col-lg-2 h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#waiting-list .col-lg-2 p,
#signup .col-lg-2 p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Login waitlist button - match navbar style */
#login-waitlist-btn.mk-btn-waitlist {
    background: #bd14a4 !important;
    border: 2px solid #bd14a4 !important;
    color: #ffffff !important;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#login-waitlist-btn.mk-btn-waitlist:hover {
    background: #ffffff !important;
    border-color: #bd14a4 !important;
    color: #000000 !important;
    transform: translateY(-2px);
}

/* Waitlist form submit button - match navbar style with primary color */
#waitlist-submit-btn,
#waiting-list button#waitlist-submit-btn,
button#waitlist-submit-btn {
    background: #bd14a4 !important;
    border: 2px solid #bd14a4 !important;
    color: #ffffff !important;
    padding: 0.75rem 2rem !important;
    border-radius: 2rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(189, 20, 164, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

#waitlist-submit-btn:hover:not(:disabled),
#waiting-list button#waitlist-submit-btn:hover:not(:disabled),
button#waitlist-submit-btn:hover:not(:disabled) {
    background: #ffffff !important;
    border-color: #bd14a4 !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(189, 20, 164, 0.4) !important;
}

#waitlist-submit-btn:disabled,
#waiting-list button#waitlist-submit-btn:disabled,
button#waitlist-submit-btn:disabled {
    background: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* reCAPTCHA responsive styling */
#waiting-list .g-recaptcha,
#signup .g-recaptcha {
    display: inline-block;
    margin-bottom: 1rem;
    width: 304px;
    height: 78px;
    overflow: visible;
    position: relative;
    z-index: 2;
}

/* Center the reCAPTCHA container */
#waiting-list .text-center,
#signup .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
}

/* Mobile reCAPTCHA adjustments */
@media (max-width: 576px) {
    #waiting-list .g-recaptcha,
    #signup .g-recaptcha {
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: 1.25rem;
        width: 304px;
        height: 78px;
    }
    /* Ensure the inner iframe is not clipped */
    #waiting-list .g-recaptcha iframe,
    #signup .g-recaptcha iframe {
        transform-origin: top center;
    }
}

/* Small tablets */
@media (min-width: 577px) and (max-width: 768px) {
    #waiting-list .g-recaptcha,
    #signup .g-recaptcha {
        transform: scale(0.95);
        transform-origin: center center;
        margin-bottom: 1.15rem;
    }
}

/* Remove white background from login card */
#login .card {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

#login .card-header {
    background-color: transparent !important;
    border: none !important;
}

#login .card-body {
    background-color: transparent !important;
}

/* Improve text visibility and spacing in login/signup forms */
#login h4,
#login h5,
#signup h4,
#signup h5 {
    color: white !important;
    font-weight: 600;
}

#login p,
#signup p {
    color: rgba(255, 255, 255, 0.9) !important;
}

#login label,
#signup label,
#login .form-label,
#signup .form-label,
#login legend,
#signup legend {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

/* Terms and conditions text */
#login .form-check-label,
#signup .form-check-label {
    color: rgba(255, 255, 255, 0.85) !important;
}

#login .form-check-label a,
#signup .form-check-label a {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Improve spacing for form groups */
#login .form-group,
#signup .form-group {
    margin-bottom: 1.25rem;
}

/* Input field text color - white while typing */
#login input,
#signup input,
#login textarea,
#signup textarea {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

#login input:focus,
#signup input:focus,
#login textarea:focus,
#signup textarea:focus {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(189, 20, 164, 0.25) !important;
}

/* Placeholder text color */
#login input::placeholder,
#signup input::placeholder,
#login textarea::placeholder,
#signup textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Spacing for fieldset */
#login fieldset,
#signup fieldset {
    margin-bottom: 1rem;
}

/* Better spacing for radio/checkbox */
#login .form-check,
#signup .form-check {
    margin-bottom: 0.75rem;
    padding-left: 1.75rem;
    display: flex;
    align-items: center;
}

/* Custom radio button styling */
#login .form-check-input[type="radio"],
#signup .form-check-input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
}

#login .form-check-input[type="radio"]:checked,
#signup .form-check-input[type="radio"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

#login .form-check-input[type="radio"]:focus,
#signup .form-check-input[type="radio"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(189, 20, 164, 0.25);
}

/* Custom checkbox styling */
#login .form-check-input[type="checkbox"],
#signup .form-check-input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    margin-right: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background-color: transparent;
    cursor: pointer;
}

#login .form-check-input[type="checkbox"]:checked,
#signup .form-check-input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#login .form-check-input[type="checkbox"]:focus,
#signup .form-check-input[type="checkbox"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(189, 20, 164, 0.25);
}

/* Ensure buttons are visible */
#signup-submit-btn,
#login button[type="submit"] {
    background: linear-gradient(310deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    border: none !important;
    padding: 0.875rem 1.5rem !important;
    font-weight: 600 !important;
}

#signup-submit-btn:hover,
#login button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(189, 20, 164, 0.4) !important;
}

/* Tighter container - remove excess space */
#login .row,
#signup .row {
    align-items: flex-start;
}

#login,
#signup {
    min-height: auto !important;
    padding-bottom: 3rem;
}

/* Login/Signup image sizing and centering */
#login .col-lg-6 .login-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Signup image - let it resize with container (no 50% limit) */
#signup .col-lg-5 > img.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Center the image column content */
#login .col-lg-6 {
    display: flex;
    align-items: center;
    justify-content: center;
}

#signup .col-lg-5 {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure rocket illustration stays proper size */
#signup .col-lg-2 img {
    max-width: 100% !important;
    height: auto;
}

/* Tenant name hint styling */
.tenant-name-hint {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.875rem;
    line-height: 1.4;
}

.tenant-name-hint i {
    color: var(--primary-color);
}

.tenant-name-hint strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* ========================================
   ANIMATED VIEWPORT - MAIN CONTENT AREA
   ======================================== */

.animated-viewport {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px;
    margin-top: 0;
    min-height: 100vh;
    overflow: visible;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    padding: 2rem;
    pointer-events: auto;
}

/* Custom Scrollbar */
.animated-viewport::-webkit-scrollbar {
    width: 12px;
}

.animated-viewport::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.animated-viewport::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 10px;
    border: 3px solid transparent;
    background-clip: content-box;
}

/* Firefox Scrollbar */
.animated-viewport {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) rgba(0, 0, 0, 0.2);
}

/* ========================================
   VIEWPORT SECTIONS
   ======================================== */

.viewport-section {
    /* Allow all sections to be visible for scrolling */
    display: block;
    opacity: 1;
    width: 100%;
    min-height: 100vh;
    padding: 2rem 0;
    scroll-margin-top: 100px; /* Offset for fixed navbar */
}

/* Special sections that don't need full viewport height */
#detailed-pricing {
    min-height: auto;
    padding: 1rem 0;
}

/* Active class used for navigation tracking - no visual changes needed */

.section-content {
    max-width: 100%;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--light-color);
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* ========================================
   HOME SECTION - INTRO
   ======================================== */

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    gap: 1rem;
    padding-bottom: 4rem;
}

.logo-section {
    margin-bottom: 2rem;
    width: 100%;
    max-width: 90%;
}

/* SVG and Slogan Wrapper */
.svg-and-slogan-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* SVG Logo Container */
.svg-container {
    width: 100%;
    max-width: 95%;
    padding: 0 1rem;
}

#home-page-text-logo {
    width: 100%;
    height: auto;
    opacity: 1;
    visibility: visible;
}

/* SVG Path Styling */
.home-logo-path {
    fill: none;
    stroke: #fff;
    stroke-miterlimit: 10;
    stroke-width: 2px;
    visibility: hidden;
}

/* Individual path dash arrays for animation */
#path-m { stroke-dasharray: 507.06px; stroke-dashoffset: 507.06px; }
#path-a1 { stroke-dasharray: 380.32px; stroke-dashoffset: 380.32px; }
#path-a2 { stroke-dasharray: 89.32px; stroke-dashoffset: 89.32px; }
#path-k { stroke-dasharray: 368.6px; stroke-dashoffset: 368.6px; }
#path-e { stroke-dasharray: 407.08px; stroke-dashoffset: 407.08px; }
#path-i1 { stroke-dasharray: 159.06px; stroke-dashoffset: 159.06px; }
#path-n { stroke-dasharray: 383.8px; stroke-dashoffset: 383.8px; }
#path-i2 { stroke-dasharray: 159.06px; stroke-dashoffset: 159.06px; }
#path-t { stroke-dasharray: 255.6px; stroke-dashoffset: 255.6px; }

/* Slogan Container */
#slogan-container {
    width: 100%;
    max-width: 538px;
    margin: 0 auto;
    transform-origin: center center;
}

/* Animated Gradient Text for Slogan */
#slogan-text {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5rem;
    background: linear-gradient(to right, #fc72ff, #8f68ff, #487bff, #8f68ff, #fc72ff);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 4s linear infinite reverse;
    margin: 0;
}

@keyframes animate-gradient {
    to {
        background-position: 200%;
    }
}

/* Legacy styles for fallback */
.brand-logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    color: var(--light-color);
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.slogan p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--light-color);
    letter-spacing: 8px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fc72ff, #8f68ff, #487bff, #8f68ff, #fc72ff);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 4s linear infinite;
}

@keyframes gradient-shift {
    to {
        background-position: 200%;
    }
}

/* Home Message */
.home-message {
    margin: 1rem 0;
}

.home-message p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.8rem);
    color: var(--light-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.home-message .medium {
    font-weight: 400;
}

.home-message .bold {
    font-weight: 800;
}

/* Desktop Video Preview */
.desktop-video-preview {
    display: none;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

@media (min-width: 960px) {
    .desktop-video-preview {
        display: block;
    }
}

.desktop-video-card {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.desktop-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(189, 20, 164, 0.4);
}

.desktop-video-card video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.desktop-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition);
}

.desktop-video-card:hover .desktop-video-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
}

.desktop-video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-color);
    transition: var(--transition);
}

.desktop-video-card:hover .desktop-video-play-btn {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.desktop-video-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-color);
    text-align: center;
}

/* Video CTA Button (Mobile) */
.mobile-video-cta {
    margin: 2rem 0 1rem;
    display: flex;
    justify-content: center;
}

@media (min-width: 960px) {
    .mobile-video-cta {
        display: none;
    }
}

.btn-watch-video {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(189, 20, 164, 0.4);
}

.btn-watch-video i {
    font-size: 1.3rem;
}

.btn-watch-video:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 20, 164, 0.5);
}

.btn-watch-video:active {
    transform: translateY(0);
}

/* Scroll CTA */
.scroll-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    cursor: pointer;
}

/* Home section CTA - closer to content */
#home .scroll-cta {
    margin-top: 0rem;
}

.cta-arrows {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.arrow {
    width: 8px;
    height: 8px;
    border-top: 1.5px solid var(--light-color);
    border-left: 1.5px solid var(--light-color);
    transform: rotate(225deg);
    animation: arrow-bounce 2s infinite;
}

.arrow:nth-child(1) {
    animation-delay: -0.4s;
}

.arrow:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow:nth-child(3) {
    animation-delay: 0s;
}

@keyframes arrow-bounce {
    0% {
        opacity: 0;
        transform: translateY(-10px) rotate(225deg);
    }
    50% {
        opacity: 1;
        transform: translateY(0) rotate(225deg);
    }
    100% {
        opacity: 0;
        transform: translateY(10px) rotate(225deg);
    }
}

.cta-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--light-color);
    font-weight: 500;
}

/* ========================================
   FEATURES SECTION - HEADING WITH BRUSH
   ======================================== */

#features-heading-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.features-heading-wrapper {
    position: relative;
    display: inline-block;
}

#features-brush {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: auto;
    z-index: 1;
    opacity: 0;
    transition: width 0.8s ease-out, opacity 0.3s ease-out;
}

#features-brush.animate {
    width: 120%;
    opacity: 1;
}

#features-heading {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0.5rem 2rem;
}

/* ========================================
   FEATURES SECTION - INTERACTIVE TILES
   ======================================== */

.features-tiles-container {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.features-tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
}

/* Desktop: 4x4 grid for 16 features */
@media (min-width: 1024px) {
    .features-tiles-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        gap: 1.5rem;
    }
}

/* Expanded state - show only selected tile and details */
.features-tiles-grid.expanded {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.features-tiles-grid.expanded .feature-tile-wrapper:not(.active) {
    display: none;
}

.features-tiles-grid.expanded .feature-tile-wrapper.active {
    width: 180px;
    margin-bottom: 1rem;
}

/* Keep tile size consistent when expanded - maintain original dimensions */
.features-tiles-grid.expanded .feature-tile {
    width: 180px;
    height: 180px;
}

/* Feature Tile Wrapper */
.feature-tile-wrapper {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
/* Feature Tile */
.feature-tile {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    height: 180px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(203, 12, 159, 0.6), 
                0 0 30px rgba(48, 180, 251, 0.4);
    background: rgba(255, 255, 255, 1);
}

/* Feature Tile Title */
.feature-tile-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    text-align: center;
    line-height: 1.2;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-tile-title.two-line {
    font-size: 0.9rem;
    line-height: 1.1;
}

/* Feature Tile Icon */
.feature-tile-icon {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    flex-shrink: 0;
}

.feature-tile-icon img,
.feature-tile-icon svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.feature-tile:hover .feature-tile-icon img {
    transform: scale(1.05);
}

/* Lowercase title styling */
.feature-tile-title.lowercase {
    text-transform: lowercase;
}

/* Feature Details Panel */
.feature-details-panel {
    display: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-height: auto;
    max-height: none;
    overflow-y: visible;
    position: relative;
    animation: slideIn 0.3s ease;
}

.feature-details-panel.active {
    display: block;
}

.tab-pane {
    display: block;
    opacity: 0;
    position: absolute;
    width: 100%;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tab-pane.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.feature-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.feature-close-btn:hover {
    background: var(--secondary-color);
    transform: rotate(90deg);
}

/* Feature Details Content */
.feature-details-content {
    color: #333;
}

.feature-details-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-details-content h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.feature-details-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-details-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.feature-details-content ul li {
    color: #666;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-details-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.feature-details-content .feature-category {
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.feature-details-content .feature-category h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-toggle {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pricing-toggle .nav-pills {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem;
    display: inline-flex;
}

.pricing-toggle .nav-link {
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    border: none;
    background: transparent;
    transition: var(--transition);
}

.pricing-toggle .nav-link.active,
#pricingTabs .nav-link.active,
#monthlyTab.active,
button#monthlyTab.active {
    background: var(--primary-color) !important;
    color: var(--light-color) !important;
    border: none !important;
}

/* Ensure monthly tab is always styled correctly */
#monthlyTab.nav-link.active {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Override Bootstrap nav-pills variables for pricing toggle */
#pricingTabs.nav-pills {
    --bs-nav-pills-link-active-color: #ffffff !important;
    --bs-nav-pills-link-active-bg: #bd14a4 !important;
}

/* Force styling on the button elements directly */
button#monthlyTab.nav-link,
button#annualTab.nav-link {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

button#monthlyTab.nav-link.active,
button#monthlyTab.active.nav-link {
    background: #bd14a4 !important;
    background-color: #bd14a4 !important;
    color: #ffffff !important;
}

.pricing-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.savings-badge {
    color: #4ade80;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-compare {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin-bottom: 0.5rem;
}

.btn-compare:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* Detailed Pricing Button */
.btn-detailed-pricing {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(189, 20, 164, 0.4);
}

.btn-detailed-pricing:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 20, 164, 0.5);
}

/* Detailed Pricing Table */
.detailed-pricing-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 2rem 1rem;
    margin-top: 2rem;
    animation: slideDown 0.3s ease;
    max-width: 100%;
}

.detailed-pricing-container h3,
.detailed-pricing-container p {
    padding: 0 1rem;
}

.table-responsive {
    margin: 0;
    padding: 0;
    width: 100%;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    margin: 0;
}

.pricing-comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
    padding: 0.875rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-comparison-table th {
    font-weight: 600;
    text-align: center;
}

.pricing-comparison-table th:first-child {
    text-align: left;
}

.pricing-comparison-table td {
    text-align: center;
    color: #333;
}

.pricing-comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.pricing-comparison-table .category-header td {
    background: rgba(189, 20, 164, 0.1);
    font-weight: 700;
    color: var(--primary-color);
    padding: 1.25rem 1rem;
}

.pricing-comparison-table .check {
    color: #22c55e;
    font-size: 1.5rem;
    font-weight: bold;
}

.pricing-comparison-table .cross {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: bold;
}

.pricing-comparison-table tr:hover:not(.category-header) {
    background: rgba(189, 20, 164, 0.05);
}

/* ========================================
   PRICING SECTION (ORIGINAL)
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(189, 20, 164, 0.4);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.price {
    margin-bottom: 2rem;
    color: var(--light-color);
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
}

.price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.btn-pricing {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-pricing:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 20, 164, 0.4);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-container-full {
    max-width: 100%;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left Column - Contact Info */
.contact-info-column {
    color: var(--light-color);
    padding-left: 2rem;
}

.contact-info-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 600;
    color: var(--light-color);
    margin-bottom: 1rem;
}

.contact-info-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-details-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-detail-block {
    flex: 1;
    min-width: 200px;
}

.contact-detail-with-icon {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon-small {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-detail-heading {
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-detail-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-map {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    max-width: 100%;
    overflow: hidden;
}

.contact-map-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Social Media */
.contact-social {
    margin-top: 1.5rem;
}

.contact-social-heading {
    color: var(--light-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Right Column - Contact Form */
.contact-form-column {
    display: flex;
    justify-content: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 550px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label,
.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    cursor: pointer;
}

.form-check-switch {
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

.form-check-switch input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-check-switch label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.terms-link:hover {
    color: var(--secondary-color);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 20, 164, 0.4);
}

/* ========================================
   FAQs SECTION
   ======================================== */

.faqs-lead {
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--light-color);
    margin: 0;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar for FAQ answers */
.faq-answer::-webkit-scrollbar {
    width: 8px;
}

.faq-answer::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0.5rem;
}

.faq-answer::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
}

.faq-answer::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Firefox scrollbar */
.faq-answer {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(255, 255, 255, 0.1);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-answer ul {
    padding: 0 1.5rem 1.5rem 3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-answer ul li {
    margin-bottom: 0.5rem;
}

.faq-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.faq-link:hover {
    color: var(--secondary-color);
}

/* ========================================
   FOOTER
   ======================================== */

.public-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.35rem 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.public-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.footer-copyright {
    color: var(--gray-color);
    font-size: 0.5rem;
}

.footer-icons {
    display: flex;
    gap: 0.5rem;
}

.footer-icon-link {
    color: var(--gray-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-icon-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works-container {
    max-width: 100%;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(189, 20, 164, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(189, 20, 164, 0.5);
}

.hero-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

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

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hero-video-container:hover .hero-video-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.hero-video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(189, 20, 164, 0.5);
}

.hero-video-container:hover .hero-video-play-btn {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.hero-video-title {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Video Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(189, 20, 164, 0.4);
}

.video-card-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-card-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #1a1a1a;
}

/* Desktop: Show video preview with less blur */
@media (min-width: 1024px) {
    .video-card-wrapper {
        filter: brightness(0.7);
    }
    
    .video-card:hover .video-card-wrapper {
        filter: brightness(0.5);
    }
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-card:hover .video-card-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
}

.video-card-play-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(189, 20, 164, 0.5);
}

.video-card:hover .video-card-play-btn {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.video-card-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* ========================================
   VIDEO MODAL (MOBILE ONLY)
   ======================================== */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(189, 20, 164, 0.9);
    color: var(--light-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10001;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ========================================
   RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablets and below (959px) */
@media (max-width: 959px) {
    /* Show video button on mobile */
    .mobile-video-cta {
        display: block;
    }

    /* Compact footer on tablets/mobile */
    .public-footer {
        padding: 0.5rem 1rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .footer-icons {
        gap: 0.5rem;
    }

    .footer-icon-link {
        font-size: 1rem;
    }

    .navbar {
        width: 98%;
        padding: 0.5rem;
    }
    
    .navbar .container-fluid {
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    .navbar-collapse {
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        margin-top: 1rem;
        border-radius: 1rem;
        padding: 1.25rem;
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        border: 2px solid rgba(189, 20, 164, 0.15);
    }
    
    .navbar-collapse.show {
        display: flex; /* Show when toggled */
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(189, 20, 164, 0.15);
    }

    .nav-links .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.875rem 1.25rem;
        border-radius: 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        transition: var(--transition);
        border: 1px solid rgba(189, 20, 164, 0.15);
        background: rgba(255, 255, 255, 0.5);
    }

    .nav-links .nav-link:hover {
        background: rgba(189, 20, 164, 0.1);
        border-color: var(--primary-color);
        transform: translateX(5px);
        box-shadow: 0 2px 8px rgba(189, 20, 164, 0.2);
        color: var(--dark-color);
    }

    .navbar-nav.nav-links .nav-link.active {
        background: linear-gradient(225deg, rgba(189, 20, 164, 0.15), rgb(203, 12, 159));
        border-color: var(--primary-color);
        color: #fff;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(189, 20, 164, 0.25);
    }
    
    /* Ensure pricing toggle isn't affected by mobile nav styles */
    .pricing-toggle .nav-link.active,
    #pricingTabs .nav-link.active,
    #monthlyTab.active,
    button#monthlyTab.active,
    #monthlyTab.nav-link.active {
        background: var(--primary-color) !important;
        color: var(--light-color) !important;
        border: none !important;
        box-shadow: none !important;
        font-weight: 600 !important;
    }

    .navbar-nav.ms-auto {
        width: 100%;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .mk-btn-login,
    .mk-btn-signup,
    .mk-btn-waitlist {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 0.75rem;
        margin: 0.5rem 0;
        text-align: center;
    }

    .animated-viewport {
        width: 95%;
        padding: 1.5rem;
        margin-top: 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .footer-copyright {
        order: 2;
    }

    .footer-icons {
        order: 1;
    }

    /* How It Works responsive */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-video-title {
        font-size: 1.2rem;
        bottom: 1rem;
        left: 1rem;
    }

    .hero-video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Contact responsive */
    .contact-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-details-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

/* Mobile phones (576px and below) */
@media (max-width: 576px) {
    /* Show video button on mobile */
    .mobile-video-cta {
        display: block;
    }

    .btn-watch-video {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .video-modal-content {
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .video-modal-close {
        top: -12px;
        right: -12px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Feature tiles mobile adjustments */
    .features-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .features-tiles-grid.expanded {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
    }

    .features-tiles-grid.expanded .feature-tile-wrapper.active {
        width: 120px;
        margin-bottom: 0.75rem;
    }

    /* Smaller tile size on mobile */
    .features-tiles-grid.expanded .feature-tile {
        width: 120px;
        height: 120px;
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    /* Make sure icons/SVGs are contained within mobile tile */
    .features-tiles-grid.expanded .feature-tile-icon {
        height: 60px;
    }
    
    .features-tiles-grid.expanded .feature-tile-icon img,
    .features-tiles-grid.expanded .feature-tile-icon svg {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .feature-details-panel {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        max-height: none;
        overflow-y: visible;
    }

    .feature-tile-title {
        font-size: 0.75rem;
    }

    .feature-tile-icon i {
        font-size: 2rem;
    }

    .brand-logo h1 {
        font-size: 2rem;
    }

    .slogan p {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .home-message p {
        font-size: 1rem;
    }

    .animated-viewport {
        width: 98%;
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .arrow {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }
    
    /* Hide all CTAs except home on mobile */
    .scroll-cta:not(#home .scroll-cta) {
        display: none;
    }
    
    /* Adjust intro-content spacing for mobile */
    .intro-content {
        padding-bottom: 2rem;
    }
    
    /* Position home CTA to stay above footer on all mobile screens */
    #home .scroll-cta {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    /* For taller mobile screens, add more space */
    @media (max-width: 576px) and (min-height: 700px) {
        #home .scroll-cta {
            margin-top: 3rem;
        }
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .public-footer {
        padding: 0.4rem 0.75rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }

    .footer-icons {
        gap: 0.5rem;
    }

    .footer-icon-link {
        font-size: 0.9rem;
    }

    /* How It Works mobile */
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-video-title {
        font-size: 1rem;
        bottom: 0.75rem;
        left: 0.75rem;
    }

    .hero-video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .video-card-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .video-card-title {
        font-size: 1rem;
    }

    /* Contact mobile */
    .contact-info-text {
        font-size: 1rem;
    }

    .contact-details-wrapper {
        flex-direction: column;
    }

    .contact-form-card {
        padding: 1.5rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* Desktop - Hide mobile video button only (960px and above) */
@media (min-width: 960px) {
    .mobile-video-cta {
        display: none !important;
    }
}

@media (min-width: 1400px) {
    .animated-viewport {
        max-width: 1400px;
    }

    .navbar {
        max-width: 85%;
    }

    .public-footer {
        max-width: 85%;
    }
}
