/* Hero  */

.hero {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, #000000 100%), url('../../images/Hero/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 36, 34, 0.6);
    border: 1px solid rgba(238, 88, 13, 0.3);
    box-shadow: 0 0 12px rgba(238, 88, 13, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #FF3A1A;
    font-size: 0.85rem;
}

.hero-badge span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h2.hero-headline {
    font-family: 'Inter', var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: #FFFFFF;
    margin-bottom: 24px;
    text-align: left;
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
    color: #FF3A1A;
}

.accent-underline {
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 105%;
    height: 12px;
    pointer-events: none;
}

.accent-sparkle {
    position: absolute;
    top: -12px;
    right: -24px;
    width: 32px;
    height: 32px;
    pointer-events: none;
}

.hero p.hero-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
    text-align: left;
}

.hero-actions-dock {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Primary CTA Button */
.btn-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF3A1A 0%, #EE580D 100%);
    color: #FFFFFF;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 58, 26, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 58, 26, 0.5);
    filter: brightness(1.1);
}

.btn-primary-cta:active {
    transform: translateY(0);
}

.btn-primary-cta i {
    font-size: 0.95rem;
}

/* Secondary CTA Button */
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #FFFFFF;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    cursor: pointer;
}

.btn-secondary-cta:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary-cta:active {
    transform: translateY(0);
}

.play-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    transition: background 0.25s ease;
}

.btn-secondary-cta:hover .play-icon-circle {
    background: rgba(255, 255, 255, 0.2);
}

/* Sub-features horizontal row */
.hero-subfeatures {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 600px;
}

.subfeature-col {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 150px;
}

.subfeature-icon {
    font-size: 1.25rem;
    color: #FF3A1A;
    margin-top: 0;
}

.subfeature-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 4px;
    text-align: left;
}

.subfeature-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 0 !important;
    text-align: left;
}
/* Hero Gallery Carousel */
.hero-right {
    position: relative;
    width: 100%;
    height: 530px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cards {
    position: absolute;
    width: 14rem;
    aspect-ratio: 53.31 / 115.25;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
    transition: width 0.3s ease;
}

.cards li {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
}

.drag-proxy {
    visibility: hidden;
    position: absolute;
}

@media (max-width: 1200px) {
    .cards {
        width: 12rem;
    }
}

@media (max-width: 968px) {
    .hero-right {
        height: 260px !important;
    }

    .cards {
        width: 8rem !important;
    }
}

@media (max-width: 480px) {
    .hero-right {
        height: 380px;
    }

    .cards {
        width: 8rem;
    }
}


/* ========== Hide-scrollbar utility ========== */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* ========== Features wrapper section ========== */
.features {
    position: relative;
    background-color: var(--color-cotton);
    z-index: 10;
}

.features-head {
    padding: 100px 20px 40px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 15;
}

.features-head .section-head {
    margin-bottom: 0;
}

.features-head .section-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-top: 10px;
}

/* Premium lowercase/uppercase capsule badge label */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF3A1A; /* bright accent pop */
    box-shadow: 0 0 8px #FF3A1A;
}

.section-badge span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em; /* compact tracking */
    text-transform: uppercase;
}

/* High-fidelity linear text gradient fill */
.text-gradient-accent {
    background: linear-gradient(135deg, #FF3A1A 0%, #F27E09 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== Shared feature card typography and styles ========== */
.feature-card {
    width: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.feature-graphic-side {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    position: relative;
}

.feature-graphic-side img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.feature-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-step {
    color: #FF3A1A;
    font-family: var(--font-mono), monospace;
    font-weight: 600;
    margin-right: 12px;
}

.feature-content-side h3 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800; /* prominent bold style */
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    color: #FFFFFF; /* High clarity white */
    text-wrap: balance;
}

.feature-content-side p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7); /* legible muted gray */
    text-wrap: pretty;
    max-width: 480px;
}

.feature-link-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF3A1A;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: 20px;
    width: fit-content;
}

.feature-link-action i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.feature-link-action:hover i {
    transform: translateX(6px);
}

