/* ─── EA Business Network — Main Stylesheet ─────────────────────────────────── */

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    --navy:      #0d2240;
    --navy-mid:  #163356;
    --navy-light:#1e4578;
    --amber:     #f59e0b;
    --amber-dark:#d97706;
    --amber-pale:#fef3c7;
    --white:     #ffffff;
    --off-white: #f8fafc;
    --slate-50:  #f1f5f9;
    --slate-100: #e2e8f0;
    --slate-200: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-700: #334155;
    --slate-900: #0f172a;

    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  18px;
    --radius-xl:  28px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md:  0 4px 16px rgba(13,34,64,.10), 0 2px 6px rgba(13,34,64,.06);
    --shadow-lg:  0 12px 40px rgba(13,34,64,.14), 0 4px 12px rgba(13,34,64,.08);
    --shadow-amber: 0 4px 20px rgba(245,158,11,.30);

    --transition: 200ms cubic-bezier(.4,0,.2,1);
    --max-w:      1200px;
    --header-h:   68px;
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--slate-700);
    background: var(--off-white);
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ─── Topbar ──────────────────────────────────────────────────────────────── */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.70);
    font-size: 12.5px;
    font-family: var(--font-display);
    letter-spacing: .02em;
}
.topbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar a { color: var(--amber); }
.topbar-btn {
    background: var(--amber);
    color: var(--navy) !important;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: var(--transition);
}
.topbar-btn:hover { background: var(--amber-dark); transform: translateY(-1px); }

/* ─── Header ──────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    height: var(--header-h);
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-ea {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber);
}
.logo-biz {
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--slate-500);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: .01em;
}
.nav-link:hover { color: var(--navy); background: var(--slate-50); }
.nav-link.active {
    color: var(--navy);
    background: var(--amber-pale);
    position: relative;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
}
.nav-external { color: var(--amber-dark); font-size: 12.5px; }
.nav-external:hover { color: var(--amber); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── Mobile Nav ──────────────────────────────────────────────────────────── */
.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + 36px);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-md);
    z-index: 99;
    padding: 8px 0;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 300ms ease, opacity 300ms ease;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; }
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--slate-700);
    transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--navy);
    background: var(--amber-pale);
}
.mobile-nav-icon { font-size: 16px; width: 20px; text-align: center; }

/* ─── Layout Utilities ────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 96px 0; }

/* ─── Page Hero ───────────────────────────────────────────────────────────── */
.page-hero {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245,158,11,.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(30,69,120,.6) 0%, transparent 50%);
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    opacity: .5;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,.15);
    border: 1px solid rgba(245,158,11,.3);
    color: var(--amber);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,.75);
    max-width: 560px;
    line-height: 1.65;
}
.page-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-stat { }
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--amber);
    line-height: 1;
}
.hero-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
}

