/* Canads Tech — Vichy palette · Marketing Agency UI */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal:       #05AD98;
  --teal-dark:  #048A78;
  --teal-light: #E6F7F5;
  --gray-light: #BBBFBF;
  --gray-mid:   #878787;
  --white:      #FFFFFF;
  --dark:       #1A1A2E;
  --bg:         #FFFFFF;
  --bg2:        #F7F8F8;
  --bg3:        #F0F1F1;
  --card:       #FFFFFF;
  --border:     rgba(5,173,152,0.25);
  --border2:    rgba(187,191,191,0.45);
  --text:       #1A1A2E;
  --muted:      #878787;
  --grad:       linear-gradient(135deg, #05AD98 0%, #048A78 100%);
  --grad-rev:   linear-gradient(135deg, #048A78 0%, #05AD98 100%);
  --font:       'Inter', sans-serif;
  --font2:      'Plus Jakarta Sans', sans-serif;
  --shadow:     0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.08);
  --shadow-teal:0 8px 32px rgba(5,173,152,0.25);
  --radius:     20px;
  --radius-sm:  12px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: rgba(5,173,152,0.2); color: var(--dark); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }

/* TYPOGRAPHY */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal);
  padding: 6px 16px; border-radius: 100px;
  border: 1px solid rgba(5,173,152,0.25);
  background: var(--teal-light);
  margin-bottom: 20px;
}
.tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
h1, h2, h3, h4 { font-family: var(--font2); line-height: 1.15; }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: var(--dark); margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--muted);
  max-width: 560px; line-height: 1.75;
}
.gradient-text {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.95rem; font-weight: 600; padding: 14px 30px;
  border-radius: 100px; transition: var(--transition);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary {
  background: var(--dark); color: #fff;
  box-shadow: 0 4px 20px rgba(26,26,46,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--teal);
  box-shadow: var(--shadow-teal);
}
.btn-outline {
  border: 1.5px solid var(--gray-light); color: var(--dark);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--teal); color: var(--teal);
  background: var(--teal-light);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* PRELOADER */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--white); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.pre-logo { width: 140px; height: auto; animation: float 2s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.pre-bar-wrap {
  width: 220px; height: 3px; background: var(--bg3);
  border-radius: 2px; overflow: hidden;
}
.pre-bar {
  height: 100%; width: 0%; background: var(--grad);
  border-radius: 2px; transition: width 2s ease;
}
.pre-text {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

/* NAVBAR */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo img { height: 52px; width: auto; object-fit: contain; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg2); padding: 6px; border-radius: 100px;
  border: 1px solid var(--border2);
}
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  padding: 8px 16px; border-radius: 100px; transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--dark); background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--dark);
  border-radius: 2px; transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 24px; flex-direction: column; gap: 8px; z-index: 999;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--muted);
  padding: 12px 16px; border-radius: 10px; transition: var(--transition);
}
.mobile-menu a:hover { color: var(--dark); background: var(--bg2); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 12px; }

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
  padding-top: 100px;
  background: var(--white);
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.4;
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.35;
  background-image:
    radial-gradient(circle at 1px 1px, var(--gray-light) 1px, transparent 0);
  background-size: 32px 32px;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(5,173,152,0.12) 0%, transparent 70%);
  top: -80px; right: -80px;
}
.hero-glow-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(187,191,191,0.2) 0%, transparent 70%);
  bottom: 0; left: 0;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-text .tag { margin-bottom: 28px; }
.hero-h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 800;
  color: var(--dark); line-height: 1.05; margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-h1 .line { display: block; overflow: hidden; }