/* ========== Mobile collapse logic (< 768px) ========== */
@media (max-width: 767px) {
    .scroll-track {
        display: flex;
        flex-direction: column;
        gap: 90px;
        width: 100%;
        margin-top: 40px;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .feature-card {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .feature-graphic-side img {
        max-width: 250px;
    }

    .feature-content-side {
        align-items: center;
    }

    .feature-content-side p {
        max-width: 100%;
    }
}

/* ========== Desktop alternating zigzag logic (>= 768px) ========== */
@media (min-width: 768px) {
    .scroll-track {
        max-width: var(--max-width);
        margin: 60px auto 0 auto;
        padding: 0 40px;
        display: flex;
        flex-direction: column;
        gap: 140px; /* premium layout vertical rhythm spacing */
    }

    .feature-card {
        flex-direction: row;
        gap: 90px; /* broad desktop gutters */
        padding: 40px 0;
    }

    /* Alternating axis flow */
    .feature-card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* Cinematic Dark Mode Transition */


body,
header,
.mobile-menu,
h1,
h2,
h3,
p,
span,
.eyebrow,
.video-wrapper,
.section-head {
    transition: background-color 0.8s ease,
        color 0.8s ease,
        border-color 0.8s ease,
        box-shadow 0.8s ease !important;
}

a:hover,
button:hover,
.btn-download:hover {
    transition-duration: 0.2s !important;
}

body.dark-theme {
    --bg-main: #000000;
    --bg-card: #252422;
    --color-cotton: #000000;
    --text-primary: #F0EFF4;
    --text-secondary: rgba(240, 239, 244, 0.7);
    --border-structural: #EE580D;
}

body.dark-theme header {
    background-color: transparent !important;
}

body.dark-theme .mobile-menu {
    border-top: 2px solid var(--border-structural);
}

body.dark-theme .nav-toggle span {
    background: var(--color-white);
}

/* Video Showcase ("Demo") — Cinematic Upgrade*/

.demo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    z-index: 50;
    /* Sits above the cinematic overlay (z-index 40) */
}

.video-wrapper {
    position: relative;
    width: 90vw;
    max-width: 1400px;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px oklch(0% 0 0 / 50%);

    transform: translateZ(0);
    /* Hardware acceleration */
    will-change: width, border-radius;
}

/* Update the dark mode state to match the new aesthetic */
body.dark-theme .video-wrapper {
    box-shadow: 0 40px 80px -20px oklch(0% 0 0 / 80%);
}

.video-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
    padding: 0;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}


/* FAQ */

.faq-max {
    max-width: 750px;
    margin: 0 auto;

    transition: height 0.4s ease-in-out, padding 0.4s ease-in-out;

    min-height: 500px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    border: 2px solid #333333;
    box-shadow: 3px 3px 0px #333333;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-body);
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: var(--transition);
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-primary);
}

.faq-body {
    max-height: 0;
    padding: 0 28px;
    overflow: hidden;
    opacity: 0;
    box-sizing: border-box;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.2s ease-in-out;
    color: var(--text-secondary);
}

.faq-item.active {
    box-shadow: 5px 5px 0px #333333;
}

.faq-item.active .faq-header h3,
.faq-item.active .faq-icon {
    color: var(--color-cherry);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-body {
    max-height: 400px;
    padding-bottom: 24px;
    opacity: 1;

    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out, opacity 0.3s ease-in-out;
}

/* Blog / Insights*/

.blog-scroll-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Spotlight Component (Cursor Glow) for Blog Cards */
.bd-cgs {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: #0a0c14;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  padding: 1.5px;
}

.bd-cgs-base {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}

.bd-cgs-bright {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.55);
  pointer-events: none;
  z-index: 3;
  -webkit-mask: radial-gradient(
    120px circle at var(--mx) var(--my),
    #000 0%,
    #000 30%,
    transparent 70%
  );
  mask: radial-gradient(120px circle at var(--mx) var(--my), #000 0%, #000 30%, transparent 70%);
  transition:
    -webkit-mask 0.08s,
    mask 0.08s;
}

.bd-cgs-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: linear-gradient(180deg, #16192a, #0a0c14);
  border-radius: calc(20px - 1.5px);
  z-index: 1;
  overflow: hidden;
  position: relative;
}

.blog-card {
    color: inherit;
    /* Optional slight lift effect for feedback */
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
}

.blog-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    border-bottom: 1px solid #222222;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.blog-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 60%);
    pointer-events: none;
}

.blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.blog-tag-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 58, 26, 0.1);
    color: #FF3A1A;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    border: 1px solid rgba(255, 58, 26, 0.15);
}

.blog-date-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
}

.blog-content h3 {
    font-family: 'Inter', var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-content h3 {
    color: #FF3A1A;
}

.blog-excerpt {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 24px;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.blog-card:hover .blog-read-link {
    color: #FF3A1A;
}

.blog-read-link i {
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-link i {
    transform: translateX(4px);
}

/* Final CTA*/

.cta-banner {
    position: relative;
    overflow: visible;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 60px 0 !important;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-banner:hover {
    border: none !important;
    box-shadow: none !important;
}

.cta-text-side {
    position: relative;
    z-index: 2;
}

.cta-image-side {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-mockup-img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.cta-vector-arrow {
    position: absolute;
    width: clamp(100px, 12vw, 150px);
    height: auto;
    z-index: 5;
    pointer-events: none;
    display: block;
}



.cta-vector-arrow.arrow-bottom {
    bottom: 22%;
    left: 44%;
    transform: rotate(-6deg);
}

.cta-title {
    position: relative;
    z-index: 2;
    font-family: 'Inter', var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: #FFFFFF;
}

.cta-neon-highlight {
    color: #FF3A1A;
    position: relative;
    display: inline-block;
}

.cta-description {
    position: relative;
    z-index: 2;
    margin: 0 0 35px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 580px;
}

.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.cta-btn {
    padding: 18px 36px !important;
    font-size: 1.05rem !important;
    box-shadow: 0 6px 20px rgba(255, 58, 26, 0.4) !important;
}

.cta-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 58, 26, 0.55) !important;
}

/* Page-Specific Responsive Media Queries*/

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-left {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .hero p {
        margin: 0 0 32px 0;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }

    .cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 40px 16px !important;
    }
    
    .cta-image-side {
        order: -1;
    }
    
    .cta-text-side {
        order: 1;
    }
    
    .cta-description {
        margin: 0 auto 30px auto;
    }
    
    .cta-actions {
        justify-content: center;
    }
    
    .cta-vector-arrow {
        display: none !important;
    }
    
    .cta-mockup-img {
        max-width: 480px;
        width: 85%;
    }
}

@media (max-width: 560px) {
    .cta-banner {
        padding: 30px 16px !important;
        box-shadow: none !important;
        border: none !important;
    }
    .cta-banner:hover {
        box-shadow: none !important;
    }
    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .cta-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

.scroll-track .section-head,
.scroll-track .text-block,
.scroll-track .phone-wrapper {
    z-index: 5;
}

/* FAQ Section - Layout */

#faq {
    position: relative;
    overflow: hidden;
}

#faq .section-head,
#faq .faq-max {
    position: relative;
    z-index: 5;
}

/* Screenshot containers: SVG stroke frame thickness */
.phone-wrapper svg *[stroke] {
    stroke-width: 2px !important;
}

@media (max-width: 560px) {
    .hero-actions-dock {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }
    
    .btn-primary-cta,
    .btn-secondary-cta {
        justify-content: center;
        width: 100%;
    }
    
    .hero-subfeatures {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }
    
    .subfeature-col {
        min-width: 0 !important;
        flex: 1 !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .subfeature-icon {
        font-size: 1.1rem !important;
        margin-top: 0 !important;
    }
    
    .subfeature-text h4 {
        font-size: 0.82rem !important;
    }
    
    .subfeature-text p {
        font-size: 0.72rem !important;
    }

    .accent-sparkle {
        right: -12px;
        width: 18px;
        height: 18px;
        top: -8px;
    }
}

@media (max-width: 768px) {
    .blog-scroll-container {
        display: flex !important;
        overflow-x: auto !important;
        gap: 20px !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 24px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        margin-top: 24px;
    }
    
    .blog-scroll-container::-webkit-scrollbar {
        display: none !important;
    }
    
    .blog-card {
        flex: 0 0 290px !important;
        scroll-snap-align: start !important;
    }
}