/* Tablet and smaller: use hero image as section background */
@media (max-width: 1024px) {
    .hero-figure { display: none; }
    .hero {
        background: 
          linear-gradient(180deg, rgba(17,24,39,0.55), rgba(17,24,39,0.45)),
          linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%),
          url('https://cdn.prod.website-files.com/634681057b887c6f4830fae2/67dd4edf967ba7ce775bc488_8%20Effective%20Ways%20to%20Run%20a%20Successful%20Business%20Meeting.png') center/cover no-repeat;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}
/* Brand palette helpers */
:root {
    --brand-primary: #7C3AED;
    --brand-secondary: #3B82F6;
    --brand-bg: #f8fafc;
    --ink: #1a1a1a;
    --muted: #6b7280;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6b7280;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
    margin-top: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, #6120d2 0%, #3c80ee 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4), 0 0 0 3px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: #7C3AED;
    border: 2px solid white;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-white:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

.btn-outline {
    background: transparent;
    color: #7C3AED;
    border: 2px solid #7C3AED;
}

.btn-outline:hover {
    background: #7C3AED;
    color: white;
    transform: translateY(-2px);
}

.btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

/* Loading States */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
:root {
    --navbar-height: 80px; /* default desktop navbar height (more breathing room for 70px logo) */
}
:root {
    --navbar-height: 72px; /* default desktop navbar height */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: var(--navbar-height);
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 6px 0; /* visual padding inside header */
}

.nav-container {
    width: 100%;
    margin: 0;
    padding: 0 12px; /* tighter side padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Ensure logo image fits comfortably in navbar height */
.logo img {
    max-height: calc(var(--navbar-height) - 12px);
    height: auto;
    width: auto;
}

/* Prevent content from being hidden under the fixed navbar */
body {
    padding-top: var(--navbar-height);
}

/* Ensure logo hugs left edge */
.nav-container .logo {
    margin-left: 0;
}

/* Push nav menu (hamburger) to extreme right */
.nav-menu {
    margin-left: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #7C3AED;
}

.logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2px;
    padding-bottom: 3px;
}

.nav-link {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #7C3AED;
}

.nav-link.login {
    color: #7C3AED;
}

/* Hamburger Menu */
.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-btn {
    background: linear-gradient(135deg, #6120d2 0%, #3c80ee 100%);
    border: none;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.hamburger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.hamburger-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    z-index: 1001;
    padding: 12px 0;
    margin-top: 4px;
}

.hamburger-menu .hamburger-dropdown {
    /* Hidden by default; shown when parent has .active (toggled by JS) */
    display: none;
}

/* Show dropdown when hamburger-menu has the active class (used for click toggling) */
.hamburger-menu.active .hamburger-dropdown {
    display: block;
}

.dropdown-section {
    padding: 0 8px;
}

.dropdown-section h5 {
    color: #7C3AED;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 8px 16px 8px 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 16px;
}

.hamburger-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #4b5563;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

.hamburger-dropdown a:hover {
    background: #f8fafc;
    color: #7C3AED;
}

.hamburger-dropdown a i {
    width: 18px;
    font-size: 16px;
    color: #7C3AED;
}

.hamburger-dropdown a span {
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    background: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Reduce extra whitespace at top now that navbar padding is accounted for */
    padding: 36px 0 32px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="600" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .navbar { background: #ffffff; }
}

/* Hero background video */
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-media .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35) contrast(1.05) saturate(1.1);
    transform: scale(1.02);
}

.hero-media .media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,24,39,0.55), rgba(17,24,39,0.45));
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: start;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-content {
    text-align: left;
    max-width: 550px;
    justify-self: end;
    margin-right: 3rem;
    margin-left: auto;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.8rem;
    line-height: 1.1;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0.25rem 0 1.25rem 0;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.95);
}

