* {
    box-sizing: border-box;
}

video,
.hero-video {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}


body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    background: #050505;
    /* cursor: none; -- MOVED TO JS FOR SAFETY */
    overflow-x: hidden;
}

.onboarding-container {
    background: #050505;
    min-height: 100vh;
}

.about-page-bg {
    position: fixed;
    inset: 0;
    background: url('https://windowscustomization.com/wp-content/uploads/2019/08/Sparkle-Wave-4K.gif') center/cover fixed no-repeat;
    pointer-events: none;
    z-index: -1;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    will-change: transform;
    box-shadow: 0 0 5px white;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--power-orange);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    box-shadow: 0 0 10px var(--power-orange);
    will-change: transform;
}





.mouse-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #000;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
    /* Add slight glow to make black visible on dark bg */
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    animation: particleFade 0.6s ease-out forwards;
}

@keyframes particleFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

body.video-bg-active {
    background: none;
    /* Let video show through */
    background-color: #000;
}

.fixed-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    background: transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between logo and text */
    text-decoration: none;
    /* If it becomes a link */
}

.logo img {
    height: 50px;
    /* Slightly smaller to balance with text */
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

/* move only contact a bit left */
.nav-links .nav-contact {
    margin-left: +07px;
}

/* HERO: PURE VIDEO */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    color: white;
    padding: 0 20px;
    z-index: 5;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

/* CONTENT BELOW HERO */
.page-content {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

/* GIF HERO for subpages */
.gif-section .gif-bg {
    position: absolute;
    inset: 0;
    background: url('https://windowscustomization.com/wp-content/uploads/2019/08/Sparkle-Wave-4K.gif') center/cover no-repeat;
    z-index: -1;
}

/* LARGE EDGE/INSIGHTS BOX */
.boxed-dual-section {
    background: transparent;
    padding: 120px 0 80px;
    display: flex;
    justify-content: center;
}

.dual-card {
    width: 90%;
    max-width: 1500px;
    height: 460px;
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dual-left,
.dual-right {
    flex: 1;
    padding: 25px 70px 60px;
    /* Further reduced from 40px to 25px */
}

.dual-left {
    background: white;
    color: #000;
}

.dual-right {
    background: #050505;
    color: white;
}

.dual-left h2,
.dual-right h2 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 8px;
}

.dual-subtitle,
.dual-subtitle-dark {
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 25px;
}

.dual-subtitle {
    color: #666;
}

.dual-subtitle-dark {
    color: #aaa;
}

.dual-left p,
.dual-right p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 0;
}

.dual-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure buttons are pushed to the same level at the bottom */
.dual-content .pill-btn {
    margin-top: auto;
    align-self: flex-start;
}

/* PILL BUTTON UNIFICATION */
.dual-btn,
.pill-btn,
.dual-read-more,
.newsletter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    padding: 8px 28px;
    border-radius: 100px;
    border: 3px solid #ff5a3d;
    color: #ff5a3d;
    background: #fff;
    text-decoration: none;
    font-weight: 950;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

/* Gritty Grain Overlay */
.dual-btn::before,
.pill-btn::before,
.dual-read-more::before,
.newsletter-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.12;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
}


.dual-btn::after,
.pill-btn::after,
.dual-read-more::after,
.newsletter-btn::after {
    content: "";
    position: absolute;
    right: -12px;
    width: 24px;
    height: 24px;
    background: #ff5a3d;
    border: 3px solid #ff5a3d;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 90, 61, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}

.dual-btn:hover,
.pill-btn:hover,
.dual-read-more:hover,
.newsletter-btn:hover {
    background: #ff5a3d;
    color: #fff;
    box-shadow: 0 15px 40px rgba(255, 90, 61, 0.3);
}

.dual-btn:hover::after,
.pill-btn:hover::after,
.dual-read-more:hover::after,
.newsletter-btn:hover::after {
    background: #fff;
    border-color: #fff;
    right: -25px;
}

/* DUAL CARD SPECIFIC OVERRIDES (Image 3 Style) */
.boxed-dual-section .pill-btn {
    border: 2px solid #ff5a3d;
    font-weight: 800;
    letter-spacing: 1px;
}

.boxed-dual-section .pill-btn::after {
    width: 44px;
    height: 44px;
    right: -22px;
    border: none;
    top: 50%;
    transform: translateY(-50%);
}

.boxed-dual-section .pill-btn:hover::after {
    right: -30px;
}

/* READ MORE consolidated into pill system above */

/* PREMIUM HIGHLIGHTS */
.highlights-section {
    background: transparent;
    padding: 80px 0 100px;
}

.highlights-inner {
    width: 90%;
    max-width: 1500px;
    margin: auto;
}

.highlights-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.highlights-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #eee;
    margin-bottom: 40px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
}

