/* ============================================
   HHPOKER - Bold Geometric/Abstract Design
   Shared Stylesheet for all pages
   ============================================ */

:root {
    --white: #ffffff;
    --off-white: #f8f9fc;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --orange: #f97316;
    --orange-bright: #fb923c;
    --rose: #e11d8c;
    --rose-light: #f472b6;
    --dark: #0f172a;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --shadow-geo: 0 0 0 2px rgba(37,99,235,0.08), 0 8px 30px rgba(15,23,42,0.06);
    --clip-hero: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    --clip-section: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    --clip-footer: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   NAVBAR - Sharp & Geometric
   ========================================== */
.geo-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--blue), var(--rose), var(--orange)) 1;
    transition: all 0.3s ease;
}
.geo-nav .nav-link {
    color: var(--gray);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
    transition: all 0.3s ease;
    position: relative;
}
.geo-nav .nav-link:hover,
.geo-nav .nav-link.active {
    color: #fff;
    background: var(--blue);
}
.geo-logo {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.geo-logo span {
    background: linear-gradient(135deg, var(--blue), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================
   BUTTONS - Sharp Angles
   ========================================== */
.btn-geo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1.2);
    letter-spacing: 0.5px;
}
.btn-geo-blue {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 6px 25px rgba(37,99,235,0.3);
}
.btn-geo-blue:hover {
    background: var(--blue-dark);
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 12px 35px rgba(37,99,235,0.4);
}
.btn-geo-orange {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 6px 25px rgba(249,115,22,0.3);
}
.btn-geo-orange:hover {
    background: #ea580c;
    transform: translateY(-3px) rotate(1deg);
    box-shadow: 0 12px 35px rgba(249,115,22,0.4);
}
.btn-geo-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    box-shadow: none;
}
.btn-geo-outline:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-3px);
}

/* ==========================================
   GEO CARDS - Diamond / Hexagonal feel
   ========================================== */
.geo-card {
    position: relative;
    background: #fff;
    padding: 2.5rem 2rem;
    clip-path: polygon(0% 8px, 8px 0%, calc(100% - 8px) 0%, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0% calc(100% - 8px));
    box-shadow: var(--shadow-geo);
    transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1.2);
    border-left: 3px solid transparent;
}
.geo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(15,23,42,0.1);
    border-left-color: var(--blue);
}
.geo-card .geometric-icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    margin-bottom: 1.2rem;
}
.geo-card:nth-child(odd) .geometric-icon { background: var(--blue); }
.geo-card:nth-child(even) .geometric-icon { background: var(--orange); }
.geo-card:nth-child(3n) .geometric-icon { background: var(--rose); }

.geo-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}
.geo-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================
   SECTION TITLES
   ========================================== */
.geo-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(37,99,235,0.06);
    padding: 0.4rem 1rem;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.geo-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -1px;
    line-height: 1.2;
}

/* ==========================================
   STATS with Color Blocks
   ========================================== */
.stat-geo {
    position: relative;
    padding: 2rem;
    text-align: center;
    background: #fff;
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    box-shadow: var(--shadow-geo);
    overflow: hidden;
}
.stat-geo::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 100%;
}
.stat-geo:nth-child(1)::before { background: var(--blue); }
.stat-geo:nth-child(2)::before { background: var(--orange); }
.stat-geo:nth-child(3)::before { background: var(--rose); }
.stat-geo:nth-child(4)::before { background: var(--blue-dark); }
.stat-geo .num {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -1px;
}
.stat-geo .lbl {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 0.4rem;
    font-weight: 600;
}

/* ==========================================
   TESTIMONIALS - Angled Cards
   ========================================== */
.testimonial-geo {
    background: #fff;
    padding: 2rem 1.8rem;
    position: relative;
    clip-path: polygon(0 0, 100% 12px, 100% 100%, 0 calc(100% - 12px));
    box-shadow: var(--shadow-geo);
    transition: all 0.4s ease;
}
.testimonial-geo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(15,23,42,0.1);
}
.testimonial-geo::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 40px; height: 40px;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.testimonial-geo:nth-child(1)::after { background: var(--blue); }
.testimonial-geo:nth-child(2)::after { background: var(--orange); }
.testimonial-geo:nth-child(3)::after { background: var(--rose); }

/* ==========================================
   FAQ Accordion
   ========================================== */
.faq-geo {
    border: 1px solid var(--gray-light);
    margin-bottom: 0.75rem;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: all 0.3s ease;
    background: #fff;
}
.faq-geo.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.06);
}
.faq-q {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    gap: 1rem;
    transition: color 0.3s;
}
.faq-q:hover { color: var(--blue); }
.faq-q i {
    color: var(--blue);
    transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1.2);
}
.faq-geo.active .faq-q i { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.45s ease;
    padding: 0 1.5rem;
    color: var(--gray);
    line-height: 1.9;
    font-size: 0.95rem;
}
.faq-geo.active .faq-a {
    max-height: 300px;
    padding: 0 1.5rem 1.2rem;
}

/* ==========================================
   Hero geometric shapes
   ========================================== */
