/* ============================================================
   Rico Brown Personal Brand — ricobrown.com
   Design System & Full Styles
   CSS Prefix: rb-
   Reference: marcussheridan.com
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --rb-blue: #3070BD;
    --rb-deep-blue: #15247C;
    --rb-teal: #2cded5;
    --rb-red: #FF0201;
    --rb-red-hover: #c51717;
    --rb-dark: #363b47;
    --rb-dark-90: rgba(54, 59, 71, 0.9);
    --rb-light: #f8f9fb;
    --rb-white: #ffffff;
    --rb-gray: #6b7280;
    --rb-border: #e5e7eb;
    --rb-shadow: 0 8px 20px 0 rgba(95, 109, 137, 0.25);
    --rb-shadow-sm: 0 2px 8px rgba(95, 109, 137, 0.12);
    --rb-gradient: linear-gradient(to bottom right, rgba(44, 222, 197, 1), rgba(21, 36, 124, 1));
    --rb-gradient-hero: linear-gradient(135deg, #15247C 0%, #3070BD 50%, #2cded5 100%);
    --rb-font-heading: 'Figtree', sans-serif;
    --rb-font-body: 'Poppins', sans-serif;
    --rb-max-width: 1200px;
    --rb-nav-height: 80px;
    --rb-radius: 12px;
    --rb-radius-sm: 8px;
    --rb-radius-lg: 20px;
    --rb-transition: 0.3s ease;
}

/* --- Accessibility --- */
.rb-skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--rb-deep-blue);
    color: var(--rb-white);
    padding: 12px 24px;
    border-radius: var(--rb-radius-sm);
    font-weight: 700;
    z-index: 1000;
    transition: top 0.2s;
}
.rb-skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 3px solid var(--rb-blue);
    outline-offset: 2px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--rb-font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--rb-dark);
    background: var(--rb-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rb-blue);
    text-decoration: none;
    transition: color var(--rb-transition);
}

a:hover {
    color: var(--rb-deep-blue);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--rb-font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--rb-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--rb-dark-90);
}

/* --- Utility Classes --- */
.rb-container {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.rb-section {
    padding: 80px 0;
}

.rb-section--light {
    background: var(--rb-light);
}

.rb-section--dark {
    background: var(--rb-dark);
    color: var(--rb-white);
}

.rb-section--dark h2,
.rb-section--dark h3,
.rb-section--dark p {
    color: var(--rb-white);
}

.rb-section--gradient {
    background: var(--rb-gradient);
    color: var(--rb-white);
}

.rb-section--gradient h2,
.rb-section--gradient h3,
.rb-section--gradient p {
    color: var(--rb-white);
}

.rb-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.rb-section-header h2 {
    margin-bottom: 16px;
}

.rb-section-header p {
    font-size: 1.125rem;
    color: var(--rb-gray);
    max-width: 640px;
    margin: 0 auto;
}

.rb-text-center { text-align: center; }
.rb-text-blue { color: var(--rb-blue); }
.rb-text-red { color: var(--rb-red); }

.rb-grid {
    display: grid;
    gap: 32px;
}

.rb-grid--2 { grid-template-columns: repeat(2, 1fr); }
.rb-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rb-grid--4 { grid-template-columns: repeat(4, 1fr); }

.rb-flex {
    display: flex;
    align-items: center;
}

.rb-flex--between {
    justify-content: space-between;
}

.rb-flex--center {
    justify-content: center;
}

.rb-flex--gap {
    gap: 24px;
}

/* --- Buttons --- */
.rb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--rb-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--rb-transition);
    text-decoration: none;
    line-height: 1.4;
}

.rb-btn--primary {
    background: var(--rb-red);
    color: var(--rb-white);
}

.rb-btn--primary:hover {
    background: var(--rb-red-hover);
    color: var(--rb-white);
    transform: translateY(-2px);
    box-shadow: var(--rb-shadow);
}

.rb-btn--secondary {
    background: transparent;
    color: var(--rb-white);
    border: 2px solid var(--rb-white);
}

.rb-btn--secondary:hover {
    background: var(--rb-white);
    color: var(--rb-deep-blue);
    transform: translateY(-2px);
}

.rb-btn--outline {
    background: transparent;
    color: var(--rb-blue);
    border: 2px solid var(--rb-blue);
}

.rb-btn--outline:hover {
    background: var(--rb-blue);
    color: var(--rb-white);
    transform: translateY(-2px);
}

.rb-btn--lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.rb-btn--sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

