:root {
    /* Ternion-derived Palette (with Violet Hue) */
    --bg-dark: #0b0f19;
    --bg-card: #111621;
    --border-color: #252e3d;

    --accent: #bc71c9;
    --accent-glow: rgba(188, 113, 201, 0.4);

    --text-main: #eff1f5;
    --text-dim: #9ca3af;

    --glass-bg: rgba(17, 22, 33, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 12px;

    --radius: 8px;

    --font-main: 'Inter', sans-serif;
    --font-display: 'Lora', serif;
}

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

html,
body {
    background-color: var(--bg-dark);
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero Section & Animated Background */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    z-index: -2;
}

@keyframes backgroundDrift {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, -2%);
    }
}

/* Overlay for readability */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, var(--bg-dark) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header */
.site-header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    font-family: var(--font-main);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    /* text-transform: uppercase; removed to allow mixed case as requested */
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: rgba(188, 113, 201, 0.2);
    color: #fff;
    border: 1px solid rgba(188, 113, 201, 0.4);
    backdrop-filter: blur(4px);
}

.btn-primary:hover {
    background: rgba(188, 113, 201, 0.4);
    box-shadow: 0 0 20px rgba(188, 113, 201, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-dim);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: #fff;
    background: rgba(188, 113, 201, 0.1);
}

/* Mega Headline */
.mega-headline-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.mega-headline {
    font-family: var(--font-display);
    font-size: 8vw;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.9;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

@media (max-width: 768px) {
    .mega-headline {
        font-size: 15vw;
        letter-spacing: -1px;
    }
}

/* Capabilities & Layout */
.section-glass {
    padding: 40px 0;
    background-color: var(--bg-dark);
}

@media (max-width: 768px) {
    .section-glass {
        padding: 60px 0;
    }
}

#capabilities {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

#capabilities .container,
#how-it-works .container,
#trust .container,
#value-prop .container {
    max-width: 96%;
    /* Expansive width to match hero feel */
    padding: 0 10px;
    /* Minimal side padding */
}

#about {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.glass-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

@media (max-width: 768px) {
    .glass-card {
        padding: 25px;
    }
}