/* ─── Cards ───────────────────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ─── Section Headers ─────────────────────────────────────────────────────── */
.section-header { margin-bottom: 40px; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--amber-dark);
    margin-bottom: 10px;
}
.section-label::before {
    content: '';
    width: 16px;
    height: 2px;
    background: var(--amber);
    border-radius: 2px;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.section-header p {
    margin-top: 10px;
    color: var(--slate-500);
    max-width: 520px;
    font-size: 15px;
}
.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--amber);
    color: var(--navy);
    border-color: var(--amber);
}
.btn-primary:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    box-shadow: var(--shadow-amber);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--slate-200);
}
.btn-outline:hover { background: var(--slate-50); border-color: var(--slate-300); }
.btn-dark {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.btn-dark:hover { background: var(--navy-mid); }
.btn-sm { padding: 7px 16px; font-size: 12px; }

/* ─── Badges ──────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-display);
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.badge-amber  { background: var(--amber-pale); color: var(--amber-dark); }
.badge-navy   { background: rgba(13,34,64,.08); color: var(--navy); }
.badge-green  { background: #dcfce7; color: #15803d; }
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-blue   { background: #dbeafe; color: #1d4ed8; }
.badge-gray   { background: var(--slate-100); color: var(--slate-500); }

/* ─── Stars ───────────────────────────────────────────────────────────────── */
.stars { color: var(--amber); font-size: 13px; letter-spacing: 1px; }

/* ─── View All link ───────────────────────────────────────────────────────── */
.view-all {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--amber-dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    text-decoration: none;
}
.view-all:hover { color: var(--amber); gap: 8px; }
.view-all::after { content: '→'; }

/* ─── Homepage Hero ───────────────────────────────────────────────────────── */
.home-hero {
    background: var(--navy);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 70% at 100% 0%, rgba(245,158,11,.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 80% at 0% 100%, rgba(30,69,120,.5) 0%, transparent 60%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.home-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
}
.home-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.home-hero-text .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.25);
    color: var(--amber);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 24px;
    margin-bottom: 24px;
}
.home-hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.home-hero-text h1 span { color: var(--amber); }
.home-hero-text p {
    font-size: 16.5px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.home-hero-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hero-card-stack { display: flex; flex-direction: column; gap: 12px; }
.hero-mini-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: floatIn 600ms ease backwards;
}
.hero-mini-card:nth-child(2) { animation-delay: 100ms; }
.hero-mini-card:nth-child(3) { animation-delay: 200ms; }
@keyframes floatIn {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}
.hero-card-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.hero-card-info { flex: 1; min-width: 0; }
.hero-card-name { font-family: var(--font-display); font-weight: 700; color: white; font-size: 14px; }
.hero-card-sub { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 1px; }
.hero-card-badge { font-family: var(--font-display); font-size: 10.5px; font-weight: 700; color: var(--amber); background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); padding: 3px 10px; border-radius: 20px; white-space: nowrap; }

/* ─── News Cards ──────────────────────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.news-card { display: flex; flex-direction: column; }
.news-card-thumb {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.news-card-thumb .thumb-label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    z-index: 1;
}
.news-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.news-card-date { font-size: 12px; color: var(--slate-400); }
.news-card-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}
.news-card-excerpt { font-size: 13.5px; color: var(--slate-500); line-height: 1.65; flex: 1; }
.news-card-footer { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--slate-100); }
.news-card-link {
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--amber-dark);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.news-card-link:hover { color: var(--amber); gap: 8px; }
.news-card-link::after { content: '→'; }

/* ─── Directory ───────────────────────────────────────────────────────────── */
.directory-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
}
.filter-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-right: 4px;
}
.filter-chip {
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--slate-500);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.filter-chip:hover, .filter-chip.active {
    background: var(--amber-pale);
    color: var(--amber-dark);
    border-color: var(--amber);
}
.directory-search {
    margin-left: auto;
    position: relative;
}
.directory-search input {
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 8px 16px 8px 36px;
    font-size: 13.5px;
    color: var(--navy);
    width: 220px;
    outline: none;
    transition: var(--transition);
}
.directory-search input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.directory-search::before {
    content: '⌕';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
    font-size: 16px;
    pointer-events: none;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.biz-card { position: relative; }
.biz-card-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--amber);
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 1;
}
.biz-card-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.biz-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.biz-card-info { flex: 1; min-width: 0; }
.biz-card-name {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.01em;
    line-height: 1.2;
}
.biz-card-cat {
    font-size: 12.5px;
    color: var(--slate-400);
    margin-top: 2px;
}
.biz-card-body { padding: 16px 24px; }
.biz-card-bio {
    font-size: 13.5px;
    color: var(--slate-500);
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.biz-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--slate-500);
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    padding: 2px 10px;
    border-radius: 20px;
    font-family: var(--font-display);
}
.biz-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.biz-rating-num {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--navy);
}
.biz-review-count { color: var(--slate-400); font-size: 12px; }
.biz-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.biz-card-location {
    font-size: 12.5px;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 4px;
}
.biz-card-actions { display: flex; gap: 8px; }

