/* ===========================
   WHITELINE DIGITAL — STYLES
   =========================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  background: #f7fafc;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul { list-style: none; }

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p {
  color: #555;
  line-height: 1.75;
}

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-padding { padding: 110px 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.22s ease;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: #0EA5E9;
  color: #fff;
  box-shadow: 0 2px 12px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background: #0284C7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.07);
}

.btn-outline-dark {
  background: transparent;
  color: #1A1A1A;
  border: 1.5px solid #D1D5DB;
}

.btn-outline-dark:hover {
  border-color: #1A1A1A;
  background: rgba(0,0,0,0.02);
}

/* ===========================
   NAVIGATION
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.025em;
}

.nav.scrolled .nav-logo { color: #0A0A0A; }
.nav-logo svg { width: 30px; height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: #fff; }

.nav.scrolled .nav-links a { color: #6B7280; }
.nav.scrolled .nav-links a:hover { color: #0A0A0A; }

.nav-cta {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  padding: 10px 22px;
  background: #0EA5E9;
  color: #fff !important;
  border-radius: 7px;
  transition: all 0.22s ease !important;
}

.nav-cta:hover {
  background: #0284C7 !important;
  color: #fff !important;
}

.nav.scrolled .nav-cta { color: #fff !important; }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span { background: #1A1A1A; }

/* ===========================
   HERO
   =========================== */
.hero {
  background: #0A0A0F;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

/* --- Animated Orbs --- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.28) 0%, transparent 65%);
  top: -25%;
  left: -15%;
  animation: orb-drift-1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, transparent 65%);
  bottom: -30%;
  right: -10%;
  animation: orb-drift-2 26s ease-in-out infinite;
}

.hero-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 65%);
  top: 35%;
  left: 50%;
  animation: orb-drift-3 16s ease-in-out infinite;
}

@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(70px, 50px) scale(1.06); }
  66%       { transform: translate(-30px, 80px) scale(0.96); }
}

@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-90px, -60px) scale(1.1); }
  70%       { transform: translate(50px, -30px) scale(0.95); }
}

@keyframes orb-drift-3 {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.3); opacity: 1; }
}

/* --- Hero 2-col layout --- */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px 0;
}

/* --- Hero Content --- */
.hero-content {
  position: relative;
  z-index: 2;
}

