/* =====================================================
   FTECH Management — Design System Modern 2025
   Dark Mode | Tech | Premium
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --bg: #0A0E1A;
  --surface: #111827;
  --surface-2: #1E2536;
  --surface-3: #242D42;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --primary: #0B5FFF;
  --primary-dark: #0845CC;
  --primary-glow: rgba(11, 95, 255, 0.3);
  --secondary: #00D4FF;
  --secondary-glow: rgba(0, 212, 255, 0.25);
  --accent: #FF6B35;
  --accent-glow: rgba(255, 107, 53, 0.3);
  --success: #10B981;

  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --text-subtle: #64748B;

  --grad-primary: linear-gradient(135deg, #0B5FFF 0%, #00D4FF 100%);
  --grad-hero: radial-gradient(ellipse at 20% 50%, rgba(11,95,255,0.12) 0%, transparent 60%),
               radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.08) 0%, transparent 50%);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(11,95,255,0.2);
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-muted); line-height: 1.8; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}
.section-heading { margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p { max-width: 600px; font-size: 1.05rem; }
.section-heading.text-center p { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
  color: #fff;
  filter: brightness(1.05);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(11,95,255,0.05);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
  filter: brightness(1.1);
}
.btn-lg { padding: 0.9rem 2.1rem; font-size: 1rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.logo-icon {
  display: none; /* hidden when logo image is used */
}
.logo-img {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  /* slight brightness boost so it pops on dark bg */
  filter: drop-shadow(0 0 8px rgba(11,95,255,0.2));
  transition: var(--transition);
}
.navbar-logo:hover .logo-img { filter: drop-shadow(0 0 12px rgba(11,95,255,0.4)) brightness(1.08); }
.logo-text-wrap { display: none; } /* hide text when using logo image */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.8rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.highlight { color: var(--secondary); }
.nav-link.highlight:hover { color: #fff; background: rgba(0,212,255,0.1); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
  z-index: 100;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.9rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.dropdown a i { width: 16px; color: var(--secondary); font-size: 0.8rem; }

.navbar-actions { display: flex; align-items: center; gap: 0.75rem; }

.navbar-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition);
}
.navbar-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.open span:nth-child(2) { opacity: 0; }
.navbar-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  padding: 5.5rem 1.5rem 2rem;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: none; border: none;
  color: var(--text); font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.highlight { color: var(--secondary); }
.mobile-nav-sub { padding-left: 1rem; }
.mobile-nav-sub a {
  display: block;
  padding: 0.7rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  transition: var(--transition);
}
.mobile-nav-sub a:hover { color: var(--primary); }
.mobile-menu-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background: var(--bg); }
.hero-bg::before {
  content: '';
  position: absolute;
  width: 80vmax; height: 80vmax;
  background: radial-gradient(circle, rgba(11,95,255,0.13) 0%, transparent 70%);
  border-radius: 50%;
  top: -20%; right: -20%;
  animation: bgFloat1 10s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -10%; left: -10%;
  animation: bgFloat2 13s ease-in-out infinite;
}
.hero-grid {
  position: absolute; 
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: calc(2rem + 80px) 0 2rem;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(11,95,255,0.12);
  border: 1px solid rgba(11,95,255,0.3);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}
