/* ===========================
   The Content Farm — Website v3
   Interactive Phone Mockups + Rate Calculator
   =========================== */

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

:root {
    --brand-primary: #0080FF;
    --brand-secondary: #9966FF;
    --text-primary: #1a1a1a;
    --text-secondary: #555;
    --text-light: #888;
    --bg-primary: #FAFAFC;
    --bg-white: #ffffff;
    --bg-dark: #0c0c14;
    --container-max: 1140px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
}

h1, h2, h3 {
    line-height: 1.15;
    letter-spacing: -0.03em;
}

/* ===========================
   Scroll Reveal System
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* ===========================
   Section Labels
   =========================== */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-primary);
    margin-bottom: 16px;
}

/* ===========================
   Nav
   =========================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-scrolled {
    background: rgba(250, 250, 252, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-brand span {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-cta {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 128, 255, 0.3);
}

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Smooth looping gradient backdrop */
.hero-bg {
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(0,128,255,0.12), transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(153,102,255,0.10), transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255,102,128,0.06), transparent 40%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: hero-bg-drift 24s ease-in-out infinite;
}

@keyframes hero-bg-drift {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(3%, -2%) scale(1.02); }
    50%  { transform: translate(-2%, 3%) scale(1.04); }
    75%  { transform: translate(2%, 1%) scale(1.01); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Hero layout */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    gap: 0;
}

/* Headline */
.hero-headline {
    font-size: clamp(40px, 7.5vw, 78px);
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-align: center;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary), #FF6680);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: hero-gradient-text 8s ease infinite;
}

@keyframes hero-gradient-text {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Notification feed */
.hero-feed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    width: 100%;
    max-width: 360px;
}

.hero-notif {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-notif.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Deal confirmed — green success tint */
.hero-notif-success.visible {
    background: rgba(51, 204, 102, 0.08);
    border-color: rgba(51, 204, 102, 0.2);
    box-shadow: 0 2px 20px rgba(51, 204, 102, 0.10);
}

/* Ambient cards — slightly softer */
.hero-notif-ambient {
    opacity: 0;
    background: rgba(255, 255, 255, 0.5);
}
.hero-notif-ambient.visible {
    opacity: 0.85;
}

.hero-notif-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.hero-notif-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Coming soon */
.hero-coming-soon {
    margin-top: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-coming-soon.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 10px;
    max-width: 440px;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
    flex: 1;
    padding: 15px 20px;
    border-radius: 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input[type="email"]:focus,
.waitlist-form input[type="text"]:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 4px rgba(0, 128, 255, 0.1);
}

.waitlist-form input[type="email"]::placeholder,
.waitlist-form input[type="text"]::placeholder {
    color: #aaa;
}

.waitlist-form button {
    padding: 15px 28px;
    border: none;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: white;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.waitlist-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 128, 255, 0.35);
}



/* ===========================
   BRIDGE
   =========================== */
.bridge {
    padding: 60px 0;
    background: var(--bg-primary);
    text-align: center;
}

.bridge-line {
    font-size: clamp(24px, 3.5vw, 36px);
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.015em;
}

.bridge-line strong {
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary), #FF6680);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   FEATURES
   =========================== */
.features {
    padding: 60px 0 120px;
    background: var(--bg-primary);
}

.features h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 72px;
}

/* Feature Row — Alternating text + image */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 8px;
    color: var(--tag-color);
    background: color-mix(in srgb, var(--tag-color) 10%, transparent);
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 14px;
}

.feature-text p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-hint {
    margin-top: 12px;
    font-size: 14px;
    color: var(--brand-primary);
    font-weight: 600;
}

.ai-accent {
    color: var(--brand-secondary);
    font-weight: 500;
}

/* ===========================
   APP PHONE FRAME — Scrollable Mockups
   =========================== */
.app-phone-frame {
    width: 280px;
    height: 580px;
    background: #1a1a2e;
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    margin: 0 auto;
}

.app-phone-notch {
    width: 120px;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.app-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    background: #f8f8fc;
    overflow: hidden;
    position: relative;
}

.app-screen-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 36px 14px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep scrollable */
.app-screen-scroll::-webkit-scrollbar {
    width: 0;
    display: none;
}
.app-screen-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Scroll hint animation */
.app-phone-screen::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.15);
    z-index: 4;
    animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(-4px); }
}

