/* ===========================
   THEME VARIABLES
   =========================== */
   :root {
    --bg: #000;
    --panel: #0f172a;
    --ink: #e5e7eb;
    --muted: #9aa3b2;
    --line: #1a1a1a;
    --brand: #50af95;      /* Tether green */
    --accent: #38bdf8;     /* blue accent still for nice contrast */
  }
  
  /* ===========================
     RESET & BASE
     =========================== */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    background: var(--bg);
    color: var(--ink);
    scroll-behavior: smooth;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* ===========================
     HEADER / NAV
     =========================== */
  header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid var(--line);
  }
  
  /* shift logo left + give nav more space */
  header .container {
    padding-left: 4px !important;
    padding-right: 10px !important;
  }
  
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  /* slightly smaller so nav fits on one line */
  .logo {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
  }
  
  .brand h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4px;
  }
  
  .menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  /* tighter spacing */
  .menu a {
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: 0.2s;
  }
  
  .menu a:hover {
    border-color: var(--line);
    background: #0c1426;
  }
  
  .actions {
    display: flex;
    gap: 10px;
  }
  
  /* ===========================
     BUTTONS
     =========================== */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #0b1422, #0b1422);
    color: var(--ink);
    cursor: pointer;
    transition: 0.3s;
  }
  
  .btn.black {
    background: linear-gradient(145deg, #111, #1a1a1a);
    color: #f5f5f5;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }
  
  .btn.black:hover {
    background: linear-gradient(145deg, #1b1b1b, #000);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    transform: translateY(-2px);
  }
  
  .btn.black:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  }

  .btn-copied{
    border-color: rgba(34,197,94,.6) !important;
    box-shadow: 0 0 0 2px rgba(34,197,94,.18) inset !important;
  }
  
  
  /* ===========================
     MAIN LAYOUT
     =========================== */
  .main {
    position: relative;
    display: grid;
    gap: 40px;
  }
  
  /* glow behind main content */
  .main::before {
    content: "";
    position: absolute;
    inset: -40px -20px auto -20px;
    height: 200px;
    background:
      radial-gradient(500px 160px at 20% 10%, rgba(56,189,248,.12), transparent),
      radial-gradient(480px 160px at 80% 10%, rgba(34,197,94,.10), transparent);
    filter: blur(40px);
    pointer-events: none;
  }
  
  /* ===========================
     HERO
     =========================== */
  .hero {
    background: #000;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 36px 28px;
    min-height: 300px;
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.02),
      0 30px 60px rgba(0,0,0,.55);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .hero h2 {
    font-size: clamp(28px, 3.2vw, 40px);
    background: linear-gradient(90deg, #fff, #c7ffe9 35%, #9be5ff 70%, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .hero p {
    color: var(--muted);
    max-width: 60ch;
    margin-top: 12px;
  }
  
  /* ===========================
     SECURITY KIT
     =========================== */
  .security-kit {
    margin-top: 30px;
  }
  
  .security-box {
    background: radial-gradient(600px 200px at 0% -10%, rgba(56,189,248,0.06), transparent),
                var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 12px rgba(0,0,0,.25);
  }
  
  .security-icon {
    font-size: 42px;
    margin-bottom: 12px;
    background: #0b1326;
    border: 1px solid var(--line);
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .security-box h3 {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 20px;
  }
  
  .security-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .security-box ul li {
    margin: 6px 0;
    color: var(--muted);
    font-size: 15px;
  }
  
  /* ===========================
     PRODUCTS / CARDS
     =========================== */
  .products {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    align-items: stretch;
  }
  
  .card {
    position: relative;
    grid-column: span 4;
    border-radius: 18px;
    background: linear-gradient(180deg, #000 0%, #060606 100%);
    border: 1px solid var(--line);
    box-shadow:
      0 10px 24px rgba(0,0,0,.6),
      0 2px 0 rgba(255,255,255,.02) inset;
    overflow: hidden;
    transition:
      transform .35s cubic-bezier(.2,.8,.2,1),
      box-shadow .35s,
      border-color .35s;
  }
  
  .card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    background: conic-gradient(
      from 220deg,
      rgba(56,189,248,.0),
      rgba(56,189,248,.25),
      rgba(34,197,94,.25),
      rgba(56,189,248,.0)
    );
    filter: blur(12px);
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
  }
  
  .card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
      0 18px 36px rgba(0,0,0,.65),
      0 0 0 1px rgba(56,189,248,.15) inset;
    border-color: rgba(56,189,248,.25);
  }
  
  .card:hover::before {
    opacity: 1;
  }
  
  .thumb {
    background:
      radial-gradient(120px 80px at 50% 30%, rgba(56,189,248,.06), transparent),
      radial-gradient(140px 90px at 50% 80%, rgba(34,197,94,.06), transparent),
      #040404;
    padding: 28px 20px;
    font-size: 64px;
    text-align: center;
  }
  
  .thumb img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
    opacity: 0.7;
  }
  
  .content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .title {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: .2px;
  }
  
  .muted {
    color: var(--muted);
  }
  
  /* Tether price style uses brand + accent */
  .price {
    font-weight: 800;
    font-size: 22px;
    background: linear-gradient(90deg, rgba(80,175,149,.22), rgba(56,189,248,.18));
    border: 1px solid rgba(80,175,149,.55);
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
  }
  
  /* old price */
  .strikethrough {
    opacity: .65;
    margin-right: 8px;
  }
  
  .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* “Most popular” badges etc. */
  .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(80,175,149,.25);
    border: 1px solid rgba(80,175,149,.7);
    backdrop-filter: blur(6px);
  }
  
  /* Tether icon */
  .tether-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-right: 6px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(80,175,149,0.7);
  }
  
  /* ===========================
     GENERIC SECTION & FAQ DETAILS
     =========================== */
  section {
    background: #000;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
  }
  
  section h2 {
    margin-bottom: 10px;
  }
  
  details {
    margin: 10px 0;
    background: #0a0a0a;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
  }
  
  details summary {
    cursor: pointer;
    font-weight: 600;
  }
  
  /* ===========================
     ABOUT PAGE CARDS
     =========================== */
  .about-cards {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .about-card {
    background: #0b1326;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
  }
  
  .about-card h3 {
    margin: 0;
    font-size: 20px;
    color: var(--ink);
  }
  
  .about-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
  }
  
  /* ===========================
     CONTACT PAGE
     =========================== */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 24px;
    margin-top: 24px;
    align-items: flex-start;
  }
  
  .contact-card {
    background: #0b1326;
    border-radius: 16px;
    border: 1px solid var(--line);
    padding: 20px 22px;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .contact-form .field {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .contact-form label {
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #020617;
    color: var(--ink);
    font: inherit;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: 1px solid var(--accent);
    border-color: var(--accent);
  }
  
  .contact-side {
    padding: 10px 4px;
  }
  
  .contact-side h3 {
    margin-top: 0;
    margin-bottom: 8px;
  }
  
  .contact-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
  }
  
  .contact-list li {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.9rem;
  }
  
  /* ===========================
     FOOTER
     =========================== */
  footer {
    margin: 36px 0 18px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
  }
  
  /* ===========================
     RESPONSIVE BREAKPOINTS
     =========================== */
  @media (max-width: 980px) {
    .card {
      grid-column: span 6;
    }
  }
  
  @media (max-width: 900px) {
    .about-cards {
      grid-template-columns: 1fr;
    }
  
    .contact-grid {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 640px) {
    .card {
      grid-column: span 12;
    }
  }

 

/* ===========================
   DEVICE SECTIONS (Vertical Catalogue)
   =========================== */

   .device-section {
    margin-top: 50px;
    text-align: center;         /* Center heading + description */
  }
  
  .device-section h2 {
    margin-bottom: 12px;
  }
  
  .device-section p.muted {
    margin-bottom: 25px;
    color: var(--muted);
  }
  
  /* CARD CONTAINER */
  .device-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;             /* Center the card */
    padding: 28px;
    border-radius: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    text-align: center;         /* Center everything IN the card */
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  /* BIG PRODUCT IMAGE */
  .device-image {
    width: 80%;
    max-width: 320px;
    height: auto;
    margin: 0 auto;             /* Center image */
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.4));
  }
  
  /* SPECS LIST */
  .device-specs {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;        /* Center each line */
  }
  
  /* FOOTER (PRICE + BUTTON) */
  .device-footer {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;        /* Center the button + price */
  }
  
  .device-footer .price {
    font-weight: 800;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(56,189,248,.15);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(56,189,248,.25);
  }
  
  .tether-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }   




  /* ===========================
   DEVICE SECTION BACKGROUND GLOW
   =========================== */