/* --- Hero Visual (browser mockup) --- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Browser mockup frame */
.bmock {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #0D1117;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    0 0 80px rgba(14,165,233,0.06);
  transform: perspective(1400px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.6s ease;
  animation: hero-enter 0.8s ease both 0.6s;
}

.bmock:hover {
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

.bmock-chrome {
  background: #161B22;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.bmock-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.bmock-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.bd-r { background: #FF5F57; }
.bd-y { background: #FEBC2E; }
.bd-g { background: #28C840; }

.bmock-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  letter-spacing: 0.01em;
}

.bmock-body { overflow: hidden; }

/* Mock nav */
.bm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #0D1117;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.bm-logo-bar {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bm-logo-icon {
  width: 18px;
  height: 18px;
  background: #0EA5E9;
  border-radius: 4px;
}

.bm-logo-text {
  width: 72px;
  height: 7px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
}

.bm-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bm-nav-link {
  width: 28px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

.bm-nav-cta {
  width: 52px;
  height: 20px;
  background: #0EA5E9;
  border-radius: 4px;
  opacity: 0.9;
}

/* Mock hero inside browser */
.bm-hero-section {
  padding: 18px 16px 14px;
  background: linear-gradient(135deg, #0D1117 0%, #0f1923 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
  align-items: center;
}

.bm-tag {
  width: 72px;
  height: 13px;
  background: rgba(14,165,233,0.25);
  border-radius: 20px;
  margin-bottom: 10px;
}

.bm-h1 {
  height: 13px;
  background: rgba(255,255,255,0.75);
  border-radius: 3px;
  margin-bottom: 7px;
}

.bm-h1-b {
  width: 72%;
  background: rgba(255,255,255,0.45);
}

.bm-p {
  height: 6px;
  background: rgba(255,255,255,0.18);
  border-radius: 3px;
  margin-bottom: 5px;
}

.bm-p-short { width: 58%; }

.bm-btns {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}

.bm-btn-primary {
  width: 72px;
  height: 20px;
  background: #0EA5E9;
  border-radius: 4px;
}

.bm-btn-ghost {
  width: 54px;
  height: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
}

.bm-hero-right { position: relative; }

.bm-hero-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0f2a45 0%, #0a1628 100%);
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bm-img-inner {
  width: 80%;
  height: 60%;
  background: linear-gradient(135deg, rgba(14,165,233,0.2) 0%, rgba(99,102,241,0.15) 100%);
  border-radius: 4px;
  border: 1px solid rgba(14,165,233,0.2);
}

/* Mock service cards inside browser */
.bm-services-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 16px 14px;
  background: #111827;
}

.bm-svc-card {
  background: #1e293b;
  border-radius: 6px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.bm-svc-card::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: rgba(14,165,233,0.2);
  border-radius: 4px;
  margin-bottom: 7px;
}

.bm-svc-card::after {
  content: '';
  display: block;
  width: 58%;
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}

/* Floating notification chips on mockup */
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  white-space: nowrap;
  cursor: default;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.hero-chip-1 {
  top: -18px;
  left: -36px;
  animation:
    card-fade-in 0.5s ease 1.4s both,
    card-rise    0.6s cubic-bezier(0.16,1,0.3,1) 1.4s both,
    chip-float-a 6s ease-in-out 2.1s infinite;
}

.hero-chip-2 {
  bottom: 70px;
  right: -24px;
  animation:
    card-fade-in 0.5s ease 1.7s both,
    card-rise    0.6s cubic-bezier(0.16,1,0.3,1) 1.7s both,
    chip-float-b 7.5s ease-in-out 2.4s infinite;
}

.hero-chip-3 {
  bottom: -16px;
  left: 12%;
  animation:
    card-fade-in 0.5s ease 2.0s both,
    card-rise    0.6s cubic-bezier(0.16,1,0.3,1) 2.0s both,
    chip-float-c 8s ease-in-out 2.8s infinite;
}

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

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

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

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
  animation: dot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.chip-emoji {
  font-size: 15px;
  flex-shrink: 0;
  line-height: 1;
}

.chip-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chip-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

.chip-sub {
  font-size: 0.64rem;
  color: rgba(255,255,255,0.4);
  display: block;
}

/* Staggered entrance */
.hero-badge    { animation: hero-enter 0.7s ease both 0.15s; }
.hero-content h1       { animation: hero-enter 0.7s ease both 0.3s; }
.hero-sub      { animation: hero-enter 0.7s ease both 0.45s; }
.hero-actions  { animation: hero-enter 0.7s ease both 0.6s; }
.hero-stats    { animation: hero-enter 0.7s ease both 0.8s; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
  background: rgba(255,255,255,0.03);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #0EA5E9;
  border-radius: 50%;
  box-shadow: 0 0 8px #0EA5E9;
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 6px #0EA5E9; transform: scale(1); }
  50%       { box-shadow: 0 0 14px #0EA5E9, 0 0 24px rgba(14,165,233,0.4); transform: scale(1.2); }
}

.hero h1 {
  color: #fff;
  margin-bottom: 28px;
  min-height: 2.3em; /* prevents jump as typewriter changes word length */
}

/* Typewriter word styling */
.hero-tw {
  color: #0EA5E9;
  position: relative;
}

.tw-cursor {
  display: inline-block;
  color: #0EA5E9;
  font-weight: 300;
  animation: cursor-blink 0.8s step-end infinite;
  margin-left: 2px;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.5);
  margin-bottom: 44px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.04em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

/* --- Floating Notification Cards --- */
.hero-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  cursor: default;
  user-select: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.hero-card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero-card-1 {
  left: 24px;
  top: 34%;
}

.hero-card-2 {
  right: 32px;
  top: 16%;
}

.hero-card-3 {
  right: 48px;
  bottom: 20%;
}

/* Card icon containers */
.hc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.hc-icon-green  { background: rgba(16, 185, 129, 0.15); }
.hc-icon-yellow { background: rgba(251, 191, 36, 0.15); }
.hc-icon-blue   { background: rgba(14, 165, 233, 0.15); }

.hc-body { display: flex; flex-direction: column; gap: 2px; }

.hc-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.hc-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.hc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: dot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

/* Pure CSS card entrance + float */
@keyframes card-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes card-rise {
  from { transform: translateY(24px) scale(0.93); }
  to   { transform: translateY(0)    scale(1); }
}

@keyframes card-float-a {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(0.5deg); }
}

@keyframes card-float-b {
  0%, 100% { transform: translateY(0)   rotate(0deg); }
  50%       { transform: translateY(-9px) rotate(-0.4deg); }
}

@keyframes card-float-c {
  0%, 100% { transform: translateY(0)    rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(0.3deg); }
}

.hero-card-1 {
  animation:
    card-fade-in 0.5s ease                          1.0s both,
    card-rise    0.75s cubic-bezier(0.16,1,0.3,1)  1.0s both,
    card-float-a 7s   ease-in-out                   1.85s infinite;
}

.hero-card-2 {
  animation:
    card-fade-in 0.5s ease                          1.4s both,
    card-rise    0.75s cubic-bezier(0.16,1,0.3,1)  1.4s both,
    card-float-b 8.5s ease-in-out                   2.25s infinite;
}

.hero-card-3 {
  animation:
    card-fade-in 0.5s ease                          1.8s both,
    card-rise    0.75s cubic-bezier(0.16,1,0.3,1)  1.8s both,
    card-float-c 6.5s ease-in-out                   2.65s infinite;
}

/* ===========================
   TICKER / MARQUEE
   =========================== */
.ticker-section {
  background: #0A0A0F;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-track:hover { animation-play-state: paused; }

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

.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.ticker-item span {
  color: rgba(255,255,255,0.12);
  font-size: 1.1rem;
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services {
  background: #f7fafc;
}

.section-header {
  margin-bottom: 52px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0EA5E9;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #0EA5E9;
  border-radius: 2px;
  flex-shrink: 0;
}

.section-header h2 {
  color: #0A0A0A;
  margin-bottom: 18px;
}

.section-header p {
  max-width: 520px;
  font-size: 1.05rem;
  color: #666;
}

/* service-card enhanced styles are defined in new section below */

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #EFF8FF 0%, #E0F2FE 100%);
  border-radius: 14px;
  margin-bottom: 28px;
  color: #0EA5E9;
  border: 1px solid rgba(14,165,233,0.12);
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  color: #0A0A0A;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: #666;
}

/* ===========================
   PORTFOLIO / WORK
   =========================== */
.portfolio {
  background: #fff;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.portfolio-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.1);
  border: 1px solid #E8EDF2;
}

.portfolio-image img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-info { max-width: 440px; }

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #EFF8FF;
  color: #0EA5E9;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 22px;
}

.portfolio-info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: #0A0A0A;
  margin-bottom: 16px;
}

.portfolio-info p {
  margin-bottom: 32px;
  font-size: 1rem;
  line-height: 1.75;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0EA5E9;
  transition: gap 0.2s ease;
}

.portfolio-link:hover { gap: 12px; }
.portfolio-link svg { width: 17px; height: 17px; }

/* ===========================
   ABOUT SECTION
   =========================== */
.about { background: #f7fafc; }

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

.about-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.about-content h2 {
  color: #0A0A0A;
  margin-bottom: 28px;
}

.about-content p {
  font-size: 1.02rem;
  margin-bottom: 18px;
  max-width: 520px;
  color: #555;
}

.about-name {
  font-weight: 700;
  color: #0A0A0A !important;
  margin-top: 36px !important;
  font-size: 1rem !important;
  margin-bottom: 4px !important;
}

.about-role {
  color: #999 !important;
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
  margin-top: 4px !important;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
  background: #0A0A0F;
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(14, 165, 233, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(99, 102, 241, 0.04) 0%, transparent 55%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  color: #fff;
  margin-bottom: 20px;
}

.contact-info > p {
  color: rgba(255,255,255,0.45);
  font-size: 1.05rem;
  margin-bottom: 44px;
  max-width: 380px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  color: #0EA5E9;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 18px; height: 18px; }

.contact-detail a {
  color: rgba(255,255,255,0.65);
  font-size: 0.93rem;
  transition: color 0.2s ease;
}

.contact-detail a:hover { color: #fff; }

.calendly-embed {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0A0A0F;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy,
.footer-location {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item { gap: 44px; }
  .about-grid { gap: 44px; }
  .contact-grid { gap: 52px; }
}

@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }

  /* Hide hero floating cards on mobile — they overlap content */
  .hero-card { display: none; }

  /* Nav Mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 32px rgba(0,0,0,0.1);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    color: #1A1A1A !important;
    font-size: 1rem;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid #F3F4F6;
  }

  .nav-links a:hover { color: #0EA5E9 !important; }

  .nav-links .nav-cta {
    margin-top: 16px;
    text-align: center;
    background: #0EA5E9 !important;
  }

  .nav-toggle { display: flex; }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 999;
  }

  .nav-overlay.open { display: block; }

  /* Hero */
  .hero { min-height: auto; padding: 130px 0 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; margin-top: 48px; }
  .hero-stat-divider { display: none; }

  /* Ticker */
  .ticker-section { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 32px 24px; }

  /* Portfolio */
  .portfolio-item { grid-template-columns: 1fr; gap: 32px; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 240px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

/* ===========================
   RESULTS STATS STRIP
   =========================== */
.results {
  background: #0A0A0F;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 80px 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.result-item {
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.result-item:first-child { padding-left: 0; }
.result-item:last-child  { padding-right: 0; border-right: none; }

.result-num {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
  max-width: 160px;
  margin: 0 auto;
}

/* ===========================
   ENHANCED SERVICE CARDS
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: service-counter;
}

.service-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid #E8EDF2;
  border-radius: 16px;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
  counter-increment: service-counter;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0EA5E9, #6366f1);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.service-card:hover {
  border-color: #C7DFF0;
  box-shadow: 0 12px 40px rgba(14,165,233,0.08);
  transform: translateY(-4px);
}

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

.service-card::after {
  content: '0' counter(service-counter);
  position: absolute;
  top: 28px;
  right: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(14,165,233,0.18);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.service-card.featured {
  border-color: rgba(14,165,233,0.4);
  box-shadow: 0 8px 32px rgba(14,165,233,0.12), inset 0 0 0 1px rgba(14,165,233,0.1);
  background: linear-gradient(160deg, #fff 0%, #f0f8ff 100%);
}

.service-card.featured::before { opacity: 1; }

.service-featured-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0EA5E9;
  background: #EFF8FF;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ===========================
   HOW IT WORKS (PROCESS)
   =========================== */
.process { background: #fff; }

.process .section-header { text-align: center; margin-bottom: 72px; }
.process .section-header h2 { margin-bottom: 0; }

.process-steps {
  display: grid;
  grid-template-columns: 1fr 48px 1fr 48px 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  text-align: center;
  padding: 0 16px;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
  position: relative;
}

.process-step h3 {
  color: #0A0A0A;
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #666;
  max-width: 260px;
  margin: 0 auto;
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  color: rgba(14,165,233,0.4);
}

.process-arrow svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ===========================
   CTA BLOCK
   =========================== */
.cta-block {
  background: #0A0A0F;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(14,165,233,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(99,102,241,0.06) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-block-inner h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cta-block-inner p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ===========================
   TESTIMONIAL (kept for future use)
   =========================== */
.testimonial {
  background: #0A0A0F;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(14,165,233,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(99,102,241,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.testimonial-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.testimonial-quote-mark {
  font-size: 5rem;
  line-height: 0.6;
  color: #0EA5E9;
  opacity: 0.3;
  font-family: Georgia, serif;
  margin-bottom: 32px;
  display: block;
}

.testimonial-text {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0EA5E9, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.testimonial-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ===========================
   RESPONSIVE — NEW SECTIONS
   =========================== */
@media (max-width: 1024px) {
  .results-grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .result-item  { border-right: none; text-align: left; }
}

@media (max-width: 768px) {
  .results-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .result-item    { padding: 0; }
  .services-grid  { grid-template-columns: 1fr !important; gap: 18px; }
  .service-card   { padding: 28px 22px; }
  .process-steps  { grid-template-columns: 1fr; gap: 40px; }
  .process-arrow  { display: none; }
  .process-step   { padding: 0; }
  .process-step p { max-width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 120px 0 64px; }
  .section-padding { padding: 60px 0; }
}