/* ===========================
   Shared App Screen Styles
   =========================== */
.app-screen-header {
    margin-bottom: 16px;
}

.app-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.app-avatar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.app-avatar {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.app-greeting {
    font-size: 12px;
    color: #999;
}

.app-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

/* App Card */
.app-card {
    background: white;
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.app-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

/* ===========================
   ANALYTICS MOCKUP
   =========================== */
.app-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.app-stat-card {
    background: white;
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.app-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.app-stat-number {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.app-stat-label {
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}

.app-stat-change {
    font-size: 10px;
    font-weight: 700;
    margin-top: 4px;
}

.app-stat-change.positive { color: #33CC66; }
.app-stat-change.neutral { color: #999; }

/* Chart */
.app-chart-area {
    height: 80px;
    position: relative;
}

.app-line-chart {
    width: 100%;
    height: 100%;
}

/* Platform Breakdown */
.app-platform-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-platform-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.app-platform-icon.ig { background: linear-gradient(135deg, #833AB4, #E1306C); }
.app-platform-icon.tt { background: #000; }

.app-platform-info {
    flex: 1;
    min-width: 0;
}

.app-platform-name {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.app-platform-count {
    font-size: 10px;
    color: #999;
}

.app-platform-bar {
    width: 60px;
    height: 6px;
    border-radius: 3px;
    background: #f0f0f0;
    overflow: hidden;
}

.app-platform-fill {
    height: 100%;
    border-radius: 3px;
}

/* Top Posts */
.app-top-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.app-top-post {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.app-post-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    flex-shrink: 0;
}

.app-post-info {
    flex: 1;
    min-width: 0;
}

.app-post-caption {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-post-stats {
    font-size: 10px;
    color: #999;
}

/* ===========================
   BRAND DISCOVERY MOCKUP
   =========================== */
.app-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f0f0f4;
    margin-bottom: 12px;
}

.app-search-bar span {
    font-size: 13px;
    color: #999;
}

.app-filter-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    overflow-x: auto;
}

.app-filter-pill {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    background: #f0f0f4;
    white-space: nowrap;
}

.app-filter-pill.active {
    background: #1a1a1a;
    color: white;
}

.app-brand-card {
    background: white;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.app-brand-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.app-brand-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.app-brand-info {
    flex: 1;
    min-width: 0;
}

.app-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}

.app-brand-category {
    font-size: 11px;
    color: #999;
}

.app-match-badge {
    font-size: 13px;
    font-weight: 800;
    color: #33CC66;
    background: rgba(51, 204, 102, 0.1);
    padding: 4px 10px;
    border-radius: 8px;
}

.app-brand-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.app-brand-tags {
    display: flex;
    gap: 6px;
}

.app-brand-tag {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f5f5f8;
    color: #666;
}

/* ===========================
   COLLABS — REVENUE WATERFALL
   =========================== */

/* Waterfall container */
.waterfall {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 520px;
    width: 100%;
}

/* Earned banner — solid green */
.waterfall-earned {
    text-align: center;
    padding: 28px 40px;
    border-radius: 20px;
    background: linear-gradient(135deg, #33CC66, #1A9933);
    color: white;
    box-shadow: 0 8px 32px rgba(51, 204, 102, 0.3);
    width: 100%;
}

.waterfall-earned-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.85;
    margin-bottom: 4px;
}

.waterfall-earned-amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.waterfall-earned-sub {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 4px;
}

/* Flow connector */
.waterfall-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    width: 80%;
}

.waterfall-flow-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(51, 204, 102, 0.3), rgba(255, 153, 51, 0.3));
    border-radius: 1px;
}

.waterfall-flow-label {
    font-size: 14px;
    font-weight: 700;
    color: #FF9933;
    white-space: nowrap;
}

/* Deal cards stack */
.waterfall-deals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Individual deal card */
.waterfall-deal {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05), 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.waterfall-deal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Coloured status dot */
.waterfall-deal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dot-color);
    flex-shrink: 0;
    box-shadow: 0 0 8px color-mix(in srgb, var(--dot-color) 40%, transparent);
}

/* Deal info (brand + type) */
.waterfall-deal-info {
    flex: 1;
    min-width: 0;
}

.waterfall-deal-brand {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.waterfall-deal-type {
    font-size: 13px;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right side (value + status pill) */
.waterfall-deal-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.waterfall-deal-value {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #33CC66, #1A9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.waterfall-deal-status {
    font-size: 11px;
    font-weight: 600;
    color: white;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--status-bg);
}

/* ===========================
   MEDIA KIT — Chat Conversation
   "The Share Moment"
   =========================== */
.mk-chat {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

/* Message row */
.mk-msg {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.mk-msg-creator {
    flex-direction: row-reverse;
}
.mk-msg-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 420px;
}
.mk-msg-creator .mk-msg-content {
    align-items: flex-end;
}

/* Avatar (brand only) */
.mk-msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8E0F0, #D6CCE6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mk-msg-avatar span {
    font-size: 16px;
    font-weight: 700;
    color: #7744BB;
}

/* Sender name */
.mk-msg-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

/* Bubbles */
.mk-msg-bubble {
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-primary);
}
.mk-bubble-brand {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.03);
    border-bottom-left-radius: 6px;
}
.mk-bubble-creator {
    background: linear-gradient(135deg, rgba(153,102,255,0.1), rgba(0,128,255,0.08));
    border-bottom-right-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mk-msg-text {
    font-size: 15px;
    line-height: 1.55;
}

/* Timestamp */
.mk-msg-time {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Link Preview Card */
.mk-link-preview {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.mk-link-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}
.mk-link-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #9966E6, #B380F2);
    flex-shrink: 0;
}
.mk-link-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mk-link-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}
.mk-link-avatar-fallback::after {
    content: 'A';
    color: white;
    font-weight: 700;
    font-size: 18px;
}
.mk-link-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mk-link-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}
.mk-link-handle {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Stats row inside link preview */
.mk-link-stats {
    display: flex;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mk-link-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 12px 8px;
}
.mk-link-stat:not(:last-child) {
    border-right: 1px solid rgba(0,0,0,0.06);
}
.mk-link-stat-value {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #9966E6, #0080FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mk-link-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* "View Media Kit" footer */
.mk-link-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #9966FF;
}
.mk-link-footer svg:last-child {
    margin-left: auto;
}

/* Chat bubble stagger animation */
.mk-chat-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.mk-chat-reveal.mk-visible {
    opacity: 1;
    transform: translateY(0);
}
.mk-msg:nth-child(1) { transition-delay: 0s; }
.mk-msg:nth-child(2) { transition-delay: 0.4s; }
.mk-msg:nth-child(3) { transition-delay: 0.9s; }

/* ===========================
   CONTENT MANAGER — Monday Briefing
   =========================== */
.brief-card {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    padding: 28px 24px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Header */
.brief-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brief-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brief-sparkle { flex-shrink: 0; }
.brief-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.brief-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 1px;
}
.brief-ready-badge {
    font-size: 13px;
    font-weight: 600;
    color: #33CC66;
    background: rgba(51, 204, 102, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    white-space: nowrap;
}

/* AI Briefing Body */
.brief-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.brief-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Week Strip */
.brief-week {
    display: flex;
    gap: 6px;
}
.brief-day {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.brief-day-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.brief-day-slot {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.brief-day-empty {
    background: rgba(0, 0, 0, 0.03);
    border: 1.5px dashed rgba(0, 0, 0, 0.08);
}
.brief-day-filled {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.08), rgba(153, 102, 255, 0.06));
}
.brief-day-today {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.15), rgba(153, 102, 255, 0.1));
    box-shadow: 0 0 0 2px rgba(0, 128, 255, 0.3);
}
.brief-day-deliverable {
    box-shadow: 0 0 0 2px rgba(255, 102, 128, 0.4);
    background: linear-gradient(135deg, rgba(255, 102, 128, 0.1), rgba(153, 102, 255, 0.08));
}
.brief-day-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Post Detail Cards */
.brief-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.brief-post {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.02);
}
.brief-post-highlight {
    background: linear-gradient(135deg, rgba(255, 102, 128, 0.06), rgba(153, 102, 255, 0.04));
    box-shadow: inset 0 0 0 1px rgba(255, 102, 128, 0.12);
}
.brief-post-day {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 32px;
    padding-top: 2px;
}
.brief-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.brief-post-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}
.brief-post-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.brief-post-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    color: white;
}
.brief-post-badge.ig { background: linear-gradient(135deg, #833AB4, #E1306C); }
.brief-post-badge.tt { background: #000; }
.brief-post-status {
    font-size: 12px;
    color: var(--text-secondary);
}
.brief-post-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 102, 128, 0.1);
    color: #FF6680;
}

/* Approve Button */
.brief-approve {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0080FF, #9966FF);
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 128, 255, 0.25);
}
.brief-approve:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 128, 255, 0.35);
}

