/* =====================================================
   Hi Card — About Us Page Styles
   File: css/smart-nfc-about.css
   ===================================================== */

/* ─── Custom Properties ─────────────────────────────── */
:root {
    /* ── Typography / layout ── */
    --font-base: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --max-width: 1200px;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* ── Backgrounds ── */
    --color-bg-base: #070b14;
    --color-bg-soft: #0d1322;
    --color-bg-panel: #0e1628;
    --color-bg-card: rgba(17, 25, 43, .88);
    --color-bg-card-strong: rgba(22, 33, 56, .96);
    --color-bg-surface: rgba(255, 255, 255, .03);
    --color-bg-surface-mid: rgba(255, 255, 255, .06);

    /* ── Text ── */
    --color-text-base: #f5f7fb;
    --color-text-sub: #f5f7fbbf;
    --color-text-muted: #aeb9cf;
    --color-text-on-dark: #f8fbff;

    /* ── Accent palette ── */
    --color-blue: #67b8ff;
    --color-blue-deep: #2d7fff;
    --color-purple: #8a5cff;
    --color-purple-soft: #8a7dff;
    --color-cyan: #29d7ff;
    --color-gold: #e2c37a;
    --color-gold-soft: #f4c46c;

    /* ── Borders ── */
    --border-subtle: rgba(255, 255, 255, .06);
    --border-soft: rgba(255, 255, 255, .10);
    --border-mid: rgba(255, 255, 255, .16);
    --border-strong: rgba(255, 255, 255, .26);
    --border-accent: rgba(103, 184, 255, .35);
    --border-accent-strong: rgba(95, 137, 255, .34);
    --border-gold: rgba(226, 195, 122, .65);

    /* ── Radius scale ── */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-pill: 999px;

    /* ── Shadows ── */
    --shadow-sm: 0 8px 24px rgba(0, 0, 0, .28);
    --shadow-md: 0 14px 35px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .45);
    --shadow-accent: 0 10px 26px rgba(45, 127, 255, .35);
    --shadow-gold: 0 0 40px rgba(226, 195, 122, .15);

    /* ── Spacing scale ── */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 28px;
    --space-xl: 40px;
    --space-2xl: clamp(56px, 8vw, 96px);

    /* ── Button ── */
    --btn-height-sm: 44px;
    --btn-height-md: 52px;
    --btn-height-lg: 60px;
    --btn-font-size: 1rem;
    --btn-radius: var(--radius-pill);

    /* ── Card 3-D scene ── */
    --sample-card-width: 200px;
    --sample-card-height: 300px;
    --thickness: 4px;
    --spin-duration: 12s;
    --shine-speed: 2.6s;

    /* section padding */
    --section-padding: clamp(56px, 8vw, 96px);
}

/* ─── Reset & Base ───────────────────────────────────── */
.hicard-about-page *,
.hicard-about-page *::before,
.hicard-about-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hicard-about-page {
    font-family: var(--font-base);
    color: var(--color-text-base);
    line-height: 1.7;
    overflow-x: hidden;
    grid-column: 12 span;
}

/* ─── Container ──────────────────────────────────────── */
.hca-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Buttons ────────────────────────────────────────── */
.hca-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.hca-btn--primary {
    color: var(--color-text-on-dark);
    border-radius: var(--btn-radius);
    background: linear-gradient(95deg, var(--color-blue-deep) 0%, var(--color-purple-soft) 100%);
    box-shadow: var(--shadow-accent), inset 0 0 0 1px rgba(255, 255, 255, .22);
    text-align: center;
}

.hca-btn--primary:hover::before {
    opacity: 1;
}

.hca-btn--primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--color-gold-soft), var(--color-gold));
    box-shadow: 0 12px 32px rgba(226, 195, 122, 0.35);
    color: #0a0a0a;
    text-decoration: none;
}

.hca-btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.hca-btn__icon {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

/* ─── Section Head ───────────────────────────────────── */
.hca-section-head {
    text-align: center;
    margin-bottom: 56px;
}

.hca-section-head__badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 16px;
    background: rgba(226, 195, 122, 0.06);
}

