/**
 * TechCardPro Landing Page Styles (Unified Design System)
 * Scoped under .tcp-landing
 */

/* =========================================
   1. DESIGN TOKENS (The Source of Truth)
   ========================================= */
:root {
/* --- Palette: Premium Bone & Violet --- */
--tcp-bg:        #fdfbf7;        /* Warm Bone White (Base) */
--tcp-bg2:       #ffffff;        /* Pure White (Cards) */
--tcp-surface:   rgba(255, 255, 255, 0.65); /* Glass surface */
--tcp-surface-2: rgba(255, 255, 255, 0.85); /* Stronger glass */

--tcp-text:      #111827;        /* Near Black */
--tcp-muted:     #6b7280;        /* Muted Gray */
--tcp-border:    rgba(0, 0, 0, 0.08);

--tcp-primary:   #7c3aed;        /* Premium Violet */
--tcp-primary-2: #6d28d9;        /* Darker Violet */
--tcp-accent:    #0ea5e9;        /* Cyan */
--tcp-highlight: #db2777;        /* Magenta (Sparingly) */

/* --- Shadows & Depth --- */
--tcp-shadow:    0 20px 40px -10px rgba(0,0,0,0.08); /* Soft ambient */
--tcp-shadow-sm: 0 4px 12px -2px rgba(0,0,0,0.06);
--tcp-ring:      0 0 0 3px rgba(124, 58, 237, 0.2);
--tcp-glow:      0 0 20px rgba(124, 58, 237, 0.3);

/* --- Geometry --- */
--tcp-radius:    1.5rem;
--tcp-radius-sm: 0.75rem;
--tcp-container: 1120px;
--tcp-nav-height: 80px;

/* --- Typography System (Scale) --- */
--tcp-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

/* Scales based on Minor Third */
--s-1: 0.75rem;
--s0: 1rem;
--s1: 1.25rem;
--s2: 1.563rem;
--s3: 1.953rem;
--s4: 2.441rem;
--s5: 3.052rem;
--s6: 3.815rem;

/* Fluid Typography */
--h1: clamp(2.5rem, 5vw, 4.5rem);
--h2: clamp(2rem, 4vw, 3rem);
--h3: clamp(1.25rem, 2vw, 1.75rem);
--body: 1rem;

/* --- Animation Signals (Written by JS) --- */
--p: 0; /* Scroll progress 0 to 1 */

/* 3D Scene Vars */
--card-x: 0px; --card-y: 0px; --card-z: 0px;
--card-rx: 0deg; --card-ry: 0deg;
--phone-x: 100vw; --phone-y: 0px; --phone-rot: 0deg;

/* Interactions */
--tap-scale: 0;
--tap-opacity: 0;
--digital-opacity: 0;
--digital-y: 20px;
--breath-y: 0px; 
--breath-rot: 0deg;

/* Legacy mapping for compatibility */
--tcp-bg-dark: var(--tcp-bg);
--tcp-bg-card: var(--tcp-surface);
--tcp-bg-card-hover: var(--tcp-surface-2);
--tcp-accent-primary: var(--tcp-primary);
--tcp-text-main: var(--tcp-text);
--tcp-text-muted: var(--tcp-muted);
--tcp-gradient: linear-gradient(135deg, var(--tcp-primary) 0%, #a855f7 100%);
}

/* =========================================
   2. RESET & GLOBAL
   ========================================= */
html, body {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
  overflow-x: clip; /* Modern clean anti-scroll logic */
}

/* Ensure background fixed layers do NOT block scroll/pointers */
.tcp-story-bg, .tcp-story-veil {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0; 
  pointer-events: none;
}
.tcp-story-veil { z-index: 1; }

html.tcp-html, body.tcp-landing {
background-color: var(--tcp-bg);
color: var(--tcp-text);
font-family: var(--tcp-font-sans);
margin: 0;
padding: 0;
-webkit-font-smoothing: antialiased;
}

.tcp-landing * {
box-sizing: border-box;
}

.tcp-container {
width: 100%;
max-width: var(--tcp-container);
margin: 0 auto;
padding: 0 1.5rem;
position: relative;
z-index: 2;
}

/* Page Layout Wrapper */
.tcp-landing-content {
position: relative;
 z-index: 2;
min-height: 100vh;
 display: flex;
flex-direction: column;
}

/* Hide scrollbar but allow scroll */
body.tcp-landing::-webkit-scrollbar {
width: 8px;
}
body.tcp-landing::-webkit-scrollbar-track {
background: transparent;
}
body.tcp-landing::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.1);
border-radius: 4px;
}