/* Stagger animation */
.brief-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.brief-reveal.brief-visible {
    opacity: 1;
    transform: translateY(0);
}
.brief-card .brief-reveal:nth-child(1) { transition-delay: 0.1s; }
.brief-card .brief-reveal:nth-child(2) { transition-delay: 0.3s; }
.brief-card .brief-reveal:nth-child(3) { transition-delay: 0.5s; }
.brief-card .brief-reveal:nth-child(4) { transition-delay: 0.7s; }
.brief-card .brief-reveal:nth-child(5) { transition-delay: 0.9s; }


/* ===========================
   RATE CALCULATOR (Faithful to App)
   =========================== */
.rc-widget {
    background: linear-gradient(135deg, #fafafe, #f3f5ff, #f8f5ff);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.15) transparent;
}

.rc-widget::-webkit-scrollbar {
    width: 4px;
}

.rc-widget::-webkit-scrollbar-track {
    background: transparent;
}

.rc-widget::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.12);
    border-radius: 2px;
}

/* Disclaimer Badge */
.rc-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255, 153, 51, 0.08);
    border-radius: 12px;
    margin-bottom: 16px;
}

.rc-disclaimer span {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Section */
.rc-section {
    margin-bottom: 16px;
}

.rc-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

/* Segment Picker (Platform) */
.rc-segment-picker {
    display: flex;
    background: #e8e8ec;
    border-radius: 8px;
    padding: 2px;
}

.rc-segment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #666;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.rc-segment.active {
    background: white;
    color: #1a1a1a;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Glass Card */
.rc-glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px;
}

