/* ============================================
   INDEPENDENT NETWORK — CUSTOM STYLES
   ============================================ */

:root {
    --in-purple: #6c5ce7;
    --in-purple-light: #a78bfa;
    --in-purple-lighter: #c084fc;
    --in-dark: #1a1a2e;
    --in-darker: #0f0c29;
    --in-dark-mid: #302b63;
    --in-text: #1a1a2e;
    --in-text-muted: #888;
    --in-text-light: #b8b5d0;
    --in-bg-light: #f8f7ff;
    --in-bg-lighter: #f4f3fa;
    --in-border: #e8e6f2;
}

body { font-family: 'Inter', sans-serif !important; }

/* OVERRIDE KADENCE HEADER */
.site-header { display: none !important; }
.site-footer { display: none !important; }

/* CUSTOM NAV */
.indie-nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(26,26,46,0.95); backdrop-filter: blur(12px);
    padding: 0 2rem; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
}
.indie-nav .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.indie-nav .logo img { height: 44px; border-radius: 6px; border: 2px solid #fff; padding: 2px; background: #fff; }
.indie-nav .logo-text { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.indie-nav .logo-text span { color: var(--in-purple-light); }
.indie-nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; margin: 0; padding: 0; }
.indie-nav ul li a { color: #e2e0f0; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.indie-nav ul li a:hover, .indie-nav ul li a.current { color: var(--in-purple-light); }
.indie-nav .cta-btn {
    background: linear-gradient(135deg, var(--in-purple), #a855f7);
    color: #fff !important; padding: 10px 24px; border-radius: 8px;
    font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.indie-nav .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(108,92,231,0.4); }
.indie-hamburger {
    display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 200;
}
.indie-hamburger span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: all 0.3s; }
.indie-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.indie-hamburger.active span:nth-child(2) { opacity: 0; }
.indie-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* HERO */
.indie-hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 2rem 80px;
    position: relative; overflow: hidden; background: var(--in-darker);
}
.indie-hero-slides { position: absolute; inset: 0; z-index: 0; }
.indie-hero-slide {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.5s ease-in-out;
}
.indie-hero-slide.active { opacity: 1; }
.indie-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(135deg, rgba(15,12,41,0.82) 0%, rgba(26,26,46,0.75) 40%, rgba(48,43,99,0.82) 100%);
}
.indie-hero-content { position: relative; z-index: 3; max-width: 900px; }
.indie-hero-badge {
    display: inline-block; background: rgba(108,92,231,0.2);
    border: 1px solid rgba(108,92,231,0.4); color: var(--in-purple-light);
    padding: 8px 20px; border-radius: 50px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 2rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.indie-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
    color: #fff; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em;
}
.indie-hero h1 .accent {
    background: linear-gradient(135deg, var(--in-purple-light), var(--in-purple-lighter));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.indie-hero p { font-size: 1.25rem; color: var(--in-text-light); max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.7; }
.indie-hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary {
    background: linear-gradient(135deg, var(--in-purple), #a855f7);
    color: #fff !important; padding: 16px 36px; border-radius: 12px;
    font-weight: 700; font-size: 1.05rem; text-decoration: none;
    transition: all 0.3s; border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(108,92,231,0.4); }
.btn-secondary {
    background: rgba(255,255,255,0.08); color: #fff !important;
    padding: 16px 36px; border-radius: 12px; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; transition: all 0.3s; border: 1px solid rgba(255,255,255,0.15);
    display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
.btn-sm {
    padding: 8px 16px; border-radius: 8px; font-size: 0.8rem;
    font-weight: 600; text-decoration: none; cursor: pointer; border: none;
    font-family: inherit; transition: all 0.2s; display: inline-block;
}
.btn-sm-primary { background: linear-gradient(135deg, var(--in-purple), #a855f7); color: #fff !important; }
.btn-sm-outline { background: transparent; color: var(--in-purple) !important; border: 1.5px solid var(--in-purple); }

/* STATS BAR */
.indie-stats {
    background: var(--in-dark); padding: 3rem 2rem;
    border-top: 1px solid rgba(108,92,231,0.2);
}
.indie-stats-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
}
.stat-number { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; color: var(--in-purple-light); line-height: 1; }
.stat-label { font-size: 0.9rem; color: #8888a8; margin-top: 0.5rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

/* SECTIONS */
.indie-section { padding: 6rem 2rem; }
.indie-section-dark { background: var(--in-dark); color: #fff; }
.indie-section-light { background: var(--in-bg-light); }
.indie-section-white { background: #fff; }
.section-title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
    letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.15;
}
.section-title .accent {
    background: linear-gradient(135deg, var(--in-purple), #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle { font-size: 1.15rem; color: #666; max-width: 600px; line-height: 1.7; margin-bottom: 3rem; }
.indie-section-dark .section-subtitle { color: var(--in-text-light); }
.indie-container { max-width: 1200px; margin: 0 auto; }

/* DIVIDERS */
.divider-down { width: 100%; height: 80px; background: var(--in-dark); clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%); }
.divider-up { width: 100%; height: 80px; background: var(--in-dark); clip-path: polygon(0 0, 100% 70%, 100% 100%, 0 100%); }

/* FEATURE CARDS */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.feature-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px; padding: 2.5rem; transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(108,92,231,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.feature-card-light {
    background: var(--in-bg-light); border: 1px solid var(--in-border);
    border-radius: 16px; padding: 2.5rem; transition: all 0.3s;
}
.feature-card-light:hover { transform: translateY(-5px); border-color: #c4b5fd; box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.feature-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(108,92,231,0.2), rgba(168,85,247,0.2));
    border-radius: 14px; display: flex; align-items: center;
    justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem;
}
.feature-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.feature-card p { color: #9998b5; line-height: 1.7; font-size: 0.95rem; }

/* POSTCODE */
.postcode-box {
    max-width: 550px; margin: 0 auto; background: #fff;
    border-radius: 16px; padding: 3rem; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.postcode-box h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--in-text); }
.postcode-box p { color: #666; margin-bottom: 1.5rem; }
.postcode-input-group { display: flex; gap: 0.75rem; }
.postcode-input-group input {
    flex: 1; padding: 14px 18px; border: 2px solid var(--in-border);
    border-radius: 10px; font-size: 1.1rem; font-family: inherit;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
    text-align: center; outline: none;
}
.postcode-input-group input:focus { border-color: var(--in-purple); }
.postcode-input-group button {
    padding: 14px 28px; background: linear-gradient(135deg, var(--in-purple), #a855f7);
    color: #fff; border: none; border-radius: 10px; font-weight: 700;
    font-size: 1rem; cursor: pointer; white-space: nowrap;
}

/* ACADEMY CTA */
.indie-academy {
    background: linear-gradient(135deg, rgba(48,43,99,0.9), rgba(26,26,46,0.92)),
                url('') center/cover no-repeat;
    text-align: center; padding: 6rem 2rem; position: relative; overflow: hidden;
}
.indie-academy::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(108,92,231,0.15), transparent 70%);
}

/* PAGE HEADER */
.indie-page-header {
    background: linear-gradient(135deg, var(--in-dark), var(--in-dark-mid));
    padding: 120px 2rem 3rem; text-align: center;
}
.indie-page-header h1 { font-size: 2.5rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.indie-page-header p { color: var(--in-text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* NEWS CARDS */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.news-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.3s;
    border: 1px solid #f0eef8;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.news-card-img { height: 200px; background-size: cover; background-position: center; }
.news-card-body { padding: 1.5rem; }
.news-card-date { font-size: 0.8rem; color: var(--in-purple); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.news-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--in-text); }
.news-card p { color: #666; font-size: 0.9rem; line-height: 1.6; }

/* FORUM */
.forum-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.sidebar-card {
    background: #fff; border-radius: 14px; padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid var(--in-border);
}
.sidebar-card h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #888; margin-bottom: 1rem; font-weight: 700; }
.thread-card {
    background: #fff; border-radius: 14px; padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid var(--in-border);
    display: flex; gap: 1rem; transition: all 0.2s; cursor: pointer;
}
.thread-card:hover { border-color: #c4b5fd; box-shadow: 0 4px 20px rgba(108,92,231,0.1); }

/* EVENTS */
.event-card {
    background: #fff; border-radius: 16px; padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid var(--in-border);
    display: flex; gap: 1.25rem; transition: all 0.2s;
}
.event-card:hover { border-color: #c4b5fd; box-shadow: 0 4px 20px rgba(108,92,231,0.1); }
.event-date-box {
    background: linear-gradient(135deg, var(--in-purple), #a855f7);
    color: #fff; border-radius: 12px; min-width: 70px; height: 70px;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.event-date-box .day { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.event-date-box .month { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

/* RESOURCE CARDS */
.resources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.resource-card {
    background: #fff; border-radius: 14px; padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid var(--in-border);
    transition: all 0.2s; cursor: pointer;
}
.resource-card:hover { border-color: #c4b5fd; transform: translateY(-3px); box-shadow: 0 4px 20px rgba(108,92,231,0.1); }

/* TAGS */
.tag { padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; display: inline-block; }
.tag-region { background: #e0f2fe; color: #0369a1; }
.tag-topic { background: #f0eef8; color: var(--in-purple); }
.tag-pinned { background: #fef3c7; color: #92400e; }

/* BADGES */
.resource-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.badge-free { background: #d1fae5; color: #065f46; }
.badge-members { background: #f0eef8; color: var(--in-purple); }
.badge-new { background: #fef3c7; color: #92400e; }
.badge-popular { background: #fce7f3; color: #9d174d; }

/* FOOTER */
.indie-footer { background: var(--in-darker); padding: 4rem 2rem 2rem; color: #8888a8; }
.indie-footer-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.indie-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.indie-footer ul { list-style: none; padding: 0; margin: 0; }
.indie-footer ul li { margin-bottom: 0.5rem; }
.indie-footer ul li a { color: #6666a8; text-decoration: none; font-size: 0.9rem; }
.indie-footer ul li a:hover { color: var(--in-purple-light); }
.indie-footer-bottom {
    max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem; display: flex; justify-content: space-between; font-size: 0.85rem;
}

/* COUNTER */
.counter { display: inline-block; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .indie-hamburger { display: block; }
    .indie-nav ul {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15,12,41,0.98); flex-direction: column;
        justify-content: center; align-items: center; gap: 1.5rem; z-index: 150;
    }
    .indie-nav ul.open { display: flex; }
    .indie-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .indie-footer-grid { grid-template-columns: 1fr; }
    .postcode-input-group { flex-direction: column; }
    .indie-hero-buttons { flex-direction: column; align-items: center; }
    .features-grid, .news-grid, .resources-grid { grid-template-columns: 1fr; }
    .forum-layout { grid-template-columns: 1fr; }
    .event-card { flex-direction: column; }
}
