/* ============================================================
   INFORISORSA TECH — GLOBAL STYLES
   Theme: Clean Professional Blue/White with depth
   Fonts: Sora (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=DM+Mono:wght@400;500&display=swap');

:root {
  --blue-950: #020b18;
  --blue-900: #0a1628;
  --blue-800: #0f2347;
  --blue-700: #1a3a6e;
  --blue-600: #1e4db7;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;

  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  --accent:   #0ea5e9;
  --accent2:  #06b6d4;
  --success:  #10b981;
  --warning:  #f59e0b;
  --danger:   #ef4444;

  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.14);
  --shadow-blue: 0 8px 30px rgba(37,99,235,.25);
  --shadow-blue-lg: 0 16px 50px rgba(37,99,235,.35);

  --transition: all .22s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .45s cubic-bezier(.4,0,.2,1);
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--blue-400); border-radius: 3px; }

/* ── SELECTION ── */
::selection { background: var(--blue-200); color: var(--blue-800); }

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 5%;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
}

.navbar.dark-nav {
  background: rgba(2,11,24,.95);
  backdrop-filter: blur(16px);
}

.navbar.dark-nav.scrolled {
  background: rgba(2,11,24,.98);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue-600), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: white;
  letter-spacing: -0.5px;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(-5deg) scale(1.05);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.3px;
  transition: var(--transition);
}

.nav-logo-text span {
  color: var(--blue-500);
}

.navbar.dark-nav .nav-logo-text { color: white; }
.navbar.dark-nav .nav-logo-text span { color: var(--blue-300); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-600);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.navbar.dark-nav .nav-links a { color: rgba(255,255,255,.75); }
.navbar.dark-nav .nav-links a:hover,
.navbar.dark-nav .nav-links a.active {
  color: white;
  background: rgba(255,255,255,.1);
}

.nav-cta {
  margin-left: 12px;
  background: var(--blue-600) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  box-shadow: var(--shadow-blue);
  transition: var(--transition) !important;
}

.nav-cta:hover {
  background: var(--blue-700) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-blue-lg) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.dark-nav .hamburger span { background: white; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--gray-600); font-size: 16px; line-height: 1.75; }

.label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-block;
  margin-bottom: 12px;
}

.label::before { content: '— '; opacity: .6; }
.label::after  { content: ' —'; opacity: .6; }

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity .18s;
}

.btn:hover::after { opacity: .08; }

.btn-primary {
  background: var(--blue-600);
  color: white;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-lg);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-300);
}

.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13.5px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ═══════════════════════════════════════
   SECTION STRUCTURE
═══════════════════════════════════════ */
section { padding: 96px 5%; }

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 17px; }

/* ═══════════════════════════════════════
   CARDS
═══════════════════════════════════════ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
  transform: translateY(-6px);
}

.card:hover::before { opacity: 1; }

/* ═══════════════════════════════════════
   BADGE
═══════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-body);
}

.badge-blue { background: var(--blue-100); color: var(--blue-700); }
.badge-cyan { background: #e0f2fe; color: #0369a1; }
.badge-green { background: #d1fae5; color: #065f46; }

/* ═══════════════════════════════════════
   GRID HELPERS
═══════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ═══════════════════════════════════════
   STATS ROW
═══════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat-box {
  background: white;
  padding: 36px 28px;
  text-align: center;
}

.stat-box .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-box .lbl {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ═══════════════════════════════════════
   ICON BOXES
═══════════════════════════════════════ */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.icon-box-blue { background: var(--blue-100); color: var(--blue-600); }
.icon-box-cyan { background: #e0f2fe; color: #0369a1; }
.icon-box-indigo { background: #e0e7ff; color: #4338ca; }
.icon-box-violet { background: #ede9fe; color: #7c3aed; }
.icon-box-emerald { background: #d1fae5; color: #059669; }
.icon-box-amber { background: #fef3c7; color: #d97706; }
.icon-box-rose { background: #ffe4e6; color: #e11d48; }
.icon-box-teal { background: #ccfbf1; color: #0d9488; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
  background: var(--blue-950);
  color: rgba(255,255,255,.7);
  padding: 80px 5% 40px;
}

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

.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: 14.5px;
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-col h5 {
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-display);
}

.footer-col ul { list-style: none; }

.footer-col ul li + li { margin-top: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--blue-300); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: rgba(255,255,255,.4);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue-600);
  color: white;
  transform: translateY(-2px);
}

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

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

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fadeUp    { animation: fadeUp .7s cubic-bezier(.4,0,.2,1) both; }
.animate-fadeIn    { animation: fadeIn .7s ease both; }
.animate-slideRight { animation: slideRight .7s cubic-bezier(.4,0,.2,1) both; }

[data-delay="1"] { animation-delay: .1s; }
[data-delay="2"] { animation-delay: .2s; }
[data-delay="3"] { animation-delay: .3s; }
[data-delay="4"] { animation-delay: .4s; }
[data-delay="5"] { animation-delay: .5s; }
[data-delay="6"] { animation-delay: .6s; }
[data-delay="7"] { animation-delay: .7s; }
[data-delay="8"] { animation-delay: .8s; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   FORM ELEMENTS
═══════════════════════════════════════ */
.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
  letter-spacing: .01em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue-400);
  background: white;
  box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}

.form-control::placeholder { color: var(--gray-400); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control { cursor: pointer; }

/* ═══════════════════════════════════════
   NOTIFICATION TOAST
═══════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--success);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-800);
  z-index: 9999;
  transform: translateX(120%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  max-width: 340px;
}

.toast.show { transform: translateX(0); }
.toast.error { border-color: var(--danger); }

/* ═══════════════════════════════════════
   PAGE HERO VARIANT (inner pages)
═══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(140deg, var(--blue-950) 0%, var(--blue-800) 60%, var(--blue-600) 100%);
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content { position: relative; }

.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 18px; max-width: 560px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: var(--blue-300); }

/* ═══════════════════════════════════════
   GRADIENT TEXT
═══════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

@media (max-width: 768px) {
  section { padding: 72px 5%; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: white;
    padding: 20px 5% 32px;
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
}
