/* ============================================================
   company-registers.css  —  Hong Kong Company Registers Landing Page
   Namespace: .reg-landing
   Primary colour: #696cff  |  hover: #5f61e6
   ============================================================ */

:root {
    --reg-primary:        #696cff;
    --reg-primary-hover:  #5f61e6;
    --reg-primary-soft:   #eeedff;
    --reg-primary-mid:    rgba(105, 108, 255, .15);
    --reg-dark:           #1a1a2e;
    --reg-dark2:          #16213e;
    --reg-text:           #4a4a6a;
    --reg-border:         #e8e8f5;
    --reg-radius:         12px;
    --reg-radius-lg:      20px;
    --reg-shadow:         0 4px 24px rgba(105, 108, 255, .10);
    --reg-shadow-hover:   0 8px 32px rgba(105, 108, 255, .20);
}

/* ── Hero ────────────────────────────────────────────────────── */
.reg-hero {
    background: linear-gradient(135deg, var(--reg-dark) 0%, var(--reg-dark2) 60%, #0f3460 100%);
    padding: 88px 0 80px;
    overflow: hidden;
    position: relative;
}
.reg-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(105,108,255,.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.reg-hero-inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}
.reg-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(105,108,255,.18);
    border: 1px solid rgba(105,108,255,.35);
    color: #a5b4fc;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.reg-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
}
.reg-hero h1 span {
    color: var(--reg-primary);
}
.reg-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: #a5b4fc;
    display: block;
    margin-bottom: 20px;
}
.reg-hero-lead {
    color: #c5cae9;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 560px;
}
.reg-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.reg-hero-tag {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #e8eaf6;
    font-size: .78rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Visual */
.reg-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.reg-visual-wrap {
    position: relative;
    width: 320px; height: 320px;
}
.reg-visual-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(105,108,255,.2);
    animation: reg-spin 18s linear infinite;
}
.reg-visual-ring:nth-child(2) { inset: 30px; border-color: rgba(105,108,255,.35); animation-duration: 12s; }
.reg-visual-ring:nth-child(3) { inset: 60px; border-color: rgba(105,108,255,.5); animation-duration: 8s; }
@keyframes reg-spin { to { transform: rotate(360deg); } }
.reg-visual-center {
    position: absolute;
    inset: 90px;
    background: linear-gradient(135deg, var(--reg-primary), var(--reg-primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(105,108,255,.5);
}
.reg-visual-center i {
    font-size: 2.8rem;
    color: #fff;
}
.reg-visual-chips {
    position: absolute;
    inset: 0;
}
.reg-chip {
    position: absolute;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    white-space: nowrap;
}
.reg-chip:nth-child(1) { top: 10%;  right: -10%; }
.reg-chip:nth-child(2) { bottom: 20%; left: -12%; }
.reg-chip:nth-child(3) { bottom: 5%;  right: 0%; }

/* ── Access buttons ──────────────────────────────────────────── */
._reg_access_btns { display: flex; gap: 12px; flex-wrap: wrap; }
._reg_access_btns .btn {
    padding: 11px 26px;
    font-weight: 600;
    border-radius: 8px;
    font-size: .95rem;
}

/* ── Definition Block ─────────────────────────────────────────── */
.reg-def-section {
    padding: 72px 0;
    background: #fff;
}
.reg-def-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.reg-def-card {
    background: var(--reg-primary-soft);
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-lg);
    padding: 36px;
}
.reg-def-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--reg-dark);
    margin-bottom: 14px;
}
.reg-def-card p {
    color: var(--reg-text);
    line-height: 1.75;
    font-size: .97rem;
    margin: 0;
}