/* Stat Rows */
.rc-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.rc-stat-row label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    min-width: 120px;
}

.rc-stat-row input {
    width: 120px;
    padding: 8px 12px;
    border: 1.5px solid #e8e8ec;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    color: #1a1a1a;
    text-align: right;
    outline: none;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rc-stat-row input:focus {
    border-color: #0080FF;
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

/* Stepper Rows */
.rc-stepper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.rc-stepper-row:last-of-type {
    border-bottom: none;
}

.rc-stepper-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.rc-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    background: #f2f2f5;
    border-radius: 10px;
    overflow: hidden;
}

.rc-step-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    color: #0080FF;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.rc-step-btn:hover {
    background: rgba(0, 128, 255, 0.1);
}

.rc-step-val {
    width: 36px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Divider */
.rc-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 8px 0;
}

/* Toggle Rows */
.rc-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.rc-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 26px;
    cursor: pointer;
}

.rc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.rc-toggle-track {
    position: absolute;
    inset: 0;
    background: #e0e0e0;
    border-radius: 13px;
    transition: background 0.2s;
}

.rc-toggle-track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.rc-toggle input:checked + .rc-toggle-track {
    background: #33CC66;
}

.rc-toggle input:checked + .rc-toggle-track::after {
    transform: translateX(18px);
}

/* Pill Rows (Usage Rights) */
.rc-pills-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.rc-pill {
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: #666;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s;
}

.rc-pill.active {
    background: linear-gradient(135deg, #0080FF, #0080FFdd);
    color: white;
    border-color: transparent;
    font-weight: 600;
}

/* Context Section */
.rc-context-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    gap: 8px;
}

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

.rc-context-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    white-space: nowrap;
    min-width: 90px;
}