.device-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
}

.device-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      800px 300px at 50% 0%,
      rgba(56,189,248,0.08),
      transparent
    ),
    radial-gradient(
      700px 260px at 50% 30%,
      rgba(34,197,94,0.06),
      transparent
    );
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.device-card {
  position: relative;
  z-index: 1; /* Makes sure the card sits above the glow */
}

  


/* ===========================
   SPLIT HERO LAYOUT (PRODUCT PAGES)
   =========================== */

  


  /* ============ PRODUCT PAGE HERO (Shop Phones) =========== */

.shop-hero {
  text-align: left;           /* don't center text here */
}

/* row under the heading: image left, info right */
.shop-hero .hero-row {
  display: flex;
  gap: 24px;
  margin-top: 20px;           /* image sits slightly below the paragraph */
  align-items: flex-start;
}

/* left side: image */
.shop-hero .hero-media {
  flex: 0 0 40%;
}

.shop-hero .hero-image {
  width: 100%;
  max-width: 260px;
  display: block;
}

/* right side: information */
.shop-hero .hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-top: 50px;
}

.shop-hero .hero-specs {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.shop-hero .hero-specs li {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 4px 0;
}

.shop-hero .hero-footer {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Push ONLY the text column down in shop heroes */
.shop-hero .hero-row .hero-info {
  margin-top: 30px !important;
}
/* ===========================
   CART BADGE
   =========================== */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#cart-badge {
  position: absolute;
  top: -7px;
  right: -10px;
  background: var(--brand);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===========================
   MOBILE RESPONSIVE
   =========================== */

html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 100;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger to X when open */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {

  header .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .nav {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    position: relative;
  }

  .brand {
    flex: 1;
  }

  .logo {
    height: 48px;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
  }

  /* Hide nav links by default on mobile */
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: rgba(0,0,0,0.97);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    margin-top: 4px;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .menu a:last-child {
    border-bottom: none;
  }

  /* Hero */
  .hero {
    padding: 24px 16px;
    min-height: unset;
  }

  .hero h2 {
    font-size: 24px;
  }

  /* Products grid */
  .products {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    grid-column: span 1 !important;
  }

  /* Shop hero */
  .shop-hero .hero-row {
    flex-direction: column;
  }

  .shop-hero .hero-media {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .shop-hero .hero-image {
    max-width: 180px;
    margin: 0 auto;
  }

  .shop-hero .hero-info {
    margin-top: 16px !important;
  }

  /* About cards */
  .about-cards {
    grid-template-columns: 1fr;
  }

  /* Contact grid */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Checkout grid */
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  /* Device sections */
  .device-card {
    padding: 20px 16px;
  }

  /* Container padding */
  .container {
    padding: 12px;
  }
}

/* ===========================
   HERO SPECS LIST
   =========================== */
.hero-specs {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.hero-specs li {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 6px 12px;
  background: #0b1326;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}