/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --primary-gold: #d4af37;
    --secondary-gold: #f4e4c1;
    --text-light: #f5f5f5;
    --text-gray: #a0a0a0;
    --bg-dark: #000000;
    --bg-card: #1a1a1a;
    --accent-blue: #2563eb;
    --accent-green: #25d366;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    width: 100%;
}

img, video, iframe { max-width: 100%; height: auto; }

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    gap: 1rem;
    min-width: 0;
}

.logo, .nav-cta {
    flex-shrink: 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-cta {
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-line {
    display: block;
}

.hero-title-line:first-child {
    white-space: nowrap;
}

.hero-slot {
    --slot-height: 1.2em;
    display: inline-block;
    width: 9em;
    height: var(--slot-height);
    overflow: hidden;
    vertical-align: bottom;
}

.hero-slot-track {
    display: flex;
    flex-direction: column;
    animation: heroSlotSpin 10s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slot-track span {
    display: block;
    height: var(--slot-height);
    line-height: var(--slot-height);
    white-space: nowrap;
}

@keyframes heroSlotSpin {
    0%, 12% { transform: translateY(0); }
    18%, 30% { transform: translateY(calc(var(--slot-height) * -1)); }
    36%, 48% { transform: translateY(calc(var(--slot-height) * -2)); }
    54%, 66% { transform: translateY(calc(var(--slot-height) * -3)); }
    72%, 84% { transform: translateY(calc(var(--slot-height) * -4)); }
    90%, 100% { transform: translateY(calc(var(--slot-height) * -5)); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slot-track {
        animation: none;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-gold);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.platform-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    font-size: 2rem;
}

.platform-badges i {
    color: var(--primary-gold);
    transition: transform 0.3s ease;
}

.platform-badges i:hover {
    transform: scale(1.1);
}

/* Chat Mockup */
.hero-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.chat-container {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.chat-header {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bg-dark);
    letter-spacing: 0.15em;
}

.chat-status {
    font-size: 0.85rem;
    color: rgba(10, 10, 10, 0.7);
    font-weight: 600;
}

.chat-messages {
    padding: 1.5rem;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.chat-message {
    display: flex;
    animation: slideIn 0.4s ease;
}

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

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.kyma {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 80%;
    padding: 0.9rem 1.2rem;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 228, 193, 0.15));
    color: var(--text-light);
    border-bottom-right-radius: 4px;
}

.chat-message.kyma .message-bubble {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Icon Wrapper */
.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(244, 228, 193, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-gold);
}

/* Section Styles */
section {
    padding: 100px 20px;
}

.section-title {
    font-size: 2.75rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pillar Sections */
.pillar.engage {
    background: var(--primary-dark);
}

.pillar.sell {
    background: var(--bg-dark);
}

.pillar.analyze {
    background: var(--primary-dark);
}

.pillar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pillar-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--bg-dark);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.pillar-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.pillar-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--bg-dark);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.step p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Team Section */
.team {
    background: var(--bg-dark);
}

.team-bio {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-gray);
    max-width: 900px;
    margin: 2rem auto 4rem;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-dark);
}

