/* ====================================================
   Fidelity Resolve Center - Landing Page Styles
   Fully Responsive: Desktop + Tablet + Mobile
   ==================================================== */

/* ---- Navigation ---- */
.landing-nav {
  height: 70px;
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.landing-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 12px var(--primary-glow);
}
.landing-brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.landing-nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.landing-nav-links a:hover {
  color: #fff;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hamburger Button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.nav-hamburger:hover {
  background: rgba(255,255,255,0.12);
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-fast);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 10, 18, 0.98);
  z-index: 999;
  flex-direction: column;
  padding: 5rem 2rem 2rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav-drawer.open {
  transform: translateX(0);
}
.mobile-nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav-drawer ul li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-drawer ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1.1rem 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}
.mobile-nav-drawer ul li a:hover,
.mobile-nav-drawer ul li a.active {
  color: #00d2ff;
}
.mobile-nav-drawer ul li a i {
  width: 22px;
  text-align: center;
  color: #00d2ff;
}
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.mobile-nav-cta .btn-custom {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: 1rem;
}

/* ---- Hero Section ---- */
.hero-section {
  padding: 5rem 0 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-full);
  color: #00d2ff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-gradient-text {
  background: linear-gradient(135deg, #00d2ff 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- 3D Realistic iPhone 16 Pro Mockup ---- */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1000px;
}

.iphone-mockup {
  width: 320px;
  max-width: 100%;
  background: #090e1a;
  border: 11px solid #1e293b;
  border-radius: 48px;
  box-shadow: 
    0 0 0 2px rgba(255, 255, 255, 0.12),
    0 30px 70px -10px rgba(0, 0, 0, 0.8),
    0 0 50px rgba(0, 210, 255, 0.15),
    inset 0 0 0 2px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  padding: 12px 14px 14px 14px;
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.iphone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
  box-shadow: 
    0 0 0 2px rgba(0, 210, 255, 0.4),
    0 35px 80px -10px rgba(0, 0, 0, 0.9),
    0 0 70px rgba(0, 210, 255, 0.25);
}

/* Glass Sheen / Reflection */
.iphone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 40%,
    transparent 45%
  );
  pointer-events: none;
  z-index: 20;
}

/* Dynamic Island */
.iphone-dynamic-island {
  width: 96px;
  height: 24px;
  background: #000;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

.island-camera {
  width: 10px;
  height: 10px;
  background: #111;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #00d2ff;
}

.island-sensor {
  width: 6px;
  height: 6px;
  background: #111;
  border-radius: 50%;
}

/* iOS Status Bar */
.iphone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 8px 10px 8px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-time {
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: -0.01em;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* iPhone Screen Content */
.iphone-screen {
  background: linear-gradient(180deg, #0f172a 0%, #070c18 100%);
  border-radius: 34px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
}

/* App Header Inside iPhone */
.iphone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.app-header-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

.app-greeting {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1;
}

.app-username {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.app-header-bell {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.bell-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00d2ff;
  box-shadow: 0 0 6px #00d2ff;
}

/* Mockup Balance Box */
.mockup-portfolio-box {
  background: linear-gradient(145deg, #1e293b 0%, #101828 100%);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.mockup-bal-title {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.mockup-bal-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mockup-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mockup 4 Quick Actions Row */
.mockup-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.mockup-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.mockup-btn span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Mockup Asset Rows */
.mockup-asset-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mockup-asset-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: background 0.2s ease;
}

.mockup-asset-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 210, 255, 0.2);
}

.mockup-coin-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* iPhone Bottom Home Indicator */
.iphone-home-indicator {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  margin: 12px auto 2px auto;
}

/* Live Price Ticker Banner */
.ticker-bar {
  background: rgba(11, 16, 32, 0.9);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: flex;
  gap: 2.5rem;
  animation: ticker-scroll 35s linear infinite;
  width: max-content;
}
.ticker-inner:hover {
  animation-play-state: paused;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: default;
}
.ticker-item .sym { color: #fff; }
.ticker-item .price { color: #00d2ff; }
.ticker-item .change-pos { color: #10b981; }
.ticker-item .change-neg { color: #ef4444; }
.ticker-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* Feature Strip */
.feature-strip {
  padding: 4rem 0;
  background: rgba(10, 14, 24, 0.6);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.feature-strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.feature-strip-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.feature-strip-text p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Plans Grid */
.plans-section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  color: #a78bfa;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.plan-card:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.plan-card.featured {
  border-color: rgba(0, 210, 255, 0.45);
  background: linear-gradient(145deg, #192038 0%, #141b2d 100%);
  box-shadow: 0 0 30px rgba(0,210,255,0.12);
}
.plan-featured-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--primary-gradient);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.plan-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
}
.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}
.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.plan-yield {
  font-size: 1.7rem;
  font-weight: 800;
  color: #00d2ff;
  margin-bottom: 0.25rem;
}
.plan-yield-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.plan-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.plan-meta-item {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.plan-features li i {
  color: #10b981;
  font-size: 0.75rem;
}
.plan-risk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  margin-bottom: 1.25rem;
}

/* Security Grid */
.security-section {
  padding: 5rem 0;
  background: rgba(10, 14, 24, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-fast);
}
.security-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
}
.security-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Footer */
.landing-footer {
  background: #060810;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2.5rem 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer-brand p {
  margin-top: 1rem;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}
.footer-col a:hover { color: #00d2ff; }
.footer-risk-warning {
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */

/* Large desktop */
@media (max-width: 1200px) {
  .landing-nav-links {
    gap: 1rem;
  }
  .hero-headline { font-size: 3rem; }
  .section-title { font-size: 2.2rem; }
}

/* Tablets / Small Desktop */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem auto; }
  .hero-cta-group { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .hero-mockup { max-width: 380px; margin: 0 auto; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .landing-nav-links { gap: 0.9rem; }
  .landing-nav-links a { font-size: 0.83rem; }
  /* Hide icons in nav links at tablet */
  .landing-nav-links a i { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
  .landing-nav { height: 60px; }
  .landing-nav-links { display: none; } /* Hidden — replaced by drawer */
  .landing-nav-actions { display: none; } /* Hidden — inside drawer */
  .nav-hamburger { display: flex; }
  .mobile-nav-drawer { display: flex; }
  .landing-brand-text { font-size: 0.95rem; }
  .hero-section { padding: 3rem 0 4rem 0; }
  .hero-headline { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn-custom { justify-content: center; }
  .hero-stats-row { gap: 1.5rem; justify-content: center; }
  .plans-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-title { font-size: 1.9rem; }
  .section-subtitle { font-size: 0.92rem; }
  .hero-mockup { display: none; }
  .ticker-inner { animation-duration: 20s; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.85rem; }
  .plan-card { padding: 1.5rem; }
}