.rc-pills-inline {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.rc-pill-sm {
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    color: #666;
    background: #f2f2f5;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.rc-pill-sm.active {
    background: linear-gradient(135deg, #0080FF, #0080FFdd);
    color: white;
    font-weight: 600;
}

.rc-pill-sm.rush.active {
    background: linear-gradient(135deg, #FF9933, #FFCC33);
}

/* Rate Output */
.rc-output {
    margin-bottom: 16px;
}

.rc-suggested {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-bottom: 10px;
}

.rc-suggested-label {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 6px;
}

.rc-suggested-value {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #33CC66, #1A9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-feature-settings: 'tnum';
}

.rc-range-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rc-range-card {
    text-align: center;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
}

.rc-range-label {
    font-size: 12px;
    font-weight: 500;
    color: #999;
    margin-bottom: 4px;
}

.rc-range-value {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    font-feature-settings: 'tnum';
}

/* Breakdown Accordion */
.rc-breakdown {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
}

.rc-breakdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: #1a1a1a;
    background: transparent;
    border: none;
    cursor: pointer;
}

.rc-chevron {
    transition: transform 0.2s;
}

.rc-breakdown.open .rc-chevron {
    transform: rotate(180deg);
}

.rc-breakdown-body {
    padding: 0 16px 16px;
}

.rc-bd-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.rc-bd-row span:first-child {
    color: #666;
}

.rc-bd-row span:last-child {
    font-weight: 600;
    color: #1a1a1a;
    font-feature-settings: 'tnum';
}

.rc-bd-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 6px 0;
}

.rc-bd-total span:first-child {
    font-weight: 600;
    color: #1a1a1a;
}

.rc-bd-total span:last-child {
    font-weight: 700;
    background: linear-gradient(135deg, #33CC66, #1A9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   BRAND DEALS — MATCH CARD LAYOUT
   =========================== */

/* Match Card — creator + connector + brand in a row */
.match-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 600px;
    width: 100%;
}

/* Each side (creator or brand) */
.match-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 120px;
}

/* Creator avatar — reuse orbit avatar styling */
.match-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #0080FF, #9966FF);
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.8),
        0 4px 20px rgba(0, 128, 255, 0.15);
}
.match-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Brand icon circle */
.match-brand-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 800;
    color: white;
    box-shadow:
        0 0 0 3px rgba(255,255,255,0.8),
        0 4px 20px rgba(51, 204, 102, 0.15);
}

.match-side-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.match-side-detail {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

/* Connector — line + badge + line */
.match-connector {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    max-width: 200px;
    padding: 0 12px;
}

.match-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 128, 255, 0.15), rgba(51, 204, 102, 0.4));
    border-radius: 1px;
}

.match-badge {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #33CC66, #00B3E6);
    box-shadow: 0 4px 16px rgba(51, 204, 102, 0.3);
    white-space: nowrap;
}

/* Match reason card */
.match-reason-card {
    max-width: 520px;
    width: 100%;
    border-radius: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.6);
}

.match-reason-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.match-reason-body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===========================
   DASHBOARD — ORBIT HERO LAYOUT
   =========================== */

/* Full-width hero row (breaks out of 2-col grid) */
.feature-row-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-bottom: 80px;
}
.feature-row-hero .feature-text {
    max-width: 560px;
}

/* Orbit Container */
.orbit-container {
    position: relative;
    width: 420px;
    height: 420px;
    margin-bottom: 20px;
}

/* Dashed orbit ring */
.orbit-ring {
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 2px dashed rgba(0, 128, 255, 0.15);
}

/* Center avatar */
.orbit-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #0080FF, #9966FF);
    box-shadow:
        0 0 0 4px rgba(255,255,255,0.8),
        0 0 40px rgba(0, 128, 255, 0.2),
        0 0 80px rgba(153, 102, 255, 0.1);
    animation: avatar-pulse 3s ease-in-out infinite;
}
.orbit-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.orbit-avatar-fallback::after {
    content: 'A';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: 700;
}
@keyframes avatar-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.8), 0 0 40px rgba(0,128,255,0.2), 0 0 80px rgba(153,102,255,0.1); }
    50% { box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 0 60px rgba(0,128,255,0.3), 0 0 100px rgba(153,102,255,0.15); }
}

/* Rotating pill group */
.orbit-group {
    position: absolute;
    inset: 0;
    animation: orbit-spin 30s linear infinite;
}
@keyframes orbit-spin {
    to { transform: rotate(360deg); }
}