.highlight-card {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    transition: transform .35s, box-shadow .35s;
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.highlight-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transform: scale(1);
    transition: transform .35s ease-out, filter .35s ease-out;
    filter: brightness(1);
}

.highlight-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: opacity .35s;
}

.highlight-card:hover .highlight-image {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.highlight-card:hover .highlight-image::after {
    opacity: 1;
}

.highlight-card.tall {
    grid-row: span 2;
}

.highlight-card.tall .highlight-image {
    flex: 1;
    min-height: 320px;
}

.highlight-body {
    padding: 32px;
    position: relative;
    flex-shrink: 0;
    transition: transform .35s;
}

.highlight-card:hover .highlight-body {
    transform: translateY(-3px);
}

.highlight-body h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-body p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

.highlight-arrow {
    position: absolute;
    right: 32px;
    bottom: 26px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

/* AI-SELECTED IMAGE MAPPING */
.img-quantum {
    background-image: url('https://picsum.photos/1000/800?cyber');
}

.img-ai-platforms {
    background-image: url('https://picsum.photos/1000/800?ai');
}

.img-failure {
    background-image: url('https://picsum.photos/1000/800?server');
}

.img-ar-games {
    background-image: url('https://picsum.photos/1000/800?ar');
}

.img-vr-games {
    background-image: url('https://picsum.photos/1000/800?vr');
}

.img-metaverse {
    background-image: url('https://picsum.photos/1000/800?city');
}

.img-robotics {
    background-image: url('https://picsum.photos/1000/800?robot');
}

.img-web-design {
    background-image: url('https://picsum.photos/1000/800?web');
}

.img-web-designers {
    background-image: url('https://picsum.photos/1000/800?design');
}

.img-android-app {
    background-image: url('https://picsum.photos/1000/800?android');
}

.img-research-papers {
    background-image: url('https://picsum.photos/1000/800?docs');
}

/* IMPACT SECTION */
.impact-section {
    background: transparent;
    padding: 100px 0;
    color: white;
}

.impact-inner {
    width: 85%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
}

.impact-left img {
    width: 420px;
    height: 520px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.impact-right h2 {
    font-size: 44px;
    font-weight: 300;
    margin-bottom: 15px;
}

.impact-link {
    color: #ff5a3d;
    font-weight: bold;
    text-decoration: none;
}

/* NEWSLETTER */
.newsletter-section {
    background: transparent;
    padding: 80px 0 100px;
}

.newsletter-box {
    background: white;
    width: 80%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.newsletter-left {
    flex: 1;
}

.newsletter-right {
    flex: 1;
    text-align: center;
}

.newsletter-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 40px;
    border: 2px solid #ff5a3d;
    background: white;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.newsletter-note {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

/* FOOTER */
.footer-full {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 60px;
}

.footer-logo {
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px;
}

.footer-grid h4 {
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-grid p {
    font-size: 13px;
    color: #aaa;
    margin: 4px 0;
}

/* MODAL + TABS */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #ffffff;
    width: 80%;
    max-width: 900px;
    padding: 24px 28px 30px;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
    animation: modalFade .3s ease-out;
}

.close-btn {
    float: right;
    font-size: 26px;
    cursor: pointer;
    color: #444;
    font-weight: bold;
}

.close-btn:hover {
    color: #000;
}

.modal-tabs {
    margin-top: 6px;
    margin-bottom: 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 999px 999px 0 0;
    color: #666;
}

.tab-btn.active {
    background: #111827;
    color: #fff;
}

.modal-body {
    margin-top: 10px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

#modal-title {
    margin-top: 0;
    margin-bottom: 10px;
}

#modal-overview {
    white-space: pre-wrap;
}

#modal-docs,
#modal-research {
    padding-left: 18px;
}

#modal-docs li,
#modal-research li {
    margin-bottom: 6px;
}

.modal-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}

.modal-images-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

/* PRODUCTS PAGE */
.page-header {
    text-align: center;
    padding: 140px 0 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.products-contact {
    padding: 40px 0 100px;
}

.products-grid {
    width: 90%;
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 26px;
}

.product-card {
    background: rgba(0, 0, 0, 0.58);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    transition: .3s;
    backdrop-filter: blur(6px);
    padding-bottom: 20px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.product-card h3 {
    color: #fff;
    font-size: 18px;
    padding: 10px 14px 0px;
    margin-bottom: 2px;
}

.product-card .pill-btn {
    margin-left: 15px;
}

.pimg {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    transition: .3s;
}

.product-card:hover .pimg {
    transform: scale(1.08);
}

/* ANIMATIONS */
@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hidden-card {
    opacity: 0;
}

.slide-from-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-from-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .dual-card,
    .impact-inner,
    .newsletter-box {
        flex-direction: column;
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .dual-left,
    .dual-right {
        padding: 30px 24px;
    }

    .modal-content {
        width: 92%;
        padding: 18px;
    }
}

/* CONTACT FORM PAGE */
/* JITTER ONBOARDING STYLE */
.onboarding-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: transparent;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.onboarding-content {
    width: 100%;
    max-width: 1000px;
    text-align: center;
    z-index: 10;
    padding-bottom: 200px;
    /* Safety zone for fixed footer */
}

.onboarding-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(40px, 9vw, 80px);
    color: #fff;
    font-weight: 950;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 1;
    animation: welcomePop 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes welcomePop {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(40px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* STEP TRANSITIONS */
.onboarding-step {
    display: none;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.onboarding-step.active {
    display: block;
    opacity: 1;
}

/* STAGGERED ENTRANCE FOR INNER ITEMS */
.onboarding-step.active h1,
.onboarding-step.active .onboarding-input-group,
.onboarding-step.active .onboarding-btn,
.onboarding-step.active .role-option,
.onboarding-step.active .usage-card,
.onboarding-step.active .usecase-card {
    animation: jitterIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes jitterIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Precise Staggering */
.onboarding-step.active h1 {
    animation-delay: 0.1s;
}

.onboarding-step.active .onboarding-input-group {
    animation-delay: 0.2s;
}

.onboarding-step.active .onboarding-btn {
    animation-delay: 0.3s;
}

.onboarding-step.active .role-option:nth-child(1) {
    animation-delay: 0.2s;
}

.onboarding-step.active .role-option:nth-child(2) {
    animation-delay: 0.26s;
}

.onboarding-step.active .role-option:nth-child(3) {
    animation-delay: 0.32s;
}

.onboarding-step.active .role-option:nth-child(4) {
    animation-delay: 0.38s;
}

.onboarding-step.active .role-option:nth-child(5) {
    animation-delay: 0.44s;
}

.onboarding-step.active .usage-card:nth-child(1) {
    animation-delay: 0.2s;
}

.onboarding-step.active .usage-card:nth-child(2) {
    animation-delay: 0.26s;
}

.onboarding-step.active .usage-card:nth-child(3) {
    animation-delay: 0.32s;
}

.onboarding-step.active .usage-card:nth-child(4) {
    animation-delay: 0.38s;
}

.onboarding-step.active .usage-card:nth-child(5) {
    animation-delay: 0.44s;
}

.onboarding-step.active .usecase-card:nth-child(1) {
    animation-delay: 0.2s;
}

.onboarding-step.active .usecase-card:nth-child(2) {
    animation-delay: 0.3s;
}

.onboarding-step.sliding-out {
    animation: jitterOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes jitterOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0.95);
    }
}


/* ROLE LIST STYLE (STEP 2) */
.role-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.role-option {
    padding: 12px 30px;
    background: #fff;
    border: 3px solid #ff5a3d;
    border-radius: 100px;
    color: #ff5a3d;
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.role-option:hover {
    background: #ff5a3d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 90, 61, 0.3);
}

.role-option.selected,
.role-option.active {
    background: #ff5a3d;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 90, 61, 0.4);
}

/* USAGE GRID STYLE (STEP 3) */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 550px;
    margin: 0 auto;
}

.usage-card {
    padding: 25px 10px;
    background: #fff;
    border: 3px solid #ff5a3d;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.usage-card .u-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 4px rgba(255, 90, 61, 0.2));
}

.usage-card p {
    color: #ff5a3d;
    font-size: 14px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-option:hover,
.role-option.active {
    background: #ff5a3d;
    color: #fff;
    border-color: #ff5a3d;
}

.usage-card:hover {
    transform: translateY(-8px);
    background: #ff5a3d;
    box-shadow: 0 15px 30px rgba(255, 90, 61, 0.3);
}

.usage-card:hover p,
.usage-card.active p {
    color: #fff;
}

.usage-card.active {
    background: #ff5a3d;
    border-color: #ff5a3d;
    transform: scale(1.05);
}

.usage-card.active .u-icon {
    color: #fff;
}

.usage-card.selected {
    background: #fff;
}

.usage-card.selected p {
    color: #000;
}

/* USE CASE STYLE (STEP 4) */
.usecase-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.usecase-card {
    flex: 1;
    max-width: 250px;
    padding: 40px 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.usecase-card .uc-icon {
    display: inline-block;
    font-size: 30px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.usecase-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 800;
}

.usecase-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.usecase-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.usecase-card.selected {
    background: #fff;
}

.usecase-card.selected h3 {
    color: #000;
}

.usecase-card.selected p {
    color: #333;
}

.usecase-card.selected .uc-icon {
    background: rgba(0, 0, 0, 0.1);
}

.onboarding-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.onboarding-input-group {
    width: 100%;
}

.onboarding-form input,
.onboarding-form select,
.onboarding-form textarea {
    width: 100%;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    outline: none;
    transition: background 0.3s;
}

.onboarding-form select.onboarding-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
    cursor: pointer;
}

.onboarding-input-group input,
.onboarding-input-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: background 0.3s;
    font-family: 'Inter', sans-serif;
}

.onboarding-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.onboarding-form select.onboarding-select option {
    background: #0ea5e9;
    color: #fff;
}

.onboarding-form input:focus,
.onboarding-form textarea:focus {
    background: rgba(255, 255, 255, 0.3);
}

.onboarding-btn {
    width: 100%;
    background: #ff5a3d;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(255, 90, 61, 0.3);
    margin-top: 10px;
    /* Kept from original */
}

.onboarding-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 90, 61, 0.5);
    background: #fff;
    color: #ff5a3d;
}

/* HYBRID CARD STYLE */
.onboarding-card {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    text-align: left;
    animation: jitterIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    z-index: 10;
}

.onboarding-card h2 {
    font-size: 36px;
    font-weight: 850;
    color: #000;
    margin-bottom: 8px;
    letter-spacing: -1.5px;
}

.onboarding-card p {
    color: #64748b;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.5;
}

.onboarding-card label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin-bottom: 10px;
}

.onboarding-card input,
.onboarding-card select,
.onboarding-card textarea {
    background: #f1f5f9;
    color: #000;
    font-size: 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.onboarding-card input:focus,
.onboarding-card select:focus,
.onboarding-card textarea:focus {
    background: #fff;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.onboarding-card .submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    background: #000;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.onboarding-card .submit-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

/* FOOTER DECORATION */
.onboarding-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    /* Reduced height to stay bottom */
    pointer-events: none;
    z-index: 1;
    transform: translateZ(0);
    /* Stability */
}

.curve-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.3;
    animation: moveLine 20s linear infinite;
}

/* BRANDS SECTION (ABOUT PAGE) */
.brands-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.brands-inner {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    text-align: center;
}

.brands-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.brand-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #eee;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon img {
    max-width: 120px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.brand-card:hover .card-icon img {
    filter: grayscale(0%);
}

.card-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.card-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}


@keyframes moveLine {
    0% {
        transform: translateX(-10%);
    }

    100% {
        transform: translateX(10%);
    }
}

/* GRAPH ANIMATION STYLES */
.graph-container {
    width: 100%;
    max-width: 500px;
    margin: 30px auto 0;
    padding: 20px;
    background: rgba(255, 90, 61, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.animated-graph {
    width: 100%;
    height: auto;
    display: block;
}

.grid-lines {
    opacity: 0;
    animation: fadeInGrid 0.6s ease forwards;
}

@keyframes fadeInGrid {
    to {
        opacity: 1;
    }
}

.graph-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0;
}

/* MARQUEE ANIMATIONS */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}

.marquee-track.reverse {
    animation: scrollRight 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.graph-path {
    stroke: #ff5a3d;
    stroke-width: 4;
}

.data-point {
    fill: #ff5a3d;
    opacity: 0;
    transform-origin: center;
    transform: scale(0);
}

.onboarding-step.active .data-point:nth-child(8) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.onboarding-step.active .data-point:nth-child(9) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.onboarding-step.active .data-point:nth-child(10) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.onboarding-step.active .data-point:nth-child(11) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.onboarding-step.active .data-point:nth-child(12) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

.onboarding-step.active .data-point:nth-child(13) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.1s forwards;
}

.onboarding-step.active .data-point:nth-child(14) {
    animation: popIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.4s forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-icons {
    position: absolute;
    bottom: -20px;
    /* Lowered icons */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    animation: moveIcons 25s ease-in-out infinite;
}

@keyframes moveIcons {

    0%,
    100% {
        transform: translateX(-5%);
    }

    50% {
        transform: translateX(5%);
    }
}

.step-boxes {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.step-box {
    width: 280px;
    height: 180px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* MASSIVE WELCOME SCREEN */
.welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.welcome-screen h1 {
    font-size: 156px !important;
    letter-spacing: -8px !important;
    margin: 0 !important;
}

/* STEP 3 SPECIFIC (NAME) */
#step-3 h1 {
    font-size: 130px;
    letter-spacing: -6px;
    line-height: 0.9;
    margin-bottom: 40px;
}

#step-3 .onboarding-form {
    max-width: 600px;
    margin: 0 auto;
}

/* JITTER LOGO & NAV DOTS */
.onboarding-header {
    position: fixed;
    top: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.onboarding-progress-dots {
    display: flex;
    gap: 8px;
}

.onboarding-logo {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.onboarding-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.onboarding-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.f-icon-circle {
    background: rgba(255, 90, 61, 0.2);
    border: 1.5px solid #ff5a3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: absolute;
}

.f-icon-circle.small {
    width: 60px;
    height: 60px;
}

.f-icon-circle.large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.f-icon-circle .f-icon {
    font-size: 24px;
    transition: all 0.3s;
}

.f-icon-circle.large .f-icon {
    font-size: 48px;
}

/* Position mapping along the wave curve matching image */
#f-circle-palette {
    left: 10%;
    bottom: 55%;
}

#f-circle-sparkles {
    left: 45%;
    bottom: 35%;
}

.f-icon-circle {
    position: absolute;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1.5px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: jitterFloat 6s ease-in-out infinite;
}

@keyframes jitterFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-8px) rotate(-2deg);
    }

    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Staggered animation delays for each icon */
