/* ===========================
   AXIOM BUSINESS TECH
   style.css — Black & White Theme
   =========================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --color-black: #0A0A0A;
  --color-black-soft: #111111;
  --color-black-mid: #1A1A1A;
  --color-dark: #222222;
  --color-dark-alt: #2E2E2E;
  --color-mid: #555555;
  --color-muted: #888888;
  --color-border: #E0E0E0;
  --color-border-dark: #CCCCCC;
  --color-bg: #F7F7F7;
  --color-bg-alt: #EEEEF5;
  --color-white: #FFFFFF;

  /* Accent colors for non-theme elements */
  --color-accent-blue: #3B82F6;
  --color-accent-teal: #14B8A6;
  --color-accent-indigo: #6366F1;
  --color-accent-amber: #F59E0B;
  --color-accent-emerald: #10B981;

  --color-primary: #0A0A0A;
  --color-primary-hover: #222222;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.14);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1200px;
  --section-padding: 100px 0;
  --nav-height: 80px;
}

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

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

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-indigo);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent-indigo);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  border: 2px solid var(--color-black);
  color: var(--color-black);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

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

.btn-teal {
  background: var(--color-accent-teal);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}

.btn-teal:hover {
  background: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.4);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  padding: 14px 30px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

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

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes safetyReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: safetyReveal 0s 3s forwards;
}

.fade-in.visible {
  animation: none;
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
  overflow: visible;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.99);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  text-decoration: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  transition: var(--transition);
}

.nav-logo-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: white;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
  white-space: nowrap;
  pointer-events: none;
}

.nav-logo:hover .nav-logo-text {
  opacity: 1;
  transform: translateX(0);
}

.nav-logo:hover .nav-logo-img,
.nav-logo:hover .nav-logo-fallback {
  transform: scale(1.05);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-mid);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-black);
  background: var(--color-bg);
}

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--color-black);
  color: white;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: none;
  border: none;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.99);
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  flex-direction: column;
  gap: 8px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile .nav-link {
  padding: 14px 16px;
  font-size: 15px;
  border-radius: var(--radius-md);
  display: block;
  color: var(--color-mid);
}

.nav-mobile .nav-cta {
  display: block;
  margin: 8px 0 0;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--color-black);
  color: white;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--color-white);
}

/* Subtle dot grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Soft colored background blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0;
  animation: blobFadeIn 1.5s ease forwards;
}

.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  top: -150px;
  right: -100px;
  animation-delay: 0.2s;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.07), transparent 70%);
  bottom: 50px;
  left: -80px;
  animation-delay: 0.5s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05), transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: 0.8s;
}

@keyframes blobFadeIn {
  to { opacity: 1; }
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-black);
  margin-bottom: 28px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.3s forwards;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent-teal);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-black);
  margin-bottom: 24px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.5s forwards;
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
  color: var(--color-accent-indigo);
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent-indigo);
  border-radius: 2px;
  opacity: 0.25;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.8s ease 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  opacity: 0;
  animation: slideUp 0.8s ease 1.1s forwards;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-black);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Hero Visual Panel */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideLeft 0.9s ease 0.6s forwards;
}

.hero-card-group {
  position: relative;
  width: 420px;
  height: 420px;
}

.hero-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
}

.hero-card-main {
  width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hero-card-float-1 {
  width: 180px;
  top: 10px;
  right: 0;
  z-index: 2;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-card-float-2 {
  width: 170px;
  bottom: 10px;
  left: 0;
  z-index: 2;
  animation: floatCard 4.5s ease-in-out 0.5s infinite;
}

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

.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.card-metric {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 4px;
}

.card-metric-sub {
  font-size: 13px;
  color: var(--color-accent-emerald);
  font-weight: 600;
}

.card-icon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: var(--color-bg);
}

.card-icon-blue {
  background: #EEF2FF;
}

.card-icon-teal {
  background: #F0FDFA;
}

.card-icon-amber {
  background: #FFFBEB;
}

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 50px;
  margin-top: 12px;
}

.mini-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--color-accent-indigo), var(--color-accent-blue));
  opacity: 0.75;
  transition: height 0.5s ease;
}

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

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
  padding: var(--section-padding);
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px;
  width: 100%;
}

.about-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.about-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}

.about-icon-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  background: var(--color-bg-alt);
}

.about-icon-box.blue {
  background: #EEF2FF;
  border-color: #C7D2FE;
}

.about-icon-box.teal {
  background: #F0FDFA;
  border-color: #99F6E4;
}

.about-icon-box.navy {
  background: #EFF6FF;
  border-color: #BFDBFE;
}

.about-icon-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  text-align: center;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-black);
  color: white;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.about-badge-text {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid transparent;
}

.about-feature:hover {
  background: var(--color-bg);
  border-color: var(--color-border);
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.about-feature-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 4px;
}

.about-feature-text {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-label {
  justify-content: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

/* Flip Cards */
.flip-card {
  height: 240px;
  perspective: 1200px;
  cursor: pointer;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.flip-card-front {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flip-card:hover .flip-card-front {
  box-shadow: var(--shadow-md);
}

.flip-card-back {
  background: var(--color-black);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.service-icon-blue {
  background: #EEF2FF;
  border-color: #C7D2FE;
}

.service-icon-teal {
  background: #F0FDFA;
  border-color: #99F6E4;
}

.service-icon-indigo {
  background: #EDE9FE;
  border-color: #DDD6FE;
}

.service-icon-emerald {
  background: #ECFDF5;
  border-color: #A7F3D0;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.3;
}

.service-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent-indigo);
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.flip-hint {
  font-size: 11px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.flip-card-back .service-title-back {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.flip-card-back .service-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  flex: 1;
}

.flip-card-back .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  width: fit-content;
}

.flip-card-back .service-link:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ===========================
   WHY CHOOSE US
   =========================== */
.why-us {
  padding: var(--section-padding);
  background: var(--color-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-indigo), var(--color-accent-teal));
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

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

.why-card-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.why-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 8px;
}

.why-card-text {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ===========================
   PORTFOLIO PREVIEW
   =========================== */
.portfolio-preview {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  flex-wrap: wrap;
  gap: 20px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.portfolio-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.portfolio-card-img.bg-blue {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
  border-bottom: 1px solid #C7D2FE;
}

.portfolio-card-img.bg-teal {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  border-bottom: 1px solid #99F6E4;
}

.portfolio-card-img.bg-indigo {
  background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
  border-bottom: 1px solid #C4B5FD;
}

.portfolio-card-body {
  padding: 24px;
}

.portfolio-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-indigo);
  margin-bottom: 10px;
}

.portfolio-card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 10px;
  line-height: 1.3;
}

.portfolio-card-desc {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.portfolio-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-indigo);
  transition: var(--transition);
}

.portfolio-card-link:hover {
  gap: 10px;
  color: var(--color-accent-blue);
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
  padding: 100px 0;
  background: var(--color-black);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.10), transparent 70%);
  bottom: -100px;
  left: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--color-black-soft);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
  border-top: 1px solid #1E1E1E;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-black);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 260px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.6);
}

.footer-social:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  transform: translateY(-2px);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copy span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-made {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===========================
   RESPONSIVE — TABLET
   =========================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* ===========================
   RESPONSIVE — MOBILE
   =========================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-container .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 40px);
  }

  .hero-stats {
    gap: 24px;
  }

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

  .why-us-cards {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===========================
   RESPONSIVE — SMALL MOBILE
   =========================== */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}