.hero h1 { margin-bottom: 1.25rem; font-weight: 800; }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-item { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Hero Visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  transition: var(--transition);
  cursor: default;
}
.hero-card:nth-child(1) { animation: cardFloat1 6s ease-in-out infinite; }
.hero-card:nth-child(2) { animation: cardFloat2 7s ease-in-out infinite; }
.hero-card:nth-child(3) { animation: cardFloat1 8s ease-in-out infinite reverse; }
.hero-card:nth-child(4) { animation: cardFloat2 5.5s ease-in-out infinite reverse; }
.hero-card:hover {
  border-color: rgba(11,95,255,0.4);
  box-shadow: 0 8px 32px rgba(11,95,255,0.15);
  transform: translateY(-4px) !important;
}
.hero-card .card-emoji { font-size: 1.8rem; margin-bottom: 0.5rem; display: block; }
.hero-card h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.hero-card p { font-size: 0.74rem; color: var(--text-subtle); line-height: 1.4; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(11,95,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35), 0 0 0 1px rgba(11,95,255,0.08);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card.featured {
  background: linear-gradient(135deg, rgba(11,95,255,0.12), rgba(0,212,255,0.05));
  border-color: rgba(11,95,255,0.25);
}
.svc-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  background: rgba(11,95,255,0.1);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.1rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.service-link:hover { gap: 0.7rem; color: var(--secondary); }
.service-link i { font-size: 0.75rem; }

/* ===== LICENSES HIGHLIGHT ===== */
.lic-highlight {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.publishers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}
.publisher-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.publisher-card:hover {
  border-color: rgba(11,95,255,0.35);
  background: rgba(11,95,255,0.06);
  transform: translateY(-3px);
}
.pub-icon { font-size: 1.8rem; display: block; margin-bottom: 0.4rem; }
.publisher-card h4 { font-size: 0.82rem; font-weight: 600; }
.publisher-card p { font-size: 0.72rem; color: var(--text-subtle); margin-top: 0.1rem; }

/* Feature checklist */
.feature-list { display: flex; flex-direction: column; gap: 0.65rem; margin-top: 1rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.feature-list li i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.feature-item::before {
  content: '✓';
  width: 19px; height: 19px;
  min-width: 19px;
  background: rgba(16,185,129,0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* ===== ABOUT SECTION ===== */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.about-stat-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.about-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.about-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }
.about-features { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.about-feature { display: flex; gap: 1rem; align-items: flex-start; }
.af-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  background: rgba(11,95,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.about-feature h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.about-feature p { font-size: 0.83rem; }

/* Service photo cards */
.svc-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}
.hero-office-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
  display: block;
  position: relative;
  z-index: 1;
}
.hero-office-wrap {
  position: relative;
}
.hero-office-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  background: var(--grad-primary);
  border-radius: calc(var(--radius-lg) + 10px);
  opacity: 0.12;
  z-index: 0;
}
.marquee-wrapper {
  overflow: hidden;
  position: relative;
}
.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.marquee-track {
  display: flex;
  gap: 0.85rem;
  animation: marqueeScroll 35s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.client-chip {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.client-chip:hover { border-color: var(--primary); color: var(--text); }

/* ===== PARTNERS ===== */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.partner-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.partner-chip:hover { border-color: var(--primary); color: var(--text); background: rgba(11,95,255,0.04); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, rgba(11,95,255,0.18), rgba(0,212,255,0.06));
  border: 1px solid rgba(11,95,255,0.22);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(11,95,255,0.18), transparent);
  top: -150px; right: -100px;
  border-radius: 50%;
}
.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { font-size: 1.05rem; max-width: 480px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}
.cs-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 0;
}
.cs-item .cs-icon { font-size: 1.4rem; color: var(--secondary); }
.cs-item h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.cs-item p, .cs-item a { font-size: 0.875rem; color: var(--text); font-weight: 500; }
.cs-item a:hover { color: var(--secondary); }

/* ===== FOOTER ===== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { margin-top: 1rem; font-size: 0.875rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1.5rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(11,95,255,0.08); }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.84rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--text); transform: translateX(3px); display: inline-block; }
.footer-contact-list { gap: 0.85rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.footer-contact-list li i {
  color: var(--primary);
  font-size: 0.82rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.footer-contact-list li a { color: var(--text-muted); }
.footer-contact-list li a:hover { color: var(--secondary); transform: none; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 7.5rem 0 4rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 60vmax; height: 60vmax;
  background: radial-gradient(circle, rgba(11,95,255,0.09) 0%, transparent 65%);
  border-radius: 50%;
  top: -30%; right: -10%;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0.5rem 0 1rem; }
.page-hero > .container > p { font-size: 1.05rem; max-width: 600px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-subtle); }

/* ===== COMPARE GRID (2-col responsive) ===== */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .compare-grid { grid-template-columns: 1fr; }
}

/* ===== CONTENT CARDS ===== */
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 1.5rem;
}
.content-card h3 { margin-bottom: 0.85rem; }
.content-card p { margin-bottom: 0.65rem; }
.content-card p:last-child { margin-bottom: 0; }

/* Process Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
  counter-reset: steps;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  counter-increment: steps;
  position: relative;
}
.step-card::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 1.1rem; right: 1.1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: rgba(11,95,255,0.12);
}
.step-card .step-icon { font-size: 1.6rem; margin-bottom: 0.85rem; display: block; }
.step-card h4 { margin-bottom: 0.4rem; font-size: 0.95rem; }
.step-card p { font-size: 0.83rem; }

/* ===== LICENSE TYPES ===== */
.lic-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.lic-type-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.lic-type-card:hover { border-color: rgba(0,212,255,0.3); }
.lic-type-card .lt-icon { font-size: 1.5rem; margin-bottom: 0.65rem; display: block; }
.lic-type-card h4 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.lic-type-card p { font-size: 0.82rem; }

