/* premium, ultra-minimalist black-and-white design system */
:root {
    --bg-primary: #050505;
    --bg-secondary: #0d0d0d;
    --bg-tertiary: #141414;
    --border-color: #222222;
    --border-hover: #444444;
    
    --text-primary: #ffffff;
    --text-secondary: #a1a1a6;
    --text-muted: #6e6e73;
    
    --accent-color: #ffffff;
    --accent-rgb: 255, 255, 255;
    
    --card-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.9), 0 0 1px 0 rgba(255, 255, 255, 0.08);
    --soft-glow: 0 0 20px rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

html {
    background-color: var(--bg-primary);
}

body {
    background-color: transparent;
    /* Nothing-style premium dotted grid background */
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -20%; left: -20%; right: -20%; bottom: -20%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(45, 50, 70, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 70% 60%, rgba(30, 35, 50, 0.1) 0%, transparent 55%);
    z-index: -1;
    animation: premiumGlow 25s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes premiumGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.05) translate(2%, 3%); }
}

/* Hide scrollbars during loading screen */
body.loading {
    overflow: hidden;
}

/* Base UI Components */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Section Containers */
.section-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

/* Page padding for multi-page templates */
.page-content-padding {
    padding-top: calc(var(--header-height) - 40px);
}
.page-content-padding .section-container:first-child {
    padding-top: 60px;
}

/* Dotted Divider lines */
.dotted-divider {
    border: none;
    border-top: 2px dotted var(--border-color);
    width: 100%;
    margin: 0;
}

/* Premium Buttons - Rounded */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px; /* Fully rounded buttons */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.02em;
    gap: 8px;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000000;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    box-shadow: var(--soft-glow);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    border-color: var(--border-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.02);
}

.btn-large {
    padding: 16px 44px;
    font-size: 1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 40px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.text-highlight {
    background: linear-gradient(180deg, #ffffff 30%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 1. Canvas Loader Overlay */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

#loader-canvas {
    width: 100%;
    max-width: 480px;
    height: 120px;
}

.loader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 280px;
}

.loading-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.loader-spinner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
}

#loader-spinner-canvas {
    display: block;
}

/* 2. Header Navigation (Blending top header transparent initially) */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    border-bottom: 1px solid transparent;
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#logo-canvas {
    display: block;
    width: 160px;
    height: 40px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* 3. Centered Hero Section styling — fills viewport but allows scroll if content overflows */
.hero-section.center-layout {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Fix for internal pages to clear the fixed navbar */
.products-showcase-hero,
.tech-hero,
.how-hero {
    padding-top: calc(var(--header-height) + 60px);
    position: relative;
}

.hero-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    padding: 20px 24px;
}

.hero-logo-canvas-wrapper {
    width: 100%;
    max-width: 1000px; /* Wider on desktop to avoid congestion */
    height: 220px;     /* Taller to give the logo breathing room */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

#hero-logo-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-subheading {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.22em;
    text-transform: lowercase;
    margin-bottom: 20px;
}

/* Free-floating card viewport (large on desktop) */
.hero-card-viewport-free {
    width: 100%;
    max-width: 1000px; /* Expanded for 3 cards */
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: radial-gradient(circle at center, rgba(30, 30, 35, 0.4) 0%, transparent 60%);
}

#canvas3d-container {
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-cta-group-center {
    display: flex;
    justify-content: center;
}

.interaction-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    pointer-events: none;
}

/* 4. Infinite Banner transition (Marquee) */
.banner-transition {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    overflow: hidden;
    display: flex;
}

.banner-scroller {
    display: flex;
    white-space: nowrap;
    animation: scroll-text 30s linear infinite;
}

.banner-scroller span {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    padding-right: 2rem;
    text-transform: uppercase;
}

@keyframes scroll-text {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); } /* Infinite wrapping translate */
}

/* 5. Scroll-driven Tap Animation Sequence */
.scroll-animation-section {
    position: relative;
    height: 250vh; 
    background-color: #030303;
    border-bottom: 1px solid var(--border-color);
}

