/*
Theme Name: ProcessFirst - Guild of Gain
Description: The definitive clubhouse for money and investing. Where AI smarts meet human conversation. Community-first design for stocks, crypto, metals, and collectibles.
Version: 1.0
Author: Guild of Gain
Text Domain: processfirst
*/

/* === GUILD OF GAIN - COMMUNITY CLUBHOUSE === */
:root {
    --primary: #059669;
    --secondary: #2563eb; 
    --accent: #f59e0b;
    --community: #8b5cf6;
    --ai: #06b6d4;
    --success: #10b981;
    
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --text: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
    
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #1a2332;
    overflow-x: hidden;
}

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 1rem; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1rem; line-height: 1.7; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #047857; }

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.site-tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 5rem 0 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-accent {
    background: linear-gradient(135deg, #10b981, #06b6d4, var(--community));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    min-width: 140px;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-emoji { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.875rem; font-weight: 500; opacity: 0.9; }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before { left: 100%; }

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

/* === SECTIONS === */
section { padding: 5rem 0; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-alt { background: var(--gray-50); }

/* === GRID SYSTEM === */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === CARDS === */
.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(5, 150, 105, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.card h3 { margin-bottom: 1rem; text-align: center; }
.card p { color: var(--text-light); text-align: center; line-height: 1.6; }

/* === COMMUNITY CARDS === */
.community-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--community), var(--ai));
}

.community-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-stocks { background: var(--secondary); color: white; }
.badge-crypto { background: var(--accent); color: white; }
.badge-metals { background: var(--gray-600); color: white; }
.badge-collectibles { background: #ec4899; color: white; }
.badge-ai { background: var(--ai); color: white; }
.badge-community { background: var(--community); color: white; }

.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-action {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.card-action:hover { color: #047857; }

/* === TESTIMONIALS === */
.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    font-size: 1.125rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name { font-weight: 600; }
.author-role { color: var(--text-light); font-size: 0.875rem; }

.member-badge {
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* === CTA SECTION === */
.cta-section {
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    color: white;
    text-align: center;
}

.cta-section h2 { color: white; }
.cta-section p { font-size: 1.125rem; opacity: 0.9; margin-bottom: 2rem; }

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition);
    display: block;
    padding: 0.25rem 0;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container, .container-wide, .container-narrow { padding: 0 1rem; }
    
    .main-nav ul { display: none; }
    
    .hero-section { padding: 4rem 0; }
    .hero-actions { flex-direction: column; align-items: center; gap: 0.75rem; }
    .btn-lg { width: 100%; max-width: 280px; }
    
    .hero-stats { gap: 1rem; margin-top: 2rem; }
    .stat-card { min-width: 120px; padding: 1rem; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    section { padding: 3rem 0; }
    
    .card, .community-card, .testimonial { padding: 1.5rem; }
    
    .cta-actions { flex-direction: column; align-items: center; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .card, .community-card, .testimonial { padding: 1rem; }
    .testimonial-content { font-size: 1rem; }
    .section-title { font-size: 1.75rem; }
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.w-full { width: 100%; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }

/* === FOCUS STATES === */
.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}
📝 FILE 2: functions.php
Create file named: functions.php
Paste this code:

php
<?php
// ProcessFirst Theme Functions - Guild of Gain

function processfirst_setup() {
    add_theme_support('title-tag');
    add_theme_support('post-thumbnails');
    add_theme_support('html5', array('search-form', 'comment-form', 'comment-list', 'gallery', 'caption'));
    add_theme_support('custom-logo');
    add_theme_support('responsive-embeds');
    
    register_nav_menus(array(
        'primary' => 'Primary Menu',
        'footer'  => 'Footer Menu',
    ));
}
add_action('after_setup_theme', 'processfirst_setup');

function processfirst_scripts() {
    wp_enqueue_style('processfirst-style', get_stylesheet_uri(), array(), '1.0.0');
}
add_action('wp_enqueue_scripts', 'processfirst_scripts');
?>

/* === DARK THEME FOR INNER PAGES === */
body {
    color: #c8d3e3;
}

.site-main {
    background: #1a2332;
}

.page-header .page-title {
    color: #ffffff;
}

.page-body {
    color: #c8d3e3;
}

.page-body h1,
.page-body h2,
.page-body h3,
.page-body h4,
.page-body h5,
.page-body h6 {
    color: #ffffff;
}

.page-body a {
    color: #3ecfa5;
}

.page-body a:hover {
    color: #5bdfbb;
}

.page-body strong {
    color: #e2e8f0;
}

.page-body blockquote {
    border-left: 3px solid #3ecfa5;
    color: #8a9bb5;
    padding-left: 1rem;
}

/* Footer stays dark */
.site-footer {
    background: #111927;
}

/* Cards on inner pages */
.page-body .wp-block-group,
.page-body .wp-block-columns {
    background: #212d3f;
    border: 1px solid #2e3d52;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Feature cards on AI Analysis page */
.page-body [style*="border-radius"] {
    background: #212d3f !important;
    border: 1px solid #2e3d52 !important;
    color: #c8d3e3 !important;
}

.page-body [style*="border-radius"] h2,
.page-body [style*="border-radius"] h3 {
    color: #ffffff !important;
}

/* Hero sections with gradient backgrounds - keep as-is */

/* Buttons */
.page-body .wp-block-button__link,
.page-body a[style*="background"] {
    background: linear-gradient(135deg, #059669, #047857) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.page-body .wp-block-button__link:hover {
    transform: translateY(-1px);
}

/* Lists */
.page-body ul, .page-body ol {
    color: #c8d3e3;
}

/* Tables */
.page-body table {
    border-color: #2e3d52;
    color: #c8d3e3;
}

.page-body th {
    background: #212d3f;
    color: #ffffff;
}

.page-body td {
    border-color: #2e3d52;
}

/* Comments section */
.page-comments {
    background: #212d3f;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #2e3d52;
}


/* ===========================================
   MOBILE NAV - Hamburger Menu
   =========================================== */

/* Hamburger button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #c8d3e3;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* X animation when menu is open */
.nav-open .mobile-menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}
.nav-open .mobile-menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile breakpoint ---- */
@media (max-width: 768px) {

    /* Show the hamburger */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Header bar: logo left, hamburger right */
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    /* Hide tagline on mobile */
    .site-tagline {
        display: none;
    }

    /* Scale down logo */
    .logo-icon-img {
        width: 30px;
        height: 30px;
    }

    .logo-text .site-title {
        font-size: 1.05rem;
    }

    /* Hide nav by default on mobile */
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #111927;
        border-top: 1px solid #2e3d52;
        margin-top: 0.75rem;
        padding: 0;
        gap: 0;
        border-radius: 0 0 12px 12px;
    }

    /* Show nav when toggled */
    .nav-open .main-nav {
        display: flex;
    }

    /* Nav links - large touch targets */
    .main-nav a {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
        border-bottom: 1px solid #1e2b3d;
        color: #c8d3e3;
        text-decoration: none;
        text-align: left;
    }

    .main-nav a:hover,
    .main-nav a:active {
        background: #1a2332;
        color: #3ecfa5;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    /* Hide CTA button on mobile by default, show in menu */
    .header-cta {
        display: none;
        width: 100%;
        padding: 10px 20px 16px;
        background: #111927;
    }

    .nav-open .header-cta {
        display: block;
    }

    .header-cta .btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
        border-radius: 8px;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .site-header .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo-icon-img {
        width: 26px;
        height: 26px;
    }

    .logo-text .site-title {
        font-size: 0.95rem;
    }
}