.hero-h1 .line span { display: block; animation: slideUp 0.8s ease forwards; opacity: 0; }
.hero-h1 .line:nth-child(1) span { animation-delay: 0.3s; }
.hero-h1 .line:nth-child(2) span { animation-delay: 0.5s; }
.hero-h1 .line:nth-child(3) span { animation-delay: 0.7s; }
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-desc {
  font-size: 1.1rem; color: var(--muted); margin-bottom: 40px;
  max-width: 480px; line-height: 1.8;
  animation: fadeIn 1s ease 1s forwards; opacity: 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeIn 1s ease 1.2s forwards; opacity: 0;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap;
  animation: fadeIn 1s ease 1.4s forwards; opacity: 0;
  padding-top: 32px; border-top: 1px solid var(--border2);
}
.hero-stat-item { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: var(--font2); font-size: 2rem; font-weight: 800;
  color: var(--teal); line-height: 1;
}
.hero-stat-label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
  animation: fadeIn 1s ease 0.8s forwards; opacity: 0;
}
.hero-phone-mockup {
  position: relative; width: 300px; animation: float 4s ease-in-out infinite;
}
.hero-phone-frame {
  background: var(--white);
  border-radius: 32px; padding: 12px;
  border: 1px solid var(--border2);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(5,173,152,0.08);
}
.hero-phone-screen {
  background: var(--bg2); border-radius: 24px;
  overflow: hidden; aspect-ratio: 9/18; padding: 20px 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.phone-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px; background: var(--white);
  border-radius: 10px; border: 1px solid var(--border2);
}
.phone-header-dot { width: 8px; height: 8px; border-radius: 50%; }
.phone-header-bar {
  flex: 1; height: 6px; background: var(--bg3); border-radius: 3px;
}
.phone-card {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--border2); padding: 14px;
}
.phone-card-line {
  height: 6px; background: var(--bg3); border-radius: 3px;
  margin-bottom: 6px;
}
.phone-card-line.short { width: 60%; }
.phone-chart {
  display: flex; align-items: flex-end; gap: 4px; height: 44px;
  padding-top: 4px;
}
.phone-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: var(--teal); opacity: 0.85;
  animation: growBar 2s ease infinite alternate;
}
@keyframes growBar {
  from { transform: scaleY(0.4); }
  to { transform: scaleY(1); }
}
.phone-bar:nth-child(1) { height: 50%; animation-delay: 0s; }
.phone-bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.phone-bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.phone-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.phone-bar:nth-child(5) { height: 70%; animation-delay: 0.3s; }
.phone-bar:nth-child(6) { height: 100%; animation-delay: 0.5s; }
.phone-metric-row { display: flex; gap: 8px; }
.phone-metric {
  flex: 1; background: var(--white);
  border: 1px solid var(--border2);
  border-radius: 10px; padding: 10px; text-align: center;
}
.phone-metric-val {
  font-size: 0.9rem; font-weight: 700; color: var(--teal);
}
.phone-metric-lbl {
  font-size: 0.55rem; color: var(--muted); margin-top: 2px;
}
.floating-badge {
  position: absolute; background: var(--white);
  border: 1px solid var(--border2); border-radius: 16px;
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.floating-badge-1 { top: 8%; left: -20%; animation-delay: 0.5s; }
.floating-badge-2 { bottom: 12%; right: -20%; animation-delay: 1s; }
.badge-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge-icon svg { width: 18px; height: 18px; fill: #fff; }
.badge-text { display: flex; flex-direction: column; gap: 2px; }
.badge-val { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.badge-lbl { font-size: 0.72rem; color: var(--muted); }
.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; animation: fadeIn 1s ease 2s forwards; opacity: 0;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* MARQUEE */
.marquee-section {
  padding: 24px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
  overflow: hidden;
}
.marquee-track {
  display: flex; gap: 0; animation: marquee 25s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 40px; white-space: nowrap;
  font-size: 0.85rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.marquee-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}
.marquee-item strong { color: var(--dark); }

/* SERVICES */
#services { background: var(--bg2); }
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px; gap: 32px; flex-wrap: wrap;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: default;
  box-shadow: var(--shadow);
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(5,173,152,0.04) 0%, transparent 60%);
  opacity: 0; transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(5,173,152,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(5,173,152,0.1);
}
.service-card:hover::before { opacity: 1; }
.service-card.featured {
  background: var(--teal-light);
  border-color: rgba(5,173,152,0.3);
}
.service-num {
  position: absolute; top: 24px; right: 28px;
  font-size: 3rem; font-weight: 800; color: rgba(187,191,191,0.35);
  font-family: var(--font2); line-height: 1;
}
.service-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--teal-light);
  border: 1px solid rgba(5,173,152,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--grad); border-color: transparent;
}
.service-icon svg { width: 28px; height: 28px; }
.service-title {
  font-family: var(--font2); font-size: 1.2rem; font-weight: 700;
  color: var(--dark); margin-bottom: 12px;
}
.service-desc {
  font-size: 0.92rem; color: var(--muted); line-height: 1.75; margin-bottom: 24px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag {
  font-size: 0.72rem; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; background: var(--bg2);
  border: 1px solid var(--border2); color: var(--muted);
}
.service-arrow {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--teal);
  margin-top: 24px; opacity: 0; transform: translateX(-10px);
  transition: var(--transition);
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ABOUT */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-img-bg {
  aspect-ratio: 1; background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(5,173,152,0.12) 1px, transparent 0);
  background-size: 24px 24px;
}
.about-logo-display {
  width: 55%; max-width: 280px; position: relative; z-index: 2;
  filter: none;
  animation: float 5s ease-in-out infinite;
}
.about-floating-card {
  position: absolute; background: var(--white);
  border: 1px solid var(--border2); border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
}
.about-fc-1 { bottom: -24px; right: -24px; }
.about-fc-2 { top: -24px; left: -24px; }
.about-fc-inner { display: flex; align-items: center; gap: 12px; }
.about-fc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--grad); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.about-fc-icon svg { width: 20px; height: 20px; fill: #fff; }
.about-fc-text strong { display: block; font-size: 1rem; font-weight: 700; color: var(--dark); }
.about-fc-text span { font-size: 0.75rem; color: var(--muted); }
.about-list { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }
.about-list-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; background: var(--bg2);
  border-radius: 12px; border: 1px solid var(--border2);
  transition: var(--transition);
}
.about-list-item:hover { border-color: var(--border); transform: translateX(6px); }
.about-list-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-light); border: 1px solid rgba(5,173,152,0.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.about-list-check svg { width: 12px; height: 12px; }
.about-list-content strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.about-list-content span { font-size: 0.85rem; color: var(--muted); }

/* STATS */
.stats-section {
  background: var(--dark);
  padding: 70px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-item {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font2); font-size: 3.2rem; font-weight: 800;
  color: var(--teal); line-height: 1; margin-bottom: 10px;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.stat-desc { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* PROCESS */
#process { background: var(--bg2); }
.process-header { text-align: center; max-width: 600px; margin: 0 auto 70px; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-grid::before {
  content: ''; position: absolute;
  top: 52px; left: calc(12.5% + 12px); right: calc(12.5% + 12px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), var(--border2), transparent);
}
.process-step { text-align: center; padding: 0 24px; }
.process-num-wrap { position: relative; width: 64px; height: 64px; margin: 0 auto 28px; }
.process-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font2); font-size: 1.2rem; font-weight: 700;
  background: var(--grad); color: #fff;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 8px var(--teal-light), 0 0 0 16px rgba(5,173,152,0.06);
}
.process-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; transition: var(--transition);
}
.process-step:hover .process-icon { background: var(--teal-light); border-color: rgba(5,173,152,0.3); }
.process-icon svg { width: 24px; height: 24px; }
.process-title {
  font-family: var(--font2); font-size: 1.05rem; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.process-desc { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* PORTFOLIO */
#portfolio { background: var(--white); }
.portfolio-header { text-align: center; margin-bottom: 48px; }
.portfolio-filters {
  display: flex; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 48px;
}
.filter-btn {
  font-size: 0.85rem; font-weight: 600; padding: 9px 22px;
  border-radius: 100px; border: 1px solid var(--border2);
  color: var(--muted); transition: var(--transition);
  background: var(--white);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--dark); border-color: transparent; color: #fff;
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border2); overflow: hidden;
  transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5,173,152,0.3);
  box-shadow: var(--shadow-lg);
}
.portfolio-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.portfolio-thumb-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.portfolio-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,46,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.portfolio-card:hover .portfolio-thumb-overlay { opacity: 1; }
.portfolio-overlay-btn {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: #fff;
  background: var(--teal); padding: 10px 20px;
  border-radius: 100px; border: none; cursor: pointer;
  transform: translateY(20px); transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay-btn { transform: translateY(0); }
.portfolio-info { padding: 24px; }
.portfolio-cat {
  font-size: 0.72rem; font-weight: 600; color: var(--teal);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
}
.portfolio-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.portfolio-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.browser-mock {
  width: 90%; background: var(--bg2); border-radius: 8px;
  overflow: hidden; border: 1px solid var(--border2);
  box-shadow: var(--shadow);
}
.browser-bar {
  background: var(--white); padding: 8px 12px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border2);
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; }
.browser-url {
  flex: 1; height: 16px; background: var(--bg3);
  border-radius: 4px; margin-left: 8px;
}
.browser-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.browser-hero-block { height: 50px; border-radius: 6px; }
.browser-cards { display: flex; gap: 6px; }
.browser-card-sm { flex: 1; height: 28px; border-radius: 5px; background: var(--bg3); }