/* --- Navigation --- */
.rb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--rb-nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all var(--rb-transition);
    border-bottom: 1px solid transparent;
}

.rb-nav.rb-scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--rb-border);
    box-shadow: var(--rb-shadow-sm);
}

.rb-nav__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rb-nav__logo {
    font-family: var(--rb-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--rb-deep-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rb-nav__logo:hover {
    color: var(--rb-deep-blue);
}

.rb-nav__logo img {
    height: 44px;
    width: auto;
}

.rb-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.rb-nav__link {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--rb-dark);
    text-decoration: none;
    transition: color var(--rb-transition);
    position: relative;
}

.rb-nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rb-blue);
    transition: width var(--rb-transition);
}

.rb-nav__link:hover::after,
.rb-nav__link.active::after {
    width: 100%;
}

.rb-nav__link:hover {
    color: var(--rb-blue);
}

.rb-nav__cta {
    margin-left: 8px;
}

/* Hamburger */
.rb-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.rb-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--rb-dark);
    transition: all var(--rb-transition);
    border-radius: 2px;
}

.rb-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.rb-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.rb-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.rb-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--rb-white);
    z-index: 999;
    padding-top: var(--rb-nav-height);
    overflow-y: auto;
}

.rb-mobile-nav.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.rb-mobile-nav a {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--rb-dark);
    text-decoration: none;
}

.rb-mobile-nav a:hover {
    color: var(--rb-blue);
}

body.rb-nav-open {
    overflow: hidden;
}

/* --- Hero Section --- */
.rb-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: var(--rb-nav-height);
    background: var(--rb-gradient-hero);
    overflow: hidden;
}

.rb-hero__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.rb-hero__content {
    color: var(--rb-white);
}

.rb-hero__eyebrow {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rb-teal);
    margin-bottom: 16px;
}

.rb-hero__title {
    font-size: 3.5rem;
    color: var(--rb-white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.rb-hero__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 520px;
}

.rb-hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.rb-hero__media {
    position: relative;
}

.rb-hero__video-wrap {
    position: relative;
    border-radius: var(--rb-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.2);
}

.rb-hero__video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.rb-hero__video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    font-family: var(--rb-font-heading);
}

/* --- Pricing CTA Banner --- */
.rb-pricing-cta {
    background: var(--rb-deep-blue);
    padding: 40px 0;
    text-align: center;
}

.rb-pricing-cta__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.rb-pricing-cta h3 {
    color: var(--rb-white);
    font-size: 1.5rem;
    margin: 0;
}

/* --- Logo Carousel --- */
.rb-logos {
    padding: 60px 0;
    overflow: hidden;
    background: var(--rb-light);
}

.rb-logos__header {
    text-align: center;
    margin-bottom: 40px;
}

.rb-logos__header p {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--rb-gray);
}

.rb-logos__track {
    display: flex;
    animation: rb-scroll 30s linear infinite;
    width: max-content;
}

.rb-logos__track:hover {
    animation-play-state: paused;
}

.rb-logos__item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 32px;
    opacity: 0.5;
    transition: opacity var(--rb-transition);
    filter: grayscale(100%);
}

.rb-logos__item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.rb-logos__item img {
    max-height: 50px;
    max-width: 140px;
    object-fit: contain;
}

.rb-logos__placeholder {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--rb-gray);
    white-space: nowrap;
}

@keyframes rb-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Problem / Solution Section --- */
.rb-problem {
    padding: 80px 0;
}

.rb-problem__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.rb-problem__content h2 {
    margin-bottom: 20px;
}

.rb-problem__content p {
    font-size: 1.0625rem;
    margin-bottom: 16px;
}

.rb-problem__content .rb-highlight {
    color: var(--rb-blue);
    font-weight: 700;
}

.rb-problem__video {
    border-radius: var(--rb-radius);
    overflow: hidden;
    box-shadow: var(--rb-shadow);
    aspect-ratio: 16 / 9;
    background: var(--rb-light);
}

.rb-problem__video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.rb-problem__video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-gray);
    font-family: var(--rb-font-heading);
}

/* --- About / Stats Section --- */
.rb-about {
    padding: 80px 0;
    background: var(--rb-light);
}

.rb-about__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.rb-about__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.rb-about__image {
    border-radius: var(--rb-radius-lg);
    overflow: hidden;
    box-shadow: var(--rb-shadow);
}

.rb-about__image img {
    width: 100%;
    height: auto;
}

.rb-about__image-placeholder {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--rb-deep-blue), var(--rb-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--rb-font-heading);
    font-size: 1.25rem;
}