.team-member h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.member-role {
    color: var(--primary-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.member-contact a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.member-contact a:hover {
    color: var(--primary-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.linkedin-link,
.twitter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.linkedin-link {
    color: var(--accent-blue) !important;
}

.linkedin-link:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: scale(1.1);
}

.twitter-link {
    color: #1DA1F2 !important;
}

.twitter-link:hover {
    background: rgba(29, 161, 242, 0.1);
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    text-align: center;
    padding: 120px 20px;
}

.contact-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.contact-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    padding: 1rem 2.5rem;
    background: var(--primary-gold);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.5);
}

.contact-button.secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.contact-button.secondary:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 3rem 20px 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-left p {
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.footer-right {
    display: flex;
    gap: 2rem;
}

.footer-right a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-content {
        gap: 0.75rem;
        padding: 0.95rem 0;
    }

    .logo {
        font-size: 1.5rem;
        letter-spacing: 0.18em;
    }

    .nav-cta {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
        letter-spacing: 0.03em;
    }

    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-text {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .platform-badges {
        justify-content: center;
        gap: 1.25rem;
        font-size: 1.75rem;
    }

    .chat-container {
        max-width: 100%;
    }

    .chat-messages {
        height: 380px;
    }

    section {
        padding: 60px 0;
    }

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

    .section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }

    .pillar-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .pillar-grid,
    .steps,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .pillar-card,
    .team-member {
        padding: 1.75rem 1.5rem;
    }

    .step h3,
    .pillar-card h3 {
        font-size: 1.25rem;
    }

    .team-bio {
        font-size: 1rem;
        margin: 1.5rem auto 2.5rem;
    }

    .member-photo {
        width: 110px;
        height: 110px;
    }

    .photo-placeholder {
        font-size: 2.25rem;
    }

    .team-member h3 {
        font-size: 1.35rem;
    }

    .contact {
        padding: 70px 0;
    }

    .contact-content h2 {
        font-size: 2rem;
    }

    .contact-content p {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .footer {
        padding: 2.5rem 0 1.5rem;
    }

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

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
    }
}

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

    .nav-content {
        gap: 0.5rem;
        padding: 0.85rem 0;
    }

    .logo {
        font-size: 1.3rem;
        letter-spacing: 0.12em;
    }

    .nav-cta {
        padding: 0.5rem 0.8rem;
        font-size: 0.74rem;
        border-width: 1.5px;
        letter-spacing: 0.02em;
    }

    .hero {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 1.95rem;
        line-height: 1.18;
    }

    .hero-subtitle {
        font-size: 0.98rem;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }

    .platform-badges {
        font-size: 1.5rem;
        gap: 1rem;
    }

    section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .pillar-card,
    .team-member {
        padding: 1.5rem 1.25rem;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-content h2 {
        font-size: 1.7rem;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
        text-align: center;
    }

    .chat-messages {
        height: 340px;
        padding: 1rem;
    }

    .chat-header {
        padding: 1rem;
    }

    .chat-logo {
        font-size: 1.1rem;
    }

    .message-bubble {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .footer-right {
        gap: 1rem 1.5rem;
        font-size: 0.92rem;
    }
}

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

    .nav-content {
        gap: 0.4rem;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
    }

    .nav-cta {
        padding: 0.45rem 0.65rem;
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }
}

/* =====================================================
   Lending salesperson — hero supporting elements
   ===================================================== */

.hero-tagline {
    font-size: 1.35rem;
    color: var(--secondary-gold);
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.audience-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.audience-strip span {
    background: rgba(212, 175, 55, 0.12);
    color: var(--secondary-gold);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.channel-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.channel-strip .channel {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    font-size: 0.85rem;
}

.channel-strip .channel.live {
    color: var(--accent-green);
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.08);
}

.channel-strip .channel.soon {
    color: var(--text-light);
}

.channel-strip .channel.more {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 0.4rem 0;
    font-weight: 400;
    font-size: 0.82rem;
}

.voice-soon {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    background: rgba(212, 175, 55, 0.18);
    color: var(--primary-gold);
    border-radius: 4px;
    font-size: 0.65rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =====================================================
   Demo tabs + chat surface additions
   ===================================================== */

.demo-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-width: 400px;
    margin: 0 auto 0.75rem;
}

.demo-tab {
    flex: 1 1 calc(33.333% - 0.4rem);
    min-width: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--text-gray);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.65rem 0.7rem;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1.25;
    text-align: center;
    transition: all 0.2s ease;
}

.demo-tab:hover {
    color: var(--text-light);
    border-color: rgba(212, 175, 55, 0.4);
}

.demo-tab.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(244, 228, 193, 0.12));
    color: var(--secondary-gold);
    border-color: var(--primary-gold);
}

.demo-channel-caption {
    max-width: 400px;
    margin: 0.75rem auto 0;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.78rem;
    font-style: italic;
    opacity: 0.75;
}

