﻿/* ==========================================================================
   TECOGNIX TECHNOLOGIES — HIGH-FASHION EDITORIAL SERIF & MODERN TYPOGRAPHY
   Playfair Display (Editorial Display Serif) • Plus Jakarta Sans (Body) • Urbanist (UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Urbanist:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* Surfaces */
  --bg-primary: #FFFFFF;          /* Pure Crisp Canvas */
  --bg-secondary: #F8FAFC;        /* Architectural Slate */
  --bg-tertiary: #F1F5F9;         /* Soft Section Contrast */
  --bg-card: #FFFFFF;             /* Elevated Card Surface */
  --bg-card-hover: #EFF6FF;       /* Soft Light Blue Hover */
  --bg-dark: #0B0F19;             /* Ultra-Deep Obsidian Slate */
  --bg-subtle-tint: #EFF6FF;      /* Soft Blue Highlight Tint */
  --bg-tint-emerald: #ECFDF5;     /* Soft Mint Highlight */

  /* Vibrant Next-Gen Enterprise Blue Colors */
  --accent-primary: #2563EB;      /* Vibrant Executive Blue */
  --accent-primary-hover: #1D4ED8; /* Deep Royal Blue */
  --accent-violet: #0284C7;       /* Cyber Tech Blue / Ocean Cyan */
  --accent-purple-light: #60A5FA; /* Sky Blue Glow */
  --accent-emerald: #10B981;      /* Cyber Mint / Security Emerald */
  --accent-teal: #0D9488;         /* High-Tech Teal */
  --accent-rose: #F43F5E;         /* Electric Accent */

  /* Typography Colors */
  --text-pure: #0B0F19;          /* Deep Obsidian Headline */
  --text-high: #1E293B;          /* Primary Body Text */
  --text-medium: #475569;        /* Medium Slate Secondary */
  --text-muted: #64748B;         /* Refined Metadata */
  --text-inverse: #FFFFFF;       /* White text for dark banners */
  --text-inverse-muted: #94A3B8; /* Muted White for Dark Panes */

  /* Hairlines & Borders */
  --border-subtle: #E2E8F0;       /* Hairline Slate Border */
  --border-medium: #CBD5E1;       /* Structured Card Border */
  --border-glow: rgba(37, 99, 235, 0.35);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.09);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 20px 50px rgba(37, 99, 235, 0.22);

  /* Typography Fonts — Editorial Serif & Clean Sans */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-stylish: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Plus Jakarta Sans', sans-serif;

  /* Fast & Crisp Micro-Interactions */
  --speed-instant: 120ms ease;
  --speed-fast: 160ms cubic-bezier(0.2, 0, 0, 1);
  --speed-smooth: 260ms cubic-bezier(0.2, 0, 0, 1);

  /* Container Sizing */
  --container-width: 1360px;
  --container-narrow: 1100px;
  --header-height: 108px;
  --header-height-scrolled: 82px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-high);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-high);
  line-height: 1.68;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Typography Hierarchy — Editorial Playfair Display Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(3rem, 5.5vw + 0.8rem, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.3rem, 3.8vw + 0.5rem, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.5rem, 2.3vw + 0.2rem, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.3rem;
  font-weight: 700;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-medium);
  font-size: 1.05rem;
  line-height: 1.72;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--speed-fast);
}

a:hover {
  color: var(--accent-violet);
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

/* Section Spacing */
.section {
  padding: 7.5rem 0;
  position: relative;
}

.section-sm {
  padding: 4.5rem 0;
  position: relative;
}

/* Section Themes */
.theme-white {
  background-color: var(--bg-primary);
}

.theme-slate {
  background-color: var(--bg-secondary);
}

.theme-subtle {
  background-color: var(--bg-subtle-tint);
}

.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-inverse);
}

/* Section Header Editorial */
.section-header-editorial {
  margin-bottom: 4rem;
}

/* Editorial Pill Badge */
.editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-stylish);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--accent-primary);
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  margin-bottom: 1.25rem;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.08);
}

.editorial-tag::before {
  content: '●';
  font-size: 0.75rem;
  color: var(--accent-emerald);
  display: inline-block;
  animation: pulse-dot 2.5s infinite;
}

.editorial-title {
  margin-bottom: 1.25rem;
  color: var(--text-pure);
}

.editorial-lead {
  font-size: 1.2rem;
  color: var(--text-medium);
  max-width: 720px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-stylish);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.95rem 1.8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--speed-fast);
  text-decoration: none;
  border: 1.5px solid transparent;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-violet) 100%);
  color: var(--text-inverse);
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-primary-hover) 0%, #0369A1 100%);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.48);
}

.btn-secondary {
  background-color: var(--bg-primary);
  color: var(--text-pure);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle-tint);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1.1rem 2.4rem;
  border-radius: 12px;
}

.btn .arrow-icon {
  transition: transform var(--speed-fast);
  display: inline-block;
}

.btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* Badges */
.tech-badge {
  font-family: var(--font-stylish);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: var(--bg-subtle-tint);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-primary);
}

.tech-badge.badge-cyan {
  color: var(--accent-primary);
  border-color: rgba(37, 99, 235, 0.25);
  background: #F0F9FF;
}

.tech-badge.badge-mint {
  color: #059669;
  border-color: rgba(16, 185, 129, 0.28);
  background: #ECFDF5;
}

/* Selection */
::selection {
  background: var(--accent-violet);
  color: #FFFFFF;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