/* Individual orbit pills */
.orbit-pill {
    position: absolute;
}
/* Position pills around the orbit at different angles */
.orbit-pill-1 {
    top: 12%;
    right: 2%;
}
.orbit-pill-2 {
    bottom: 8%;
    left: -2%;
}
.orbit-pill-3 {
    top: 50%;
    left: -6%;
    transform: translateY(-50%);
}

/* Counter-rotate pill content so text stays level */
.orbit-pill-inner {
    animation: orbit-counter-spin 30s linear infinite;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 16px;
    padding: 10px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 6px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 1px solid rgba(255,255,255,0.6);
}
@keyframes orbit-counter-spin {
    to { transform: rotate(-360deg); }
}
.orbit-pill-value {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #0080FF, #9966FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}
.orbit-pill-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(102, 102, 102, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Today's Focus Card — rainbow gradient border */
.hd-focus-card {
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #33CC66, #00B3E6, #0080FF, #9966FF, #CC33CC, #FF3366) border-box;
    max-width: 520px;
    width: 100%;
}
/* Text fade in */
.hd-focus-card .hd-card-header,
.hd-focus-card .hd-card-body {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hd-focus-card.focus-animate .hd-card-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
.hd-focus-card.focus-animate .hd-card-body {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}
.hd-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.hd-card-icon-right {
    margin-left: auto;
}
.hd-card-title {
    font-size: 16px;
    font-weight: 600;
    color: rgba(26, 26, 26, 1);
}
.hd-card-body {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
    color: rgba(102, 102, 102, 1);
}

/* ===========================
   AI SECTION
   =========================== */
.ai-section {
    position: relative;
    padding: 140px 0;
    background: var(--bg-dark);
    overflow: hidden;
}

.ai-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(124, 58, 237, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(37, 99, 235, 0.12), transparent);
    pointer-events: none;
}

.ai-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.ai-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.ai-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 36px;
}

.ai-description em {
    color: #8B5CF6;
    font-style: normal;
    font-weight: 600;
}

.ai-insights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 560px;
    margin: 0 auto;
}

.ai-insight {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    text-align: left;
}

.spark-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7C3AED, #2563EB);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    line-height: 1;
}

/* Stagger animation */
.ai-insight-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-insight-reveal.ai-visible {
    opacity: 1;
    transform: translateY(0);
}
.ai-insight:nth-child(1) { transition-delay: 0s; }
.ai-insight:nth-child(2) { transition-delay: 0.3s; }
.ai-insight:nth-child(3) { transition-delay: 0.6s; }
.ai-insight:nth-child(4) { transition-delay: 0.9s; }
.ai-insight:nth-child(5) { transition-delay: 1.2s; }

/* ===========================
   HOW IT WORKS
   =========================== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-white);
}

.how-it-works h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
}

/* Carousel */
.steps-carousel {
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.steps-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    touch-action: pan-y;
}

.step-slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 0 20px;
    box-sizing: border-box;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
}

.step-slide h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.step-slide p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 360px;
}

/* Dots */
.steps-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.steps-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease, transform 0.3s ease;
}

.steps-dot.active {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    transform: scale(1.2);
}


/* ===========================
   FINAL CTA
   =========================== */
.final-cta {
    position: relative;
    padding: 140px 0;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg,
        var(--bg-primary) 0%,
        #f0f2ff 50%,
        #f5f0ff 100%
    );
}

.final-cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    pointer-events: none;
}

.final-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #0080FF, #9966FF80);
    top: -150px;
    right: -100px;
}

.final-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FF6680, #FFCC3380);
    bottom: -100px;
    left: -50px;
}

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

.cta-logo {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    margin-bottom: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 14px;
}

.final-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 36px;
}

.final-cta .waitlist-form {
    max-width: 440px;
    margin: 0 auto;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    padding: 48px 0 32px;
    background: var(--bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.footer-logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-light);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--bg-primary);
    transition: all 0.2s;
    text-decoration: none;
}