.f-icon-circle:nth-child(1) {
    animation-delay: 0s;
}

.f-icon-circle:nth-child(2) {
    animation-delay: 1.5s;
}

.f-icon-circle:nth-child(3) {
    animation-delay: 3s;
}

.f-icon-circle.large {
    width: 96px;
    height: 96px;
}

@keyframes jitterFloat {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-15px) rotate(5deg);
    }
}

.f-icon {
    font-size: 24px;
}

.f-icon-circle.large .f-icon {
    font-size: 40px;
}

.help-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    z-index: 100;
}

@keyframes floodIn {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.5) rotate(-20deg);
    }

    60% {
        transform: translateY(-10px) scale(1.1) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0);
    }
}

@keyframes dynamicFloat {
    0% {
        transform: translateY(0) rotate(0) translateX(0);
    }

    100% {
        transform: translateY(-15px) rotate(8deg) translateX(5px);
    }
}

@media (max-width: 768px) {
    .onboarding-content h1 {
        font-size: 40px;
    }

    .floating-icons {
        gap: 30px;
    }

    .f-icon {
        font-size: 32px;
    }
}


.curve-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 320px;
    pointer-events: none;
    z-index: 1;
}

.curve-line path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawPath 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 40px 24px;
    }

    .contact-card h1 {
        font-size: 40px;
    }
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input {
    width: 100%;
    padding: 16px 30px;
    background: #fff;
    border: 3px solid #ff5a3d;
    border-radius: 100px;
    color: #ff5a3d;
    font-size: 16px;
    font-weight: 850;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    font-family: inherit;
}

