/* =============================================
   TechFixPro — Main Stylesheet
   Author: TechFixPro
   Version: 1.0
   Description: Professional landing page for
   USA & Canada tech support services
   ============================================= */

/* ---- CSS VARIABLES ---- */
:root {
  --navy:      #0a0f2c;
  --navy-mid:  #0d1438;
  --blue:      #1a56f0;
  --electric:  #00d4ff;
  --green:     #25D366;
  --white:     #ffffff;
  --gray:      #8892b0;
  --soft-gray: #f0f4ff;
  --card-bg:   #0d1438;
  --border:    rgba(26, 86, 240, 0.18);

  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;

  --shadow-blue: 0 8px 30px rgba(26, 86, 240, 0.35);
  --shadow-card: 0 16px 40px rgba(26, 86, 240, 0.12);

  --transition: all 0.25s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes float1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes pulseCta {
  0%, 100% { box-shadow: 0 8px 30px rgba(26,86,240,0.45); }
  50%       { box-shadow: 0 12px 40px rgba(26,86,240,0.7); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 15, 44, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: padding 0.3s ease;
}

#navbar.scrolled .nav-inner { padding-top: 14px; padding-bottom: 14px; }

/* Logo */
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  flex-shrink: 0;
}
.logo span { color: var(--electric); }

/* Nav links */
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--electric);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* Nav CTA */
.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--electric);
  color: var(--navy);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10, 15, 44, 0.98);
  border-top: 1px solid var(--border);
  padding: 16px 5%;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mob-link {
  padding: 12px 0;
  color: var(--gray);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--white); }
.mob-link.cta-mob {
  margin-top: 8px;
  background: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  border: none;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

/* Background effects */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,86,240,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,240,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
}

.glow {
  position: absolute;
  border-radius: 50%;
}
.glow-1 {
  top: -220px; right: -180px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(26,86,240,0.22) 0%, transparent 70%);
}
.glow-2 {
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.1) 0%, transparent 70%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  animation: fadeUp 0.8s ease both;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,86,240,0.14);
  border: 1px solid rgba(26,86,240,0.4);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--electric);
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--electric);
  animation: pulse-dot 1.6s ease infinite;
  flex-shrink: 0;
}

/* Headline */
.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
}
.hero-content h1 .accent { color: var(--electric); }

.hero-sub {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 22px 0 36px;
  max-width: 520px;
  font-weight: 300;
}