.hero-geo-shapes {
    position: relative;
    overflow: hidden;
}
.hero-shape {
    position: absolute;
    opacity: 0.85;
}
.hero-shape-1 {
    top: -10%; right: -5%;
    width: 50%; height: 120%;
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(37,99,235,0.04));
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.hero-shape-2 {
    bottom: -20%; left: 10%;
    width: 35%; height: 50%;
    background: rgba(249,115,22,0.08);
    clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
}
.hero-shape-3 {
    top: 15%; left: -5%;
    width: 200px; height: 200px;
    background: rgba(225,29,140,0.06);
    clip-path: polygon(50% 0%, 80% 10%, 100% 35%, 100% 70%, 85% 90%, 50% 100%, 15% 90%, 0% 70%, 0% 35%, 20% 10%);
}

/* ==========================================
   Section with clip-path transitions
   ========================================== */
.section-clipped {
    clip-path: var(--clip-section);
    padding: 5rem 1rem;
    position: relative;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-geo {
    position: relative;
    background: linear-gradient(135deg, #f8f9fc 0%, #fff 100%);
    padding: 5rem 2rem;
    text-align: center;
    overflow: hidden;
}
.cta-geo::before {
    content: '';
    position: absolute;
    top: -30px; right: -60px;
    width: 300px; height: 300px;
    background: rgba(37,99,235,0.05);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
.cta-geo::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 220px; height: 220px;
    background: rgba(249,115,22,0.05);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* ==========================================
   FOOTER
   ========================================== */
.geo-footer {
    background: var(--dark);
    color: #cbd5e1;
    clip-path: var(--clip-footer);
    padding: 6rem 1rem 3rem;
}
.geo-footer .footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
    display: inline-block;
    position: relative;
}
.geo-footer .footer-heading::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 24px; height: 3px;
}
.geo-footer > div > div:nth-child(1) .footer-heading::after { background: var(--blue); }
.geo-footer > div > div:nth-child(2) .footer-heading::after { background: var(--orange); }
.geo-footer > div > div:nth-child(3) .footer-heading::after { background: var(--rose); }
.geo-footer > div > div:nth-child(4) .footer-heading::after { background: var(--blue); }
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: block;
    line-height: 2.2;
}
.footer-link:hover { color: #fff; }

/* ==========================================
   FEATURES HERO for inner pages
   ========================================== */
.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 1rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.inner-hero .hero-shape-1 { top: -10%; right: -5%; width: 45%; height: 120%; }
.inner-hero .hero-shape-2 { bottom: -15%; left: 5%; width: 30%; height: 45%; }

/* ==========================================
   MOBILE
   ========================================== */
.mobile-menu { display: none; }
@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .mobile-menu.open {
        display: flex;
        flex-direction: column;
        background: #fff;
        padding: 1rem;
        gap: 0.5rem;
        border-top: 1px solid var(--gray-light);
    }
    .geo-nav .nav-link {
        clip-path: none;
        border-radius: 0;
        display: block;
        padding: 0.8rem 1rem;
    }
    .hero-shape-1 { width: 80%; opacity: 0.5; }
    .hero-shape-2 { width: 60%; opacity: 0.5; }
    .hero-shape-3 { width: 120px; height: 120px; }
    .section-clipped {
        clip-path: none;
    }
    .geo-card {
        clip-path: none;
        border-radius: 8px;
        border-left: 3px solid var(--blue);
    }
    .geo-card:hover { border-left-color: var(--orange); }
    .stat-geo { clip-path: none; border-radius: 8px; }
    .testimonial-geo { clip-path: none; border-radius: 8px; }
    .faq-geo { clip-path: none; border-radius: 8px; }
    .btn-geo { clip-path: none; border-radius: 6px; }
    .geo-footer { clip-path: none; border-radius: 0; }
    .inner-hero { clip-path: none; }
}
@media (min-width: 769px) {
    .mobile-menu-btn { display: none; }
    .mobile-menu { display: none; }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes geo-slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.geo-animate {
    animation: geo-slide-up 0.6s ease-out forwards;
}

/* ==========================================
   DOWNLOAD PAGE SPECIFIC
   ========================================== */
.dl-card {
    background: #fff;
    padding: 2rem;
    text-align: center;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    box-shadow: var(--shadow-geo);
    transition: all 0.4s ease;
    cursor: pointer;
}
.dl-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(15,23,42,0.12);
}
.dl-card:nth-child(1) { border-top: 4px solid var(--blue); }
.dl-card:nth-child(2) { border-top: 4px solid var(--orange); }
.dl-card:nth-child(3) { border-top: 4px solid var(--rose); }
.dl-card .dl-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.dl-card:nth-child(1) .dl-icon { color: var(--blue); }
.dl-card:nth-child(2) .dl-icon { color: var(--orange); }
.dl-card:nth-child(3) .dl-icon { color: var(--rose); }

/* ==========================================
   CLUB PAGE SPECIFIC
   ========================================== */
.club-feature-row {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 3rem 0;
    flex-wrap: wrap;
}
.club-feature-row.reverse { flex-direction: row-reverse; }
.club-feature-img {
    flex: 1;
    min-width: 280px;
    height: 300px;
    object-fit: cover;
    clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.club-feature-text {
    flex: 1;
    min-width: 280px;
}