.rb-about__text h2 {
    margin-bottom: 16px;
}

.rb-about__text p {
    font-size: 1.0625rem;
}

.rb-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rb-stat-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--rb-shadow-sm);
    transition: transform var(--rb-transition), box-shadow var(--rb-transition);
}

.rb-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rb-shadow);
}

.rb-stat-card__number {
    font-family: var(--rb-font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--rb-blue);
    margin-bottom: 8px;
    line-height: 1;
}

.rb-stat-card__label {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--rb-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Keynote Cards Section --- */
.rb-keynotes {
    padding: 80px 0;
}

.rb-keynotes__grid {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rb-keynote-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    padding: 32px 24px;
    border: 1px solid var(--rb-border);
    transition: all var(--rb-transition);
    display: flex;
    flex-direction: column;
}

.rb-keynote-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rb-shadow);
    border-color: transparent;
}

.rb-keynote-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--rb-radius-sm);
    background: var(--rb-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--rb-white);
    font-size: 1.5rem;
}

.rb-keynote-card__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.rb-keynote-card h4 {
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.rb-keynote-card p {
    font-size: 0.9375rem;
    color: var(--rb-gray);
    flex: 1;
    margin-bottom: 16px;
}

.rb-keynote-card__link {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--rb-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.rb-keynote-card__link:hover {
    gap: 8px;
}

/* --- Book / Framework Section --- */
.rb-book {
    padding: 80px 0;
    background: var(--rb-light);
}

.rb-book__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.rb-book__image {
    position: relative;
}

.rb-book__cover {
    border-radius: var(--rb-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 360px;
    margin: 0 auto;
}

.rb-book__cover-placeholder {
    width: 320px;
    height: 420px;
    background: linear-gradient(135deg, var(--rb-deep-blue), var(--rb-teal));
    border-radius: var(--rb-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--rb-font-heading);
    font-size: 1.25rem;
    text-align: center;
    padding: 32px;
    margin: 0 auto;
}

.rb-book__badges {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.rb-book__badge {
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    padding: 8px 16px;
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--rb-dark);
}

.rb-book__content h2 {
    margin-bottom: 16px;
}

.rb-book__content p {
    font-size: 1.0625rem;
    margin-bottom: 16px;
}

.rb-book__features {
    margin: 24px 0;
}

.rb-book__feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.rb-book__feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--rb-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--rb-white);
    font-size: 0.75rem;
}

.rb-book__feature span {
    font-size: 0.9375rem;
    color: var(--rb-dark-90);
}

/* --- Newsletter Section --- */
.rb-newsletter {
    padding: 80px 0;
    background: var(--rb-white);
}

.rb-newsletter__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.rb-newsletter__content h2 {
    margin-bottom: 16px;
}

.rb-newsletter__content p {
    font-size: 1.0625rem;
    margin-bottom: 24px;
}

.rb-newsletter__form {
    background: var(--rb-light);
    border-radius: var(--rb-radius-lg);
    padding: 40px;
    box-shadow: var(--rb-shadow-sm);
}

.rb-newsletter__form h3 {
    margin-bottom: 16px;
    text-align: center;
}

.rb-newsletter__form iframe {
    width: 100%;
    min-height: 300px;
    border: none;
    border-radius: var(--rb-radius-sm);
}

.rb-newsletter__form-placeholder {
    text-align: center;
    padding: 40px;
    color: var(--rb-gray);
    font-family: var(--rb-font-heading);
}

/* --- Testimonials Carousel --- */
.rb-testimonials {
    padding: 80px 0;
    background: var(--rb-light);
    overflow: hidden;
}

.rb-testimonials__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.rb-testimonials__carousel {
    position: relative;
    overflow: hidden;
}

.rb-testimonials__track {
    display: flex;
    transition: transform 0.5s ease;
}

.rb-testimonial-card {
    flex-shrink: 0;
    width: 100%;
    padding: 0 24px;
}

.rb-testimonial-card__inner {
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    padding: 48px;
    box-shadow: var(--rb-shadow-sm);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
}

.rb-testimonial-card__photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--rb-teal);
}

.rb-testimonial-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-testimonial-card__photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--rb-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-white);
    font-family: var(--rb-font-heading);
    font-weight: 800;
    font-size: 2rem;
}

.rb-testimonial-card__quote {
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--rb-dark-90);
    margin-bottom: 16px;
    position: relative;
}