/* Stage ribbon inside chat */
.stage-ribbon {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.6rem 0.9rem;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    justify-content: center;
}

.stage {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    white-space: nowrap;
}

.stage.pending {
    color: rgba(160, 160, 160, 0.5);
    background: transparent;
}

.stage.active {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    animation: stagePulse 1.6s ease-in-out infinite;
}

.stage.done {
    color: var(--secondary-gold);
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

@keyframes stagePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.45); }
    50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}

/* =====================================================
   Rich WhatsApp-primitive bubbles
   ===================================================== */

.chat-message.system {
    justify-content: center;
}

.system-bubble {
    background: rgba(212, 175, 55, 0.08);
    color: var(--secondary-gold);
    font-size: 0.78rem;
    font-style: italic;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px dashed rgba(212, 175, 55, 0.35);
    max-width: 85%;
}

.system-bubble i {
    margin-right: 0.3rem;
    opacity: 0.8;
}

.chat-divider-row {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.chat-divider {
    color: var(--text-gray);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}

.consent-bubble {
    border-left: 3px solid var(--primary-gold);
    padding: 0.85rem 1rem !important;
}

.consent-text {
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
}

.consent-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.consent-btn {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--text-light);
    font-weight: 600;
}

.consent-btn.primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--bg-dark);
    border-color: transparent;
}

.flow-card {
    padding: 0.85rem 1rem !important;
    border-left: 3px solid var(--accent-green);
    width: 100%;
    max-width: 90% !important;
}

.flow-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
}

.flow-header i {
    margin-right: 0.35rem;
}

.flow-field {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.flow-field:last-of-type {
    border-bottom: none;
}

.flow-label {
    color: var(--text-gray);
}

.flow-input {
    color: var(--text-light);
    opacity: 0.5;
    font-family: monospace;
    letter-spacing: 0.1em;
}

.flow-submit {
    margin-top: 0.6rem;
    text-align: center;
    background: var(--accent-green);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.offer-card {
    padding: 0.85rem 1rem !important;
    border-left: 3px solid var(--primary-gold);
    width: 100%;
    max-width: 90% !important;
}

.offer-header {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
}

.offer-header i {
    margin-right: 0.35rem;
}

.offer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.5rem;
}

.offer-row:last-child {
    border-bottom: none;
}

.offer-amount {
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.95rem;
}

.offer-meta {
    color: var(--text-gray);
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.offer-tag {
    background: rgba(212, 175, 55, 0.15);
    color: var(--secondary-gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* =====================================================
   Sell-section proof ribbon (static 7-stage strip)
   ===================================================== */

.proof-ribbon {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.proof-ribbon span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--secondary-gold);
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.06);
    position: relative;
}

.proof-ribbon span:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* =====================================================
   Responsive overrides for new elements
   ===================================================== */

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-title-line:first-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        white-space: normal;
    }

    .hero-slot {
        width: min(100%, 9em);
    }

    .audience-strip {
        justify-content: center;
    }

    .channel-strip {
        justify-content: center;
        font-size: 0.82rem;
    }

    .channel-strip .channel.more {
        flex-basis: 100%;
        text-align: center;
    }

    .demo-tab {
        font-size: 0.68rem;
        padding: 0.5rem 0.4rem;
    }

    .stage {
        font-size: 0.6rem;
        padding: 0.15rem 0.45rem;
    }

    .proof-ribbon span {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .proof-ribbon span:not(:last-child)::after {
        right: -0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 0.98rem;
    }

    .audience-strip span {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .demo-tab {
        font-size: 0.62rem;
        padding: 0.45rem 0.3rem;
    }

    .demo-channel-caption {
        font-size: 0.7rem;
    }

    .proof-ribbon {
        gap: 0.35rem;
    }

    .proof-ribbon span {
        font-size: 0.62rem;
        padding: 0.25rem 0.5rem;
    }

    .proof-ribbon span:not(:last-child)::after {
        display: none;
    }
}