/* Hero buttons */
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-sm) + 2px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
  background: #1e63ff;
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--electric);
  color: var(--electric);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.stat-val {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
}
.stat-label {
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* Floating cards */
.hero-cards {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.floating-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  min-width: 230px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card-1 { animation: float1 3.2s ease-in-out infinite; }
.card-2 { animation: float2 3.0s 1.1s ease-in-out infinite; }
.card-3 { animation: float3 3.4s 0.5s ease-in-out infinite; }

.fc-icon { font-size: 1.4rem; margin-bottom: 8px; }
.fc-title { font-size: 0.85rem; font-weight: 600; }
.fc-sub   { font-size: 0.75rem; color: var(--gray); margin-top: 3px; }
.fc-badge {
  display: inline-block;
  background: rgba(0,212,255,0.12);
  color: var(--electric);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  margin-top: 10px;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.trust-label {
  white-space: nowrap;
  color: var(--gray);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  padding-left: 5%;
  flex-shrink: 0;
}

.trust-track { flex: 1; overflow: hidden; }

.trust-logos {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: ticker 22s linear infinite;
}
.trust-logos span {
  color: rgba(255,255,255,0.28);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

/* =============================================
   SECTIONS (shared)
   ============================================= */
.section { padding: 96px 0; }

.section-alt {
  background: linear-gradient(135deg,
    rgba(26,86,240,0.05) 0%,
    rgba(0,212,255,0.03) 100%);
}

.section-tag {
  color: var(--electric);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,86,240,0.07), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26,86,240,0.5);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before { opacity: 1; }

.s-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.s-icon.blue   { background: rgba(26,86,240,0.18); }
.s-icon.cyan   { background: rgba(0,212,255,0.12); }
.s-icon.green  { background: rgba(0,220,130,0.12); }
.s-icon.purple { background: rgba(160,80,240,0.12); }

.s-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.s-desc {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}
.s-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}
.s-tags span {
  background: rgba(26,86,240,0.1);
  color: rgba(255,255,255,0.6);
  border-radius: 6px;
  font-size: 0.72rem;
  padding: 4px 10px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 52px;
  position: relative;
}

.step { text-align: center; padding: 28px 20px; }

.step-num {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 28px rgba(26,86,240,0.4);
}

.step-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.step-desc {
  color: var(--gray);
  font-size: 0.86rem;
  line-height: 1.65;
}

/* =============================================
   PRICING
   ============================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.plan {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  position: relative;
  transition: var(--transition);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.plan.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 60px rgba(26,86,240,0.2);
}

.popular-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--blue), var(--electric));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.plan-price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  margin: 12px 0 4px;
  line-height: 1;
}
.plan-price span { font-size: 1rem; color: var(--gray); font-weight: 400; }
.plan-desc { color: var(--gray); font-size: 0.85rem; margin-bottom: 24px; }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
}
.plan-features li::before {
  content: '✓';
  color: var(--electric);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.plan-btn {
  display: block;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}
.plan-btn.solid {
  background: var(--blue);
  color: var(--white);
}
.plan-btn.solid:hover { background: var(--electric); color: var(--navy); }
.plan-btn.ghost {
  border: 1.5px solid var(--border);
  color: var(--white);
}
.plan-btn.ghost:hover { border-color: var(--electric); color: var(--electric); }

/* =============================================
   REVIEWS
   ============================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.review {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.review:hover {
  transform: translateY(-3px);
  border-color: rgba(26,86,240,0.35);
}

.stars { color: #ffc300; font-size: 0.9rem; margin-bottom: 14px; }

.review-text {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.88rem;
  flex-shrink: 0;
}

.rev-name { font-weight: 600; font-size: 0.88rem; }
.rev-loc  { color: var(--gray); font-size: 0.76rem; margin-top: 2px; }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg,
    rgba(26,86,240,0.12) 0%,
    rgba(0,212,255,0.06) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-inner { max-width: 640px; margin: 0 auto; }

.cta-phone {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--electric);
  margin: 20px 0 28px;
  transition: var(--transition);
}
.cta-phone:hover { opacity: 0.85; }

.contact-options {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}
.contact-btn.green {
  background: #25D366;
  color: var(--white);
}
.contact-btn.green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}
.contact-btn.blue {
  background: var(--blue);
  color: var(--white);
}
.contact-btn.blue:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}
.contact-btn.outline {
  border: 1.5px solid var(--border);
  color: var(--white);
}
.contact-btn.outline:hover {
  border-color: var(--electric);
  color: var(--electric);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: var(--gray);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--electric); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p {
  color: var(--gray);
  font-size: 0.8rem;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-badges span {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   FLOATING CTA BUTTON
   ============================================= */
.float-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--blue), var(--electric));
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(26,86,240,0.5);
  animation: pulseCta 2.5s ease infinite;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
.float-cta.visible {
  opacity: 1;
  pointer-events: all;
}
.float-cta:hover {
  transform: translateY(-2px) scale(1.03);
}

/* =============================================
   RESPONSIVE — TABLET
   ============================================= */
@media (max-width: 1024px) {
  .hero-cards { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 5% 60px; }

  .hero-content h1 { font-size: clamp(2.4rem, 8vw, 3.2rem); }

  .hero-stats { gap: 24px; }
  .stat-val   { font-size: 1.6rem; }

  .section { padding: 72px 0; }

  .services-grid  { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr 1fr; }
  .plans-grid     { grid-template-columns: 1fr; }
  .reviews-grid   { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }

  .float-cta { bottom: 16px; right: 16px; font-size: 0.82rem; padding: 12px 18px; }

  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .contact-options { flex-direction: column; }
  .contact-btn { justify-content: center; }
}