.rb-testimonial-card__quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--rb-teal);
    position: absolute;
    top: -24px;
    left: -8px;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.rb-testimonial-card__name {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--rb-dark);
}

.rb-testimonial-card__title {
    font-size: 0.875rem;
    color: var(--rb-gray);
    margin-bottom: 0;
}

.rb-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.rb-testimonials__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--rb-border);
    border: none;
    cursor: pointer;
    transition: all var(--rb-transition);
    padding: 0;
}

.rb-testimonials__dot.active {
    background: var(--rb-blue);
    transform: scale(1.2);
}

/* --- Final CTA Banner --- */
.rb-final-cta {
    padding: 100px 0;
    background: var(--rb-gradient);
    text-align: center;
}

.rb-final-cta__inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.rb-final-cta h2 {
    color: var(--rb-white);
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.rb-final-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* --- Footer --- */
.rb-footer {
    background: var(--rb-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.rb-footer__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.rb-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.rb-footer__brand h3 {
    color: var(--rb-white);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.rb-footer__brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.rb-footer__social {
    display: flex;
    gap: 12px;
}

.rb-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--rb-transition);
    font-size: 1.125rem;
}

.rb-footer__social a:hover {
    background: var(--rb-blue);
    color: var(--rb-white);
}

.rb-footer__col h4 {
    color: var(--rb-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.rb-footer__col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 10px;
    transition: color var(--rb-transition);
}

.rb-footer__col a:hover {
    color: var(--rb-white);
}

.rb-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.rb-footer__bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.rb-footer__bottom a:hover {
    color: var(--rb-white);
}

/* --- Sub-Page Styles --- */

/* Page Header (used on all sub-pages) */
.rb-page-header {
    padding: 140px 0 80px;
    background: var(--rb-gradient-hero);
    text-align: center;
}

.rb-page-header h1 {
    color: var(--rb-white);
    margin-bottom: 16px;
}

.rb-page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    max-width: 640px;
    margin: 0 auto;
}

/* About Page */
.rb-about-full {
    padding: 80px 0;
}

.rb-about-full__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.rb-about-full__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}

.rb-about-full__photo {
    position: sticky;
    top: 120px;
}

.rb-about-full__photo img,
.rb-about-full__photo-placeholder {
    border-radius: var(--rb-radius-lg);
    width: 100%;
}

.rb-about-full__photo-placeholder {
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--rb-deep-blue), var(--rb-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--rb-font-heading);
    font-size: 1.25rem;
}

.rb-about-full__content h2 {
    margin-bottom: 16px;
}

.rb-about-full__content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.rb-about-full__content p {
    font-size: 1.0625rem;
    margin-bottom: 16px;
}

/* Speaking Page */
.rb-speaking-grid {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    gap: 24px;
}

.rb-speaking-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    border: 1px solid var(--rb-border);
    overflow: hidden;
    transition: all var(--rb-transition);
}

.rb-speaking-card:hover {
    box-shadow: var(--rb-shadow);
    border-color: transparent;
}

.rb-speaking-card__header {
    padding: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rb-speaking-card__header h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.rb-speaking-card__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--rb-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-white);
    font-family: var(--rb-font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.rb-speaking-card__toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rb-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--rb-transition);
    flex-shrink: 0;
    color: var(--rb-dark);
    font-size: 1.25rem;
}

.rb-speaking-card.active .rb-speaking-card__toggle {
    transform: rotate(180deg);
}

.rb-speaking-card__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.rb-speaking-card.active .rb-speaking-card__body {
    max-height: 500px;
}

.rb-speaking-card__content {
    padding: 0 32px 32px;
}

.rb-speaking-card__content p {
    font-size: 1rem;
    margin-bottom: 16px;
}

.rb-speaking-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.rb-speaking-card__tag {
    background: var(--rb-light);
    color: var(--rb-blue);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-family: var(--rb-font-heading);
    font-weight: 700;
}

/* Pricing Estimator */
.rb-pricing {
    padding: 80px 0;
}

.rb-pricing__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.rb-pricing__estimator {
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    padding: 48px;
    box-shadow: var(--rb-shadow);
    border: 1px solid var(--rb-border);
}

.rb-pricing__step {
    margin-bottom: 32px;
}

.rb-pricing__step:last-child {
    margin-bottom: 0;
}

.rb-pricing__step label {
    display: block;
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--rb-dark);
}

.rb-pricing__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.rb-pricing__option {
    background: var(--rb-light);
    border: 2px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--rb-transition);
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--rb-dark);
}