/* MODAL */
.portfolio-modal {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.portfolio-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.portfolio-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,26,46,0.6); backdrop-filter: blur(8px);
}
.portfolio-modal-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  background: var(--white); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 28px 28px 32px;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px); transition: transform 0.25s ease;
}
.portfolio-modal.open .portfolio-modal-dialog { transform: translateY(0); }
.portfolio-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border2); background: var(--bg2);
  color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.portfolio-modal-close:hover { color: var(--dark); border-color: var(--teal); background: var(--teal-light); }
.aura-opt-badge {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.aura-modal-title {
  font-family: var(--font2); font-size: 1.35rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px; padding-right: 40px;
}
.aura-modal-lead { font-size: 0.88rem; color: var(--muted); margin-bottom: 24px; line-height: 1.55; }
.aura-yat-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: 8px;
  padding: 14px 24px; font-size: 0.95rem; font-weight: 600; color: #fff;
  background: var(--grad); border: none; border-radius: 100px;
  cursor: pointer; transition: var(--transition);
}
.aura-yat-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.aura-yat-submit svg { width: 18px; height: 18px; flex-shrink: 0; }

/* TECHNOLOGIES */
#technologies { background: var(--bg2); }
.tech-header { text-align: center; margin-bottom: 60px; }
.tech-categories { display: flex; flex-direction: column; gap: 40px; }
.tech-category-title {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border2);
}
.tech-row { display: flex; flex-wrap: wrap; gap: 16px; }
.tech-chip {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--border2);
  border-radius: 12px; padding: 10px 18px;
  transition: var(--transition);
}
.tech-chip:hover {
  border-color: rgba(5,173,152,0.35);
  background: var(--teal-light);
  transform: translateY(-2px);
}
.tech-chip-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.tech-chip-name { font-size: 0.87rem; font-weight: 600; color: var(--text); }

