/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;

    background: rgba(11, 15, 20, 0.6);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.05);

    z-index: 1000;
}

/* CONTAINER */
.nav-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 24px;
}

/* LOGO */
.logo img {
    width: 220px;
    height: auto;
}

/* NAV CENTER */
.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    position: relative;
    text-decoration: none;
    color: #A0A8B0;
    font-size: 15px;
    padding-bottom: 4px;
}

/* underline animation */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 0%;
    height: 2px;
    background: #3EFF85;

    transition: width 0.3s ease;
}

.nav a:hover {
    color: white;
}

.nav a:hover::after {
    width: 100%;
}

/* RIGHT SIDE */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #A0A8B0;
    text-decoration: none;
}

.nav-link:hover {
    color: white;
}

/* CTA BUTTON */
.nav-cta {
    font-size: 14px;
    padding: 10px 18px;
}

/* ===== BASE ===== */
/* body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0B0F14;
    color: white;
} */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0B0F14;
    color: white;
}

/* ===== GLOBAL ===== */
section {
    padding: 120px 20px;
    text-align: center;
}
body {
    font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
}
h1 {
    font-size: 56px;
    line-height: 1.2;
}

h2 {
    font-size: 32px;
    color: #A0A8B0;
}

p {
    color: #A0A8B0;
    max-width: 600px;
    margin: auto;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* GLOW BACKGROUND */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;

    background: radial-gradient(circle, #3EFF85 0%, transparent 70%);
    opacity: 0.15;

    filter: blur(120px);

    animation: floatGlow 8s ease-in-out infinite;
}

/* animation */
@keyframes floatGlow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0px); }
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* HERO TAGLINE */
.hero-tag {
    color: #3EFF85;
    font-size: 17px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-eyebrow {
    color: #3EFF85;
    font-size: 14px;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.hero-sub-strong {
    font-size: 25px;
    margin-bottom: 10px;
    color: white;
}
/* HERO HEADLINE */
.hero h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* HERO SUBTEXT */
.hero-sub {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}
/* HERO CONTAINER */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: min(92vw, 1440px);
    max-width: 1440px;
    margin: auto;
    gap: 48px;
}

.hero-left {
    flex: 0.9;
    text-align: left;
}

.hero-right {
    flex: 1.1;
    display: flex;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 640px;
    height: 380px;

    background: #11161C;
    border: 1px solid #1F2933;
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* PITCH */
.pitch {
    position: relative;
    width: 100%;
    height: 100%;

    background: #0f141a;
    border-radius: 12px;
}

/* PLAYER DOTS */
.player {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* SHAPE LABEL */
.shape-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    color: #3EFF85;
    font-size: 14px;
}
/* ===== BUTTONS ===== */
.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    margin: 10px;
    display: inline-block;
    font-weight: bold;

    transition: all 0.25s ease;
}

.primary {
    background: #3EFF85;
    color: black;
}

.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(62,255,133,0.25);
}

.secondary {
    border: 1px solid #3EFF85;
    color: #3EFF85;
}

.secondary:hover {
    background: rgba(62,255,133,0.1);
}

/* ===== VIDEO ===== */
/* .video-box {
    width: 80%;
    height: 350px;
    margin: 40px auto;

    border-radius: 12px;
    border: 1px solid #1F2933;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #11161C;
} */
.video-box {
    width: 80%;
    margin: 40px auto;

    border-radius: 12px;
    border: 1px solid #1F2933;
    background: #11161C;

    overflow: hidden;

    aspect-ratio: 16 / 9;   /* 🔥 KEY FIX */
}