/* =========================================
   3. BACKGROUND STORY (The 3D Stage)
   ========================================= */
.tcp-story-bg {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100vh;
z-index: 0;
pointer-events: none;
perspective: 1000px;
overflow: hidden;
}

/* Veil: Softens the transition from top to bottom */
.tcp-story-veil {
position: fixed; inset: 0; z-index: 1; pointer-events: none;
background: 
radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
linear-gradient(to bottom, transparent 0%, rgba(253, 251, 247, 0.8) 90%, var(--tcp-bg) 100%);
}

/* Scene Container */
.tcp-story-scene {
position: absolute; inset: 0;
display: flex; align-items: center; justify-content: center;
transform-style: preserve-3d;
}

/* --- THE CARD HERO (Physical) --- */
.tcp-story-card {
	width: 340px; height: 214px; /* Credt Card Ratio */
	position: absolute;
	top: 50%; left: 50%;
	margin-top: -107px; margin-left: -170px;
	transform-style: preserve-3d;
border-radius: 16px;
background: #1e1e1e; /* Pro Black */
box-shadow: 
0 40px 80px rgba(0,0,0,0.2),
0 10px 30px rgba(0,0,0,0.15),
inset 0 0 0 1px rgba(255,255,255,0.15);

/* Animation hooks */
transform: 
translate3d(var(--card-x), calc(var(--card-y) + var(--breath-y)), var(--card-z)) 
rotateX(calc(var(--card-rx) + var(--breath-rot))) 
rotateY(var(--card-ry));
will-change: transform;
z-index: 10;
}

.card-face {
position: absolute; inset: 0;
padding: 24px;
display: flex; flex-direction: column; justify-content: space-between;
backface-visibility: hidden;
}

/* Card details (Metal finish) */
.card-chip {
width: 44px; height: 34px;
background: linear-gradient(135deg, #e2e2e2 0%, #999 100%);
border-radius: 6px;
}
.card-logo {
color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: 1px;
text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.card-shine {
position: absolute; inset: 0; border-radius: 16px;
background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.2) 45%, transparent 60%);
opacity: 0.8; pointer-events: none;
}

/* --- THE PHONE (Device) --- */
.tcp-story-phone {
	width: 300px; height: 600px;
	position: absolute;
	top: 50%; left: 50%;
	margin-top: -300px; margin-left: -150px;
	background: #2a2a2a;
border-radius: 48px;
box-shadow: 
0 0 0 8px #1a1a1a,
0 50px 100px rgba(0,0,0,0.25);
transform: translate3d(var(--phone-x), var(--phone-y), 0) rotate(var(--phone-rot));
will-change: transform;
z-index: 5;
overflow: hidden;
}
.phone-screen {
position: absolute; inset: 12px;
background: #fff;
border-radius: 36px;
overflow: hidden;
display: flex; align-items: center; justify-content: center;
}
.phone-notch {
position: absolute; top: 0; left: 50%; transform: translateX(-50%);
width: 120px; height: 24px;
background: #1a1a1a;
border-radius: 0 0 16px 16px;
z-index: 20;
}

