/* =============================================================================
   MagulYaluwo — Custom Styles  (Complete Modern UI)
   Built on Bootstrap 5 + Playfair Display + Inter
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Design Tokens ───────────────────────────────────────────────────────────*/
:root {
    --primary:        #9B2335;
    --primary-dark:   #6b1525;
    --primary-light:  #c4455a;
    --gold:           #C9A84C;
    --gold-light:     #e8c876;
    --gold-dark:      #9a7a2c;
    --blush:          #fce8ec;
    --cream:          #fdf8f2;
    --dark:           #1a0810;
    --text-dark:      #2a1018;
    --text-body:      #4a3040;
    --text-muted:     #8a6070;
    --gradient-hero:  linear-gradient(135deg, #6b1525 0%, #9B2335 40%, #c4455a 70%, #b8862a 100%);
    --gradient-gold:  linear-gradient(135deg, #C9A84C, #e8c876, #C9A84C);
    --shadow-sm:      0 2px 12px rgba(155, 35, 53, 0.1);
    --shadow-md:      0 8px 30px rgba(155, 35, 53, 0.16);
    --shadow-lg:      0 20px 60px rgba(155, 35, 53, 0.22);
    --radius:         16px;
    --transition:     all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ────────────────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--cream);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-dark);
    line-height: 1.25;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--gold));
    border-radius: 10px;
}

/* ── Navbar ──────────────────────────────────────────────────────────────────*/
.navbar-main {
    background: transparent !important;
    padding: 1.25rem 0;
    transition: var(--transition);
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1000;
}

.navbar-main.scrolled {
    background: rgba(26, 8, 16, 0.96) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

/* Mobile menu open: always solid — .menu-open added by JS on show.bs.collapse */
.navbar-main.menu-open {
    background: rgba(26, 8, 16, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* CSS :has() fallback for browsers that support it */
.navbar-main:has(.navbar-collapse.show) {
    background: rgba(26, 8, 16, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ── Logo Images ─────────────────────────────────────────────────────────── */
.navbar-logo-icon {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(201, 168, 76, 0.55));
    transition: var(--transition);
    flex-shrink: 0;
}

.navbar-main.scrolled .navbar-logo-icon {
    height: 36px;
}

.navbar-logo-text {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 1px 6px rgba(201, 168, 76, 0.5));
    transition: var(--transition);
}

.navbar-main.scrolled .navbar-logo-text {
    height: 26px;
}

.footer-logo-text {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 1px 8px rgba(201, 168, 76, 0.5));
}

.hero-logo-wrap {
    text-align: center;
    margin-bottom: 1.5rem;
}

.hero-logo-img {
    height: 170px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(201, 168, 76, 0.65));
    transition: var(--transition);
}

.hero-logo-img:hover {
    filter: drop-shadow(0 12px 40px rgba(201, 168, 76, 0.85));
    transform: scale(1.03);
}

.footer-logo-icon {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 12px rgba(201, 168, 76, 0.45));
    flex-shrink: 0;
}

.navbar-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.navbar-main .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    letter-spacing: 0.01em;
}

.navbar-main .nav-link:hover {
    color: var(--gold-light) !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav-register {
    background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
    color: var(--dark) !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.4rem !important;
    border-radius: 50px !important;
    font-size: 0.875rem !important;
    transition: var(--transition) !important;
    letter-spacing: 0.01em;
}

.btn-nav-register:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.45) !important;
    color: var(--dark) !important;
}

/* ── Hero Section ────────────────────────────────────────────────────────────*/
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--cream), transparent);
    pointer-events: none;
}

/* Ambient orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    animation: floatOrb linear infinite;
    pointer-events: none;
}

.hero-orb-1 {
    width: 450px; height: 450px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -120px; right: -120px;
    animation-duration: 22s;
}

.hero-orb-2 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    bottom: 8%; left: -80px;
    animation-duration: 17s;
    animation-direction: reverse;
}

.hero-orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    top: 28%; left: 28%;
    animation-duration: 28s;
}

@keyframes floatOrb {
    0%,  100% { transform: translate(0, 0)      scale(1);    }
    25%        { transform: translate(30px,-20px) scale(1.05); }
    50%        { transform: translate(-20px,30px) scale(0.95); }
    75%        { transform: translate(-30px,-10px) scale(1.02); }
}

/* Falling petals */
.petal {
    position: absolute;
    border-radius: 50% 0 50% 0;
    opacity: 0;
    animation: petalFall linear infinite;
    pointer-events: none;
}

@keyframes petalFall {
    0%   { transform: translateY(-80px) rotate(0deg);   opacity: 0; }
    8%   { opacity: 0.18; }
    92%  { opacity: 0.12; }
    100% { transform: translateY(105vh) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    padding: 0.4rem 1.25rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.75rem;
    animation: fadeDown 0.8s ease both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    margin-bottom: 1.25rem;
    animation: fadeUp 0.9s ease 0.1s both;
}

.hero-title .golden-word {
    background: linear-gradient(135deg, var(--gold-light), #fff8e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.78);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.85;
    animation: fadeUp 0.9s ease 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.3s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(201, 168, 76, 0.55);
    color: var(--dark);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.65);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    animation: scrollBounce 2.2s ease infinite;
    cursor: pointer;
}

.scroll-line {
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.65));
}

.scroll-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Stats Bar ───────────────────────────────────────────────────────────────*/
.stats-bar {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stat-item { text-align: center; padding: 1rem; }

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(155, 35, 53, 0.18), transparent);
    align-self: stretch;
    margin: 1rem 0;
}