.rb-pricing__option:hover {
    border-color: var(--rb-blue);
}

.rb-pricing__option.selected {
    background: var(--rb-blue);
    border-color: var(--rb-blue);
    color: var(--rb-white);
}

.rb-pricing__result {
    background: var(--rb-gradient);
    border-radius: var(--rb-radius);
    padding: 40px;
    text-align: center;
    margin-top: 32px;
}

.rb-pricing__result-label {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.rb-pricing__result-range {
    font-family: var(--rb-font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--rb-white);
    margin-bottom: 8px;
}

.rb-pricing__result-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.rb-pricing__fallback {
    margin-top: 48px;
}

.rb-pricing__fallback table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--rb-radius-sm);
    overflow: hidden;
}

.rb-pricing__fallback th {
    background: var(--rb-deep-blue);
    color: var(--rb-white);
    padding: 14px 20px;
    text-align: left;
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
}

.rb-pricing__fallback td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--rb-border);
    font-size: 0.9375rem;
}

.rb-pricing__fallback tr:nth-child(even) td {
    background: var(--rb-light);
}

/* Video Gallery */
.rb-videos {
    padding: 80px 0;
}

.rb-videos__grid {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rb-video-card {
    border-radius: var(--rb-radius);
    overflow: hidden;
    box-shadow: var(--rb-shadow-sm);
    transition: all var(--rb-transition);
    background: var(--rb-white);
}

.rb-video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rb-shadow);
}

.rb-video-card__thumb {
    aspect-ratio: 16 / 9;
    background: var(--rb-dark);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.rb-video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background var(--rb-transition);
}

.rb-video-card__thumb:hover .rb-video-card__play {
    background: rgba(0, 0, 0, 0.5);
}

.rb-video-card__play-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--rb-red);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-white);
}

.rb-video-card__info {
    padding: 16px;
}

.rb-video-card__info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.rb-video-card__info p {
    font-size: 0.8125rem;
    color: var(--rb-gray);
    margin-bottom: 0;
}

/* Testimonials Grid (full page) */
.rb-testimonials-grid {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rb-testimonial-grid-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius);
    padding: 32px;
    border: 1px solid var(--rb-border);
    display: flex;
    flex-direction: column;
}

.rb-testimonial-grid-card__quote {
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rb-dark-90);
    flex: 1;
    margin-bottom: 24px;
    position: relative;
    padding-top: 20px;
}

.rb-testimonial-grid-card__quote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--rb-teal);
    position: absolute;
    top: -8px;
    left: 0;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.rb-testimonial-grid-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-testimonial-grid-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.rb-testimonial-grid-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-testimonial-grid-card__avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--rb-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rb-white);
    font-family: var(--rb-font-heading);
    font-weight: 800;
    font-size: 1rem;
}

.rb-testimonial-grid-card__name {
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
}

.rb-testimonial-grid-card__role {
    font-size: 0.8125rem;
    color: var(--rb-gray);
}

/* Newsletter Page */
.rb-newsletter-page {
    padding: 80px 0;
}

.rb-newsletter-page__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.rb-newsletter-page__video {
    aspect-ratio: 16 / 9;
    border-radius: var(--rb-radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--rb-shadow);
    background: var(--rb-dark);
}

.rb-newsletter-page__video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.rb-newsletter-page__form {
    background: var(--rb-light);
    border-radius: var(--rb-radius-lg);
    padding: 48px;
    margin-bottom: 48px;
}

.rb-newsletter-page__form iframe {
    width: 100%;
    min-height: 300px;
    border: none;
}

.rb-newsletter-page__issues h3 {
    margin-bottom: 24px;
}

.rb-newsletter-page__issue {
    background: var(--rb-white);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: all var(--rb-transition);
}

.rb-newsletter-page__issue:hover {
    border-color: var(--rb-blue);
    box-shadow: var(--rb-shadow-sm);
}

.rb-newsletter-page__issue h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.rb-newsletter-page__issue p {
    font-size: 0.8125rem;
    color: var(--rb-gray);
    margin-bottom: 0;
}

.rb-newsletter-page__issue span {
    font-size: 0.8125rem;
    color: var(--rb-gray);
    white-space: nowrap;
}

/* Contact Page */
.rb-contact {
    padding: 80px 0;
}