.hero-features i { color: #fbbf24; }

@media (min-width: 640px) {
    .hero-features { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Testimonial Card */
/* Testimonial layout refined */
.hero-figure {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.hero-figure picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-figure .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-figure .media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,24,39,0.25), rgba(17,24,39,0.25));
}

/* Hide old testimonial panel in hero */
.hero-testimonial { display: none; }
.hero-testimonial {
    display: flex;
    justify-content: flex-end; /* push card to right side */
    width: 100%;
    margin: 0;
    padding-right: 3rem; /* breathing room from edge */
    box-sizing: border-box;
}

 .testimonial-card {
    background: #ffffff;
    backdrop-filter: none;
    border-radius: 18px;
    padding: 2.25rem 2.75rem 2.25rem 2.5rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 720px;
    width: 100%;
    min-height: 220px;
    animation: none; /* remove floating */
    position: relative;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-bottom: 1.35rem;
}

.testimonial-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.testimonial-info h4 {
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #374151;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.55;
}

.testimonial-rating {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.testimonial-rating i {
    color: #fbbf24;
}

/* Top Blogger badge */
.revenue-split {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem 0.5rem 0.9rem;
    background: linear-gradient(90deg,#7C3AED 0%, #3B82F6 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25px;
    box-shadow: 0 3px 10px rgba(91,75,223,0.30),0 1px 2px rgba(0,0,0,0.15);
    pointer-events: none;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
}

.revenue-split i {
    font-size: 0.85rem;
    line-height: 1;
}

/* Removed shine & hover animation for static badge */

.revenue-split::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.35), rgba(255,255,255,0));
    pointer-events: none;
}