/* ── Sections ────────────────────────────────────────────────────────────────*/
.section-padding { padding: 6rem 0; }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.06));
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    margin-bottom: 1rem;
}

.section-title-lg {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.85;
    font-weight: 300;
}

/* ── Category Cards ──────────────────────────────────────────────────────────*/
.categories-section { background: var(--cream); }

.category-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 1.75rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(155, 35, 53, 0.07);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), #b8502c, var(--gold));
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.category-card:hover::before { opacity: 1; }

.category-card:hover .cat-icon,
.category-card:hover .cat-title,
.category-card:hover .cat-desc,
.category-card:hover .cat-count  { position: relative; z-index: 1; color: #fff; }

.cat-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--blush), rgba(201, 168, 76, 0.12));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
    color: var(--primary);
}

.category-card:hover .cat-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.cat-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.cat-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.cat-count {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

/* ── How It Works ────────────────────────────────────────────────────────────*/
.how-section {
    background: linear-gradient(135deg, var(--dark), #3a0a20);
    position: relative;
    overflow: hidden;
}

.how-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.how-section .section-title-lg { color: #fff; }
.how-section .section-subtitle  { color: rgba(255, 255, 255, 0.55); }

.how-section .section-tag {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.2);
}

.step-card {
    position: relative;
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.step-number {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.step-connector {
    position: absolute;
    top: calc(2.5rem + 33px);
    right: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, rgba(201, 168, 76, 0.45), transparent);
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.75;
}

/* ── Profile Cards ───────────────────────────────────────────────────────────*/
.profile-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.profile-card .card-img-top {
    height: 240px;
    object-fit: cover;
    object-position: top;
}

/* ── Features Section ────────────────────────────────────────────────────────*/
.features-section { background: #fff; }

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--cream);
    border-color: rgba(155, 35, 53, 0.07);
    transform: translateX(5px);
}

.feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--blush), rgba(201, 168, 76, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ── CTA Section ─────────────────────────────────────────────────────────────*/
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), #c45065);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
}

/* ── Footer ──────────────────────────────────────────────────────────────────*/
.footer-main {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 5rem 0 2rem;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.5rem;
    line-height: 1.65;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.07);
    margin: 3rem 0 1.5rem;
}

.footer-bottom { font-size: 0.8rem; color: rgba(255, 255, 255, 0.3); }

.social-links { display: flex; gap: 0.75rem; margin-top: 1.5rem; }

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ── Badges ──────────────────────────────────────────────────────────────────*/
.badge-bridesmaid { background: linear-gradient(135deg, #F8D7DA, #f0b8bf); color: #8B1A4A; }
.badge-groomsman  { background: linear-gradient(135deg, #d0e8ff, #b8d5f0); color: #1a4a7a; }
.badge-driver     { background: linear-gradient(135deg, #d4f0d4, #b8e0b8); color: #1a5a1a; }

/* ── Scroll-reveal Animations ────────────────────────────────────────────────*/
@keyframes fadeUp   { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; }                              to { opacity: 1; } }

.reveal        { opacity: 0; transform: translateY(40px);  transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal-left   { opacity: 0; transform: translateX(-40px); transition: opacity 0.75s ease, transform 0.75s ease; }
.reveal-right  { opacity: 0; transform: translateX(40px);  transition: opacity 0.75s ease, transform 0.75s ease; }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: translate(0, 0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── Utilities ───────────────────────────────────────────────────────────────*/
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 1.25rem auto;
    max-width: 180px;
}

.gold-divider::before,
.gold-divider::after {
    content: '';
    flex: 1;
    height: 1px;
}

.gold-divider::before { background: linear-gradient(to right, transparent, var(--gold)); }
.gold-divider::after  { background: linear-gradient(to left,  transparent, var(--gold)); }

.gold-diamond { color: var(--gold); font-size: 0.6rem; }

/* ── Section title legacy alias ──────────────────────────────────────────────*/
.section-title {
    border-left: 4px solid var(--primary);
    padding-left: .75rem;
}

/* ── Featured Profile System ─────────────────────────────────────────────────*/

/* Gold shimmer animation for featured cards */
@keyframes featuredShimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

/* Featured card wrapper in directory grid */
.profile-card.featured-card {
    border: 2px solid rgba(201, 168, 76, 0.55) !important;
    box-shadow: 0 4px 28px rgba(201, 168, 76, 0.3) !important;
}

.profile-card.featured-card:hover {
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.45) !important;
}

/* The gold banner strip at the top of a featured card photo */
.featured-strip {
    background: linear-gradient(
        90deg,
        #9a7a2c 0%,
        #C9A84C 30%,
        #e8c876 50%,
        #C9A84C 70%,
        #9a7a2c 100%
    );
    background-size: 200% auto;
    animation: featuredShimmer 3.5s linear infinite;
    color: #3a2a00;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 0.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

/* Inline badge used in hero & elsewhere */
.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #C9A84C, #e8c876);
    color: #3a2a00;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    box-shadow: 0 3px 10px rgba(201, 168, 76, 0.35);
}

/* Plan card selection highlight */
.plan-card.selected,
.plan-card:focus-within {
    border-color: var(--gold) !important;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3) !important;
}


/* ── Responsive ──────────────────────────────────────────────────────────────*/
@media (max-width: 768px) {
    .stats-bar     { margin-top: 0; border-radius: 0; }
    .stat-divider  { display: none; }
    .step-connector { display: none; }
    .section-padding { padding: 4rem 0; }
    .hero-section::after { height: 60px; }
}
