/* ============================================
   SAPHY CREATIVE — Brand Design System v2
   Colors: Deep Navy #0D0D3D | Core Purple #7B2FBE
   Font: Poppins
   ============================================ */

:root {
    /* ── Brand Primary ── */
    --violet:        #7B2FBE;   /* Core Purple */
    --violet-light:  #9333EA;   /* Electric Purple */
    --violet-dark:   #6B21A8;   /* Darker Purple */
    --indigo:        #1E1B4B;   /* Ink Navy */
    --navy:          #0D0D3D;   /* Deep Navy */
    --navy-mid:      #1A1A55;   /* Mid Navy */

    /* ── Backgrounds ── */
    --bg:            #ffffff;
    --bg-subtle:     #F5F0FF;   /* Ghost White */
    --bg-muted:      #EDE5FF;   /* Soft Lavender tint */
    --dark-bg:       #0D0D3D;   /* Deep Navy */
    --dark-surface:  #12123A;   /* Deep Navy surface */
    --dark-card:     #1A1A4E;   /* Navy card */
    --dark-elevated: #201F5A;   /* Elevated navy */

    /* ── Text ── */
    --text:          #0D0D3D;   /* Deep Navy */
    --text-muted:    #4B4B7A;   /* Muted navy */
    --text-subtle:   #7B7BA8;   /* Subtle navy-tinted */
    --text-white:    #ffffff;

    /* ── Borders ── */
    --border:        #E9D5FF;   /* Lavender */
    --border-mid:    #DDD6FE;   /* Soft Lavender */
    --border-dark:   rgba(255,255,255,0.08);

    /* ── Gradients ── */
    --gradient-primary:  linear-gradient(135deg, #1E1B4B 0%, #7B2FBE 100%);
    --gradient-glow:     linear-gradient(135deg, #7B2FBE 0%, #9333EA 100%);
    --gradient-dark:     linear-gradient(135deg, #0D0D3D 0%, #1A1A4E 100%);
    --gradient-mesh:     radial-gradient(at 0% 0%, rgba(123,47,190,0.18) 0px, transparent 50%),
                         radial-gradient(at 100% 0%, rgba(147,51,234,0.12) 0px, transparent 50%),
                         radial-gradient(at 50% 100%, rgba(30,27,75,0.15) 0px, transparent 50%);

    /* ── Legacy aliases — keeps existing sections working ── */
    --primary:           #E9D5FF;   /* Lavender */
    --primary-light:     #F5F0FF;   /* Ghost White */
    --primary-dark:      #DDD6FE;   /* Soft Lavender */
    --secondary:         var(--violet);
    --secondary-light:   var(--violet-light);
    --secondary-dark:    var(--violet-dark);
    --accent:            #0D0D3D;
    --accent-light:      #1E1B4B;
    --text-dark:         var(--text);

    /* ── Shadows ── */
    --shadow-sm:  0 1px 3px rgba(13,13,61,0.06), 0 1px 2px rgba(13,13,61,0.04);
    --shadow-md:  0 4px 12px rgba(13,13,61,0.08), 0 2px 4px rgba(13,13,61,0.04);
    --shadow-lg:  0 12px 32px rgba(13,13,61,0.1), 0 4px 8px rgba(13,13,61,0.04);
    --shadow-xl:  0 24px 48px rgba(123,47,190,0.18), 0 8px 16px rgba(13,13,61,0.06);
    --glow-violet: 0 0 40px rgba(123,47,190,0.35);
    --glow-cyan:   0 0 40px rgba(147,51,234,0.25);

    /* ── Radii ── */
    --radius-xs:   4px;
    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --radius-full: 9999px;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-muted); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet-dark); }

/* ============ PAGE LOADER ============ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}
.page-loader.fade-out { opacity: 0; pointer-events: none; }
.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(123,47,190,0.2);
    border-top-color: var(--violet);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0D0D3D;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123,47,190,0.3);
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
    background: #0D0D3D;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.nav-brand img { height: 36px; }
.nav-brand span {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--navy);
    /* child spans override individual word color */
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: #ffffff;
    background: rgba(123,47,190,0.25);
}
.nav-cta {
    background: var(--violet) !important;
    color: white !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    transition: background 0.2s, transform 0.2s !important;
    letter-spacing: -0.01em;
}
.nav-cta:hover {
    background: var(--violet-light) !important;
    color: white !important;
    transform: translateY(-1px) !important;
}
.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    padding: 7px 10px;
    transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(123,47,190,0.25); }
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0D0D3D;
    z-index: 999;
    padding: 1.5rem;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid rgba(123,47,190,0.3);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s;
}
.mobile-nav a:hover { color: #ffffff; }
.mobile-nav .nav-cta-mobile {
    display: block;
    margin-top: 1.5rem;
    background: var(--violet);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}
.mobile-nav .nav-cta-mobile:hover { background: var(--violet-light); color: white; }

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

/* sticky-cta removed */

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--text);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-size: 0.92rem;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background: var(--violet);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123,47,190,0.35);
}
.btn-primary.btn-violet {
    background: var(--gradient-primary);
}
.btn-primary.btn-violet:hover {
    box-shadow: 0 8px 24px rgba(123,47,190,0.4);
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.btn-primary:hover::before { transform: translateX(100%); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.92rem;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
    border-color: var(--violet);
    color: var(--violet);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: white;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    font-size: 0.92rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-muted); }