.form-group input:focus {
    background: #fff;
    box-shadow: 0 10px 25px rgba(255, 90, 61, 0.2);
    transform: translateY(-2px);
}

.phone-wrapper {
    display: flex;
    gap: 10px;
}

.country-select {
    width: 100%;
    height: 57px;
    padding: 0 25px;
    background: #fff;
    border: 3px solid #ff5a3d;
    border-radius: 100px;
    color: #ff5a3d;
    font-size: 16px;
    font-weight: 850;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.country-select:focus {
    box-shadow: 0 10px 25px rgba(255, 90, 61, 0.2);
    transform: translateY(-2px);
}

.country-select option {
    background: #fff;
    color: #000;
    font-weight: 600;
}

.phone-wrapper input {
    flex: 1;
}

.submit-btn.rainbow-button {
    margin-top: 10px;
    padding: 20px;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    letter-spacing: 2px;
    border: none;
    border-radius: 12px;
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    z-index: 1;
}

.submit-btn.rainbow-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    z-index: -1;
    filter: blur(5px);
    background-size: 400%;
    animation: rainbowGlow 20s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 14px;
}

.submit-btn.rainbow-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.submit-btn.rainbow-button:hover::before {
    opacity: 1;
}

@keyframes rainbowGlow {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

/* RGB INTERACTIVE GLOW */
@keyframes rgbBorder {
    0% {
        border-color: #000;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }

    33% {
        border-color: #000;
        box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    }

    66% {
        border-color: #000;
        box-shadow: 0 0 20px rgba(255, 255, 0, 0.8);
    }

    100% {
        border-color: #000;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
}

@keyframes rgbText {
    0% {
        text-shadow: 0 0 8px #ff0000;
        color: #fff;
    }

    33% {
        text-shadow: 0 0 8px #00ff00;
        color: #fff;
    }

    66% {
        text-shadow: 0 0 8px #0000ff;
        color: #fff;
    }

    100% {
        text-shadow: 0 0 8px #ff0000;
        color: #fff;
    }
}

.submit-btn:hover,
.dual-btn:hover,
.newsletter-btn:hover,
.contact-card:hover {
    filter: brightness(1.6);
    animation: rgbBorder 3s linear infinite;
    border-style: solid;
    border-width: 2px;
}

.highlight-card:hover,
.product-card:hover {
    filter: brightness(1.5);
    animation: rgbBorder 3s linear infinite;
}

.nav-links a:hover {
    filter: brightness(1.5);
    animation: rgbText 3s linear infinite;
}

/* VIDEO MODAL */
#video-modal {
    display: none;
    position: fixed;
    z-index: 11000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.video-content {
    position: relative;
    background-color: #000;
    margin: auto;
    padding: 0;
    border: 1px solid #444;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 0 100px rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.close-video {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 11001;
    background: rgba(0, 0, 0, 0.5);
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.close-video:hover {
    color: #ff5a3d;
    background: rgba(255, 255, 255, 0.1);
}

#video-frame {
    display: block;
    border: none;
}

/* SUCCESS MESSAGE OVERLAY */
.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
}

.success-message {
    background: #fff;
    border: none;
    padding: 50px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    max-width: 450px;
    width: 90%;
    animation: modalFade 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.success-message h2 {
    color: #000;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 800;
}

.success-message p {
    color: #444;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.5;
}

.success-close-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.success-close-btn:hover {
    background: #222;
    transform: translateY(-3px) scale(1.05);
}

/* CARDS ENTRANCE ANIMATION (JITTER STYLE) */
.hidden-card {
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.jitter-reveal {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    visibility: visible !important;
}

/* Support for staggered delays via JS (optional but cleaner) */
.product-card,
.highlight-card {
    will-change: transform, opacity;
}

/* Icon Set Management */
.icon-set {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
}

.icon-set.active {
    opacity: 1;
    visibility: visible;
}

/* Video Background */
.onboarding-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.4;
    filter: brightness(0.7) contrast(1.2);
}

/* ==========================================================================
   ABOUT PAGE ENHANCEMENTS
   ========================================================================== */

/* About Text Section */
.about-text-section {
    padding: 100px 5%;
    background: #000;
    color: #fff;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-section h2 {
    font-size: 44px;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -1.5px;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text-section p {
    font-size: 22px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Brands Section Overhaul */
.brands-section {
    padding: 100px 0;
    overflow: hidden;
    background: #000;
}

.brands-title {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
}

/* Marquee Effect */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

/* Floating Animation */
@keyframes bob {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(1.5deg);
    }
}

.brand-card {
    flex: 0 0 auto;
    width: 220px;
    /* Reduced width for logos */
    height: 140px;
    /* Fixed height for consistency */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 15px;
    /* Add horizontal gap */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    perspective: 1000px;
    /* For 3D spin */
}

/* Focused State: Subtle Pop, Lit Up, and Spin */
.brand-card.focused {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.15) translateY(-15px) rotateY(360deg);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.25), 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;
    animation: none;
    /* Disable bobbing when focused for a clean spin */
}

.brand-card.focused .card-icon img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.brand-card.focused .card-info h3 {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.brand-card.focused .card-info p {
    color: #eee;
}

/* Staggered float speeds */
.brand-card:nth-child(even) {
    animation-duration: 6s;
    animation-delay: -1.5s;
}

.brand-card:nth-child(3n) {
    animation-duration: 7s;
    animation-delay: -2.5s;
}

.brand-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.card-icon {
    height: 80px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.card-icon img {
    max-height: 100%;
    max-width: 150px;
    filter: none;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.brand-card:hover .card-icon img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

.card-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.card-info p {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
    white-space: normal;
}

/* ==========================================================================
   AI POWERTECH BRANDED DESIGN SYSTEM (CARD LAYOUT)
   ========================================================================== */

:root {
    --power-orange: #ff5a3d;
    --power-navy: #050505;
    --chroma-navy: #050505;
    --chroma-pink: #ff5a3d;
    /* Rebranded to Orange */
    --chroma-purple: #050505;
    --chroma-gradient: linear-gradient(135deg, #ff5a3d 0%, #cc3311 100%);
    --chroma-font: 'Inter', sans-serif;
}

/* Base Sections with Sparkle Wave Support */
.chroma-section {
    padding: 120px 10%;
    position: relative;
    overflow: hidden;
    font-family: var(--chroma-font);
    z-index: 1;
}

.chroma-section.dark {
    background-color: var(--power-navy);
    color: #fff;
}

.chroma-section.light {
    background-color: #f9f9f9;
    color: #0b1a32;
}

.chroma-section.gradient {
    background: var(--chroma-gradient);
    color: #fff;
}

/* Page Background for Content Cards */
.about-page-bg {
    background: url('https://windowscustomization.com/wp-content/uploads/2019/08/Sparkle-Wave-4K.gif') center/cover fixed no-repeat;
    background-color: #000;
}

/* CONTENT CARD COMPONENT */
.content-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin: 40px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.content-card.dark {
    background: #050505;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mixed-Weight Typography */
.chroma-h1 {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 200;
    line-height: 0.95;
    letter-spacing: -2px;
    text-transform: lowercase;
}

.chroma-h1 strong {
    font-weight: 900;
    text-transform: uppercase;
}

.chroma-h2 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 40px;
}

.chroma-h2 strong {
    font-weight: 800;
    color: var(--power-orange);
}

.chroma-p {
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    opacity: 0.9;
}

/* Expertise Grid & Organic Cards */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 60px 40px;
    border-radius: 40px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: var(--power-orange);
}

/* Organic Image Masks (Blobs) */
.blob-container {
    width: 280px;
    height: 280px;
    margin: 0 auto 30px;
    position: relative;
}

.blob-mask {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transition: all 0.5s ease-in-out;
    animation: blobAnimate 8s linear infinite;
    box-shadow: 0 10px 30px rgba(255, 90, 61, 0.2);
    transform: translateZ(30px);
    transition: all 0.5s ease-in-out;
}

/* Products Page: Full Width Static Image (Bleed Top/Left/Right) */
.products-contact .expertise-card .blob-container {
    width: calc(100% + 102px);
    /* Extra pixel to ensure coverage */
    margin: -51px -51px 30px -51px;
    /* Extra pixel pull */
    height: 400px;
    /* Taller image as per "leave bottom of the card only" implication */
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.products-contact .blob-mask {
    animation: none !important;
    /* Force stop animation */
    border-radius: 0;
    /* Remove blob radius */
    width: 100%;
    height: 100%;
    background-size: cover;
}

@keyframes blobAnimate {

    0%,
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    25% {
        border-radius: 45% 55% 50% 50% / 55% 45% 60% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 40%;
    }

    75% {
        border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%;
    }
}

/* General Hover (Services & Products) - Scale Only */
.expertise-card:hover .blob-mask {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(255, 90, 61, 0.4);
}

/* Products Only - NUCLEAR OPTION TO STOP ALL ANIMATION */
.products-contact * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.products-contact .expertise-card:hover .blob-mask {
    border-radius: 0 !important;
}

/* Product Card Button Style - Scoped to Products Page */
.products-contact .expertise-card .pill-btn {
    background: white;
    color: var(--power-orange);
    text-transform: uppercase;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 12px 40px 12px 25px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: visible;
    border: none;
    transition: transform 0.3s ease;
}

.products-contact .expertise-card .pill-btn:hover {
    transform: scale(1.05);
}

.products-contact .expertise-card .pill-btn::after {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--power-orange);
    border-radius: 50%;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--power-orange);
}

/* Bubble Deliverables */
.bubble-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 60px;
}

.bubble {
    padding: 20px 40px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    font-weight: 700;
    transition: all 0.3s ease;
}

.bubble:hover {
    background: var(--power-orange);
    border-color: var(--power-orange);
    transform: scale(1.1) rotate(-2deg);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .chroma-section {
        padding: 80px 5%;
    }

    .content-card {
        padding: 40px 20px;
    }
}

/* --- CONTACT FORM REFINEMENT (ORANGE/WHITE THEME) --- */
.onboarding-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.onboarding-input-group {
    width: 100%;
}

.onboarding-input-group input,
.onboarding-input-group textarea,
#step-6 .form-group input {
    width: 100% !important;
    padding: 16px 30px !important;
    background: #fff !important;
    border: 3px solid #ff5a3d !important;
    border-radius: 100px !important;
    color: #000 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    outline: none !important;
    box-sizing: border-box;
}

.onboarding-input-group textarea {
    border-radius: 24px !important;
    height: 100px;
    resize: none;
}

.onboarding-input-group input::placeholder,
.form-group input::placeholder,
.onboarding-input-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

.onboarding-input-group input:focus,
.onboarding-input-group textarea:focus,
.form-group input:focus,
.country-select:focus {
    background: #fff !important;
    border-color: #ff5a3d !important;
    box-shadow: 0 10px 25px rgba(255, 90, 61, 0.2) !important;
    transform: translateY(-2px);
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.form-group {
    flex: 1;
}

.country-select {
    height: 57px !important;
    padding: 0 15px !important;
    background: #fff !important;
    border: 3px solid #ff5a3d !important;
    border-radius: 100px !important;
    color: #000 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    outline: none !important;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.onboarding-btn {
    height: 60px;
    margin-top: 20px !important;
    background: #fff !important;
    color: #ff5a3d !important;
    border: 3px solid #ff5a3d !important;
    border-radius: 100px !important;
    font-size: 18px !important;
    font-weight: 950 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 90, 61, 0.2) !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.onboarding-btn:hover {
    background: #ff5a3d !important;
    color: #fff !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 90, 61, 0.4) !important;
}

/* Fix for small screens */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .form-group {
        width: 100%;
    }
}

/* --- RESTORED ONBOARDING BACKGROUND STYLES --- */
.onboarding-container {
    background-color: #050505;
    color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

.about-page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
    z-index: -1;
}

.onboarding-step h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

/* TEAM SECTION */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: var(--power-orange);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    background-color: #111;
    background-size: cover;
    background-position: center;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.team-card:hover .team-avatar {
    border-color: var(--power-orange);
    transform: scale(1.05);
}

.team-name {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 800;
}

.team-role {
    font-size: 13px;
    color: var(--power-orange);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin: 0;
}

/* Dark Mode Bubble Overrides */
.content-card.dark .bubble {
    border-color: var(--power-orange);
    color: #eee;
}

.content-card.dark .bubble:hover {
    background: var(--power-orange);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 90, 61, 0.4);
}

/* GRAPH ANIMATION FIX - OPTIMIZED */
.graph-path {
    stroke-dasharray: 600;
    /* Closer to real length ~400px */
    stroke-dashoffset: 600;
    /* Start hidden */
    animation: none;
    stroke: #ff5a3d;
    /* Fallback Solid Color */
}

.onboarding-step.active .graph-path {
    animation: drawPath 2.0s ease-out forwards;
    /* Slightly faster */
}

.data-point {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.onboarding-step.active .data-point {
    animation: pointFade 0.6s ease-out forwards;
    animation-delay: 2.2s;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pointFade {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Force White Text for Expertise Cards */
.expertise-card,
.expertise-card p {
    color: #ffffff !important;
}