.revenue-split::after {
    content: '';
    position: absolute;
    top: 0; left: -40%; width: 40%; height: 100%;
    background: linear-gradient(100deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    animation: badge-shine 4s ease-in-out infinite;
}

@keyframes badge-shine {
  0% { left: -40%; }
  55% { left: 120%; }
  100% { left: 120%; }
}

/* Fine-tune hero grid so testimonial gets space */
.hero-container {
        grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 1200px) {
    .hero-testimonial { padding-right: 2rem; }
    .testimonial-card { max-width: 640px; }
}

@media (max-width: 1024px) {
    .hero-testimonial { justify-content: center; padding-right: 0; }
    .testimonial-card { max-width: 560px; }
}

@media (max-width: 640px) {
    .testimonial-card { padding: 1.75rem 1.5rem; border-radius:14px; }
    .testimonial-avatar { width:52px; height:52px; }
    .hero-container { 
        grid-template-columns: 1fr; 
        text-align: center;
        justify-items: center;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
}

/* Features Section */
.about {
    padding: 72px 0;
    background: #fff;
}

.eyebrow {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.about-copy h2 {
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.about-copy p {
    color: var(--muted);
}

.about-bullets {
    margin: 1rem 0 1.5rem 0;
    list-style: none;
}

.about-bullets li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0;
    color: var(--ink);
}

.about-bullets i { color: var(--brand-primary); }

.about-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.about-visual { display: flex; justify-content: center; }

.about-illustration {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(59,130,246,0.08));
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 20px;
}

.about-illustration .tile {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.about-illustration .tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust {
    padding: 56px 0 24px 0;
    background: var(--brand-bg);
}

.trust-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    color: var(--ink);
    margin-bottom: 20px;
}

.trust-bar .pill {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.logo-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo-badge {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 10px;
    color: #374151;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.roadmap {
    padding: 72px 0;
    background: #fff;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.roadmap-item {
    background: #fff;
    border: 1px solid rgba(124,58,237,0.12);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.roadmap-item .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.roadmap-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* Community Gallery */
.gallery {
    padding: 72px 0;
    background: var(--brand-bg);
}

/* Robust mobile hamburger overrides: restore fixed floating panel anchored to top-right
   to avoid overlap and ensure consistent behavior across deployments. */
@media (max-width: 1024px) {
    /* Mobile: show a compact small menu anchored to the button (no page shift).
       The hamburger container is fixed at top-right, and the dropdown is positioned
       absolutely under it. This keeps the navbar fixed and avoids large overlays. */
    .navbar { position: fixed !important; top: 0; left: 0; right: 0; z-index: 2000; }
    body { padding-top: var(--navbar-height, 72px) !important; }

    /* Anchor the hamburger menu container to the viewport corner so dropdown coordinates
       are calculated relative to it and do not affect page flow. */
    .hamburger-menu {
        position: fixed !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 2200 !important;
    }

    .hamburger-btn {
        position: relative !important;
        padding: 10px 14px !important;
    }

    /* Small compact dropdown appearing directly below the icon. */
    .hamburger-dropdown {
        position: absolute !important; /* positioned relative to .hamburger-menu */
        top: calc(100% + 8px) !important;
        right: 0 !important;
        display: none !important;
        width: auto !important;
        min-width: 170px !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 20px rgba(2,6,23,0.08) !important;
        padding: 10px 12px !important;
        z-index: 2199 !important;
    }

    .hamburger-menu.active .hamburger-dropdown { display: block !important; }
    .hamburger-dropdown a { font-size: 0.98rem !important; padding: 8px 8px !important; display:flex; align-items:center; gap:10px; }
    .hamburger-dropdown a i { width: 22px !important; font-size: 16px !important; }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.gallery-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 10px 12px;
    font-size: 0.95rem;
    color: #374151;
}
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Marketplace Section */
.marketplace {
    padding: 80px 0;
    background: white;
}

.marketplace-header {
    text-align: center;
    margin-bottom: 4rem;
}

.marketplace-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.marketplace-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch; /* ensure all cards in a row are equal height */
}

.creator-card {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;              /* make card a vertical flex container */
    flex-direction: column;
}

.creator-card:hover {
    border-color: #7C3AED;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.creator-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
}

.creator-details h4 {
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.creator-details p {
    color: #6b7280;
    font-size: 0.9rem;
}

.creator-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f3f4f6;
    color: #6b7280;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-footer {
    display: grid;                          /* grid ensures two columns: text + button */
    grid-template-columns: 1fr auto;        /* budget takes remaining space, button keeps natural width */
    align-items: center;
    column-gap: 0.75rem;
    margin-top: auto;                       /* push footer to the bottom so buttons align across cards */
    width: 100%;
}

.budget {
    color: #7C3AED;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap !important; /* keep budget on one line */
    overflow: hidden;               /* prevent wrapping when text is long */
    text-overflow: ellipsis;        /* gracefully truncate long labels (e.g., Revenue Share) */
    min-width: 0;                   /* allow shrinking for ellipsis */
}

/* Ensure the Connect button doesn't shrink or wrap to next line */
.card-footer .btn {
    flex: 0 0 auto;
    white-space: nowrap !important;  /* keep label on one line */
    justify-self: end;              /* place at far right of grid */
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #3B82F6 0%, #7C3AED 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="800" r="200" fill="url(%23b)"/><circle cx="900" cy="200" r="150" fill="url(%23b)"/></svg>');
    opacity: 0.3;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.stats-header h2 {
    color: white;
    margin-bottom: 1rem;
}

.stats-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid-wrapper {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Default: single column for mobile */
.stats-grid {
    grid-template-columns: 1fr;
}

/* Tablet and up: 2 columns */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop and up: 3 columns */
@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid-bottom {
        margin-bottom: 0;
    }
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
        font-size: 2.8rem; /* reduced from 4rem for better hierarchy */
        color: white;
        margin-bottom: 1rem;
        font-weight: 800;
        line-height: 1.15;
}
@media (max-width: 1024px) {
    .stat-item h3 { font-size: 2.4rem; }
}
@media (max-width: 768px) {
    .stat-item h3 { font-size: 2.1rem; }
}
@media (max-width: 480px) {
    .stat-item h3 { font-size: 1.85rem; }
}
/* Refined stat titles using new class for precise control without affecting other h3s */
.stat-title {
    font-size: 2.6rem; /* slightly smaller than original 4rem, a touch larger than prior 2.8rem */
    font-weight: 800;
    margin-bottom: 0.85rem;
    line-height: 1.1;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg,#ffffff 0%,#f0f4ff 40%,#ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffffff; /* fallback color */
}
@media (max-width: 1024px){ .stat-title { font-size: 2.3rem; } }
@media (max-width: 768px){ .stat-title { font-size: 2rem; } }
@media (max-width: 480px){ .stat-title { font-size: 1.75rem; } }

.stat-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.4;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: #1f2937;
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.premium-features {
    background: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
}

.premium-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.premium-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.premium-features h3 {
    color: white;
    margin-bottom: 1rem;
}

.premium-features p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: #7C3AED;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links-vertical a:hover,
.social-links-vertical a:hover {
    color: #7C3AED !important;
    transition: color 0.3s ease;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #7C3AED;
    transform: translateY(-2px);
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #7C3AED;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.magic-patterns {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7C3AED;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { order: -1; margin-bottom: 1rem; }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 20px;
        justify-items: center;
        max-width: 1200px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 600px;
        justify-self: center;
        margin-right: 0;
        margin-left: 0;
    }
    
    .hero-testimonial {
        justify-content: center;
        justify-self: center;
        margin-left: 0;
        width: auto;
    }
    
    .testimonial-card {
        max-width: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 68px; /* slightly smaller navbar on mobile */
    }

    /* On small screens, reduce the logo size so it sits well in the navbar */
    .logo img {
        width: 56px !important;
        height: 56px !important;
    }
    .nav-menu {
        gap: 1rem;
        align-items: center;
    }
    
    .nav-menu .nav-link {
        display: none;
    }
    
    /* Mobile navigation adjustments */
    .hamburger-btn {
        padding: 8px 12px;
        font-size: 16px;
        border-radius: 10px;
        box-shadow: 0 6px 18px rgba(124,58,237,0.12);
    }
    
    .hamburger-dropdown {
        min-width: 200px;
    }
    
    .hero {
        min-height: 50vh;
        padding: 32px 0 24px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        gap: 2rem;
        position: relative;
        z-index: 2; /* above mobile background image */
    }
    
    .hero-content {
        text-align: center;
        justify-self: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    /* Use the hero image as a full background instead of in-flow figure */
    .hero-figure { display: none; }
    .hero {
        background: 
          linear-gradient(180deg, rgba(17,24,39,0.55), rgba(17,24,39,0.45)),
          linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%),
          url('https://cdn.prod.website-files.com/634681057b887c6f4830fae2/67dd4edf967ba7ce775bc488_8%20Effective%20Ways%20to%20Run%20a%20Successful%20Business%20Meeting.png') center/cover no-repeat;
    }
    /* Improve text legibility on image background */
    .hero-content h1,
    .hero-content .hero-subtitle,
    .hero-features li { text-shadow: 0 3px 12px rgba(0,0,0,0.55); }
    
    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-content {
        text-shadow: 0 2px 8px rgba(0,0,0,0.35);
        padding: 40px 20px;
    }
    
    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .roadmap-grid { grid-template-columns: 1fr; }
    
    .marketplace-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        padding: 60px 20px;
        justify-items: center;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }
    
    .btn {
        padding: 12px 20px;
        min-height: 44px;
    }
    .gallery-grid { grid-template-columns: 1fr; }
    
    /* Extra small mobile navigation */
    .hamburger-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .hamburger-dropdown {
        min-width: 180px;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .feature-card,
    .creator-card {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .feature-card.animate,
    .creator-card.animate {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Pages (Privacy Policy, Terms of Service) */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 80px 20px;
    line-height: 1.7;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content h1 {
    color: #1a1a1a;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
}

.content h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #7C3AED 0%, #3B82F6 100%);
    border-radius: 2px;
}

/* Header info styling */
.content > p:nth-of-type(1),
.content > p:nth-of-type(2) {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.8rem;
    text-align: center;
    background: #f8fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.content > p:nth-of-type(2) {
    margin-bottom: 3rem;
}

.content h2 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content section {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.content p {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: #4b5563;
}

.content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.content a {
    color: #7C3AED;
    text-decoration: none;
    font-weight: 500;
}

.content a:hover {
    color: #3B82F6;
    text-decoration: underline;
}

/* Matching Section (market-matching) - localized design enhancements */
.market-matching {
    position: relative;
    padding: 90px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 28%, #eef3ff 60%, #f8f9ff 100%);
    overflow: hidden;
}
.market-matching::before, .market-matching::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at center, rgba(124,58,237,0.18), rgba(124,58,237,0) 70%);
    top: -160px;
    left: -160px;
    pointer-events: none;
    filter: blur(4px);
}
.market-matching::after {
    top: auto;
    bottom: -180px;
    left: auto;
    right: -160px;
    background: radial-gradient(circle at center, rgba(59,130,246,0.18), rgba(59,130,246,0) 70%);
}

.market-matching .marketplace-header {
    max-width: 840px;
    margin: 0 auto 3.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}
.matching-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#7C3AED,#3B82F6);
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 10px 30px -8px rgba(91,75,223,0.35), 0 4px 14px -4px rgba(0,0,0,0.12);
    margin-bottom: 24px;
    position: relative;
}
.matching-logo-wrap::after {
    content:'';
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(140deg,rgba(255,255,255,0.3),rgba(255,255,255,0) 55%);
    mix-blend-mode:overlay;
    pointer-events:none;
}
.matching-logo { width: 180px; height:auto; display:block; }
.matching-title {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(90deg,#1e1e24 0%, #3f3f4d 50%, #1e1e24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}
.matching-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0 auto 1.75rem;
    max-width: 720px;
}
.matching-subtitle strong { color:#7C3AED; font-weight:600; }
.matching-cta { box-shadow: 0 6px 18px rgba(124,58,237,0.32); }
.matching-cta:hover { box-shadow: 0 10px 32px rgba(124,58,237,0.42); }

.matching-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.matching-card {
    background: #ffffff;
    border: 1px solid rgba(124,58,237,0.14);
    border-radius: 20px;
    padding: 1.5rem 1.4rem 1.65rem;
    box-shadow: 0 10px 28px -8px rgba(17,24,39,0.15), 0 4px 12px -4px rgba(17,24,39,0.18);
    position: relative;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.18,.8,.28,.95), box-shadow .45s ease, border-color .4s ease;
    isolation: isolate; /* so child pseudo elements layer correctly */
}
.matching-card::before {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(140deg,rgba(124,58,237,0.06),rgba(59,130,246,0.06));
    opacity:0;
    transition:opacity .45s ease;
    z-index:0;
}
.matching-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(124,58,237,0.35);
    box-shadow: 0 18px 40px -10px rgba(91,75,223,0.35), 0 8px 20px -6px rgba(0,0,0,0.2);
}
.matching-card:hover::before { opacity:1; }
.matching-icon {
    width:54px;
    height:54px;
    border-radius:16px;
    background: linear-gradient(135deg,#7C3AED,#3B82F6);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:1.3rem;
    margin-bottom: 0.9rem;
    position: relative;
    box-shadow:0 6px 18px rgba(91,75,223,0.35);
}
.matching-card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; color:#1f2937; font-weight:600; }
.matching-card p { font-size:0.95rem; line-height:1.5; color:#4b5563; }

@media (max-width: 640px) {
    .matching-title { font-size: 2.1rem; }
    .matching-subtitle { font-size: 1.05rem; }
    .matching-logo { width: 150px; }
}

@media (prefers-reduced-motion: no-preference) {
    .matching-card { will-change: transform; }
}