.scroll-track-wrapper {
    height: 100%;
    position: relative;
}

.sticky-container {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    width: 100%;
    overflow: hidden;
}

.anim-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: center;
    gap: 40px;
}

.anim-narrative {
    position: relative;
    height: 320px;
}

.narrative-step {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.narrative-step.active {
    opacity: 1;
    visibility: visible;
}

.narrative-step h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-top: 16px;
    margin-bottom: 16px;
}

.narrative-step p {
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 440px;
}

.anim-viewport {
    position: relative;
    height: 480px;
    background-color: #070707;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Floating Card in scroll viewport */
.animated-card-parent {
    position: absolute;
    z-index: 5;
}

#scroll-card-parent {
    width: 200px;
    height: 126px;
    perspective: 800px;
}

.animated-3d-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(15deg) rotateY(-35deg);
    transition: transform 0.1s ease;
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #0b0b0d;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-face.front-face {
    transform: rotateY(0deg);
}

.card-face.back-face {
    transform: rotateY(180deg);
    background-color: #09090b;
}

.card-face .logo {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.card-face .chip {
    position: absolute;
    width: 22px;
    height: 18px;
    background-color: #1a1a1f;
    border: 1px solid #333;
    border-radius: 3px;
    right: 12px;
    top: 12px;
}

.card-face .label {
    font-size: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.card-face .sensor {
    font-size: 0.6rem;
    color: var(--text-muted);
    align-self: flex-start;
}

.card-face.back-face .stripe {
    width: 100%;
    height: 20px;
    background-color: #121214;
    position: absolute;
    top: 16px;
    left: 0;
}

.animated-phone-container {
    position: absolute;
    right: 40px;
}

/* Smartphone simulator mockup */
.phone-frame {
    position: relative;
    width: 200px;
    height: 380px;
    background-color: #000000;
    border: 6px solid #1c1c1e;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 14px;
    background-color: #1c1c1e;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #08080a;
}

.phone-state {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    padding: 20px 10px 10px 10px;
}

.phone-state.active {
    opacity: 1;
    visibility: visible;
}

.phone-state.idle-state {
    justify-content: center;
    align-items: center;
}

.nfc-target-zone {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nfc-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: #121214;
    border: 1px solid #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.nfc-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.pulse-ring {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: nfc-pulse 2s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
}

.pulse-ring.delay-1 {
    animation-delay: 0.6s;
}

.nfc-target-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    margin-top: 10px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
}

/* Browser states */
.mock-browser-bar {
    display: flex;
    align-items: center;
    gap: 3px;
    background-color: #121214;
    padding: 4px 6px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.browser-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.browser-dot.red { background-color: #ff5f56; }
.browser-dot.yellow { background-color: #ffbd2e; }
.browser-dot.green { background-color: #27c93f; }

.browser-url {
    font-size: 0.55rem;
    color: var(--text-secondary);
    margin-left: 6px;
}

.mock-g-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    border-bottom: 1px solid #1c1c1e;
    padding-bottom: 6px;
}

.g-avatar {
    width: 20px;
    height: 20px;
    background-color: #2c2c2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.g-info h3 {
    font-size: 0.6rem;
}

.g-info p {
    font-size: 0.45rem;
    color: var(--text-muted);
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.rating-big {
    font-size: 1.1rem;
    font-weight: 700;
}

.stars-row {
    color: #ffcc00;
    font-size: 0.6rem;
}

.review-box {
    background-color: #121214;
    border: 1px solid #1c1c1e;
    border-radius: 6px;
    padding: 8px;
}

.review-label {
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.review-submit-btn {
    width: 100%;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 40px; 
    padding: 5px;
    font-size: 0.55rem;
    font-weight: 600;
    margin-top: 6px;
}

/* 6. Usecases Section */
.usecase-section {
    border-bottom: 1px solid var(--border-color);
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.usecase-box {
    background-color: var(--bg-secondary);
    border: 1px dotted var(--border-color); /* dotted grid style cards */
    border-radius: 8px;
    padding: 24px 24px 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.usecase-box .product-image-slot {
    height: 180px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.usecase-box:hover {
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.usecase-logo-icon {
    height: 40px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: invert(1);
    opacity: 0.85;
}

.usecase-box h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.usecase-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 24px;
}

.usecase-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 7. Trust Teaser Section */
.trust-teaser {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.teaser-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.teaser-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-top: 16px;
    margin-bottom: 20px;
}

.teaser-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.teaser-graphic {
    display: flex;
    justify-content: center;
}

.badge-lifetime-circ {
    width: 220px;
    height: 220px;
    border: 1px dashed var(--border-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.circ-accent {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
}

.badge-lifetime-circ p {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* 8. Products Page detailed row layout */
.product-deep-dive-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-row.reverse-row {
    direction: rtl;
}

.product-row.reverse-row .product-row-info {
    direction: ltr;
}

.product-row-visual {
    height: 300px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-display-mockup {
    width: 250px;
    height: 158px;
    background-color: #0e0e11;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.brand-logo-placement {
    max-height: 18px;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.15;
    align-self: flex-end;
}

.nfc-chip-mesh {
    position: absolute;
    width: 26px;
    height: 22px;
    background-color: #1c1c20;
    border: 1px solid #333;
    border-radius: 3px;
    right: 20px;
    top: 20px;
}

.card-display-mockup span[class^="badge-"] {
    font-size: 0.65rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.product-row-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.product-row-info p.description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 300;
}

.feature-checklist {
    list-style: none;
    margin-bottom: 30px;
}

.feature-checklist li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.feature-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
}

/* Specs comparison table */
.specs-comparison {
    border-top: 1px solid var(--border-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: left;
}

.specs-table th,
.specs-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.specs-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
}

.specs-table td {
    color: var(--text-secondary);
}

.specs-table tr:hover td {
    color: var(--text-primary);
}

/* Selector tabs styling (rounded) */
.selector-tab {
    border-radius: 50px; 
}

/* 9. Why NFC Page Draggable Slider & Pillars */
.proximity-sandbox-section {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.tech-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pillar-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px 24px;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    background-color: #121214;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.pillar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Proximity Visualizer */
.interactive-visual-container {
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 40px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.visual-explanation-box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.visual-explanation-box p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.proximity-sim {
    position: relative;
    height: 180px;
    background-color: #050505;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    overflow: hidden;
}

.phone-shape {
    width: 60px;
    height: 100px;
    background-color: #0b0b0b;
    border: 3px solid #1c1c1e;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sensor-indicator {
    width: 8px;
    height: 8px;
    background-color: #333333;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.sensor-indicator.active {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.card-shape {
    width: 70px;
    height: 44px;
    background-color: #121214;
    border: 1px solid #333333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 10;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.card-shape:active {
    cursor: grabbing;
}

.card-shape.active {
    border-color: #ffffff;
    background-color: #1a1a1c;
}

.nfc-logo-small {
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--text-muted);
}

.range-connector {
    flex-grow: 1;
    margin: 0 16px;
    height: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave {
    position: absolute;
    width: 16px;
    height: 16px;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: rotate(-45deg);
    opacity: 0;
}

.wave:nth-child(1) { animation: pulse-waves 1.5s infinite; }
.wave:nth-child(2) { animation: pulse-waves 1.5s infinite 0.5s; }
.wave:nth-child(3) { animation: pulse-waves 1.5s infinite 1s; }

@keyframes pulse-waves {
    0% {
        transform: scale(0.5) rotate(-45deg);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: scale(1.5) rotate(-45deg);
        opacity: 0;
    }
}

.range-display {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 0.65rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.distance-label {
    color: var(--text-muted);
}

.distance-value {
    color: var(--text-primary);
}

.status-indicator {
    color: var(--text-muted);
    font-weight: bold;
}

.status-indicator.active {
    color: #ffffff;
}

/* 10. How It Works Page step layouts */
.steps-grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-detail-card {
    border-left: 1px dotted var(--border-color); /* dotted vertical timelines */
    padding-left: 24px;
}

.step-num-big {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #242426;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.step-detail-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-detail-card p {
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 0.95rem;
}

/* FAQ accordion list styling */
.faq-section {
    border-top: 1px solid var(--border-color);
}

.faq-accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    border: 1px dotted var(--border-color); /* FAQ dotted borders */
    border-radius: 8px;
    padding: 24px;
    background-color: var(--bg-secondary);
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* 11. Functioning B&W Contact Form style */
.contact-section {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-panel h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    margin-top: 16px;
    margin-bottom: 20px;
}

.contact-intro {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 300;
    font-size: 1rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-val {
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 4px;
    color: var(--text-primary);
}

.detail-val:hover {
    text-decoration: underline;
}

.contact-form-panel {
    background-color: var(--bg-secondary);
    border: 1px dotted var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.contact-form-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px dotted var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 14px 18px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--text-primary);
}

.form-field textarea {
    height: 120px;
    resize: none;
}

.form-status-feedback {
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 500;
    text-align: center;
}

.form-status-feedback.success {
    color: #27c93f;
}

.form-status-feedback.error {
    color: #ff5f56;
}

/* 12. Main Footer styling with brand horizontal logo */
.main-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    padding: 80px 24px;
}

.footer-brand-logo-img {
    max-height: 32px;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1); 
}

.footer-brand-column p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
    margin-bottom: 24px;
    max-width: 250px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-links-column h4,
.footer-cta-column h4 {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-cta-column p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-btn {
    width: auto;
}

/* 13. Hero Description & CTA (Redesign) */
.hero-description {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 24px auto;
    text-align: center;
    line-height: 1.7;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* 14. QR Code Friction Problem / Solution Section */
.problem-solution-section {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.problem-column,
.solution-column {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
}

.problem-column {
    border-color: var(--border-hover);
}

.solution-column {
    border-color: var(--border-hover);
}

.problem-column .flow-icon,
.solution-column .flow-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.problem-column h3,
.solution-column h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-steps li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    padding: 10px 16px;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.flow-steps li .step-number {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    flex-shrink: 0;
}

.solution-column .flow-steps li {
    border-color: var(--border-color);
}

.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vs-divider span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
    border-radius: 50%;
}

.time-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 40px;
    margin-top: 20px;
}

.time-badge.slow {
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
    background-color: rgba(255, 255, 255, 0.03);
}

.time-badge.fast {
    color: var(--text-primary);
    border: 1px solid var(--text-muted);
    background-color: rgba(255, 255, 255, 0.05);
}

/* 15. Product Image Placeholders */
.product-image-slot {
    width: 100%;
    height: 300px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

.product-image-slot:hover {
    border-color: var(--text-muted);
}

.product-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-image-slot .placeholder-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-image-slot .placeholder-icon {
    font-size: 2rem;
    color: var(--text-muted);
    opacity: 0.4;
}

/* 16. QR vs Smart Card Comparison Table (Why page) */
.comparison-section {
    border-bottom: 1px solid var(--border-color);
}

.comparison-table-wrapper {
    margin-top: 40px;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table thead th {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th:first-child {
    color: var(--text-secondary);
}

.comparison-table thead th.highlight-col {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.comparison-table tbody td {
    padding: 18px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table tbody td.highlight-col {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 400;
}

.comparison-table tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.015);
}

.check-icon {
    color: var(--text-primary);
    font-weight: bold;
}

.cross-icon {
    color: var(--text-muted);
    font-weight: bold;
}

/* 17. How It Works — image slot inside step cards */
.step-detail-card .step-image-slot {
    width: 100%;
    height: 160px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-hover);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    overflow: hidden;
}

.step-detail-card .step-image-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.step-detail-card .step-image-slot .placeholder-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========== RESPONSIVE: Narrow Desktop (≤1100px) ========== */
@media (max-width: 1100px) {
    .header-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    #logo-canvas {
        width: 130px;
        height: 34px;
    }
    
    .hero-logo-canvas-wrapper {
        max-width: 600px;
        height: 140px;
    }
    
    .hero-card-viewport-free {
        max-width: 550px;
        height: 360px;
    }
    
    .hero-subheading {
        font-size: 1.15rem;
    }
}

/* ========== RESPONSIVE: Tablet / Small laptop (≤991px) ========== */
@media (max-width: 991px) {
    .hero-section.center-layout {
        padding-top: calc(var(--header-height) + 10px);
    }
    
    .hero-center-content {
        padding: 10px 16px;
    }
    
    .hero-logo-canvas-wrapper {
        max-width: 480px;
        height: 110px;
    }
    
    .hero-subheading {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    
    .hero-card-viewport-free {
        height: 300px;
        max-width: 480px;
        margin-bottom: 20px;
    }
    
    .anim-split-layout {
        grid-template-columns: 1fr;
        height: auto;
        padding-top: 40px;
    }
    
    .anim-viewport {
        height: 380px;
        order: -1;
    }
    
    .animated-phone-container {
        right: 20px;
    }
    
    .product-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-row.reverse-row {
        direction: ltr;
    }
    
    .teaser-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .interactive-visual-container {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-cta-column {
        grid-column: span 2;
    }
    
    .problem-solution-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vs-divider {
        flex-direction: row;
    }
    
    .vs-divider::before,
    .vs-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: var(--border-color);
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
}

/* ========== RESPONSIVE: Mobile (≤767px) ========== */
@media (max-width: 767px) {
    :root {
        --header-height: 64px;
    }
    
    .main-header {
        height: var(--header-height);
    }
    
    /* --- Mobile Navigation Dropdown --- */
    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        background-color: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 24px 20px;
        gap: 0;
        z-index: 99;
    }
    
    .nav-menu.mobile-open {
        display: flex;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-secondary);
        text-align: left;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    #logo-canvas {
        width: 110px;
        height: 28px;
    }
    
    /* --- Hero Section Mobile --- */
    .hero-section.center-layout {
        padding-top: var(--header-height);
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-center-content {
        padding: 24px 20px;
        justify-content: center;
        max-width: 100%;
        gap: 4px;
    }
    
    .hero-logo-canvas-wrapper {
        width: 90%;
        max-width: 380px;
        height: 90px;
        margin-bottom: 8px;
    }
    
    .hero-subheading {
        font-size: 0.9rem;
        letter-spacing: 0.18em;
        margin-bottom: 20px;
    }
    
    .hero-card-viewport-free {
        width: 90%;
        height: 280px;
        max-width: 380px;
        margin-bottom: 24px;
    }
    
    .btn-large {
        padding: 14px 40px;
        font-size: 0.95rem;
    }
    
    .section-container {
        padding: 60px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-cta-column {
        grid-column: span 1;
    }
    
    .problem-column,
    .solution-column {
        padding: 28px 20px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .product-image-slot {
        height: 220px;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
    
    .interaction-hint {
        bottom: 10px;
        font-size: 0.65rem;
        padding: 4px 10px;
    }
}

/* ========== RESPONSIVE: Small Mobile (≤480px) ========== */
@media (max-width: 480px) {
    .hero-logo-canvas-wrapper {
        width: 88%;
        max-width: 340px;
        height: 80px;
    }
    
    .hero-card-viewport-free {
        height: 240px;
        width: 88%;
        max-width: 340px;
        margin-bottom: 20px;
    }
    
    .hero-subheading {
        font-size: 0.8rem;
        letter-spacing: 0.14em;
    }
    
    .btn-large {
        padding: 12px 36px;
        font-size: 0.9rem;
    }
    
    .section-container {
        padding: 50px 16px;
    }
}

/* ========== RESPONSIVE: Short Viewports (landscape / small laptops) ========== */
@media (max-height: 650px) {
    .hero-logo-canvas-wrapper {
        height: 60px;
        margin-bottom: 2px;
    }
    
    .hero-card-viewport-free {
        height: 200px;
        margin-bottom: 10px;
    }
    
    .hero-subheading {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
}