/* ===== FEATURES ===== */
.section-eyebrow {
    color: #3EFF85;
    font-size: 17px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-copy {
    max-width: 720px;
    margin: 16px auto 40px;
    line-height: 1.7;
}

.features {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature {
    background: #11161C;
    border: 1px solid #1F2933;
    border-radius: 16px;
    padding: 28px;
    text-align: left;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #3EFF85;
    color: #0B0F14;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 0 35px rgba(62,255,133,0.25);
}
.feature, .visual-box {
    transition: all 0.25s ease;
}

.feature:hover, .visual-box:hover {
    transform: translateY(-6px);
    border-color: #3EFF85;
}

/* ===== VISUALS ===== */
.visual-grid {
    max-width: 1200px;
    margin: 50px auto 0;

    display: flex;
    gap: 24px;
    height: 470px;
}

.insight-rotator {
    margin: 20px 0 40px;
    font-size: 24px;
    color: #3EFF85;
    font-weight: 500;
    height: 24px;
}

.product-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.insight-hero {
    font-size: 42px;
    font-weight: 700;
    margin: 20px 0 30px;
    height: 52px;
}

#rotating-text {
    color: #3EFF85;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: inline-block;
}
.visual-box {
    height: 240px;
    border-radius: 16px;
    border: 1px solid #1F2933;
    background: #11161C;
    padding: 28px;
    text-align: left;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.visual-box h3 {
    margin-bottom: 10px;
}

.visual-box p {
    margin: 0;
}

/* ===== CTA ===== */
.cta {
    padding: 140px 20px;
    position: relative;
}

.cta::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: radial-gradient(circle, rgba(62,255,133,0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.cta h2, .cta p, .cta .btn {
    position: relative;
    z-index: 1;
}

.cta-actions {
    margin-top: 25px;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 20px 40px;
    background: #0B0F14;
}

/* MAIN FOOTER */
.footer-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* BRAND */
.footer-brand img {
    width: 220px;
    margin-bottom: 10px;
}

/* COLUMNS */
.footer-columns {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    margin-bottom: 10px;
}

.footer-col a {
    transition: all 0.2s ease;
    color: #fefefe;
}

.footer-col a:hover {
    color: #3EFF85;
    transform: translateX(2px);
}
.footer-note {
    margin-top: 10px;
    font-size: 12px;
    color: #6B7280;
}
/* CTA SIDE */
.footer-cta p {
    margin-bottom: 10px;
}

/* BOTTOM */
.footer-bottom {
    margin-top: 40px;

    display: flex;
    align-items: center;
    flex-direction: column;   /* 🔥 stack vertically */
    justify-content: center;

    flex-wrap: wrap;
    gap: 12px;

    color: #6B7280;
    font-size: 14px;
}

/* group text + logo */
.footer-signature {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* logo size */
.footer-signature img {
    height: 46px;
    opacity: 0.8;
}
.footer-sub {
    font-size: 13px;
    color: #6B7280;
}
.tip-logo {
    width: 180px;
    margin-bottom: 12px;
}

.footer-parent {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 12px;
    color: #6B7280;
}

.footer-product {
    font-size: 16px;
    font-weight: 600;
    color: #3EFF85;
    margin-bottom: 6px;
}
html {
    scroll-behavior: smooth;
}

section {
    padding: 120px 20px;
    text-align: center;

    opacity: 0;
    transform: translateY(30px);

    animation: fadeUp 1s ease forwards;
}

/* delay per section */
section:nth-child(1) { animation-delay: 0.2s; }
section:nth-child(2) { animation-delay: 0.4s; }
section:nth-child(3) { animation-delay: 0.6s; }
section:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature, .visual-box {
    transition: all 0.25s ease;
}

.feature:hover, .visual-box:hover {
    transform: translateY(-6px);
    border-color: #3EFF85;
}

/* ===== PRODUCT ROTATING INSIGHT ===== */

/* ===== PRODUCT ROTATING INSIGHT ===== */

.product-title {
    font-size: 38px;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.insight-hero {
    margin: 24px auto 32px;
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-highlight {
    font-size: 38px !important;
    line-height: 1.1;
    font-weight: 800;

    color: #3EFF85 !important;

    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(62, 255, 133, 0.28);

    display: inline-block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ===== FEATURE EXPAND ===== */

.feature {
    position: relative;
    overflow: hidden;

    height: 180px; /* collapsed height */
    transition: all 0.35s ease;
}

/* short text */
.feature-short {
    margin-bottom: 10px;
}

/* hidden content */
.feature-detail {
    opacity: 0;
    transform: translateY(10px);
    max-height: 0;

    transition: all 0.35s ease;
}

/* hover state */
.feature:hover {
    height: 260px; /* expanded height */
    border-color: #3EFF85;
    box-shadow: 0 15px 40px rgba(62,255,133,0.12);
}

/* reveal detail */
.feature:hover .feature-detail {
    opacity: 1;
    transform: translateY(0);
    max-height: 200px;
}
.feature-title {
    position: relative;
    display: inline-block;
}

.feature-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;
    background: #3EFF85;

    transition: width 0.3s ease;
}

.feature:hover .feature-title::after {
    width: 100%;
}

/* green accent bar */
.feature-title::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 1px;

    width: 3px;
    height: 16px;

    background: #3EFF85;
    border-radius: 2px;
}

/* .visual-grid {
    max-width: 1200px;
    margin: 50px auto 0;

    display: flex;
    gap: 24px;
    height: 470px;
} */

.visual-box {
    flex: 1;
    height: 100%;

    border-radius: 18px;
    border: 1px solid #11161C;
    background: #11161C;
    padding: 28px;
    text-align: left;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    overflow: hidden;
    transition:
        flex 0.45s ease,
        opacity 0.35s ease,
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.visual-grid:hover .visual-box {
    flex: 0.55;
    opacity: 0.35;
}

.visual-grid .visual-box:hover {
    flex: 2.4;
    opacity: 1;
    transform: translateY(-6px);
    border-color: #3EFF85;
    box-shadow: 0 20px 60px rgba(62, 255, 133, 0.12);
}

.visual-image {
    position: absolute;
    inset: 18px 18px 95px 18px;

    border-radius: 14px;
    overflow: hidden;
    opacity: 0.75;
}

.visual-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.visual-box {
    position: relative;
}

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-box:hover .visual-image {
    opacity: 1;
}

.visual-embed {
    position: absolute;
    inset: 18px 18px 115px 18px;
    border-radius: 14px;
    overflow: hidden;
    background: #11161C;
}

.visual-box:hover .visual-embed {
    inset: 18px 18px 90px 18px;
}

.visual-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #11161C;
}

/* ===== WORKFLOW ===== */

.workflow-grid {
    max-width: 1200px;
    margin: 50px auto 0;

    display: grid;
    grid-template-columns: 210px 32px 210px 32px 210px 32px 210px;
    align-items: start;
    justify-content: center;
    gap: 14px;
}

.workflow-item {
    width: 210px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-step {
    background: #11161C;
    border: 1px solid #1F2933;
    border-radius: 999px;
    padding: 14px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
}

.workflow-item:hover .workflow-step {
    border-color: #3EFF85;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(62,255,133,0.15);
}

.workflow-detail {
    max-width: 210px;
    margin-top: 12px;

    font-size: 13px;
    line-height: 1.5;
    color: #A0A8B0;
    text-align: center;

    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

.workflow-item:hover .workflow-detail {
    opacity: 1;
    max-height: 140px;
    transform: translateY(0);
}

.workflow-arrow {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;
    color: #3EFF85;
    margin-top: 0;
    transform: none;
}
.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.video-box {
    width: 80%;
    max-width: 1100px;
    margin: 40px auto;

    position: relative;
    border-radius: 12px;
    overflow: hidden;

    border: 1px solid #1F2933;
    background: #11161C;

    aspect-ratio: 16 / 9;
}

.product-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* overlay */
.video-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(11, 15, 20, 0.35);
    backdrop-filter: blur(4px);

    cursor: pointer;
    transition: all 0.3s ease;
}

/* play button */
.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;

    background: #3EFF85;
    color: #0B0F14;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 32px;

    box-shadow: 0 0 40px rgba(62,255,133,0.25);
    transition: transform 0.2s ease;
}

.video-overlay:hover .play-button {
    transform: scale(1.1);
}
.footer-note {
    margin-top: 12px;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.5;
}.footer-note a {
    color: #ddf9e7;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-note a:hover {
    opacity: 0.7;
}

/* ===== MODAL ===== */

.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(5, 8, 12, 0.78);
    backdrop-filter: blur(10px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: all 0.25s ease;

    z-index: 99999;
}

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

.demo-modal-content {
    width: min(92vw, 520px);

    background: #11161C;
    border: 1px solid #1F2933;
    border-radius: 20px;

    padding: 42px;

    position: relative;

    box-shadow: 0 25px 80px rgba(0,0,0,0.45);
}

.demo-modal-content h2 {
    color: white;
    margin-bottom: 10px;
}

.modal-sub {
    margin-bottom: 28px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-form input,
.demo-form textarea {
    background: #0B0F14;
    border: 1px solid #1F2933;
    border-radius: 10px;

    padding: 14px 16px;

    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
}

.demo-form input:focus,
.demo-form textarea:focus {
    outline: none;
    border-color: #3EFF85;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;

    background: none;
    border: none;

    color: #A0A8B0;
    font-size: 28px;

    cursor: pointer;
}

.modal-close:hover {
    color: white;
}

.modal-note {
    margin-top: 18px;
    font-size: 13px;
    color: #6B7280;
}