.hca-section-head__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--color-text-on-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.hca-section-head__lead {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hca-hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

/* Animated star particles */
.hca-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hca-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(226, 195, 122, 0.6);
    animation: hca-twinkle var(--dur, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes hca-twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.4);
    }
}

.hca-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hca-hero__eyebrow {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--color-gold-soft);
    border-radius: var(--radius-pill);
}

.hca-hero__title {
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--color-text-on-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hca-hero__lead {
    font-size: 1.05rem;
    color: var(--color-text-sub);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hca-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ─── 3D Card Visual ─────────────────────────────────── */
.hca-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hca-card-wrapper {
    position: relative;
    width: 260px;
    /* Adjust to your card image size */
    max-width: 100%;
    animation: hca-float 6s ease-in-out infinite;
}

.hca-card-custom {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    /* Match your card's corners */
    overflow: hidden;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}

.hca-card-custom__image {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Keep the glow behind your image */
.hca-card-wrapper__glow {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: var(--color-gold);
    filter: blur(60px);
    opacity: 0.3;
    z-index: 1;
}

.hca-card-wrapper__glow {
    position: absolute;
    background: radial-gradient(ellipse, rgba(226, 195, 122, 0.18) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(20px);
    animation: hca-pulse-glow 4s ease-in-out infinite;
}

@keyframes hca-pulse-glow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.hca-card-3d {
    width: 380px;
    height: 240px;
    animation: hca-float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes hca-float {

    0%,
    100% {
        transform: rotateX(8deg) rotateY(-12deg) translateY(0);
    }

    33% {
        transform: rotateX(4deg) rotateY(-6deg) translateY(-12px);
    }

    66% {
        transform: rotateX(10deg) rotateY(-16deg) translateY(-6px);
    }
}

.hca-card-3d__face {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1a2840 0%, #0d1830 30%, #162035 60%, #0a1220 100%);
    border: 1px solid rgba(226, 195, 122, 0.25);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Chip */
.hca-card-3d__chip {
    position: absolute;
    top: 50px;
    left: 30px;
    width: 44px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--color-gold) 0%, #8a6f2e 50%, var(--color-gold) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hca-card-3d__chip::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--color-gold-soft), #9a7f3e);
}

/* Logo */
.hca-card-3d__logo {
    position: absolute;
    bottom: 28px;
    left: 30px;
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    color: rgba(226, 195, 122, 0.9);
    letter-spacing: -0.05em;
    text-shadow: 0 0 20px rgba(226, 195, 122, 0.4);
}

/* NFC icon */
.hca-card-3d__nfc {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 36px;
    height: 36px;
    color: rgba(226, 195, 122, 0.6);
}

.hca-card-3d__nfc svg {
    width: 100%;
    height: 100%;
}

/* Shine overlay */
.hca-card-3d__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 40%,
            rgba(255, 255, 255, 0.03) 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
   INTRO
═══════════════════════════════════════════════════ */
.hca-intro {
    padding: 80px 0;
    position: relative;
}

.hca-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.hca-intro__inner {
    margin: 0 auto;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px;
    background: var(--color-bg-surface);
    transition: var(--transition-base);
    grid-column: 2 span;
}

.hca-intro__inner:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.hca-intro__text {
    font-size: clamp(1rem, 1.8vw, 1rem);
    color: var(--color-text-base);
    line-height: 1.9;
    opacity: 0.9;
}

.hca-intro__text strong {
    color: var(--color-gold-soft);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   OVERVIEW GRID
═══════════════════════════════════════════════════ */
.hca-overview {
    padding: 80px 0;
    position: relative;
}

.hca-overview__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
    align-items: stretch;
}

.hca-overview__grid>.hca-card {
    height: 100%;
}

.hca-overview__left {
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100%;

}

/* ─── Card Component ─────────────────────────────────── */
.hca-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px;
    background: var(--color-bg-surface);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.hca-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(226, 195, 122, 0.04) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.hca-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), var(--shadow-gold);
}

.hca-card:hover::before {
    opacity: 1;
}

.hca-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-on-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.hca-card__subtitle {
    color: var(--color-text-base);
    font-size: clamp(1rem, 1.8vw, 1rem);
    margin-bottom: 10px;
    line-height: 1.7;
}

.hca-card__body p {
    color: var(--color-text-base);
    font-size: clamp(1rem, 1.8vw, 1rem);
    line-height: 1.8;
    margin-bottom: 14px;
}

.hca-card__body p:last-child {
    margin-bottom: 0;
}

/* Feature list */
.hca-feature-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hca-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(1rem, 1.8vw, 1rem);
    color: var(--color-text-base);
}

.hca-feature-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    margin-top: 7px;
}

/* ─── Founders Card ──────────────────────────────────── */
.hca-card--founders {
    height: 100%;
}

.hca-founders__grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hca-founder {
    padding: 20px;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.hca-founder:hover {
    border-color: var(--border-gold);
    background: rgba(226, 195, 122, 0.04);
}

.hca-founder__avatar-wrap {
    float: right;
    width: 120px;
    height: 120px;
    margin: 0 0 12px 20px;
    position: relative;
    border-radius: 50%;
    shape-outside: circle(50%);
    -webkit-shape-outside: circle(50%);
    clip-path: circle(50%);
}

.hca-founder__avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    position: relative;
    z-index: 1;
    object-fit: cover;
    overflow: hidden;
}

.hca-founder__avatar--image {
    object-fit: cover;
}

.hca-founder__avatar--1 {
    background: linear-gradient(135deg, var(--color-gold-soft), var(--color-gold));
}

.hca-founder__avatar--2 {
    background: linear-gradient(135deg, #4a9eff, #1a5fc4);
}

.hca-founder__avatar--2 {
    color: #fff;
}

.hca-founder__avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gold);
    opacity: 0.4;
    animation: hca-ring-pulse 3s ease-in-out infinite;
    pointer-events: none;

}