/* Digital Profile on Phone */
.tcp-digital-card {
width: 90%;
background: #fff;
border-radius: 24px;
padding: 2rem 1.5rem;
text-align: center;
box-shadow: 0 20px 60px rgba(0,0,0,0.06);
opacity: var(--digital-opacity);
transform: translateY(var(--digital-y));
will-change: opacity, transform;
}
.digital-avatar {
width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
background: var(--tcp-gradient);
}
.digital-name { font-weight: 700; color: var(--tcp-text); margin-bottom: 0.25rem; }
.digital-role { color: var(--tcp-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.digital-btn {
background: var(--tcp-text); color: #fff;
padding: 0.75rem; border-radius: 12px; font-weight: 500; font-size: 0.875rem;
margin-top: 0.5rem; display: block;
}

/* Ambient Blobs */
.tcp-story-blob {
position: absolute; top: 50%; left: 50%;
width: 800px; height: 800px;
background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
transform: translate(-50%, -50%) translateY(calc(var(--p) * -300px));
pointer-events: none;
}

/* =========================================
   4. LAYOUT & SECTIONS
   ========================================= */
.tcp-section {
padding: 8rem 0;
position: relative;
z-index: 2;
}

.tcp-section-head {
text-align: center;
max-width: 700px;
margin: 0 auto 5rem;
}
.tcp-section-head h2 {
font-size: var(--h2);
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 1rem;
background: linear-gradient(135deg, var(--tcp-text) 0%, #4b5563 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.tcp-section-head p {
font-size: 1.125rem;
color: var(--tcp-muted);
line-height: 1.6;
}

/* --- Hero Section --- */
.tcp-hero {
min-height: 100vh;
display: flex;
align-items: center;
padding-top: var(--tcp-nav-height);
}
.tcp-hero-content {
max-width: 600px;
position: relative;
z-index: 10; /* Above 3D card */
}
.hero-badge {
display: inline-flex; align-items: center;
padding: 0.5rem 1rem;
background: rgba(255,255,255,0.5);
border: 1px solid var(--tcp-border);
backdrop-filter: blur(10px);
border-radius: 99px;
font-weight: 600;
font-size: 0.875rem;
color: var(--tcp-primary);
margin-bottom: 1.5rem;
box-shadow: var(--tcp-shadow-sm);
}
.hero-title {
font-size: var(--h1);
font-weight: 800;
line-height: 1.1;
letter-spacing: -0.03em;
margin-bottom: 1.5rem;
color: var(--tcp-text);
}
.hero-subtitle {
font-size: 1.25rem;
line-height: 1.6;
color: var(--tcp-muted);
margin-bottom: 2.5rem;
max-width: 480px;
}

/* --- Components: Buttons --- */
.tcp-btn-group {
display: flex; gap: 1rem; flex-wrap: wrap;
}
.tcp-btn {
display: inline-flex; align-items: center; justify-content: center;
padding: 1rem 2rem;
border-radius: 99px;
font-weight: 600;
transition: all 0.2s ease;
text-decoration: none;
cursor: pointer;
}
.tcp-btn-primary {
background: var(--tcp-text); /* Elegant Black */
color: #fff;
box-shadow: var(--tcp-shadow);
}
.tcp-btn-primary:hover {
transform: translateY(-2px);
background: #000;
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.tcp-btn-glass {
background: rgba(255,255,255,0.5);
border: 1px solid var(--tcp-border);
color: var(--tcp-text);
}
.tcp-btn-glass:hover {
background: #fff;
border-color: rgba(0,0,0,0.15);
}

/* --- Features Grid (Glass) --- */
/* .tcp-features {} removed empty rule */
.tcp-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.tcp-card {
background: var(--tcp-surface);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
padding: 2.5rem;
border-radius: var(--tcp-radius);
border: 1px solid rgba(255,255,255,0.4);
box-shadow: var(--tcp-shadow);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tcp-card:hover {
transform: translateY(-5px);
background: var(--tcp-surface-2);
box-shadow: 0 25px 50px -10px rgba(0,0,0,0.1);
border-color: #fff;
}
.card-icon {
width: 56px; height: 56px;
background: #fff;
border-radius: 16px;
display: flex; align-items: center; justify-content: center;
margin-bottom: 1.5rem;
font-size: 1.5rem;
box-shadow: var(--tcp-shadow-sm);
color: var(--tcp-primary);
}
.tcp-card h3 {
font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem;
}
.tcp-card p {
color: var(--tcp-muted); font-size: 0.95rem; line-height: 1.6;
}

/* --- How It Works --- */
.tcp-steps-row {
display: flex; flex-direction: column; gap: 4rem;
}
.tcp-step {
display: grid; grid-template-columns: 1fr; gap: 2rem;
align-items: center;
}
@media (min-width: 768px) {
.tcp-step { grid-template-columns: 1fr 1fr; }
.tcp-step:nth-child(even) { direction: rtl; }
.tcp-step:nth-child(even) .tcp-step-content { direction: ltr; }
}
.step-number {
font-size: 5rem; font-weight: 800;
color: rgba(124, 58, 237, 0.1);
line-height: 1; margin-bottom: 1rem;
}

/* --- Preview Section (Spacer for Phone Animation) --- */
.tcp-preview-spacer {
height: 120vh; /* Long scroll area to let phone slide in */
display: flex; align-items: center; justify-content: center;
pointer-events: none;
}
.tcp-preview-text {
text-align: center;
transform: translateY(-50px);
}

/* --- Footer --- */
.tcp-footer {
position: relative;
z-index: 10;
padding: 4rem 0;
border-top: 1px solid var(--tcp-border);
background: #fff;
text-align: center;
margin-top: auto;
}
.footer-logo { font-weight: 800; font-size: 1.5rem; margin-bottom: 1rem; display: block;}
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 2rem; }
.footer-links a { color: var(--tcp-muted); text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--tcp-primary); }

/* =========================================
   5. MOBILE & RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
:root {
--h1: 2.5rem;
--h2: 2rem;
}
.tcp-hero {
flex-direction: column;
text-align: center;
padding-top: 6rem;
justify-content: flex-start;
}
.tcp-hero-content {
margin: 0 auto 12rem auto; /* Space for the card under it */
}
.tcp-btn-group { justify-content: center; }
.tcp-story-card {
top: auto; bottom: 15%; /* Position card at bottom on mobile hero */
transform: scale(0.8) 
translate3d(var(--card-x), var(--card-y), var(--card-z))
rotateX(var(--card-rx)) rotateY(var(--card-ry));
}
.tcp-story-phone {
transform: scale(0.8) translate3d(var(--phone-x), var(--phone-y), 0);
}
}
/* =========================================
   6. HEADER & NAVIGATION
   ========================================= */
.tcp-header-landing {
position: fixed;
top: 0; left: 0; width: 100%;
z-index: 100;
padding: 1rem 0;
transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}
.tcp-header-landing.is-scrolled {
background: rgba(253, 251, 247, 0.85); /* Bone White with Blur */
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid rgba(0,0,0,0.05);
padding: 0.75rem 0;
}
.landing-nav-container {
display: flex; align-items: center; justify-content: space-between;
}
.landing-logo a {
display: flex; align-items: center; gap: 0.5rem;
font-weight: 800; font-size: 1.25rem;
color: var(--tcp-text); text-decoration: none;
}
.tcp-logo-mark { display: block; }

/* Desktop Menu */
.tcp-landing-menu {
display: flex; list-style: none; margin: 0; padding: 0; gap: 2rem;
}
.tcp-landing-menu li { display: inline-block; }
.tcp-landing-menu a {
color: var(--tcp-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem;
transition: color 0.2s;
}
.tcp-landing-menu a:hover { color: var(--tcp-primary); }

/* Mobile Toggle */
.tcp-mobile-toggle {
display: none; /* Desktop default */
background: none; border: none; cursor: pointer;
flex-direction: column; gap: 5px; padding: 0.5rem;
}
.tcp-icon-bar {
display: block; width: 24px; height: 2px; background: var(--tcp-text);
transition: 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
.tcp-mobile-toggle { display: flex; }

.tcp-landing-nav {
position: fixed; top: 0; right: 0;
width: 80%; max-width: 320px; height: 100vh;
background: #fff;
border-left: 1px solid var(--tcp-border);
padding: 6rem 2rem;
box-shadow: -10px 0 30px rgba(0,0,0,0.1);
transform: translateX(100%);
transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
z-index: 99;
}
body.tcp-nav-open .tcp-landing-nav { transform: translateX(0); }

.tcp-landing-menu {
flex-direction: column; gap: 1.5rem;
}
.tcp-landing-menu a { font-size: 1.25rem; font-weight: 600; color: var(--tcp-text); }

/* Burger Animation */
body.tcp-nav-open .tcp-mobile-toggle .tcp-icon-bar:nth-child(2) { opacity: 0; }
body.tcp-nav-open .tcp-mobile-toggle .tcp-icon-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.tcp-nav-open .tcp-mobile-toggle .tcp-icon-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
/* --- STEP 11 INCREMENTAL UPDATES --- */

/* 1. Mobile Menu Close inside panel */
.tcp-nav-close {
display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
.tcp-nav-close {
display: block;
background: none; border: none;
font-size: 2rem; color: var(--tcp-muted);
position: absolute; top: 1.5rem; right: 1.5rem;
cursor: pointer;
}
}

/* 2. Mobile Animation Fallback */
@media (max-width: 768px) {
.tcp-story-card, .tcp-story-phone {
filter: none !important; /* Performance */
box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}
/* Ensure visibility at small sizes */
.tcp-story-scene {
transform: scale(0.9);
}
}

@media (prefers-reduced-motion: reduce) {
.tcp-story-card, .tcp-story-phone {
transition: none !important;
transform: translate3d(0,0,0) !important; /* Reset to static safe pos if needed, or rely on JS being disabled */
}
}

/* 3. Realistic Digital Card UI */
.tcp-digital-card {
padding: 0 !important; /* Reset padding for full bleed layout inside if needed, or control via inner */
overflow: hidden;
display: flex; flex-direction: column;
text-align: left;
background: #fff;
position: relative;
}

.digital-brand-row {
background: #f8f8f8;
padding: 1rem 1.5rem;
display: flex; align-items: center; gap: 0.5rem;
border-bottom: 1px solid rgba(0,0,0,0.05);
}
.digital-brand-logo { width: 20px; height: 20px; }
.digital-brand-text { font-weight: 700; font-size: 0.85rem; color: #333; letter-spacing: -0.01em;}

.digital-profile {
padding: 2rem 1.5rem 1.5rem;
text-align: center;
}
.digital-avatar {
width: 80px; height: 80px;
margin: 0 auto 1rem;
background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
border-radius: 50%;
border: 3px solid #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
}
.digital-name { font-size: 1.5rem; font-weight: 800; color: #111; margin-bottom: 0.25rem; }
.digital-role { font-size: 0.9rem; color: #666; font-weight: 500; }

.digital-actions {
padding: 0 1.5rem 1.5rem;
display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.digital-btn {
padding: 0.75rem; border-radius: 12px;
font-size: 0.85rem; font-weight: 600;
text-align: center; cursor: pointer;
}
.digital-btn-primary { background: #111; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.digital-btn-secondary { background: #f3f4f6; color: #333; border: 1px solid #e5e7eb; }

.digital-info-row {
padding: 1rem 1.5rem;
background: #fafafa;
border-top: 1px solid rgba(0,0,0,0.03);
display: flex; justify-content: space-around;
}
.digital-icon-item {
display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
color: #666; font-size: 0.75rem; font-weight: 500;
}
.digital-icon {
width: 36px; height: 36px;
background: #fff; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
border: 1px solid rgba(0,0,0,0.05);
color: var(--tcp-primary);
}

/* 4. Stronger Step Cards */
.tcp-step-content {
background: rgba(255,255,255,0.7);
backdrop-filter: blur(10px);
padding: 2rem;
border-radius: var(--tcp-radius);
border: 1px solid #fff;
box-shadow: var(--tcp-shadow-sm);
position: relative;
}
.step-badge {
position: absolute; top: -1.5rem; left: 1.5rem;
background: var(--tcp-text);
color: #fff;
width: 3rem; height: 3rem;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-weight: 800; font-size: 1rem;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* 5. Compatibility Row */
.tcp-compat-row {
display: inline-flex; align-items: center; gap: 1rem;
background: #fff;
padding: 0.75rem 1.5rem;
border-radius: 99px;
box-shadow: var(--tcp-shadow-sm);
margin-bottom: 2rem;
border: 1px solid rgba(0,0,0,0.05);
}
.tcp-compat-mark {
color: #111;
display: flex; align-items: center;
}
.tcp-compat-divider {
width: 1px; height: 24px; background: #eee;
}
.tcp-compat-title {
font-size: var(--h2); font-weight: 800; margin-bottom: 0.5rem;
}
.tcp-compat-sub { color: var(--tcp-muted); }

/* Hide specific elements if needed on mobile to simplify scene */
@media (max-width: 400px) {
.tcp-compat-title { font-size: 1.75rem; }
}

/* --- STEP 12 FINAL REFINEMENTS --- */

/* Mobile Optimization: Reduce effects & Performance */
@media (max-width: 520px) {
  .tcp-story-card, .tcp-story-phone {
    filter: none !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
  }
  .tcp-story-scene {
    perspective: 600px; /* Reduced perspective for mobile */
  }
}

/* Performance Markers */
.tcp-story-card, .tcp-story-phone {
  will-change: transform;
  contain: paint; /* Hint for browser optimization */
}

/* Animated Accent on Physical Card Text */
.tcp-story-card .card-logo {
  background: linear-gradient(120deg, #fff 0%, #fff 40%, rgba(255,255,255,0.8) 50%, #fff 60%, #fff 100%);
  background-size: 200% auto;
  color: transparent; /* Fallback: text becomes transparent to show bg */
  -webkit-background-clip: text;
  background-clip: text;
  animation: txtShine 6s linear infinite;
}
@media (prefers-reduced-motion) {
  .tcp-story-card .card-logo { animation: none; background: none; color: #fff; }
}

@keyframes txtShine {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* Realistic Digital Card UI (Step 12 Layout) */
.tcp-digital-card {
  /* Override previous simple styles */
  background: #fdfdfd; 
  height: 100%;
  display: flex; 
  flex-direction: column;
  padding: 0;
}
.digital-top-bar {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  background: #fff;
}
.digital-logo-mark { width: 18px; height: 18px; opacity: 0.8; }
.digital-brand-name { font-size: 12px; font-weight: 700; text-transform: uppercase; color: #999; letter-spacing: 0.5px; }

.digital-card-body {
  padding: 24px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: radial-gradient(circle at top right, #fafafa 0%, #fff 70%);
}

.digital-header-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--tcp-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.8;
  margin-bottom: -5px;
}

.digital-profile-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.02);
}
.digital-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff, #a5b4fc);
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.digital-text-group { display: flex; flex-direction: column; gap: 2px; }
.digital-name { font-size: 18px; font-weight: 800; color: #111; line-height: 1.1; letter-spacing: -0.02em; }
.digital-role { font-size: 13px; color: #666; font-weight: 500; }

.digital-actions {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}
.digital-btn {
  border: none;
  border-radius: 10px;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s;
}
.digital-btn:active { transform: scale(0.96); }
.digital-btn-primary { background: #111; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.digital-btn-secondary { background: #eff2f6; color: #444; border: 1px solid rgba(0,0,0,0.02); }

.digital-chips-row {
  display: flex; gap: 10px; margin-top: auto;
}
.digital-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 600;
  color: #666;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Fix for footer-landing.php structure */
.tcp-footer-landing {
  position: relative; 
  z-index: 10; 
  padding: 4rem 0;
  border-top: 1px solid var(--tcp-border);
  background: #fff; 
  text-align: center; 
  margin-top: auto;
}
.tcp-footer-landing .container {
  width: 100%; 
  max-width: var(--tcp-container); 
  margin: 0 auto; 
  padding: 0 1.5rem;
}
.tcp-footer-landing .footer-landing-nav ul {
  display: flex; 
  justify-content: center; 
  gap: 2rem; 
  list-style: none; 
  padding: 0; 
  margin: 0 0 2rem 0;
}
.tcp-footer-landing a { 
  color: var(--tcp-muted); 
  text-decoration: none; 
  font-weight: 500; 
}
.tcp-footer-landing a:hover { color: var(--tcp-primary); }

/* --- STRUCTURAL LOCKDOWN (Step 13 Safety) --- */
html, body { 
  height: auto !important; 
  min-height: 100% !important; 
  overflow-y: auto !important; 
  overflow-x: clip !important; 
}
.tcp-story-bg, .tcp-story-veil { 
  position: fixed !important; 
  inset: 0 !important; 
  pointer-events: none !important; 
  z-index: 0 !important;
}
.tcp-story-veil { z-index: 1 !important; }

.tcp-landing { 
  position: relative !important; 
  min-height: 100vh !important; 
}
.tcp-landing-content { 
  position: relative !important; 
  z-index: 2 !important; 
}
.tcp-footer-landing { 
  position: relative !important; 
  z-index: 2 !important; 
  /* Ensure it has space */
  margin-top: auto !important;
}

/* Prevent scroll locking unless explicitly handled by JS class */
body:not(.tcp-nav-open) {
  overflow: visible !important;
  overflow-x: clip !important;
}