/* TESTIMONIALS */
#testimonials { background: var(--white); }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(5,173,152,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.star { color: #F59E0B; font-size: 1rem; }
.testimonial-text {
  font-size: 0.95rem; color: var(--muted); line-height: 1.8;
  margin-bottom: 28px; font-style: italic;
}
.testimonial-text::before { content: '"'; color: var(--teal); font-size: 1.5rem; line-height: 0; vertical-align: -8px; margin-right: 4px; }
.testimonial-text::after { content: '"'; color: var(--teal); font-size: 1.5rem; line-height: 0; vertical-align: -8px; margin-left: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff;
  flex-shrink: 0;
}
.author-name { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.author-role { font-size: 0.78rem; color: var(--muted); }

/* FAQ */
#faq { background: var(--bg2); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 80px; align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(5,173,152,0.35); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; gap: 16px;
}
.faq-q-text { font-size: 0.97rem; font-weight: 600; color: var(--dark); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-light); border: 1px solid rgba(5,173,152,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--grad); border-color: transparent; transform: rotate(45deg); }
.faq-icon svg { width: 14px; height: 14px; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem; color: var(--muted); line-height: 1.75;
}
.faq-contact-box {
  background: var(--white); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 40px;
  text-align: center; box-shadow: var(--shadow);
}
.faq-contact-box h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.faq-contact-box p { font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.faq-contact-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.faq-contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--bg2);
  border-radius: 10px; border: 1px solid var(--border2);
}
.faq-contact-method svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal); }
.faq-method-text strong { display: block; font-size: 0.85rem; color: var(--dark); }
.faq-method-text span { font-size: 0.78rem; color: var(--muted); }