@keyframes hca-ring-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.2;
    }
}

.hca-founder__initials {
    font-family: var(--font-base);
    letter-spacing: 0;
}

.hca-founder__info {
    display: flow-root;
    /* contains the float cleanly */

}

.hca-founder__name {
    margin-bottom: 4px;
    text-align: right;
}

.hca-founder__role {
    color: var(--color-gold-soft);
    display: block;
    margin-bottom: 10px;
    text-align: right;
}

.hca-founder__bio {
    font-size: clamp(1rem, 1.8vw, 1rem);
    color: var(--color-text-base);
    line-height: 1.7;
    text-align: right;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL UTILITY
═══════════════════════════════════════════════════ */
.hca-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hca-reveal.hca-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hca-overview__grid {
        grid-template-columns: 1fr;
    }

    .hca-pillars__grid,
    .hca-packages__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hca-card-3d {
        width: 320px;
        height: 200px;
    }
}

@media (max-width: 768px) {

    .hca-hero__lead,
    .hca-hero__title,
    .hca-hero__eyebrow {
        text-align: right;
    }

    .hca-overview {
        padding: 40px 0;
    }

    .hca-btn--primary {
        width: 100%;
        box-shadow: unset;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .hca-container {
        padding: 0 10px;
    }

    .hca-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hca-card-wrapper {
        width: 200px;
    }

    .hca-hero__lead {
        max-width: 100%;
    }

    .hca-hero__visual {
        order: -1;
    }

    .hca-card-3d {
        width: 280px;
        height: 176px;
    }

    .hca-card {
        padding: 30px 14px;
        height: auto;
    }

    .hca-founder {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 4px 10px;
    }

    .hca-section-head {
        margin-bottom: 40px;
    }

    .hca-overview__grid {
        grid-template-columns: 1fr;
    }

    .hca-intro__inner {
        padding: 30px 14px;
    }

    .hca-founder__avatar-wrap {
        margin: 0 0 12px 10px;
    }

    .hca-overview__grid>.hca-intro__inner,
    .hca-overview__grid>.hca-card {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
    }

    .hca-pillars__grid,
    .hca-packages__grid {
        grid-template-columns: 1fr;
    }

    .hca-hero {
        min-height: auto;
        padding: 30px 0 10px;
    }

    .hca-card-3d {
        width: 240px;
        height: 152px;
    }

    .hca-card-3d__logo {
        font-size: 1.4rem;
    }

    .hca-card-3d__chip {
        width: 36px;
        height: 28px;
    }

    .hca-overview__left {
        height: auto;
    }
}