:root {
    --sd-primary: #4f46e5;
    --sd-primary-dark: #4338ca;
    --sd-dark: #1e1b3a;
}

html, body {
    overflow-x: hidden;
  }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, var(--sd-dark) 0%, #312e81 50%, var(--sd-primary) 100%);
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

.hero-section .hero-content {
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}

.min-vh-75 { min-height: 70vh; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--sd-primary) 0%, var(--sd-primary-dark) 100%);
}

.cta-section-new {
    background: linear-gradient(135deg, #1e1b3a 0%, #312e81 50%, #1e1b3a 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section-new::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 700px; height: 300px;
    background: radial-gradient(ellipse, rgba(99,102,241,0.35) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-sub {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--sd-primary) !important;
    border: 2px solid #fff;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.btn-cta-primary:hover {
    background: transparent;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.45);
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-cta-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Cards */
.service-card,
.project-card,
.creator-card,
.team-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.project-card:hover,
.creator-card:hover,
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
}

.service-icon {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.1);
}

/* Navbar logo image */
.navbar-logo-img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

/* Navbar */
.navbar-brand { font-size: 1.4rem; }
/* ─── Navbar scroll hide (fixed, slide up/down) ─────────────────────────── */
body.has-site-nav { padding-top: 56px; }
.navbar.navbar--scroll-hide {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transform: translateY(0);
    transition: transform 0.3s ease;
}
.navbar.navbar--scroll-hide.navbar--hidden { transform: translateY(-100%); }
/* ─── Navbar (glass) ─────────────────────────── */
.navbar { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.navbar.bg-dark {
    background: rgba(15,14,26,.32) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.navbar-brand { font-size: 1.4rem; }
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,.82);
    transition: color .2s ease, opacity .2s ease;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #fff;
    opacity: 1;
}
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    font-weight: 700;
}

/* Message thread */
.message-thread {
    max-height: 500px;
    overflow-y: auto;
    padding: 1rem 0;
}

/* Admin stats */
.admin-stat-card { border-left: 4px solid var(--sd-primary); }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section { min-height: 60vh; }
    .hero-section h1 { font-size: 1.8rem; }
    .min-vh-75 { min-height: 50vh; }
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Badge adjustments */
.badge { font-weight: 500; }

/* Form focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--sd-primary);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
}

.btn-primary {
    background-color: var(--sd-primary);
    border-color: var(--sd-primary);
}

.btn-primary:hover {
    background-color: var(--sd-primary-dark);
    border-color: var(--sd-primary-dark);
}

.btn-outline-primary {
    color: var(--sd-primary);
    border-color: var(--sd-primary);
}

.btn-outline-primary:hover {
    background-color: var(--sd-primary);
    border-color: var(--sd-primary);
}

.text-primary { color: var(--sd-primary) !important; }
.bg-primary { background-color: var(--sd-primary) !important; }

/* Footer links */
footer a:hover { color: var(--sd-primary) !important; }

/* Print hidden */
@media print {
    .navbar, footer, .btn { display: none !important; }
}

/* ── Hero elements ─────────────────────────────────────────── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.hero-highlight {
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.8;
}

/* Hero CTA buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--sd-primary) !important;
    border: none;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.btn-hero-primary:hover {
    background: #f0f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    color: var(--sd-primary-dark) !important;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.7rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Hero divider wave */
.hero-divider {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    line-height: 0;
    pointer-events: none;
}
.hero-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero floating cards */
.hero-cards-float {
    position: relative;
    height: 400px;
    width: 340px;
}

.hero-float-card {
    position: absolute;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    padding: 1rem 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 230px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: cardFloat 3s ease-in-out infinite;
}

.hfc-services { top: 20px;  right: 0;   animation-delay: 0s;    }
.hfc-creators { top: 155px; right: 50px; animation-delay: 0.8s;  }
.hfc-brands   { top: 290px; right: 0;   animation-delay: 1.6s;  }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-8px);  }
}

.hfc-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}
.hfc-icon-purple { background: rgba(167,139,250,0.3); }
.hfc-icon-indigo  { background: rgba(99,102,241,0.3);  }

.hfc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}
.hfc-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin-top: 2px;
}