/* ── Register Types ───────────────────────────────────────────── */
.reg-types-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--reg-dark) 0%, var(--reg-dark2) 100%);
}
.reg-types-section .reg-section-eyebrow { color: #a5b4fc; }
.reg-types-section .reg-section-title  { color: #fff; }
.reg-types-section .reg-section-lead   { color: #c5cae9; }

.reg-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.reg-type-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(105,108,255,.25);
    border-radius: var(--reg-radius-lg);
    padding: 32px 28px;
    transition: border-color .25s, background .25s;
}
.reg-type-card:hover {
    border-color: var(--reg-primary);
    background: rgba(105,108,255,.12);
}
.reg-type-icon {
    width: 52px; height: 52px;
    background: rgba(105,108,255,.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.reg-type-icon i { font-size: 1.4rem; color: #a5b4fc; }
.reg-type-code {
    font-size: .75rem;
    font-weight: 700;
    color: var(--reg-primary);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.reg-type-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.reg-type-zh {
    font-size: .85rem;
    color: #a5b4fc;
    margin-bottom: 12px;
}
.reg-type-card p {
    color: #c5cae9;
    font-size: .88rem;
    line-height: 1.65;
    margin-bottom: 14px;
}
.reg-type-cap {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    color: #a5b4fc;
    background: rgba(105,108,255,.2);
    border: 1px solid rgba(105,108,255,.3);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Problem Statement ──────────────────────────────────────── */
.reg-problem-section {
    padding: 80px 0;
    background: #f8f9ff;
}
.reg-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.reg-problem-card {
    background: #fff;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
}
.reg-problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--reg-primary), var(--reg-primary-hover));
}
.reg-problem-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--reg-primary-soft);
    line-height: 1;
    margin-bottom: 12px;
}
.reg-problem-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--reg-dark);
    margin-bottom: 10px;
}
.reg-problem-card p {
    color: var(--reg-text);
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Section Shared ──────────────────────────────────────────── */
.reg-section-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--reg-primary);
    margin-bottom: 12px;
}
.reg-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--reg-dark);
    line-height: 1.25;
    margin-bottom: 16px;
}
.reg-section-lead {
    font-size: 1rem;
    color: var(--reg-text);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Feature Cards ───────────────────────────────────────────── */
.reg-features-section {
    padding: 80px 0;
    background: #fff;
}
.reg-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.reg-feature-card {
    background: #fff;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--reg-shadow);
    transition: transform .2s, box-shadow .2s;
}
.reg-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--reg-shadow-hover);
}
.reg-feature-icon {
    width: 52px; height: 52px;
    background: var(--reg-primary-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.reg-feature-icon i { font-size: 1.4rem; color: var(--reg-primary); }
.reg-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--reg-dark);
    margin-bottom: 10px;
}
.reg-feature-card p {
    color: var(--reg-text);
    font-size: .9rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Workflow ────────────────────────────────────────────────── */
.reg-workflow-section {
    padding: 80px 0;
    background: var(--reg-primary-soft);
}
.reg-workflow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
    position: relative;
}
.reg-workflow::before {
    content: '';
    position: absolute;
    top: 36px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--reg-primary), var(--reg-primary-hover));
}
.reg-workflow-step { text-align: center; position: relative; }
.reg-step-num {
    width: 56px; height: 56px;
    background: var(--reg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(105,108,255,.35);
}
.reg-workflow-step h3 {
    font-size: .97rem;
    font-weight: 700;
    color: var(--reg-dark);
    margin-bottom: 8px;
}
.reg-workflow-step p {
    color: var(--reg-text);
    font-size: .87rem;
    line-height: 1.6;
    margin: 0;
}

/* ── Checklist + Screenshot ──────────────────────────────────── */
.reg-checklist-section {
    padding: 80px 0;
    background: #fff;
}
.reg-checklist-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.reg-checklist-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 14px;
}
.reg-checklist-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: .95rem; color: var(--reg-text); line-height: 1.55;
}
.reg-checklist-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--reg-primary);
    font-size: .85rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.reg-screenshot-wrap {
    border-radius: var(--reg-radius-lg);
    overflow: hidden;
    box-shadow: var(--reg-shadow-hover);
    border: 1px solid var(--reg-border);
}
.reg-screenshot-wrap img { display: block; width: 100%; }

/* ── Compliance Basis ────────────────────────────────────────── */
.reg-compliance-section {
    padding: 80px 0;
    background: #f8f9ff;
}
.reg-compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.reg-compliance-card {
    background: #fff;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--reg-shadow);
}
.reg-compliance-code {
    font-size: .78rem;
    font-weight: 700;
    color: var(--reg-primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--reg-primary-soft);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 14px;
}
.reg-compliance-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--reg-dark);
    margin-bottom: 10px;
}
.reg-compliance-card p {
    color: var(--reg-text);
    font-size: .86rem;
    line-height: 1.6;
    margin: 0;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.reg-faq-section {
    padding: 80px 0;
    background: #fff;
}
.reg-faq-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.reg-faq-item {
    background: #fff;
    border: 1px solid var(--reg-border);
    border-radius: var(--reg-radius);
    padding: 24px 28px;
    box-shadow: var(--reg-shadow);
}
.reg-faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--reg-dark);
    margin-bottom: 10px;
    display: flex; align-items: flex-start; gap: 10px;
}
.reg-faq-item h3::before {
    content: 'Q';
    flex-shrink: 0;
    width: 26px; height: 26px;
    background: var(--reg-primary);
    color: #fff;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin-top: 1px;
}
.reg-faq-item p {
    color: var(--reg-text);
    font-size: .92rem;
    line-height: 1.7;
    margin: 0;
    padding-left: 36px;
}

/* ── CTA ─────────────────────────────────────────────────────── */
.reg-cta-section {
    padding: 88px 0;
    background: linear-gradient(135deg, var(--reg-dark) 0%, var(--reg-dark2) 60%, #0f3460 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.reg-cta-section::before {
    content: '';
    position: absolute;
    bottom: -80px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(105,108,255,.25) 0%, transparent 70%);
    pointer-events: none;
}
.reg-cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}
.reg-cta-section p {
    color: #c5cae9;
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.reg-cta-btns {
    display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.reg-cta-btns .btn {
    padding: 13px 32px;
    font-weight: 700;
    border-radius: 8px;
    font-size: 1rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .reg-types-grid { grid-template-columns: repeat(2, 1fr); }
    .reg-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .reg-compliance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .reg-hero-inner { grid-template-columns: 1fr; }
    .reg-hero-visual { display: none; }
    .reg-def-grid { grid-template-columns: 1fr; }
    .reg-problem-grid { grid-template-columns: 1fr; }
    .reg-workflow { grid-template-columns: repeat(2, 1fr); }
    .reg-workflow::before { display: none; }
    .reg-checklist-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .reg-types-grid,
    .reg-feature-grid,
    .reg-compliance-grid { grid-template-columns: 1fr; }
    .reg-hero { padding: 56px 0 48px; }
    .reg-workflow { grid-template-columns: 1fr; }
    ._reg_access_btns { flex-direction: column; }
    ._reg_access_btns .btn { width: 100%; }
}