/* ===== CONTACT FORM ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
}
.contact-info-stack { display: flex; flex-direction: column; gap: 1rem; }
.ci-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ci-card .ci-icon { font-size: 1.4rem; color: var(--secondary); }
.ci-card h4 {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.ci-card p, .ci-card a { font-size: 0.875rem; color: var(--text); font-weight: 500; }
.ci-card a:hover { color: var(--secondary); }
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.72rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  transition: var(--transition);
  outline: none;
}
.form-control::placeholder { color: var(--text-subtle); }
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,95,255,0.1); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A3B8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== SOBRE / CLIENTS PAGE ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}
.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}
.client-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.client-card i { color: var(--secondary); font-size: 1rem; }
.client-card span { font-size: 0.84rem; font-weight: 500; }

/* ===== TAGS ===== */
.tag {
  display: inline-flex;
  padding: 0.22rem 0.7rem;
  background: rgba(11,95,255,0.1);
  border: 1px solid rgba(11,95,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--primary);
}
.tag.cyan { background: rgba(0,212,255,0.1); border-color: rgba(0,212,255,0.2); color: var(--secondary); }
.tag.orange { background: rgba(255,107,53,0.1); border-color: rgba(255,107,53,0.2); color: var(--accent); }
.tag.green { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: var(--success); }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* ===== STICKY SUPPORT BUTTON ===== */
.sticky-support {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 100;
  background: var(--grad-primary);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 0.72rem 1.2rem;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 28px var(--primary-glow);
  transition: var(--transition);
}
.sticky-support:hover { transform: translateY(-2px); box-shadow: 0 10px 36px var(--primary-glow); color: #fff; }
@media (max-width: 480px) { .sticky-support span { display: none; } }

/* ===== ANIMATIONS ===== */
@keyframes bgFloat1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
}
@keyframes bgFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
}
@keyframes cardFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    overflow: hidden;
  }
  .ftech-universe {
    height: 300px;
    transform: scale(0.52);
    transform-origin: center center;
  }
  .hero { min-height: auto; padding: 5.5rem 0 3rem; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .navbar-nav, .navbar-actions .btn { display: none; }
  .navbar-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-contact-list li { flex-direction: row; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr !important; }
  .lic-types-grid { grid-template-columns: 1fr !important; }
  .steps-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 6rem 0 3rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}

@media (max-width: 500px) {
  .container { padding: 0 1rem; }
  .publishers-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .steps-grid { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { grid-template-columns: 1fr 1fr; }
}

/* Brand Pill for Logos */
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.brand-pill:hover {
  border-color: var(--secondary);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

/* ===== CTA SECTION (INNER PAGES) ===== */
.cta-section {
  padding: 4rem 0 5rem;
  text-align: center;
}
.cta-section h2 {
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}



/* ===== FTECH UNIVERSE HERO ART ===== */
.ftech-universe {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.universe-center {
  position: relative;
  z-index: 10;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(11,95,255,0.3), inset 0 0 20px rgba(255,255,255,0.05);
  animation: floatCenter 4s ease-in-out infinite;
}
.universe-center img {
  height: 40px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}
@keyframes floatCenter {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 50px rgba(11,95,255,0.3), inset 0 0 20px rgba(255,255,255,0.05); }
  50% { transform: translateY(-10px) scale(1.02); box-shadow: 0 0 70px rgba(11,95,255,0.5), inset 0 0 25px rgba(255,255,255,0.1); }
}
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.15);
}
.orbit-1 { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; animation: spin 15s linear infinite; }
.orbit-2 { width: 420px; height: 420px; margin-top: -210px; margin-left: -210px; border-color: rgba(0, 212, 255, 0.2); animation: spin-reverse 22s linear infinite; }
.orbit-3 { width: 560px; height: 560px; margin-top: -280px; margin-left: -280px; border-color: rgba(194, 224, 55, 0.2); animation: spin 30s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 100% { transform: rotate(-360deg); } }
.planet {
  position: absolute;
  width: 50px; height: 50px;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.p-1 { top: -25px; left: 50%; margin-left: -25px; color: var(--primary); animation: counter-spin 15s linear infinite; }
.p-2 { bottom: -25px; left: 50%; margin-left: -25px; color: var(--secondary); animation: counter-spin 15s linear infinite; }
.p-3 { top: 50%; left: -25px; margin-top: -25px; color: var(--accent); animation: counter-spin-reverse 22s linear infinite; }
.p-4 { top: 50%; right: -25px; margin-top: -25px; color: #ffbd2e; animation: counter-spin-reverse 22s linear infinite; }
.p-5 { top: 14.6%; left: 14.6%; margin-top:-25px; margin-left:-25px; color: #ff5f56; animation: counter-spin 30s linear infinite; }
.p-6 { bottom: 14.6%; right: 14.6%; margin-bottom:-25px; margin-right:-25px; color: #fff; animation: counter-spin 30s linear infinite; }
@keyframes counter-spin { 100% { transform: rotate(-360deg); } }
@keyframes counter-spin-reverse { 100% { transform: rotate(360deg); } }
.ftech-universe::after {
  content: ''; position: absolute; width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(11,95,255,0.12), transparent 60%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 0; border-radius: 50%; pointer-events: none;
}