/* ── Section helpers ──────────────────────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sd-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1e1b3a;
    margin-bottom: 0.75rem;
}

.section-sub {
    color: #6b7280;
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
}

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ── Services section background ─────────────────────────── */
.section-services {
    background: linear-gradient(160deg, #f5f4ff 0%, #ffffff 50%, #f0f4ff 100%);
    position: relative;
}
.section-services::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, rgba(79,70,229,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.section-services .container { position: relative; z-index: 1; }

/* Section title dark override */
.section-services .section-title { color: #1e1b3a; }
.section-services .section-sub   { color: #6b7280; }

/* ── Service cards ────────────────────────────────────────── */
.service-card-new {
    background: #fff;
    border: 1px solid #e9e8f8;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: default;
    align-items: center;
    text-align: center;
}

/* Top gradient bar — slides in on hover */
.service-card-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sd-primary), #818cf8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 16px 16px 0 0;
}

.service-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(79,70,229,0.14);
    border-color: #c7c4f5;
}
.service-card-new:hover::before { transform: scaleX(1); }

/* Icon box */
.scn-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(129,140,248,0.08));
    border: 1px solid rgba(79,70,229,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--sd-primary);
    margin-bottom: 1.4rem;
    transition: background 0.3s, box-shadow 0.3s;
}
.scn-icon i {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card-new:hover .scn-icon {
    background: linear-gradient(135deg, rgba(79,70,229,0.22), rgba(129,140,248,0.16));
    box-shadow: 0 6px 20px rgba(79,70,229,0.2);
}
.service-card-new:hover .scn-icon i {
    transform: scale(1.25) rotate(-8deg);
}

@keyframes iconPop {
    0%   { transform: scale(1)    rotate(0deg);   }
    40%  { transform: scale(1.3)  rotate(-10deg); }
    70%  { transform: scale(0.95) rotate(4deg);   }
    100% { transform: scale(1)    rotate(0deg);   }
}

.scn-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e1b3a;
    margin-bottom: 0.6rem;
}
.scn-desc {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Learn more link */
.scn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sd-primary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: gap 0.2s, color 0.2s;
    margin-top: auto;
}
.scn-link i { transition: transform 0.2s; }
.service-card-new:hover .scn-link { gap: 10px; }
.service-card-new:hover .scn-link i { transform: translateX(3px); }

/* ── Creator section ──────────────────────────────────────── */
.creator-checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.creator-checklist li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.9rem; color: #4b5563;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.creator-checklist li:last-child { border-bottom: none; }
.creator-checklist li i { color: var(--sd-primary); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

.creator-count-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(79,70,229,0.08);
    border: 1px solid rgba(79,70,229,0.2);
    color: var(--sd-primary);
    font-size: 0.8rem; font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
}

/* Creator visual cards */
.creator-visual { position: relative; height: 360px; }
.cv-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-width: 210px;
    animation: cardFloat 4s ease-in-out infinite;
}
.cv-card-1 { top: 10px;  left: 0;   border-left: 3px solid var(--sd-primary); animation-delay: 0s;   }
.cv-card-2 { top: 140px; left: 50px; border-left: 3px solid #e879a0;          animation-delay: 1s;   }
.cv-card-3 { top: 270px; left: 10px; border-left: 3px solid #059669;          animation-delay: 2s;   }

.cv-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.cv-name  { font-size: 0.85rem; font-weight: 600; color: #111827; }
.cv-niche { font-size: 0.72rem; color: #9ca3af; }
.cv-badge {
    margin-left: auto;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 4px;
    background: rgba(79,70,229,0.1); color: var(--sd-primary);
}
.cv-badge-green  { background: rgba(5,150,105,0.1);  color: #059669; }
.cv-badge-purple { background: rgba(124,58,237,0.1); color: #7c3aed; }

.cv-center-circle {
    position: absolute; bottom: 20px; right: 10px;
    width: 60px; height: 60px; border-radius: 50%;
    background: linear-gradient(135deg, var(--sd-primary), var(--sd-primary-dark));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    color: #fff;
    box-shadow: 0 4px 16px rgba(79,70,229,0.4);
}
.cv-center-circle i { font-size: 1.1rem; margin-bottom: 2px; }