/* ============ LAYOUT ============ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.container {
    width: 100%;
    min-width: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============ SECTION HEADERS ============ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--violet);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-dark);
}
.section-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    line-height: 1.15;
}
.section-title-white { color: white; }
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-glow {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ CARDS ============ */
.card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
    border-color: rgba(123,47,190,0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.card-dark {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    color: white;
}
.card-glass {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
}

/* ============ BADGE ============ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-violet { background: rgba(123,47,190,0.12); color: var(--violet); border: 1px solid rgba(123,47,190,0.2); }
.badge-cyan   { background: rgba(147,51,234,0.1);   color: var(--cyan);   border: 1px solid rgba(147,51,234,0.2); }
.badge-green  { background: rgba(16,185,129,0.1);  color: #10b981;       border: 1px solid rgba(16,185,129,0.2); }

/* ============ FEATURE GRID ============ */
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary);
    border: 1px solid var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--violet);
    margin-bottom: 1.25rem;
    transition: background 0.2s, color 0.2s;
}
.card:hover .feature-icon {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* ============ BACKGROUND VARIANTS ============ */
.bg-white     { background: var(--bg); }
.bg-subtle    { background: var(--bg-subtle); }
.bg-muted     { background: var(--bg-muted); }
.bg-dark      { background: var(--dark-bg); }
.bg-dark-surface { background: var(--dark-surface); }
.bg-gradient  { background: var(--gradient-primary); color: white; }
.bg-mesh      { background: var(--gradient-mesh); }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 0 0;
    border-top: 1px solid var(--border-dark);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { color: var(--text-subtle); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer h4 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-newsletter input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid var(--border-dark);
    background: var(--dark-card);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    margin-bottom: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.3); }
.footer-newsletter input:focus { border-color: var(--violet); }
.footer-newsletter button {
    width: 100%;
    padding: 10px;
    background: var(--violet);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--violet-light); }

.footer-social { display: flex; gap: 8px; margin-top: 1.25rem; }
.footer-social a {
    width: 36px; height: 36px;
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subtle);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover { background: var(--violet); color: white; border-color: var(--violet); }

.footer-bottom {
    margin-top: 3rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

.footer-badges { display: flex; gap: 10px; align-items: center; margin-top: 1rem; }
.footer-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-subtle);
}

.footer h4::after { display: none; }

@media (max-width: 968px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 997;
    font-size: 0.9rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-3px); }

/* ============ ANIMATIONS ============ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(123,47,190,0.4); }
    50%       { box-shadow: 0 0 20px 6px rgba(123,47,190,0.15); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.floating    { animation: float 6s ease-in-out infinite; }
.pulse-glow  { animation: pulse-glow 2.5s ease-in-out infinite; }

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Delay helpers */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }

/* ============ MARQUEE ============ */
.marquee-wrapper { overflow: hidden; white-space: nowrap; }
.marquee-track {
    display: inline-flex;
    animation: marquee 28s linear infinite;
    gap: 3.5rem;
    align-items: center;
}
.marquee-track img { height: 30px; opacity: 0.35; filter: grayscale(1); transition: opacity 0.3s; }
.marquee-track img:hover { opacity: 0.7; filter: none; }

/* ============ GRID HELPERS ============ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 968px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============ BREADCRUMB / PAGE HEADER ============ */
.breadcrumb {
    padding: 120px 0 56px;
    background: #0D0D3D;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}
.breadcrumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(123,47,190,0.18) 0px, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(147,51,234,0.10) 0px, transparent 50%);
    pointer-events: none;
}
.breadcrumb-links {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
    position: relative;
}
.breadcrumb-links a { color: #9333EA; text-decoration: none; font-weight: 500; }
.breadcrumb-links a:hover { color: #A855F7; text-decoration: none; }
.breadcrumb-links span:last-child { color: rgba(255,255,255,0.6); }
.breadcrumb h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    position: relative;
}
.breadcrumb p { color: rgba(255,255,255,0.55); font-size: 1.05rem; position: relative; }

/* ============ DIVIDER ============ */
.divider {
    height: 1px;
    background: var(--border);
    margin: 0;
}

/* ============ UTILITIES ============ */
.text-center   { text-align: center; }
.text-muted    { color: var(--text-muted); }
.mx-auto       { margin-left: auto; margin-right: auto; }
.mb-0          { margin-bottom: 0; }
.mt-2          { margin-top: 2rem; }
.gap-1         { gap: 1rem; }
.flex          { display: flex; }
.flex-wrap     { flex-wrap: wrap; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full        { width: 100%; }
[data-hidden="true"] { display: none !important; }

/* ============ NOISE TEXTURE OVERLAY ============ */
.noise-overlay {
    position: relative;
}
.noise-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

/* ============ GRID PATTERN ============ */
.grid-pattern {
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
}
.grid-pattern-dark {
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
