/* =========================================================
   CardNFC — Home Page Styles
   pages/home.css
   ========================================================= */

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(48px, 6vw, 92px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 24px;
}

.hero p {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ---------------------------------------------------------
   3-D Visualizer Scene
   --------------------------------------------------------- */
.scene-container {
    margin-top: 80px;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    position: relative;
}

/* NFC Card */
.nfc-card-3d {
    width: 200px;
    height: 320px;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border-radius: 14px;
    position: absolute;
    transform-style: preserve-3d;
    transform: translateX(-160px) rotateY(30deg) rotateX(15deg);
    box-shadow:
        -30px 30px 40px rgba(0, 0, 0, 0.9),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2;
}

.nfc-card-3d::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.08) 25%, transparent 30%);
    border-radius: 14px;
    z-index: 3;
}

.card-chip {
    width: 32px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    opacity: 0.8;
}

.card-logo {
    font-weight: 800;
    color: #fff;
    font-size: 16px;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* Phone */
.phone-3d {
    width: 250px;
    height: 500px;
    background: #000;
    border-radius: 36px;
    position: absolute;
    transform-style: preserve-3d;
    transform: translateX(160px) rotateY(-20deg) rotateX(10deg);
    border: 2px solid #333;
    box-shadow:
        30px 30px 50px rgba(0, 0, 0, 0.9),
        inset 0 0 0 4px #000,
        inset 0 0 0 5px #222;
    padding: 12px;
    animation: floatPhone 7s ease-in-out infinite;
    z-index: 1;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111111;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

/* Profile mockup inside phone */
.p-header {
    height: 110px;
    background: linear-gradient(135deg, #2a2a2a, #111);
}

.p-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #444;
    border: 4px solid #111111;
    margin: -32px auto 12px;
}

.p-name {
    width: 110px;
    height: 14px;
    background: #fff;
    margin: 0 auto 8px;
    border-radius: 4px;
}

.p-title {
    width: 70px;
    height: 8px;
    background: #666;
    margin: 0 auto 24px;
    border-radius: 4px;
}

.p-btn {
    width: 80%;
    height: 40px;
    background: #fff;
    margin: 0 auto 16px;
    border-radius: 20px;
}

.p-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
}

.p-box {
    height: 45px;
    background: #222;
    border-radius: 10px;
}

/* Connection Waves */
.connection-waves {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

.wave {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.wave:nth-child(1) { width: 20px;  height: 20px;  animation-delay: 0s; }
.wave:nth-child(2) { width: 50px;  height: 50px;  animation-delay: 0.6s; }
.wave:nth-child(3) { width: 80px;  height: 80px;  animation-delay: 1.2s; }

/* ---------------------------------------------------------
   Scene Keyframes
   --------------------------------------------------------- */
@keyframes floatCard {
    0%, 100% { transform: translateX(-160px) translateY(0) rotateY(30deg) rotateX(15deg); }
    50%       { transform: translateX(-160px) translateY(-20px) rotateY(35deg) rotateX(20deg); }
}

@keyframes floatPhone {
    0%, 100% { transform: translateX(160px) translateY(0) rotateY(-20deg) rotateX(10deg); }
    50%       { transform: translateX(160px) translateY(-15px) rotateY(-15deg) rotateX(5deg); }
}

@keyframes ripple {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* ---------------------------------------------------------
   Steps Section
   --------------------------------------------------------- */
.steps-section {
    padding: 160px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: -2px;
}

.premium-steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

@media (min-width: 992px) {
    .premium-steps-container {
        flex-direction: row;
        align-items: stretch;
        gap: 16px;
    }
}

.step-card-premium {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px 32px;
    position: relative;
    z-index: 1;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    flex: 1;
}

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

@media (min-width: 768px) {
    .step-card-premium:hover {
        transform: translateY(-8px);
        background: var(--surface-hover);
        border-color: rgba(255, 255, 255, 0.15);
        box-shadow: 0 20px 40px var(--glow);
    }
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 32px;
    position: relative;
}

.step-badge {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.step-card-premium h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.step-card-premium p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   Profile Showcase Section (Orbit Card Showcase + 2-Col Info)
   --------------------------------------------------------- */
.profile-showcase-section {
    padding: 100px 0 140px;
}

/* Top Centered Card Hardware Card */
.card-hardware-card-centered {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 44px 36px;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.card-hardware-card-centered:hover {
    border-color: var(--text-main);
}

.card-hardware-header .card-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-main);
    background: var(--surface-hover);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Orbit Previews Row (Front & Back Centered Side-by-Side) */
.orbit-previews-row {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin: 10px 0 16px;
}

.preview-card-box {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-side-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-side-header i {
    color: var(--text-main);
}

/* Orbit Mini Card Container for Homepage Showcase */
.orbit-mini-card {
    position: relative;
    width: 100%;
    max-width: 350px;
    height: 215px;
    border-radius: 16px;
    overflow: hidden;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    color: #fff;
    box-sizing: border-box;
    text-align: left;
}

.orbit-mini-card .orbit-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
}

.orbit-mini-card .orbit-company {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    z-index: 12;
}

.orbit-mini-card .orbit-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 65%;
    z-index: 12;
}

.orbit-mini-card .orbit-name {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
    text-transform: uppercase;
    color: #ffffff;
}

.orbit-mini-card .orbit-title {
    font-size: 9px;
    font-weight: 600;
    color: #d4af37 !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.orbit-mini-card .orbit-contact-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.orbit-mini-card .orbit-contact {
    font-size: 8.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.orbit-mini-card .orbit-contact i {
    color: #d4af37 !important;
}

.orbit-mini-card .orbit-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    z-index: 12;
}

.orbit-mini-card .orbit-logo-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.orbit-mini-card .orbit-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.orbit-mini-card .orbit-chip,
.orbit-mini-card .card-chip {
    width: 42px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #222;
    margin-top: auto;
}

/* Orbit Back Styling */
.orbit-mini-card.orbit-back {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.orbit-mini-card .card-magstripe {
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.85);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: absolute;
    top: 24px;
    left: 0;
    z-index: 5;
}

.orbit-mini-card .card-back-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    height: calc(100% - 64px);
    margin-top: 64px;
    gap: 10px;
    box-sizing: border-box;
}

.orbit-mini-card .qr-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: transparent;
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.orbit-mini-card .card-back-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.orbit-mini-card .back-company-display {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

.orbit-mini-card .back-address-display,
.orbit-mini-card .back-website-display {
    font-size: 9px;
    color: #d4af37;
    letter-spacing: 0.5px;
}

.orbit-mini-card .orbit-ring-2 {
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
}

/* Centered Badges below preview */
.card-preview-badges-centered {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 16px 0 24px;
    flex-wrap: wrap;
}

.card-preview-badges-centered span {
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 14px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-preview-badges-centered i {
    color: var(--text-main);
}

/* Hardware Specs Pills */
.hardware-specs-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
    max-width: 800px;
}

.hardware-specs-pills .spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-hover);
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.hardware-specs-pills .spec-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* 2-Column Info Grid Underneath Template Showcase */
.info-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 900px;
    margin: 36px auto 0;
}

.info-col-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-col-card:hover {
    border-color: var(--text-main);
    transform: translateY(-3px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.info-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.info-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-sharing-preview-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.contact-sharing-preview-pills span {
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-sharing-preview-pills i {
    color: var(--text-main);
}

/* =========================================================
   RTL Adjustments for Orbit Mini Card & Info Section
   ========================================================= */
html[dir="rtl"] .orbit-mini-card {
    direction: ltr !important; /* Preserves credit card mockup coordinates (logo top-right, chip bottom-right, company top-left) */
}

html[dir="rtl"] .orbit-mini-card .orbit-left {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .orbit-mini-card.orbit-back .card-back-text {
    direction: rtl;
    text-align: center;
}

html[dir="rtl"] .info-col-card {
    text-align: right;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 320px);
    gap: 24px;
}

.bento-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.bento-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(0.99);
}

.bento-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    z-index: 2;
    font-weight: 600;
}

.bento-item p {
    color: var(--text-muted);
    z-index: 2;
    line-height: 1.6;
}

.bento-large { grid-column: span 2; grid-row: span 2; }
.bento-wide  { grid-column: span 2; grid-row: span 1; }

.bento-mockup-btn {
    width: 100%;
    height: 64px;
    background: #fff;
    border-radius: 20px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.bento-mockup-btn:hover { transform: scale(1.02); }

.bento-socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}

.social-pill {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    font-weight: 500;
}

/* Bento inner mockup boxes */
.bento-mockup-box,
.bento-analytics-box {
    margin-top: auto;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.bento-mockup-box {
    padding: 20px;
    text-align: center;
}

.bento-mockup-icon {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.bento-mockup-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
}

.bento-analytics-box {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding: 16px;
}

.analytics-bar {
    flex: 1;
    background: var(--border);
    border-radius: 4px;
}

.analytics-bar.active {
    background: var(--text-main);
    box-shadow: 0 0 15px var(--glow);
}

.analytics-bar.h-40 { height: 40%; }
.analytics-bar.h-70 { height: 70%; }
.analytics-bar.h-80 { height: 80%; }
.analytics-bar.h-100 { height: 100%; }

/* ---------------------------------------------------------
   Cards Showcase
   --------------------------------------------------------- */
.cards-showcase {
    padding: 80px 0 160px;
    text-align: center;
}

.cards-flex {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.premium-card {
    width: 240px;
    height: 380px;
    border-radius: 18px;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

.premium-card:hover {
    transform: translateY(-20px) scale(1.05) rotateY(10deg);
}

.card-matte  { background: #111; border: 1px solid #222; }
.card-metal  { background: linear-gradient(135deg, #e5e5e5, #a3a3a3, #e5e5e5); border: 1px solid #fff; }
.card-acrylic {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.card-gold { background: linear-gradient(135deg, #FFDF00, #D4AF37, #996515); border: 1px solid #FFDF00; }

.card-label {
    margin-top: 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* ---------------------------------------------------------
   Marquee
   --------------------------------------------------------- */
.marquee-container {
    padding: 80px 0;
    overflow: hidden;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.marquee-item {
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    margin: 0 40px;
    color: var(--border);
    transition: color 0.4s ease;
    letter-spacing: -1px;
}

.marquee-item:hover { color: var(--text-main); }

@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   Steps responsive layout
   --------------------------------------------------------- */
@media (min-width: 768px) {
    .premium-steps-container {
        flex-direction: row;
        gap: 32px;
    }

    .step-card-premium { flex: 1; }

    .step-card-premium:nth-child(2) { transform: translateY(20px); }
}

/* ---------------------------------------------------------
   Responsive breakpoints
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .profile-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-large,
    .bento-wide { grid-column: span 1; }

    .bento-item { height: 320px; }

    .scene-container { height: 400px; margin-top: 40px; }

    .nfc-card-3d { transform: translateX(-120px) scale(0.8) rotateY(30deg) rotateX(15deg); }
    .phone-3d    { transform: translateX(120px) scale(0.8) rotateY(-20deg) rotateX(10deg); }

    @keyframes floatCard {
        0%, 100% { transform: translateX(-120px) translateY(0) scale(0.8) rotateY(30deg) rotateX(15deg); }
        50%       { transform: translateX(-120px) translateY(-16px) scale(0.8) rotateY(35deg) rotateX(20deg); }
    }

    @keyframes floatPhone {
        0%, 100% { transform: translateX(120px) translateY(0) scale(0.8) rotateY(-20deg) rotateX(10deg); }
        50%       { transform: translateX(120px) translateY(-12px) scale(0.8) rotateY(-15deg) rotateX(5deg); }
    }
}

@media (max-width: 768px) {
    .info-2col-grid {
        grid-template-columns: 1fr;
    }

    .orbit-previews-row {
        flex-direction: column;
        align-items: center;
    }

    .card-hardware-card-centered {
        padding: 32px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn { width: 100%; }

    .scene-container { height: 320px; margin-top: 40px; }

    .nfc-card-3d { transform: translateX(-70px) scale(0.6) rotateY(30deg) rotateX(15deg); z-index: 3; }
    .phone-3d    { transform: translateX(70px) scale(0.6) rotateY(-20deg) rotateX(10deg); z-index: 1; }

    @keyframes floatCard {
        0%, 100% { transform: translateX(-70px) translateY(0) scale(0.6) rotateY(30deg) rotateX(15deg); }
        50%       { transform: translateX(-70px) translateY(-12px) scale(0.6) rotateY(35deg) rotateX(20deg); }
    }

    @keyframes floatPhone {
        0%, 100% { transform: translateX(70px) translateY(0) scale(0.6) rotateY(-20deg) rotateX(10deg); }
        50%       { transform: translateX(70px) translateY(-9px) scale(0.6) rotateY(-15deg) rotateX(5deg); }
    }

    .connection-waves { transform: scale(0.8); z-index: 0; }

    .bento-item { height: auto; min-height: 280px; padding: 32px; }

    .bento-mockup-btn { height: 54px; font-size: 16px; margin-top: 32px !important; }
}

@media (max-width: 480px) {
    .scene-container { height: 260px; margin-top: 20px; }

    .nfc-card-3d { transform: translateX(-40px) scale(0.45) rotateY(30deg) rotateX(15deg); }
    .phone-3d    { transform: translateX(40px) scale(0.45) rotateY(-20deg) rotateX(10deg); }

    @keyframes floatCard {
        0%, 100% { transform: translateX(-40px) translateY(0) scale(0.45) rotateY(30deg) rotateX(15deg); }
        50%       { transform: translateX(-40px) translateY(-10px) scale(0.45) rotateY(35deg) rotateX(20deg); }
    }

    @keyframes floatPhone {
        0%, 100% { transform: translateX(40px) translateY(0) scale(0.45) rotateY(-20deg) rotateX(10deg); }
        50%       { transform: translateX(40px) translateY(-7px) scale(0.45) rotateY(-15deg) rotateX(5deg); }
    }

    .connection-waves { transform: scale(0.6); z-index: 0; }

    .hardware-specs-list {
        grid-template-columns: 1fr;
    }

    .bento-item { padding: 24px; }

    .bento-socials { grid-template-columns: 1fr; }
}

/* =========================================================
   Light Theme Overrides — Home Page
   ========================================================= */

/* Hero badge pill */
[data-theme="light"] .badge-pill {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.09);
}

/* Connection waves — dark rings on white */
[data-theme="light"] .wave {
    border-color: rgba(0, 0, 0, 0.15);
}

/* 3D scene shadows soften in light */
[data-theme="light"] .nfc-card-3d {
    box-shadow:
        -30px 30px 40px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}


/* Step cards — white glass */
[data-theme="light"] .step-card-premium {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .step-card-premium::before {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.07), transparent);
}

@media (min-width: 768px) {
    [data-theme="light"] .step-card-premium:hover {
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.12);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
    }
}

/* Bento hover border */
[data-theme="light"] .bento-item:hover {
    border-color: rgba(0, 0, 0, 0.14);
}

/* Bento "Save Contact" button — dark on light bg */
[data-theme="light"] .bento-mockup-btn {
    background: #0a0a0a;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Social pills */
[data-theme="light"] .social-pill {
    background: #e8e8ee;
    border-color: #d1d1da;
    color: var(--text-main);
}

/* Card showcase shadows */
[data-theme="light"] .premium-card {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

/* The Clear Acrylic card MUST remain identical to its dark theme version.
   Because it's transparent, it needs a frosted dark background in light mode
   so it continues to look like a dark card on the white page. */
[data-theme="light"] .card-acrylic {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}



/* Marquee text — lighter muted tone so items still look "faded" */
[data-theme="light"] .marquee-item {
    color: #c0c0cc;
}
[data-theme="light"] .marquee-item:hover {
    color: var(--text-main);
}

/* ---------------------------------------------------------
   Value Props Grid & Cards
   --------------------------------------------------------- */
.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.value-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--surface-hover);
    box-shadow: 0 20px 40px var(--glow);
}

.value-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   Creation Workflow Steps Grid & Cards + Step Arrows for PC
   --------------------------------------------------------- */
.creation-steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

@media (min-width: 992px) {
    .creation-steps-container {
        flex-direction: row;
        align-items: stretch;
        gap: 16px;
    }
}

.creation-step-card {
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s ease;
    flex: 1;
}

.creation-step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--surface-hover);
    box-shadow: 0 20px 40px var(--glow);
}

.creation-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.step-num-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--surface-hover);
}

.ai-helper-badge,
.delivery-fast-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    padding: 5px 14px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Step Arrow Dividers for PC & Mobile */
.step-arrow-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.6;
    font-size: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .step-arrow-divider {
        padding: 0 4px;
    }
    
    html[lang="ar"] .step-arrow-divider i,
    html[dir="rtl"] .step-arrow-divider i {
        transform: rotate(180deg);
    }
}

@media (max-width: 991px) {
    .step-arrow-divider {
        margin: 4px 0;
        transform: rotate(90deg);
    }
}

.creation-step-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.creation-step-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.creation-card-action {
    margin-top: auto;
}

.btn-outline-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-sm:hover {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-main);
    transform: translateX(4px);
}

.preview-mini-pills {
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-hover);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 14px;
    display: flex;
    justify-content: space-around;
}

.delivery-perks {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.delivery-perks span i {
    color: var(--text-main);
    margin-right: 6px;
}

/* Express Delivery & CTA Banner */
.delivery-cta-banner {
    margin: 40px 0 120px;
    padding: 70px 40px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 36px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.delivery-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.delivery-cta-banner h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.delivery-cta-banner p {
    color: var(--text-muted);
    font-size: 20px;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* Light Theme Overrides */
[data-theme="light"] .value-card,
[data-theme="light"] .creation-step-card,
[data-theme="light"] .delivery-cta-banner {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .value-card:hover,
[data-theme="light"] .creation-step-card:hover {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* RTL / Arabic Fix for Card Previews */
html[dir="rtl"] .home-card-preview,
html[dir="rtl"] .front-tpl,
html[dir="rtl"] .back-tpl {
    direction: ltr !important;
}