/* ─── Network Members ─────────────────────────────────────────────────────── */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.member-card { text-align: center; }
.member-card-inner { padding: 28px 20px; }
.member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 0 auto 14px;
    position: relative;
}
.member-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(245,158,11,.4);
}
.member-name {
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}
.member-trade {
    font-size: 12.5px;
    color: var(--amber-dark);
    font-weight: 600;
    font-family: var(--font-display);
    margin-bottom: 4px;
}
.member-company { font-size: 12.5px; color: var(--slate-500); margin-bottom: 4px; }
.member-location { font-size: 12px; color: var(--slate-400); margin-bottom: 16px; }
.member-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 14px 0 0;
    border-top: 1px solid var(--slate-100);
}
.member-stat-num {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
}
.member-stat-label { font-size: 10.5px; color: var(--slate-400); text-transform: uppercase; letter-spacing: .06em; }

/* ─── Themes ──────────────────────────────────────────────────────────────── */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}
.theme-card { overflow: visible; position: relative; }
.theme-preview {
    height: 200px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.theme-preview-mockup {
    position: absolute;
    inset: 12px 12px 0;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    overflow: hidden;
}
.theme-preview-bar {
    height: 24px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 5px;
}
.preview-dot { width: 6px; height: 6px; border-radius: 50%; opacity: .6; }
.theme-preview-body { height: calc(100% - 24px); padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.preview-header-block { height: 28px; border-radius: 3px; opacity: .9; }
.preview-text-line { height: 6px; border-radius: 3px; background: rgba(255,255,255,.2); }
.preview-text-line.short { width: 60%; }
.preview-btn-block { height: 16px; width: 60px; border-radius: 3px; margin-top: 4px; }
.theme-card-body { padding: 22px; }
.theme-color-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.theme-color-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.theme-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.01em;
    margin-bottom: 4px;
}
.theme-industry {
    font-size: 12px;
    color: var(--slate-400);
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.theme-desc { font-size: 13.5px; color: var(--slate-500); line-height: 1.65; margin-bottom: 16px; }
.theme-footer {
    padding: 16px 22px;
    border-top: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.theme-php-notice {
    background: var(--amber-pale);
    border: 1px solid rgba(245,158,11,.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 13px;
    color: var(--amber-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
}
.theme-php-notice strong { font-weight: 700; }

/* ─── Site Footer ─────────────────────────────────────────────────────────── */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.65);
    margin-top: auto;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 64px 24px 48px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 64px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}
.footer-tagline { font-size: 13.5px; line-height: 1.65; max-width: 300px; margin-bottom: 16px; }
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.footer-badge a { color: var(--amber); font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 14px;
}
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.6); transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-bottom-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.footer-bottom p { font-size: 12.5px; }
.footer-bottom a { color: var(--amber); }
.footer-note { color: rgba(255,255,255,.35); font-size: 11.5px; }

/* ─── CTA Strip ───────────────────────────────────────────────────────────── */
.cta-strip {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 100% at 100% 50%, rgba(245,158,11,.15) 0%, transparent 60%);
}
.cta-strip-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-strip h2 {
    font-family: var(--font-display);
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -.01em;
}
.cta-strip p { font-size: 14.5px; color: rgba(255,255,255,.65); margin-top: 6px; }
.cta-strip-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .home-hero-inner { grid-template-columns: 1fr; }
    .home-hero-visual { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
    .mobile-nav { display: flex; flex-direction: column; }
    .themes-grid, .directory-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .page-hero { padding: 48px 0 40px; }
    .cta-strip-inner { flex-direction: column; text-align: center; }
    .cta-strip-actions { justify-content: center; }
    .topbar-text { display: none; }
    .topbar-actions { margin-left: auto; }
}
@media (max-width: 480px) {
    .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .container { padding: 0 16px; }
    .directory-filters { flex-direction: column; align-items: flex-start; }
    .directory-search { margin-left: 0; width: 100%; }
    .directory-search input { width: 100%; }
}

/* ─── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 500ms ease backwards; }
.fade-up-1 { animation-delay: 50ms; }
.fade-up-2 { animation-delay: 120ms; }
.fade-up-3 { animation-delay: 190ms; }
.fade-up-4 { animation-delay: 260ms; }
.fade-up-5 { animation-delay: 330ms; }
.fade-up-6 { animation-delay: 400ms; }

/* ─── No-results ──────────────────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 64px 32px;
    color: var(--slate-400);
}
.empty-state h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--slate-500);
    margin-bottom: 8px;
}
