/* TheHalox base stylesheet */
:root {
  --primary: #0057ff;
  --secondary: #e6f0ff;
  --accent: #0057ff;
  --bg: #e6f0ff;
  --text: #1a237e;
  --muted: #6b7280;
  --card: #fff;
  --ring: rgba(0,87,255,0.18);
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --glass: rgba(0,0,0,0.04);
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

.nav { position: sticky; top: 0; z-index: 40; background: var(--secondary); border-bottom: 1px solid #e5e7eb; }
.nav-inner { display:flex; align-items:center; justify-content:space-between; padding: 14px 8px; }
.brand { display:flex; align-items:center; gap:10px; font-weight:800; color: var(--text); }
.brand img { width:24px; height:24px; }
.nav-links { display:flex; align-items:center; gap:18px; }
.nav-links a { color: var(--muted); font-weight:600; font-size:.95rem; padding:8px 10px; border-radius: 10px; transition: .18s; }
.nav-links a:hover { color: var(--text); background: rgba(88,166,255,0.08); }
.menu { display:none; font-size:1.3rem; color: var(--text); }
@media (max-width: 960px){ .nav-links { display:none; } .menu{ display:block; } .nav-links.mobile-open{ display:flex !important; position:absolute; right:10px; top:58px; background: var(--card); border:1px solid rgba(88,166,255,0.2); border-radius: 12px; padding:10px; flex-direction: column; gap:8px; box-shadow: var(--shadow); } }

.hero { position: relative; padding: 44px 0 24px; overflow:hidden; background: linear-gradient(180deg, var(--secondary), rgba(255,255,255,0)); }
.hero .container { display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 18px; align-items:center; }
.hero-title { font-size: clamp(1.5rem, 3.4vw, 3rem); line-height:1.1; font-weight: 900; letter-spacing: -0.02em; color: var(--text); }
.hero-sub { color: var(--muted); margin-top: 10px; max-width: 560px; font-size: clamp(.98rem, 1.4vw, 1.05rem); }
.hero-cta { display:flex; gap:12px; margin-top:20px; flex-wrap: wrap; }
.badges { display:flex; gap:12px; margin-top:16px; flex-wrap: wrap; }
.badge { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius: 999px; background: var(--glass); border:1px solid #e5e7eb; color: var(--muted); font-weight:700; }

.stage { position:relative; width: 100%; height: clamp(240px, 58vw, 560px); border-radius: 20px; background: var(--card); border:1px solid #e5e7eb; box-shadow: var(--shadow); overflow:hidden; }
.stage video { display:none; }
.stage-overlay { position:absolute; inset:auto 0 0 0; padding: 14px; display:flex; gap:10px; justify-content:center; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(0,0,0,.06)); flex-wrap: wrap; row-gap: 8px; }
.stage-chip { background: rgba(88,166,255,0.12); border:1px solid rgba(88,166,255,0.25); color: var(--text); padding:8px 12px; border-radius:10px; font-weight:700; font-size:.9rem; }

/* 3D coin overlay */
.coin3d { position:absolute; top: 8%; right: 6%; width: clamp(90px, 18vw, 180px); height: clamp(90px, 18vw, 180px); border-radius:50%;
  background: radial-gradient(55% 55% at 50% 45%, #ffd700 0%, #ffb800 45%, #b8860b 100%);
  box-shadow: inset -6px -10px 14px rgba(0,0,0,0.15), inset 6px 10px 16px rgba(255,255,255,0.3), 0 14px 30px rgba(0,0,0,0.12);
  transform-style: preserve-3d; animation: spinY 12s linear infinite; }
.coin3d:before { content:""; position:absolute; inset:8%; border-radius:50%; border:6px solid rgba(255,255,255,0.18); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08); }
.coin3d:after { content:""; position:absolute; left:50%; top:50%; width:40%; height:40%; transform: translate(-50%,-50%); border-radius:50%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%); filter: blur(2px); }
@keyframes spinY { 0% { transform: rotateY(0deg) rotateX(10deg);} 50% { transform: rotateY(180deg) rotateX(10deg);} 100% { transform: rotateY(360deg) rotateX(10deg);} }
@media (max-width: 900px){ .coin3d { top: 10px; right: 10px; } }

.trust { padding: 42px 0; }
.trust-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items:flex-start; }
.trust-card { background: #fff; border:1px solid #e5e7eb; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.trust-title { font-weight: 900; font-size: 1.3rem; margin-bottom: 8px; }
.trust-text { color: var(--muted); }
.stars { color:#00b67a; }

.features { padding: 28px 0; }
.feat-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feat { background: #fff; border:1px solid #e5e7eb; border-radius: 16px; padding: 16px; display:flex; gap:12px; align-items:flex-start; box-shadow: var(--shadow); }
.feat i { color: var(--accent); font-size: 1.2rem; }
.feat h4 { margin: 2px 0 6px; font-size: 1.05rem; }
.feat p { margin:0; color: var(--muted); font-size:.95rem; }
@media (max-width: 900px){ .hero .container{ grid-template-columns: 1fr; } .trust-grid{ grid-template-columns:1fr; } .feat-grid{ grid-template-columns:1fr; } }

.split { padding: 28px 0; }
.split .container { display:flex; flex-direction:column; gap: 18px; }
.split-item { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items:center; background:#fff; border:1px solid #e5e7eb; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.split-text .tag { display:inline-block; padding:6px 10px; border:1px solid #e5e7eb; background:var(--secondary); color:var(--muted); border-radius:999px; font-weight:600; margin-bottom:8px; }
.split-text h3 { margin: 0 0 8px; font-size: clamp(1.2rem, 2.4vw, 1.7rem); }
.split-text p { margin: 0 0 12px; color:var(--muted); }
.split-text .actions { display:flex; gap:10px; flex-wrap:wrap; }
.split-img { width: 100%; border-radius: 12px; overflow: hidden; background: var(--secondary); border:1px solid #e5e7eb; display:flex; align-items:center; justify-content:center; padding: 12px; }
.split-img img { width: 100%; height: auto; object-fit: cover; border-radius: 10px; }
.split-img.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.split-img.grid2 img { height: 100%; object-fit: cover; }
@media (max-width: 600px){ .split-img.grid2 { grid-template-columns: 1fr; } }
.coin-row { display:flex; gap:14px; align-items:center; justify-content:center; }
.coin-row img { width:64px; height:64px; border-radius:50%; background:#fff; border:1px solid #e5e7eb; object-fit:contain; padding:6px; box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
@media (max-width: 900px){ .split-item { grid-template-columns: 1fr; } }

/* 3D secure wallet visual */
.wallet3d { position: relative; aspect-ratio: 4/3; width: 100%; border-radius: 16px; overflow: hidden;
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,0.35), rgba(255,255,255,0) 40%), linear-gradient(135deg, #4f46e5 0%, #0ea5e9 55%, #22d3ee 100%);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.15), 0 20px 40px rgba(0,0,0,0.15);
  transform-style: preserve-3d; animation: walletFloat 6s ease-in-out infinite;
}
.wallet3d .card { position:absolute; left:10%; right:10%; top:12%; bottom:24%; border-radius:14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.65));
  box-shadow: 0 12px 24px rgba(0,0,0,0.18), inset 0 0 0 1px rgba(0,0,0,0.06);
}
.wallet3d .strap { position:absolute; left:12%; right:12%; bottom:12%; height:14%; border-radius:10px; 
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.05)); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}
.wallet3d .chip { position:absolute; width:16%; height:18%; top:18%; left:16%; border-radius:6px; 
  background: linear-gradient(180deg, #ffd700, #b8860b); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.wallet3d .logo { position:absolute; right:16%; top:20%; font-weight:800; color:#0f172a; }
@keyframes walletFloat { 0%, 100% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); } 50% { transform: translateY(-6px) rotateX(2deg) rotateY(2deg); } }
@media (max-width: 420px){ .stage-overlay { padding: 10px; } .stage-chip { font-size: .82rem; padding: 6px 10px; } }
@media (max-width: 360px){ .stage-chip { font-size: .78rem; padding: 6px 9px; } }
@media (max-width: 320px){ .stage-chip { font-size: .75rem; padding: 5px 8px; } }
@media (max-width: 520px){ .coin3d { display:none; } }

/* Better wrapping for trust texts on small screens */
.trust-card .feat h4, .trust-card .feat p { overflow-wrap: anywhere; }

.carousel { padding: 28px 0 8px; }
.swiper { width: 100%; }
.slide { background: #fff; border:1px solid #e5e7eb; border-radius: 16px; padding: 18px; height: 240px; display:flex; flex-direction:column; justify-content:space-between; box-shadow: var(--shadow); }
.slide .meta { display:flex; align-items:center; gap:10px; color: var(--muted); font-size:.92rem; }
.slide .meta img { width: 32px; height:32px; border-radius:50%; object-fit:cover; }

.reviews { margin-top: 10px; }
.reviews .swiper { padding-bottom: 26px; min-height: 0; }
.reviews .swiper .swiper-wrapper { align-items: stretch; }
.reviews .swiper .swiper-slide { height: auto; display:flex; }
.reviews .review-card { width: 100%; flex: 1 1 auto; }
.reviews .swiper .swiper-pagination { position: static; margin-top: 8px; }
.reviews .swiper .swiper-pagination-bullet { background: #9ca3af; opacity: 1; }
.reviews .swiper .swiper-pagination-bullet-active { background: var(--accent); }
/* Fallback when Swiper is not available */
.reviews .swiper.no-swiper .swiper-wrapper { display:grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.reviews .swiper.no-swiper .swiper-slide { width: auto !important; }
.reviews .swiper.no-swiper .swiper-pagination { display:none; }
.reviews .swiper.no-swiper { overflow: visible; }
.review-card { background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:14px; min-height:150px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:8px; }
.review-stars { color:#00b67a; font-size:0.95rem; letter-spacing:1px; }
.review-text { color:#374151; }
.review-meta { color:#6b7280; font-size:0.9rem; display:flex; gap:10px; }

.partners { padding: 28px 0; }
.partners-title { font-weight:900; font-size:1.3rem; margin-bottom:10px; }
.partner-item { background:#fff; border:1px solid #e5e7eb; border-radius:12px; height:68px; display:flex; align-items:center; justify-content:center; padding:10px; box-shadow: var(--shadow); font-weight:700; color:#374151; }
.partner-item img{ max-height:28px; width:auto; filter:grayscale(10%); }

/* Mobile friendliness for trust features */
@media (max-width: 520px){
  .trust-title { font-size: 1.15rem; }
  .trust-card .feat { gap: 8px; }
  .trust-card .feat h4 { font-size: 1rem; }
  .trust-card .feat p { font-size: .95rem; }
}
@media (max-width: 520px){ .trust-card { padding: 14px; } }

/* 3D hardware + coin visual */
.hardware3d { position: relative; aspect-ratio: 4/3; width:100%; border-radius:16px; overflow:hidden;
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,0.2), rgba(255,255,255,0) 40%), linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: inset 0 0 40px rgba(255,255,255,0.06), 0 20px 40px rgba(0,0,0,0.15);
}
.hardware3d .device { position:absolute; left:10%; top:14%; width:56%; height:60%; border-radius:18px;
  background: linear-gradient(160deg, #111827, #334155);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotate(-6deg);
}
.hardware3d .screen { position:absolute; left:16%; top:22%; width:44%; height:40%; border-radius:10px;
  background: linear-gradient(180deg, rgba(59,130,246,0.18), rgba(255,255,255,0.05)); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.hardware3d .button { position:absolute; left:12%; bottom:20%; width:8%; height:8%; border-radius:50%;
  background: linear-gradient(180deg, #e5e7eb, #cbd5e1); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.hardware3d .coin { position:absolute; right:10%; top:18%; width: 36%; aspect-ratio:1/1; border-radius:50%;
  background: radial-gradient(55% 55% at 50% 45%, #ffd700 0%, #ffb800 45%, #b8860b 100%);
  box-shadow: inset -6px -10px 14px rgba(0,0,0,0.15), inset 6px 10px 16px rgba(255,255,255,0.3), 0 14px 30px rgba(0,0,0,0.12);
}
.hardware3d .coin:before { content:""; position:absolute; inset:10%; border-radius:50%; border:6px solid rgba(255,255,255,0.18); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.08); }
.hardware3d .glow { position:absolute; right:6%; top:12%; width: 44%; height: 44%; border-radius:50%; background: radial-gradient(50% 50% at 50% 50%, rgba(59,130,246,0.35), rgba(59,130,246,0) 70%); filter: blur(8px); }
@media (max-width: 600px){ .hardware3d .device { left:8%; top:18%; width:64%; height:58%; } .hardware3d .screen { left:16%; top:28%; width:44%; height:34%; } .hardware3d .button { bottom:16%; } .hardware3d .coin { right:8%; top:20%; width:40%; } }

.about, .faq { padding:28px 0; }
.about-card, .faq-card { background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:18px; box-shadow: var(--shadow); }
.faq-list details { border:1px solid #e5e7eb; border-radius:12px; margin-bottom:10px; background:#fff; }
.faq-list summary { cursor:pointer; padding:12px 14px; font-weight:600; color:#111827; list-style:none; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list .answer { padding:0 14px 12px; color:#6b7280; }

.footer { margin-top: 36px; padding: 20px 0 30px; border-top:1px solid #e5e7eb; color: #6b7280; }
.foot-grid { display:grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 14px; }
.foot h5 { color: var(--text); margin: 0 0 10px; }
.foot a { color: var(--muted); display:block; padding:4px 0; font-size:.95rem; }
.foot a:hover { color: var(--text); }
.foot-brand { display:flex; align-items:center; gap:10px; color: var(--text); font-weight:800; margin-bottom: 10px; }
.copy { text-align:center; margin-top: 14px; font-size:.9rem; }
@media (max-width: 900px){ .foot-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .foot-grid{ grid-template-columns: 1fr; } }

.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: var(--shadow); display:none; z-index: 1000; }
.cookie-inner { display:flex; gap:12px; align-items:center; justify-content:space-between; padding: 12px; flex-wrap: wrap; }
.cookie-text { color: #6b7280; font-size:.95rem; }
.cookie-actions { display:flex; gap:10px; }
.pref{ display:flex; gap:10px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; background: var(--accent); color:#fff; font-weight:800; border:none; cursor:pointer; box-shadow: var(--shadow); }
.btn.ghost { background: transparent; color: var(--text); border:1px solid rgba(88,166,255,0.35); box-shadow:none; }

/* micro interactions and reveal */
a, button, .brand { transition: transform .18s ease; }
@keyframes pop { 0% { transform: scale(1);} 50% { transform: scale(1.04);} 100% { transform: scale(1);} }
.pop { animation: pop 220ms ease; }
[data-reveal] { opacity:0; transform: translateY(16px); }
[data-reveal].in { opacity:1; transform:none; animation: pop 220ms ease; }

/* shared internal page utilities */
.page { padding: 20px 0; }
.card { background:#fff; border:1px solid #e5e7eb; border-radius:16px; padding:18px; box-shadow: var(--shadow); }
.links { display:flex; gap:14px; color: var(--muted); }

.iphone-mock { position:absolute; right:4%; top:6%; bottom:6%; width: clamp(200px, 36vw, 320px); max-height: 100%; border-radius: 28px; background: #111; box-shadow: 0 24px 60px rgba(0,0,0,0.25), inset 0 0 0 2px rgba(255,255,255,0.06); transform: rotate(-8deg); display:flex; align-items:center; justify-content:center; }
.iphone-notch { position:absolute; top:8px; left:50%; transform: translateX(-50%); width:40%; height:22px; background:#000; border-bottom-left-radius:12px; border-bottom-right-radius:12px; }
.iphone-screen { position:relative; width: 92%; height: 92%; border-radius: 22px; overflow: hidden; background:#fff; }
.iphone-screen iframe { position:absolute; inset:0; width:100%; height:100%; border:0; transform: scale(1); transform-origin: center; background:#fff; }
.iphone-buttons { position:absolute; left:-4px; top:18%; width:4px; height:48px; background:#222; border-radius:2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }
.iphone-buttons:after { content:""; position:absolute; top:72px; width:4px; height:32px; background:#222; border-radius:2px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }

/* Hero dashboard section */
.hero-section {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
  background: var(--bg);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-section .hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  display: block;
}

@media (max-width: 768px) {
  .hero-section {
    margin: 1.5rem auto;
    padding: 0.5rem;
  }
  .hero-section .hero-img {
    border-radius: 16px;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  }
}

