:root {
    --bg-dark: #0f0c29;
    --bg-light: #302b63;
    --accent-purple: #8e2de2;
    --accent-blue: #4a00e0;
    --text-white: #ffffff;
    --text-grey: #b2b2b2;
    --card-bg: rgba(255, 255, 255, 0.05);
    
    --font-main: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background: linear-gradient(to right, var(--bg-dark), #24243e);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
.hub-header { padding: 20px 0; position: sticky; top: 0; z-index: 1000; background: rgba(15, 12, 41, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-main); font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; }
.gradient-text { background: linear-gradient(to right, #ff00cc, #333399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dot { width: 8px; height: 8px; background-color: #ff00cc; border-radius: 50%; margin-left: 5px; box-shadow: 0 0 10px #ff00cc; }

.hub-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.hub-nav a { font-weight: 500; font-size: 0.9rem; color: var(--text-grey); }
.hub-nav a:hover, .hub-nav a.active { color: var(--text-white); text-shadow: 0 0 5px rgba(255,255,255,0.5); }

.btn-glow { background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); padding: 10px 25px; border-radius: 30px; color: white !important; font-weight: 600; box-shadow: 0 0 15px rgba(142, 45, 226, 0.4); }
.btn-glow:hover { box-shadow: 0 0 25px rgba(142, 45, 226, 0.7); transform: scale(1.05); }

/* Mobile Menu */
.mobile-toggle { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 3px; background-color: white; border-radius: 2px; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg-dark); z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: 0.3s; }
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; font-size: 2rem; background: none; border: none; color: white; cursor: pointer; }
.mobile-menu a { font-family: var(--font-main); font-size: 2rem; margin: 15px 0; font-weight: 700; }

/* Hero */
.hero-hub { height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(142, 45, 226, 0.3) 0%, rgba(0,0,0,0) 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); animation: pulse 5s infinite alternate; }
@keyframes pulse { 0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); } }

.hero-content { position: relative; z-index: 10; text-align: center; }
.tag { border: 1px solid var(--accent-purple); padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: #ff00cc; }
.hero-content h1 { font-family: var(--font-main); font-size: 4.5rem; line-height: 1.1; margin: 25px 0; font-weight: 700; background: linear-gradient(to right, #fff, #b2b2b2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-content p { font-size: 1.2rem; color: var(--text-grey); max-width: 600px; margin: 0 auto 40px; }

.hero-btns { display: flex; gap: 20px; justify-content: center; }
.btn-primary { background: white; color: var(--bg-dark); padding: 15px 35px; border-radius: 30px; font-weight: 700; }
.btn-secondary { border: 1px solid white; padding: 15px 35px; border-radius: 30px; font-weight: 600; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Pricing */
.section-padding { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 { font-family: var(--font-main); font-size: 2.5rem; margin-bottom: 10px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.price-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.1); padding: 40px; border-radius: 20px; text-align: center; position: relative; transition: 0.3s; }
.price-card:hover { transform: translateY(-10px); background: rgba(255,255,255,0.08); border-color: var(--accent-purple); }
.price-card.featured { border: 2px solid var(--accent-purple); box-shadow: 0 0 30px rgba(142, 45, 226, 0.2); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent-purple); padding: 5px 15px; border-radius: 10px; font-size: 0.8rem; font-weight: bold; }

.price-card h3 { font-family: var(--font-main); margin-bottom: 20px; font-size: 1.5rem; }
.price { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }
.price span { font-size: 1rem; color: var(--text-grey); font-weight: 400; }
.features { list-style: none; text-align: left; margin: 30px 0; color: var(--text-grey); }
.features li { margin-bottom: 10px; }
.card-btn { display: block; border: 1px solid rgba(255,255,255,0.2); padding: 12px; border-radius: 10px; font-weight: 600; }
.card-btn.glow { background: var(--accent-purple); border: none; }

/* Community */
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-col h2 { font-family: var(--font-main); font-size: 2.5rem; margin-bottom: 20px; }
.gradient-line { width: 100px; height: 4px; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); margin-bottom: 30px; }
.text-col p { color: var(--text-grey); margin-bottom: 20px; }
.stats-row { display: flex; gap: 40px; margin-top: 40px; }
.stat-box .num { display: block; font-size: 2rem; font-weight: 700; color: white; }
.stat-box .label { font-size: 0.9rem; color: var(--accent-purple); }
.img-col img { width: 100%; border-radius: 20px; opacity: 0.8; }

/* Stories */
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.story-card { background: var(--card-bg); padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.user-avatar { font-size: 3rem; margin-bottom: 20px; }
.story-card p { font-style: italic; color: #ddd; margin-bottom: 20px; }
.founder strong { display: block; color: var(--accent-purple); }
.founder span { font-size: 0.8rem; color: var(--text-grey); }

/* Form */
.apply-box { max-width: 600px; margin: 0 auto; background: var(--card-bg); padding: 50px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
.apply-head { text-align: center; margin-bottom: 30px; }
.apply-head h2 { font-family: var(--font-main); }

.hub-form .form-group { margin-bottom: 20px; }
.hub-form label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-grey); }
.hub-form input, .hub-form select, .hub-form textarea { width: 100%; padding: 15px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; color: white; font-family: var(--font-body); }
.hub-form input:focus, .hub-form select:focus, .hub-form textarea:focus { outline: none; border-color: var(--accent-purple); }
.btn-submit { width: 100%; background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple)); border: none; padding: 15px; border-radius: 10px; color: white; font-weight: 700; cursor: pointer; margin-top: 10px; transition: 0.3s; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(142, 45, 226, 0.3); }

/* Legal */
.legal-content { max-width: 800px; margin: 0 auto; background: rgba(0,0,0,0.2); padding: 50px; border-radius: 20px; }
.legal-content h3 { margin-top: 30px; margin-bottom: 10px; color: var(--accent-purple); }

/* Footer */
.hub-footer { padding: 60px 0 20px; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }
.brand h4 { font-family: var(--font-main); font-weight: 700; letter-spacing: 1px; margin-bottom: 5px; }
.socials { margin: 20px 0; }
.socials a { margin: 0 10px; color: var(--text-grey); font-size: 0.9rem; }
.socials a:hover { color: var(--accent-purple); }
.copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

@media (max-width: 900px) {
    .hub-nav { display: none; }
    .mobile-toggle { display: flex; }
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { flex-direction: column; }
    .btn-secondary { background: rgba(255,255,255,0.1); }
    .pricing-grid, .community-grid, .stories-grid { grid-template-columns: 1fr; }
    .img-col { order: -1; margin-bottom: 30px; }
}