.hero-intro-text {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 25px;
    font-weight: 600;
    background: linear-gradient(90deg, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub-text {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 75px;
}

.key-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .key-capabilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.cap-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    border-radius: var(--radius);
    transition: 0.3s;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    height: 100%;
}

.cap-item:hover {
    background: rgba(188, 113, 201, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.cap-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.cap-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 300;
}

.cap-icon {
    width: 40px;
    height: 40px;
    background: rgba(188, 113, 201, 0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 5px;
    color: #fff;
}

.cap-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Glass Inset for Descriptions */
.glass-inset {
    background: #0f131d;
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.prose {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Trust Section Styles */
.trust-banner {
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(145deg, rgba(25, 31, 46, 0.4), rgba(17, 22, 33, 0.7));
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.3;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 60px;
    margin-bottom: 40px;
}

.score-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.score-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
}

.score-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    border-radius: 3px;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: center;
    opacity: 0.7;
}

.cta-strip {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.cta-strip p {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .score-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Contact Section */

#contact {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
}

.form-control {
    background: #1e2533;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 12px 16px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    background: #1e2533;
    box-shadow: 0 0 0 2px rgba(188, 113, 201, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cursor Spotlight Reduced */
#cursor-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(154, 77, 135, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transform: translate(-50%, -50%);
}

/* Footer Centered */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.site-footer .container {
    max-width: 96%;
    padding: 0 30px;
}

.footer-content-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-brand-centered h3 {
    font-family: var(--font-main);
    /* Standard font */
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dim);
    /* Same as footer text */
    letter-spacing: 0.5px;
    margin: 0;
    margin-right: auto;
    /* Position to the left */
}

/* Wait, user said "reborg company name ... on the left hand-side" AND "get in touch linkedin section in the middle".
   Let's use a grid or flex with absolute centering for the middle part to ensure it's truly centered,
   while Reborg stays left. */

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-brand {
    text-align: left;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.footer-cta-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-cta-centered p {
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.footer-icon-btn {
    color: var(--text-dim);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
}

.footer-icon-btn:hover {
    color: #0077b5;
    /* LinkedIn Color */
    background: rgba(255, 255, 255, 0.05);
}

.copyright-bar {
    grid-column: 1 / -1;
    /* Bottom row spanning full width if using grid, but here it's inside footer-content */
    padding-top: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Footer Adjustments for Layout */
.footer-content-centered {
    display: flex;
    /* Simpler for vertical stacking if we want copyright at bottom separate */
    flex-direction: column;
    gap: 0;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.footer-brand-absolute {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
    /* font-family: var(--font-main); was 500/1rem/text-dim */
    margin-right: auto;
}

.footer-right-absolute {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* We use absolute positioning for the brand to allow the center group to be truly centered in the container */
@media (min-width: 601px) {
    .footer-brand-absolute {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .footer-right-absolute {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .footer-center-group {
        margin: 0 auto;
    }
}

.footer-center-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Update Button Styles to match "Get a Demo" (Primary) */
.btn-outline {
    /* Making "Explore Platform" look like Primary outline or similar if user wants "same" as Get a Demo.
       Actually, "Get a Demo" is usually the filled one. If "Explore" is outline, maybe they want it filled too?
       "give it the same padding colour and border colour to that as to get a demo"
       Implies they should look IDENTICAL. */
    background: rgba(188, 113, 201, 0.2);
    color: #fff;
    border: 1px solid rgba(188, 113, 201, 0.4);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(188, 113, 201, 0.4);
    box-shadow: 0 0 20px rgba(188, 113, 201, 0.3);
    transform: translateY(-2px);
    border-color: rgba(188, 113, 201, 0.4);
}

@media (max-width: 600px) {
    .footer-top-row {
        flex-direction: column;
        gap: 30px;
        position: static;
    }

    .footer-brand-absolute {
        position: static;
        transform: none;
    }

    .footer-center-group {
        margin: 0;
    }
}



@media (max-width: 768px) {
    .trust-reveal-text {
        opacity: 1;
        max-height: 500px;
        margin-top: 16px;
    }
}

/* --- REPLACEMENT 1: HERO SECTION --- */
.logo-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: white;
    margin-bottom: 12px;
}

.logo-lockup strong {
    font-weight: 800;
}

.logo-lockup span.light {
    font-weight: 300;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.6);
    }
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 16px;
}

.hero-sub-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
    text-align: center;
}

.hero-sub strong u {
    text-decoration-color: #3b82f6;
    text-underline-offset: 4px;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- REPLACEMENT 2: CAPABILITIES SECTION --- */
.section-pill {
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 13px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.section-headline,
.caps-headline {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 800;
    color: white;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.strike-red {
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.65);
    text-decoration-thickness: 2px;
}

.section-body,
.caps-body-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    /* Matching Paradigm Shift button white */
    line-height: 2;
    margin-bottom: 28px;
}

.comparison-cards-outer {
    width: 100%;
    max-width: 1400px;
    /* Expanded grid to match wider section */
    margin: 0 auto;
}

.comparison-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    /* Increased gap to move cards towards left/right */
    text-align: left;
    margin: 0;
}

@media (max-width: 768px) {
    .comparison-cards {
        grid-template-columns: 1fr;
    }
}

.compare-card {
    border-radius: 12px;
    padding: 35px 30px;
    /* Increased internal padding */
}

.compare-bad {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-good {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.compare-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.compare-header strong {
    color: white;
    font-size: 1.3rem;
}

.compare-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red {
    background: rgba(239, 68, 68, 0.7);
}

.dot-green {
    background: #22c55e;
}

.compare-card p {
    color: rgba(255, 255, 255, 0.5);
    /* Matching Paradigm Shift button white */
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

/* --- REPLACEMENT 3: ABOUT SECTION (HOW IT WORKS) --- */
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.how-step {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s;
    outline: none;
}

.how-step:hover,
.how-step:focus {
    border-color: rgba(59, 130, 246, 0.35);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    flex-shrink: 0;
}

.step-title {
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
    flex: 1;
}

.step-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    transition: color 0.25s, transform 0.25s;
}

.how-step:hover .step-arrow,
.how-step:focus .step-arrow {
    color: #3b82f6;
    transform: translateX(3px);
}

.step-reveal {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    padding: 0 18px;
}

.how-step:hover .step-reveal,
.how-step:focus .step-reveal {
    max-height: 160px;
    padding: 0 18px 16px;
}

.step-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3b82f6;
    margin-bottom: 6px;
}

.step-reveal p {
    font-size: 0.875rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin: 0;
}

/* --- REPLACEMENT 4: TRUST SECTION --- */
.trust-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 992px) {
    .trust-pillars {
        grid-template-columns: 1fr;
    }
}

.trust-pillar {
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s;
    outline: none;
}

.trust-pillar:hover,
.trust-pillar:focus {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.04);
}

.trust-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
}

.trust-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
}

.trust-reveal {
    margin-top: 12px;
}

.trust-reveal p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin: 0;
}

.hero-logo-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 32px;
}

.hero-logo-img {
    height: 48px;
    width: auto;
    mix-blend-mode: screen;
    filter: brightness(1.1);
}

.hero-brand-name {
    font-size: 1.8rem;
    letter-spacing: 0.18em;
    /* Slightly increased for architectural feel */
    color: rgba(255, 255, 255, 0.95);
    /* Slightly brighter */
    font-weight: 300;
    /* Lighter weight for premium feel */
    text-transform: uppercase;
}

.hero-brand-name strong {
    font-weight: 800;
    color: white;
    letter-spacing: 0.1em;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    /* Increased from 0.8rem */
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #fff;
    /* Brighter for visibility */
    background: rgba(59, 130, 246, 0.12);
    /* Subtle blue tint */
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 10px 24px;
    /* Increased from 7px 18px */
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
    animation: pulse-stealth 3s ease-in-out infinite;
}

@keyframes pulse-stealth {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
        box-shadow: 0 0 10px 2px rgba(59, 130, 246, 0.2);
    }
}

.hero-headline-new {
    font-size: calc(clamp(1.8rem, 4.1vw, 2.8rem) - 3pt);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 20px;
}

.hero-sub-new {
    font-size: calc(clamp(1.3rem, 2.8vw, 1.8rem) - 3pt);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
    margin-bottom: 36px;
    line-height: 2.0;
}

.hero-sub-new strong {
    font-weight: 700;
    color: #ffffff;
}

.hero-sub-new u {
    text-decoration-color: #3b82f6;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 600px) {
    .hero-headline-new {
        font-size: calc(clamp(1.6rem, 7vw, 2.2rem) + 3pt);
    }

    .hero-sub-new {
        font-size: calc(clamp(1.1rem, 4vw, 1.4rem) + 3pt);
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-brand-name {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        letter-spacing: 0.1em;
    }

    .hero-logo-img,
    img[alt="REBORG Logo"] {
        max-height: 70px !important;
        width: auto;
    }

    .mega-headline-wrap {
        padding: 0 16px !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
}

/* --- NEW HOW IT WORKS CHEVRON FLOW --- */
.how-chevron-flow {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.how-step-new {
    flex: 1;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.chevron-shape {
    width: 90%;
    height: 55px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%);
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s, color 0.3s;
}

.how-step-new:hover .chevron-shape {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.3);
}



.step-content-new h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.step-content-new p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.step-content-new strong {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .how-chevron-flow {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .chevron-shape {
        clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
        height: 80px;
        width: 80px;
        border-radius: 12px;
    }
}

/* --- TIGHTENED UNIFIED SPACING --- */

/* Standard vertical gap for all sections */
.section-glass,
#contact,
main>section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* Ensure the Hero section flows into the next section with the same gap */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px !important;
    /* Matches the top-padding of the next section */
}

/* --- GRID & FOOTER FIXES --- */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--radius);
    position: relative;
    transition: all 0.3s ease;
}

.workflow-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.workflow-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.05;
}

.footer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-right {
    text-align: right;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Mobile logic */
@media (max-width: 768px) {

    .section-glass,
    #contact,
    .hero-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }
}