.rb-contact__inner {
    max-width: var(--rb-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.rb-contact__form-wrap {
    background: var(--rb-light);
    border-radius: var(--rb-radius-lg);
    padding: 40px;
}

.rb-contact__form-wrap h3 {
    margin-bottom: 16px;
}

.rb-contact__form-wrap iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    border-radius: var(--rb-radius-sm);
}

.rb-contact__calendar-wrap {
    background: var(--rb-light);
    border-radius: var(--rb-radius-lg);
    padding: 40px;
}

.rb-contact__calendar-wrap h3 {
    margin-bottom: 16px;
}

.rb-contact__calendar-wrap iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--rb-radius-sm);
}

/* --- Video Lightbox --- */
.rb-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.rb-lightbox.active {
    display: flex;
}

.rb-lightbox__inner {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    position: relative;
}

.rb-lightbox__inner iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--rb-radius-sm);
}

.rb-lightbox__close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: var(--rb-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Scroll Reveal --- */
.rb-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive: Tablet (768px) --- */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .rb-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rb-hero__subtitle {
        margin: 0 auto 32px;
    }

    .rb-hero__buttons {
        justify-content: center;
    }

    .rb-hero__title {
        font-size: 2.75rem;
    }

    .rb-problem__inner {
        grid-template-columns: 1fr;
    }

    .rb-about__top {
        grid-template-columns: 1fr;
    }

    .rb-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-keynotes__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-book__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rb-newsletter__inner {
        grid-template-columns: 1fr;
    }

    .rb-testimonial-card__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .rb-testimonial-card__photo {
        margin: 0 auto;
    }

    .rb-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-about-full__grid {
        grid-template-columns: 1fr;
    }

    .rb-about-full__photo {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }

    .rb-videos__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-contact__inner {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive: Mobile (768px) --- */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }

    .rb-section {
        padding: 60px 0;
    }

    .rb-nav__links {
        display: none;
    }

    .rb-hamburger {
        display: flex;
    }

    .rb-hero {
        min-height: auto;
        padding-top: calc(var(--rb-nav-height) + 20px);
        padding-bottom: 60px;
    }

    .rb-hero__inner {
        padding: 40px 24px;
    }

    .rb-hero__title {
        font-size: 2.25rem;
    }

    .rb-hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .rb-pricing-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .rb-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rb-keynotes__grid {
        grid-template-columns: 1fr;
    }

    .rb-footer__grid {
        grid-template-columns: 1fr;
    }

    .rb-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .rb-page-header {
        padding: 120px 0 60px;
    }

    .rb-pricing__estimator {
        padding: 32px 20px;
    }

    .rb-pricing__result-range {
        font-size: 1.75rem;
    }

    .rb-videos__grid {
        grid-template-columns: 1fr;
    }

    .rb-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rb-newsletter-page__issue {
        flex-direction: column;
        gap: 8px;
    }

    .rb-testimonial-card__inner {
        padding: 32px 24px;
    }

    .rb-book__cover-placeholder {
        width: 240px;
        height: 320px;
    }
}

/* --- Contact Form --- */
.rb-form__group {
    margin-bottom: 20px;
}

.rb-form__group label {
    display: block;
    font-family: var(--rb-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 8px;
    color: var(--rb-dark);
}

.rb-form__group input,
.rb-form__group select,
.rb-form__group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--rb-font-body);
    font-size: 1rem;
    border: 2px solid var(--rb-border);
    border-radius: var(--rb-radius-sm);
    background: var(--rb-white);
    color: var(--rb-dark);
    transition: border-color var(--rb-transition);
    -webkit-appearance: none;
}

.rb-form__group input:focus,
.rb-form__group select:focus,
.rb-form__group textarea:focus {
    outline: none;
    border-color: var(--rb-blue);
}

.rb-form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.rb-form__group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.rb-form__success {
    text-align: center;
    padding: 48px 24px;
}

.rb-form__success h3 {
    color: var(--rb-blue);
    margin-bottom: 12px;
}

.rb-form__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--rb-radius-sm);
    padding: 16px;
    margin-top: 16px;
    text-align: center;
}

.rb-form__error p {
    color: #991b1b;
    margin: 0;
    font-size: 0.9375rem;
}

/* --- Responsive: Small Mobile (375px) --- */
@media (max-width: 480px) {
    h1 { font-size: 1.875rem; }
    h2 { font-size: 1.5rem; }

    .rb-container {
        padding: 0 16px;
    }

    .rb-hero__inner {
        padding: 32px 16px;
    }

    .rb-btn--lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .rb-stats {
        grid-template-columns: 1fr;
    }

    .rb-stat-card__number {
        font-size: 2rem;
    }

    .rb-pricing__options {
        grid-template-columns: 1fr;
    }
}