/* CTA */
#cta {
  padding: 100px 0; position: relative; overflow: hidden;
  background: var(--teal);
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(4,138,120,0.3) 0%, transparent 100%);
}
.cta-pattern {
  position: absolute; inset: 0; opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-glow-left, .cta-glow-right { display: none; }
.cta-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 700px; margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  color: var(--white); margin-bottom: 20px; line-height: 1.15;
}
.cta-content h2 .gradient-text {
  background: none; -webkit-text-fill-color: var(--white);
  color: var(--white); opacity: 0.9;
}
.cta-content p {
  font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 40px; line-height: 1.75;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-btns .btn-primary {
  background: var(--dark); color: #fff;
}
.cta-btns .btn-primary:hover { background: var(--white); color: var(--dark); }
.cta-btns .btn-outline {
  border-color: rgba(255,255,255,0.5); color: var(--white); background: transparent;
}
.cta-btns .btn-outline:hover {
  background: var(--white); color: var(--teal); border-color: var(--white);
}
.cta-content .tag {
  background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: var(--white);
}
.cta-content .tag::before { background: var(--white); }
.cta-features {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-top: 40px;
}
.cta-feature {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: rgba(255,255,255,0.85);
}
.cta-feature svg { width: 16px; height: 16px; color: var(--white); flex-shrink: 0; }

/* CONTACT */
#contact { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: start;
}
.contact-info h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.contact-info p { font-size: 0.95rem; color: var(--muted); line-height: 1.75; margin-bottom: 40px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; background: var(--bg2);
  border-radius: 12px; border: 1px solid var(--border2);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--border); transform: translateX(4px); }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-light);
  border: 1px solid rgba(5,173,152,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 3px; }
.contact-item-text span { font-size: 0.95rem; color: var(--dark); font-weight: 500; }
.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-link {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: var(--muted);
}
.social-link:hover {
  background: var(--grad); border-color: transparent; color: #fff;
  transform: translateY(-3px); box-shadow: var(--shadow-teal);
}
.social-link svg { width: 18px; height: 18px; }
.contact-form-wrap {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 40px;
}
.form-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.form-subtitle { font-size: 0.87rem; color: var(--muted); margin-bottom: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.form-input {
  width: 100%; background: var(--white); border: 1px solid var(--border2);
  border-radius: 10px; padding: 13px 16px; color: var(--dark);
  font-size: 0.92rem; transition: var(--transition); outline: none;
}
.form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(5,173,152,0.12); }
.form-input::placeholder { color: var(--gray-light); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }
select.form-input option { background: var(--white); }
.form-submit {
  width: 100%; padding: 15px; border-radius: 100px;
  background: var(--dark); color: #fff; font-size: 1rem;
  font-weight: 700; cursor: pointer; border: none;
  transition: var(--transition); margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover {
  transform: translateY(-2px);
  background: var(--teal);
  box-shadow: var(--shadow-teal);
}
.form-submit svg { width: 18px; height: 18px; }
.form-success { display: none; text-align: center; padding: 40px; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 16px; }
.form-success h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 8px; }
.form-success p { color: var(--muted); }

/* FOOTER */
#footer { background: var(--dark); padding-top: 70px; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
  font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.75; margin: 20px 0 28px;
  max-width: 280px;
}
.footer-logo {
  height: 72px; width: auto; object-fit: contain;
  background: var(--white); border-radius: 12px; padding: 8px 12px;
}
.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter input {
  flex: 1; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 11px 18px; color: var(--white);
  font-size: 0.87rem; outline: none; transition: var(--transition);
}
.footer-newsletter input:focus { border-color: var(--teal); }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter button {
  background: var(--teal); color: #fff; border-radius: 100px;
  padding: 11px 20px; font-size: 0.85rem; font-weight: 600;
  flex-shrink: 0; transition: var(--transition);
}
.footer-newsletter button:hover { transform: translateY(-1px); box-shadow: var(--shadow-teal); }
.footer-col-title {
  font-size: 0.92rem; font-weight: 700; color: var(--white);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 2px solid rgba(5,173,152,0.4);
  display: inline-block;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before {
  content: ''; width: 0; height: 1px; background: var(--teal);
  transition: width 0.3s ease;
}
.footer-links a:hover { color: var(--white); padding-left: 8px; }
.footer-links a:hover::before { width: 12px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-copy strong { color: var(--white); }
.footer-policy { display: flex; gap: 24px; }
.footer-policy a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-policy a:hover { color: var(--teal); }

/* BACK TO TOP */
#back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); display: flex;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-teal);
  cursor: pointer; transition: var(--transition);
  opacity: 0; visibility: hidden; z-index: 500;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-4px); background: var(--teal-dark); }
#back-to-top svg { width: 20px; height: 20px; color: #fff; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { 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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.08); border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.08); border-right: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 28px 20px; }
  .hero-h1 { font-size: 2.2rem; }
  .floating-badge { display: none; }
  .about-fc-1, .about-fc-2 { display: none; }
}