.social-link:hover {
    color: var(--brand-primary);
    background: rgba(0, 128, 255, 0.08);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===========================
   Responsive — Tablet
   =========================== */
@media (max-width: 900px) {
    .feature-row, .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
        direction: ltr;
    }

    .feature-text { text-align: center; }
    .feature-tag { margin-left: auto; margin-right: auto; display: inline-block; }
    .feature-hint { text-align: center; }

    .feature-image {
        display: flex;
        justify-content: center;
    }

    .step-slide h3 { font-size: 20px; }
    .step-slide p { font-size: 15px; }

    /* Orbit — tablet */
    .orbit-container { width: 340px; height: 340px; }
    .orbit-avatar { width: 120px; height: 120px; }
    .orbit-ring { inset: 20px; }
    .orbit-pill-1 { top: 8%; right: -4%; }
    .orbit-pill-2 { bottom: 4%; left: -6%; }
    .orbit-pill-3 { top: 48%; left: -10%; }
    .hd-focus-card { max-width: 100%; }

    /* Match card — tablet */
    .match-card { max-width: 480px; }
    .match-avatar, .match-brand-icon { width: 76px; height: 76px; }
    .match-brand-icon { font-size: 30px; }
    .match-connector { max-width: 160px; padding: 0 8px; }
    .match-badge { padding: 6px 14px; font-size: 13px; }

    /* Waterfall — tablet */
    .waterfall { max-width: 100%; }
    .waterfall-earned { padding: 24px 28px; }
    .waterfall-earned-amount { font-size: 40px; }
}

/* ===========================
   Responsive — Mobile
   =========================== */
@media (max-width: 600px) {
    .container { padding: 0 20px; }

    /* Hero — mobile */
    .hero-headline { font-size: clamp(34px, 9vw, 48px); }
    .hero-feed { max-width: 100%; }
    .hero-notif-text { font-size: 13px; }
    .hero-notif { padding: 10px 14px; }

    /* Orbit — mobile */
    .orbit-container { width: 280px; height: 280px; }
    .orbit-avatar { width: 100px; height: 100px; }
    .orbit-ring { inset: 10px; }
    .orbit-pill-inner { padding: 8px 14px; border-radius: 12px; }
    .orbit-pill-value { font-size: 16px; }
    .orbit-pill-label { font-size: 10px; }
    .orbit-pill-1 { top: 4%; right: -8%; }
    .orbit-pill-2 { bottom: 0; left: -10%; }
    .orbit-pill-3 { top: 46%; left: -14%; }
    .feature-row-hero { gap: 32px; }

    /* Match card — mobile: stack vertically */
    .match-card {
        flex-direction: column;
        gap: 16px;
        max-width: 280px;
    }
    .match-connector {
        flex-direction: column;
        max-width: none;
        padding: 0;
        gap: 0;
    }
    .match-line {
        width: 2px;
        height: 20px;
        background: linear-gradient(180deg, rgba(0, 128, 255, 0.15), rgba(51, 204, 102, 0.4));
    }
    .match-avatar, .match-brand-icon { width: 80px; height: 80px; }
    .match-brand-icon { font-size: 32px; }
    .match-reason-card { padding: 16px; }

    /* Briefing card — mobile */
    .brief-card { padding: 20px 18px; gap: 20px; }
    .brief-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .brief-body { font-size: 14px; }
    .brief-day-slot { border-radius: 10px; }
    .brief-post { padding: 12px; gap: 10px; }
    .brief-post-title { font-size: 13px; }

    /* Media Kit chat — mobile */
    .mk-chat { gap: 18px; }
    .mk-msg-content { max-width: 320px; }
    .mk-msg-bubble { padding: 12px 14px; font-size: 14px; }
    .mk-link-stat-value { font-size: 14px; }

    /* Waterfall — mobile */
    .waterfall-earned { padding: 20px 20px; }
    .waterfall-earned-amount { font-size: 36px; }
    .waterfall-deal { padding: 14px 16px; gap: 10px; }
    .waterfall-deal-brand { font-size: 14px; }
    .waterfall-deal-value { font-size: 14px; }
    .waterfall-flow { width: 90%; }

    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-form button { width: 100%; }

    .ai-insight {
        font-size: 14px;
        padding: 14px 16px;
        gap: 10px;
    }

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

    .rc-widget {
        padding: 16px;
    }

    .rc-suggested-value {
        font-size: 34px;
    }

    .rc-range-value {
        font-size: 18px;
    }

    .rc-pills-row {
        gap: 4px;
    }

    .rc-pill {
        padding: 6px 10px;
        font-size: 12px;
    }
}
