<?php include 'include/header.php'; ?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php echo $page_title; ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap" rel="stylesheet">

    <style>
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

        :root {
            --navy:    #0d1f4e;
            --cobalt:  #1a3a8f;
            --sky:     #3b7dd8;
            --gold:    #e8a842;
            --cream:   #faf8f4;
            --ink:     #1c1c2e;
            --muted:   #6b7589;
            --white:   #ffffff;
            --radius:  14px;
        }

        html { scroll-behavior: smooth; }

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--cream);
            color: var(--ink);
            line-height: 1.75;
            overflow-x: hidden;
        }

        /* ── HERO ── */
        .hero {
            position: relative;
            min-height: 88vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background: var(--navy);
        }

        /* animated mesh background */
        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 80% 60% at 20% 30%, rgba(58,125,216,.35) 0%, transparent 60%),
                radial-gradient(ellipse 60% 50% at 80% 70%, rgba(232,168,66,.18) 0%, transparent 55%),
                radial-gradient(ellipse 40% 40% at 50% 10%, rgba(26,58,143,.6)  0%, transparent 50%);
            animation: meshShift 12s ease-in-out infinite alternate;
        }

        @keyframes meshShift {
            from { transform: scale(1)   translateY(0); }
            to   { transform: scale(1.08) translateY(-20px); }
        }

        /* grid overlay */
        .hero::after {
            content: '';
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
            background-size: 60px 60px;
            pointer-events: none;
        }

        .hero-inner {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 0 24px;
            max-width: 860px;
        }

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 11px;
            font-weight: 500;
            letter-spacing: .18em;
            text-transform: uppercase;
            color: var(--gold);
            margin-bottom: 24px;
            opacity: 0;
            animation: fadeUp .7s .3s forwards;
        }

        .hero-eyebrow span {
            display: inline-block;
            width: 32px;
            height: 1px;
            background: var(--gold);
        }

        .hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(42px, 7vw, 82px);
            font-weight: 700;
            color: var(--white);
            line-height: 1.1;
            margin-bottom: 28px;
            opacity: 0;
            animation: fadeUp .8s .5s forwards;
        }

        .hero h1 em {
            font-style: italic;
            color: var(--gold);
        }

        .hero-desc {
            font-size: 17px;
            color: rgba(255,255,255,.72);
            max-width: 600px;
            margin: 0 auto 44px;
            font-weight: 300;
            opacity: 0;
            animation: fadeUp .8s .7s forwards;
        }

        .hero-cta-row {
            display: flex;
            justify-content: center;
            gap: 14px;
            flex-wrap: wrap;
            opacity: 0;
            animation: fadeUp .8s .9s forwards;
        }

        .btn-primary {
            padding: 14px 32px;
            background: var(--gold);
            color: var(--navy);
            font-weight: 600;
            font-size: 14px;
            border-radius: 50px;
            text-decoration: none;
            letter-spacing: .04em;
            transition: transform .2s, box-shadow .2s;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(232,168,66,.4);
        }

        .btn-outline {
            padding: 14px 32px;
            border: 1.5px solid rgba(255,255,255,.35);
            color: var(--white);
            font-weight: 500;
            font-size: 14px;
            border-radius: 50px;
            text-decoration: none;
            letter-spacing: .04em;
            transition: background .2s, border-color .2s;
        }

        .btn-outline:hover {
            background: rgba(255,255,255,.08);
            border-color: rgba(255,255,255,.6);
        }

        /* scroll badge */
        .scroll-hint {
            position: absolute;
            bottom: 36px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            color: rgba(255,255,255,.4);
            font-size: 11px;
            letter-spacing: .12em;
            text-transform: uppercase;
        }

        .scroll-hint .line {
            width: 1px;
            height: 44px;
            background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
            animation: linePulse 2s ease-in-out infinite;
        }

        @keyframes linePulse {
            0%, 100% { opacity: 1; transform: scaleY(1); }
            50%       { opacity: .4; transform: scaleY(.6); }
        }

        /* ── STATS STRIP ── */
        .stats-strip {
            background: var(--cobalt);
            padding: 0;
        }

        .stats-inner {
            max-width: 1100px;
            margin: auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
        }

        .stat-item {
            padding: 40px 30px;
            text-align: center;
            border-right: 1px solid rgba(255,255,255,.1);
            transition: background .2s;
        }

        .stat-item:last-child { border-right: none; }
        .stat-item:hover { background: rgba(255,255,255,.05); }

        .stat-num {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            font-weight: 700;
            color: var(--gold);
            line-height: 1;
        }

        .stat-label {
            font-size: 12px;
            color: rgba(255,255,255,.6);
            letter-spacing: .1em;
            text-transform: uppercase;
            margin-top: 6px;
        }

        /* ── LAYOUT HELPERS ── */
        .page-wrap {
            max-width: 1100px;
            margin: auto;
            padding: 0 28px;
        }

        section { padding: 100px 0; }

        /* ── ABOUT INTRO ── */
        .about-intro {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px;
            align-items: center;
        }

        .about-intro-text .label {
            display: inline-block;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: var(--sky);
            margin-bottom: 18px;
        }

        .about-intro-text h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(28px, 3.5vw, 44px);
            font-weight: 700;
            color: var(--navy);
            line-height: 1.2;
            margin-bottom: 24px;
        }

        .about-intro-text p {
            color: var(--muted);
            font-size: 15.5px;
            margin-bottom: 16px;
        }

        /* decorative illustration panel */
        .about-visual {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            aspect-ratio: 4/3;
            background: linear-gradient(135deg, var(--navy), var(--cobalt));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .globe-svg {
            width: 72%;
            opacity: .85;
        }

        .about-visual::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 30%, rgba(232,168,66,.15), transparent 60%);
        }

        /* ── HIGHLIGHTS / CARDS ── */
        .section-header {
            text-align: center;
            margin-bottom: 56px;
        }

        .section-header .label {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: var(--sky);
            display: block;
            margin-bottom: 14px;
        }

        .section-header h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(26px, 3vw, 40px);
            font-weight: 700;
            color: var(--navy);
        }

        .highlights-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .highlight-card {
            background: var(--white);
            border-radius: var(--radius);
            padding: 36px 30px;
            border: 1px solid rgba(0,0,0,.06);
            transition: transform .25s, box-shadow .25s;
            position: relative;
            overflow: hidden;
        }

        .highlight-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 3px;
            background: linear-gradient(90deg, var(--sky), var(--gold));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .3s;
        }

        .highlight-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 50px rgba(13,31,78,.1);
        }

        .highlight-card:hover::before { transform: scaleX(1); }

        .card-icon {
            font-size: 36px;
            margin-bottom: 18px;
            display: block;
        }

        .card-title {
            font-weight: 600;
            font-size: 16px;
            color: var(--navy);
            margin-bottom: 10px;
        }

        .card-text {
            font-size: 14px;
            color: var(--muted);
            line-height: 1.7;
        }

        /* ── MISSION / VISION ── */
        .mv-section { background: var(--navy); }

        .mv-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }

        .mv-card {
            border: 1px solid rgba(255,255,255,.12);
            border-radius: var(--radius);
            padding: 48px 40px;
            position: relative;
            overflow: hidden;
            transition: border-color .3s;
        }

        .mv-card:hover { border-color: var(--gold); }

        .mv-card::after {
            content: '';
            position: absolute;
            bottom: -40px; right: -40px;
            width: 140px; height: 140px;
            border-radius: 50%;
            background: rgba(255,255,255,.03);
        }

        .mv-tag {
            display: inline-block;
            padding: 5px 14px;
            background: var(--gold);
            color: var(--navy);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .12em;
            text-transform: uppercase;
            border-radius: 50px;
            margin-bottom: 22px;
        }

        .mv-card h3 {
            font-family: 'Playfair Display', serif;
            font-size: 28px;
            color: var(--white);
            margin-bottom: 18px;
        }

        .mv-card p {
            color: rgba(255,255,255,.65);
            font-size: 15px;
            line-height: 1.8;
        }

        /* ── FOOTER CTA ── */
        .cta-section {
            background: linear-gradient(135deg, var(--cobalt), var(--sky));
            text-align: center;
            padding: 100px 28px;
        }

        .cta-section h2 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(28px, 4vw, 48px);
            color: var(--white);
            margin-bottom: 16px;
        }

        .cta-section p {
            color: rgba(255,255,255,.75);
            font-size: 16px;
            max-width: 520px;
            margin: 0 auto 40px;
        }

        .cta-row {
            display: flex;
            justify-content: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* ── ANIMATIONS ── */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(28px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(24px);
            transition: opacity .6s ease, transform .6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 900px) {
            .about-intro    { grid-template-columns: 1fr; }
            .about-visual   { display: none; }
            .highlights-grid { grid-template-columns: 1fr 1fr; }
            .mv-grid        { grid-template-columns: 1fr; }
            .stats-inner    { grid-template-columns: repeat(2, 1fr); }
            .stat-item:nth-child(2) { border-right: none; }
        }

        @media (max-width: 560px) {
            .highlights-grid { grid-template-columns: 1fr; }
            .stats-inner    { grid-template-columns: 1fr 1fr; }
        }
    </style>
</head>

<body>

<!-- ══ HERO ══ -->
<section class="hero">
    <div class="hero-inner">
        <p class="hero-eyebrow"><span></span> Academic Publishing Platform <span></span></p>
        <h1>Where Research Meets <em>Global</em> Reach</h1>
        <p class="hero-desc">A fast, transparent, and author-friendly publishing experience built for today's research community — spanning 40+ countries and counting.</p>
        <div class="hero-cta-row">
            <a href="#" class="btn-primary">Submit Your Paper</a>
            <a href="#" class="btn-outline">Explore Journals</a>
        </div>
    </div>
    <div class="scroll-hint">
        <div class="line"></div>
        <span>Scroll</span>
    </div>
</section>

<!-- ══ STATS STRIP ══ -->
<div class="stats-strip">
    <div class="stats-inner">
        <div class="stat-item fade-in">
            <div class="stat-num">40+</div>
            <div class="stat-label">Countries</div>
        </div>
        <div class="stat-item fade-in" style="transition-delay:.1s">
            <div class="stat-num">100%</div>
            <div class="stat-label">Open Access</div>
        </div>
        <div class="stat-item fade-in" style="transition-delay:.2s">
            <div class="stat-num">Fast</div>
            <div class="stat-label">Publication Process</div>
        </div>
        <div class="stat-item fade-in" style="transition-delay:.3s">
            <div class="stat-num">Peer</div>
            <div class="stat-label">Reviewed Research</div>
        </div>
    </div>
</div>

<!-- ══ ABOUT INTRO ══ -->
<section>
    <div class="page-wrap">
        <div class="about-intro">
            <div class="about-intro-text fade-in">
                <span class="label">About Commune Global</span>
                <h2>A Platform Built for Researchers, by Researchers</h2>
                <p>Commune Global is a modern academic publishing platform dedicated to helping researchers share their work with the world. We provide a fast, transparent, and author-friendly publishing experience designed for today's global research community.</p>
                <p>With contributors from 40+ countries, we are building a diverse and growing network of scholars, reviewers, and editors committed to quality and innovation in research publishing.</p>
                <p>Our mission is simple — to make research accessible, visible, and impactful by combining rigorous peer review with rapid publication and global reach.</p>
            </div>
            <div class="about-visual fade-in" style="transition-delay:.2s">
                <!-- Decorative SVG globe/network illustration -->
                <svg class="globe-svg" viewBox="0 0 320 320" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <circle cx="160" cy="160" r="130" stroke="rgba(255,255,255,.12)" stroke-width="1"/>
                    <circle cx="160" cy="160" r="90"  stroke="rgba(255,255,255,.1)"  stroke-width="1"/>
                    <circle cx="160" cy="160" r="50"  stroke="rgba(255,255,255,.09)" stroke-width="1"/>
                    <!-- latitude lines -->
                    <ellipse cx="160" cy="160" rx="130" ry="40" stroke="rgba(255,255,255,.07)" stroke-width="1"/>
                    <ellipse cx="160" cy="160" rx="130" ry="90" stroke="rgba(255,255,255,.07)" stroke-width="1"/>
                    <!-- meridians -->
                    <ellipse cx="160" cy="160" rx="40"  ry="130" stroke="rgba(255,255,255,.07)" stroke-width="1"/>
                    <ellipse cx="160" cy="160" rx="90"  ry="130" stroke="rgba(255,255,255,.07)" stroke-width="1"/>
                    <!-- glowing nodes -->
                    <circle cx="160" cy="30"  r="5" fill="#e8a842" opacity=".9"/>
                    <circle cx="270" cy="110" r="4" fill="#3b7dd8" opacity=".9"/>
                    <circle cx="240" cy="230" r="5" fill="#e8a842" opacity=".8"/>
                    <circle cx="80"  cy="240" r="4" fill="#3b7dd8" opacity=".9"/>
                    <circle cx="50"  cy="120" r="5" fill="#e8a842" opacity=".7"/>
                    <circle cx="160" cy="160" r="8" fill="white"   opacity=".9"/>
                    <!-- connecting lines -->
                    <line x1="160" y1="30"  x2="270" y2="110" stroke="rgba(232,168,66,.3)" stroke-width="1"/>
                    <line x1="270" y1="110" x2="240" y2="230" stroke="rgba(59,125,216,.3)" stroke-width="1"/>
                    <line x1="240" y1="230" x2="80"  y2="240" stroke="rgba(232,168,66,.3)" stroke-width="1"/>
                    <line x1="80"  y1="240" x2="50"  y2="120" stroke="rgba(59,125,216,.3)" stroke-width="1"/>
                    <line x1="50"  y1="120" x2="160" y2="30"  stroke="rgba(232,168,66,.3)" stroke-width="1"/>
                    <line x1="160" y1="160" x2="160" y2="30"  stroke="rgba(255,255,255,.15)" stroke-width="1"/>
                    <line x1="160" y1="160" x2="270" y2="110" stroke="rgba(255,255,255,.15)" stroke-width="1"/>
                    <line x1="160" y1="160" x2="240" y2="230" stroke="rgba(255,255,255,.15)" stroke-width="1"/>
                    <line x1="160" y1="160" x2="80"  y2="240" stroke="rgba(255,255,255,.15)" stroke-width="1"/>
                    <line x1="160" y1="160" x2="50"  y2="120" stroke="rgba(255,255,255,.15)" stroke-width="1"/>
                </svg>
            </div>
        </div>
    </div>
</section>

<!-- ══ KEY HIGHLIGHTS ══ -->
<section style="background:#f1f4fb; padding-top:80px; padding-bottom:80px;">
    <div class="page-wrap">
        <div class="section-header fade-in">
            <span class="label">Why Choose Us</span>
            <h2>Key Highlights</h2>
        </div>
        <div class="highlights-grid">
            <div class="highlight-card fade-in">
                <span class="card-icon">🌍</span>
                <div class="card-title">Global Author Network</div>
                <p class="card-text">Researchers and scholars from 40+ countries contribute to our growing, diverse community of knowledge creators.</p>
            </div>
            <div class="highlight-card fade-in" style="transition-delay:.1s">
                <span class="card-icon">⚡</span>
                <div class="card-title">Fast & Transparent Process</div>
                <p class="card-text">We streamline every step — from submission to publication — keeping authors informed and in control at all times.</p>
            </div>
            <div class="highlight-card fade-in" style="transition-delay:.2s">
                <span class="card-icon">📄</span>
                <div class="card-title">Rigorous Peer Review</div>
                <p class="card-text">Our expert reviewers ensure that only high-quality, credible research reaches the global academic audience.</p>
            </div>
            <div class="highlight-card fade-in" style="transition-delay:.3s">
                <span class="card-icon">📊</span>
                <div class="card-title">Open Access Publishing</div>
                <p class="card-text">All research is freely accessible — maximising visibility, citations, and real-world impact for every author.</p>
            </div>
            <div class="highlight-card fade-in" style="transition-delay:.4s">
                <span class="card-icon">🤝</span>
                <div class="card-title">Author-First Support</div>
                <p class="card-text">From first submission to final publication, our dedicated support team is here to guide every researcher.</p>
            </div>
            <div class="highlight-card fade-in" style="transition-delay:.5s">
                <span class="card-icon">🔬</span>
                <div class="card-title">Multi-Disciplinary Scope</div>
                <p class="card-text">We publish across science, technology, humanities, and social sciences — welcoming research from every field.</p>
            </div>
        </div>
    </div>
</section>

<!-- ══ MISSION & VISION ══ -->
<section class="mv-section">
    <div class="page-wrap">
        <div class="section-header fade-in" style="color:#fff">
            <span class="label" style="color:var(--gold)">Our Foundation</span>
            <h2 style="color:#fff">Mission & Vision</h2>
        </div>
        <div class="mv-grid">
            <div class="mv-card fade-in">
                <span class="mv-tag">Mission</span>
                <h3>Empowering Researchers</h3>
                <p>To empower researchers by providing a reliable, accessible, and impactful platform for publishing high-quality research globally — breaking down barriers between knowledge and the world.</p>
            </div>
            <div class="mv-card fade-in" style="transition-delay:.15s">
                <span class="mv-tag">Vision</span>
                <h3>A Trusted Global Hub</h3>
                <p>To become a trusted global hub for research dissemination, fostering innovation, collaboration, and academic excellence for generations of scholars to come.</p>
            </div>
        </div>
    </div>
</section>

<!-- ══ CTA SECTION ══ -->
<section class="cta-section">
    <h2>Ready to Share Your Research?</h2>
    <p>Join thousands of researchers already publishing with Commune Global.</p>
    <div class="cta-row">
        <a href="#" class="btn-primary">Submit Your Paper</a>
        <a href="#" class="btn-outline">Explore Journals</a>
    </div>
</section>

<!-- Scroll animation trigger -->
<script>
    const observer = new IntersectionObserver(
        (entries) => entries.forEach(e => { if (e.isIntersecting) e.target.classList.add('visible'); }),
        { threshold: 0.12 }
    );
    document.querySelectorAll('.fade-in').forEach(el => observer.observe(el));
</script>

</body>
</html>

<?php include 'include/footer.php'; ?>