/* ========================================================
   SajtPro — Premium Agency CSS
   ======================================================== */

:root {
  --bg: #09090b;
  --bg-2: #0f0f13;
  --bg-lift: #10121a;
  --bg-card: #131318;
  --bg-card-h: #1a1a22;
  --text: #d4d4d8;
  --text-m: #71717a;
  --white: #fafafa;
  --accent: #6366f1;
  --accent-l: #818cf8;
  --accent-glow: rgba(99,102,241,0.12);
  --green: #22c55e;
  --border: rgba(255,255,255,0.06);
  --border-h: rgba(255,255,255,0.12);
  --r: 14px;
  --r-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.has-smooth-scroll { scroll-behavior: auto; }

/* Custom Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(99,102,241,0.4) transparent;
}
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.55); }

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

/* Subtle grain overlay — adds texture so bg isn't flat */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.text-center { text-align: center; }
.text-large { font-size: 20px; line-height: 1.6; color: var(--text); margin-bottom: 16px; }
.text-large strong { color: var(--white); }

/* ========== NAV ========== */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.nav-scrolled {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 8px; z-index: 10; }
.logo-mark {
  width: 34px; height: 34px; background: var(--accent); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; color: #fff;
}
.logo-word { font-weight: 800; font-size: 19px; color: #fff; letter-spacing: -0.5px; }
.logo-dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-m);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 1px;
}
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.9; }
.nav-login {
  font-size: 13px !important; font-weight: 600 !important; color: var(--text-m) !important;
  border: 1px solid var(--border-h) !important; padding: 6px 14px !important;
  border-radius: 8px !important; display: inline-flex !important; align-items: center; gap: 6px;
  transition: all 0.3s !important;
}
.nav-login::before {
  content: '';
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  display: inline-block;
}
.nav-login::after { display: none !important; }
.nav-login:hover {
  color: var(--white) !important; border-color: var(--accent) !important;
  background: var(--accent-glow) !important;
}
.nav-login:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fafafa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
}
.nav-lang {
  font-size: 12px !important; font-weight: 700 !important; color: var(--text-m) !important;
  border: 1px solid var(--border-h) !important; padding: 4px 10px !important;
  border-radius: 6px !important; letter-spacing: 1px;
}
.nav-lang::after { display: none !important; }
.nav-lang:hover { color: var(--white) !important; border-color: var(--accent) !important; }
button.nav-lang { cursor: pointer; background: none; font-family: inherit; }

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-toggle svg {
  transition: transform 0.2s;
}
.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(6px);
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-m);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.04);
}
.nav-dropdown-menu a::after { display: none !important; }

/* --- WYG Card as Link --- */
a.wyg-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.wyg-card-link .wyg-card {
  transition: all 0.35s ease;
}
a.wyg-card-link:hover .wyg-card {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
}
.wyg-link-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-l);
  margin-top: 12px;
  transition: gap 0.2s;
}
a.wyg-card-link:hover .wyg-link-text {
  gap: 8px;
}

.menu-toggle { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; z-index: 10; background: none; border: none;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-family: var(--font);
  font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1); white-space: nowrap;
}
.btn-glow {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.3);
}
.btn-glow:hover {
  box-shadow: 0 0 40px rgba(99,102,241,0.25), 0 8px 24px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.btn-glass {
  background: rgba(255,255,255,0.04); color: var(--white);
  border: 1px solid var(--border-h);
}
.btn-glass:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: #f0f0f5; transform: translateY(-2px); }
.btn-ghost-w { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost-w:hover { background: rgba(255,255,255,0.1); }
.btn-lg { padding: 16px 32px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ========== TAG ========== */

.tag {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  background: var(--accent-glow); border: 1px solid rgba(99,102,241,0.15);
  color: var(--accent-l); margin-bottom: 20px;
}

/* ========== HERO ========== */

.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: var(--bg); z-index: 1;
}
.hero-bg-effects { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.4;
}
.hero-orb-1 {
  width: 500px; height: 500px; top: -10%; right: 10%;
  background: radial-gradient(circle, rgba(99,102,241,0.3), transparent 70%);
  animation: orb1 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px; bottom: 10%; left: 5%;
  background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
  animation: orb2 8s ease-in-out infinite;
}
@keyframes orb1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px,30px); } }
@keyframes orb2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-20px); } }

.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-layout {
  display: flex; align-items: center; gap: 60px;
  position: relative; z-index: 1; padding-top: 100px; padding-bottom: 60px;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-eyebrow {
  font-size: 13px; font-weight: 600; color: var(--accent-l);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font); font-size: 52px; font-weight: 800;
  line-height: 1.1; color: var(--white); letter-spacing: -1.5px; margin-bottom: 24px;
}
.hero-title-accent {
  display: block; font-family: var(--display); font-style: italic;
  background: linear-gradient(135deg, var(--accent-l), #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc { font-size: 17px; color: var(--text-m); line-height: 1.7; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 12px; }

.hero-showcase { flex: 1; position: relative; }
.showcase-browser {
  background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border-h);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.showcase-browser:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.browser-dots { display: flex; gap: 6px; padding: 12px 16px; background: rgba(255,255,255,0.02); }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-bar {
  display: inline-block; margin-left: 16px; font-size: 12px; color: var(--text-m);
  background: rgba(255,255,255,0.04); padding: 3px 14px; border-radius: 6px;
}
.showcase-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.showcase-float {
  position: absolute; background: var(--bg-card); border: 1px solid var(--border-h);
  border-radius: var(--r); padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  animation: floatCard 4s ease-in-out infinite;
}
.showcase-float-1 { top: 20%; right: -30px; animation-delay: 0s; }
.showcase-float-2 { bottom: 15%; left: -20px; animation-delay: 2s; }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-num { display: block; font-size: 22px; font-weight: 800; color: var(--green); }
.float-label { font-size: 11px; color: var(--text-m); white-space: nowrap; }

.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ========== MARQUEE STRIP ========== */

.marquee {
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-content {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-m);
  opacity: 0.4;
  white-space: nowrap;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ========== PAGE HERO ========== */

.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.06), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.page-hero h1 {
  font-size: 48px; font-weight: 800; color: var(--white);
  line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px;
}
.italic-accent {
  font-family: var(--display); font-style: italic;
  background: linear-gradient(135deg, var(--accent-l), #c084fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero-sub { font-size: 18px; color: var(--text-m); max-width: 540px; line-height: 1.7; }

/* ========== SECTIONS ========== */

.section { padding: 80px 0; position: relative; overflow: hidden; background: var(--bg); z-index: 1; }

/* Auto gradient divider between consecutive sections */
.section + .section::before,
.section + .cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 85%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.25) 30%, rgba(139,92,246,0.35) 50%, rgba(99,102,241,0.25) 70%, transparent);
}

/* Dark tint section — slightly lighter bg with top/bottom glow edges */
.section-dark {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

/* Accent section — gradient bg with subtle ambient orb */
.section-accent {
  background: linear-gradient(180deg, #0c0b14 0%, var(--bg) 100%);
  border-top: 1px solid rgba(99,102,241,0.08);
  border-bottom: 1px solid rgba(99,102,241,0.08);
}
.section-accent::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.035), transparent 70%);
  pointer-events: none;
}

/* Tinted section — subtle blue-shifted background */
.section-tint {
  background: #0a0a10;
}

/* Lifted section — noticeably different dark-indigo bg to break monotony */
.section-lift {
  background: var(--bg-lift);
  border-top: 1px solid rgba(99,102,241,0.06);
  border-bottom: 1px solid rgba(99,102,241,0.06);
}

/* Glow section — radial ambient light in background */
.section-glow {
  overflow: hidden;
}
.section-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.06), transparent 70%);
  pointer-events: none;
}
.section-glow-green::after {
  background: radial-gradient(ellipse, rgba(34,197,94,0.03), transparent 70%);
}

.section-head { margin-bottom: 60px; }
.section-head h2, .section-header h2 {
  font-size: 40px; font-weight: 800; color: var(--white);
  line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px;
}
.section-sub { font-size: 17px; color: var(--text-m); line-height: 1.7; }

/* ========== SPLIT LAYOUT ========== */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-text h2 { font-size: 36px; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 20px; }
.split-text p { color: var(--text-m); margin-bottom: 14px; line-height: 1.7; }
.rounded-img { border-radius: var(--r-lg); }

.comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.comparison img { border-radius: var(--r); width: 100%; aspect-ratio: 5/3.5; object-fit: cover; }
.comparison-label {
  display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 3px 10px; border-radius: 6px; margin-bottom: 8px;
}
.comparison-label-bad { background: rgba(239,68,68,0.15); color: #f87171; }
.comparison-label-good { background: rgba(34,197,94,0.15); color: #4ade80; }

/* ========== MISSION ========== */

.quote-heading {
  font-size: 32px; font-weight: 700; color: var(--white); line-height: 1.4;
  max-width: 700px; margin: 0 auto 24px;
}
.mission-desc {
  font-size: 17px; color: var(--text-m); max-width: 600px; margin: 0 auto 48px; line-height: 1.7;
}
.mission-stats { display: flex; justify-content: center; gap: 60px; }
.m-stat { text-align: center; }
.m-stat-num { display: block; font-size: 48px; font-weight: 800; color: var(--white); letter-spacing: -2px; }
.m-stat-label { font-size: 14px; color: var(--text-m); }

/* ========== TIMELINE ========== */

.timeline { max-width: 680px; margin: 0 auto; }
.timeline-item {
  display: flex; gap: 28px; padding-bottom: 48px;
  position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: 20px; top: 48px;
  width: 1px; height: calc(100% - 48px);
  background: linear-gradient(to bottom, var(--border-h), transparent);
}
.timeline-item:last-child::before { display: none; }
.timeline-marker { flex-shrink: 0; }
.timeline-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--accent-glow); border: 1px solid rgba(99,102,241,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--accent-l);
}
.timeline-content h3 { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.timeline-content p { font-size: 15px; color: var(--text-m); line-height: 1.7; }

/* ========== PORTFOLIO (home) ========== */

.portfolio-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pf-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.pf-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); border-color: var(--border-h); }
.pf-card-wide { grid-column: span 2; display: grid; grid-template-columns: 1.2fr 1fr; }
.pf-card-img { overflow: hidden; }
.pf-card-img img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; transition: transform 0.6s ease; }
.pf-card:hover .pf-card-img img { transform: scale(1.04); }
.pf-card-info { padding: 28px; }
.pf-cat { font-size: 11px; font-weight: 700; color: var(--accent-l); text-transform: uppercase; letter-spacing: 1px; }
.pf-card-info h3 { font-size: 22px; font-weight: 700; color: var(--white); margin: 8px 0 10px; }
.pf-card-info p { font-size: 14px; color: var(--text-m); line-height: 1.6; }
.pf-result { display: flex; gap: 24px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.pf-result-item strong { display: block; font-size: 20px; color: var(--green); font-weight: 800; }
.pf-result-item span { font-size: 12px; color: var(--text-m); }

/* ========== PORTFOLIO FULL PAGE ========== */

.portfolio-full-grid { display: flex; flex-direction: column; gap: 40px; }
.pf-full-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; transition: all 0.4s ease;
}
.pf-full-card:hover { border-color: var(--border-h); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.pf-full-card-reverse { grid-template-columns: 1fr 1.1fr; }
.pf-full-card-reverse .pf-full-img { order: 2; }
.pf-full-card-reverse .pf-full-info { order: 1; }
.pf-full-img { overflow: hidden; }
.pf-full-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform 0.6s ease; }
.pf-full-card:hover .pf-full-img img { transform: scale(1.03); }
.pf-full-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.pf-full-info h3 { font-size: 26px; font-weight: 700; color: var(--white); margin: 10px 0 12px; }
.pf-full-info p { font-size: 15px; color: var(--text-m); line-height: 1.7; }
.pf-result-row { display: flex; gap: 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ========== TESTIMONIALS ========== */

.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.test-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; transition: all 0.35s ease; position: relative;
}
.test-card:hover { border-color: var(--border-h); transform: translateY(-4px); }
.test-quote {
  font-family: var(--display); font-size: 64px; color: var(--accent);
  opacity: 0.2; line-height: 1; margin-bottom: -16px;
}
.test-card p { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 24px; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-glow); border: 1px solid rgba(99,102,241,0.15);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--accent-l);
}
.test-author strong { display: block; font-size: 14px; color: var(--white); }
.test-author span { font-size: 12px; color: var(--text-m); }

/* ========== DIFF GRID ========== */

.diff-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 800px; margin: 0 auto; text-align: left; }
.diff-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; transition: all 0.35s ease;
}
.diff-card:hover { border-color: rgba(99,102,241,0.15); transform: translateY(-4px); }
.diff-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-l); margin-bottom: 16px;
}
.diff-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.diff-card p { font-size: 14px; color: var(--text-m); line-height: 1.7; }

/* ========== BELIEF ========== */

.belief-heading {
  font-size: 36px; font-weight: 800; color: var(--white); line-height: 1.3;
  margin-bottom: 48px;
}
.belief-points { display: flex; justify-content: center; gap: 48px; margin-bottom: 40px; }
.belief-point { text-align: center; }
.belief-num { font-size: 56px; font-weight: 900; color: var(--accent-l); letter-spacing: -3px; margin-bottom: 4px; }
.belief-point p { font-size: 14px; color: var(--text-m); max-width: 180px; margin: 0 auto; }
.belief-conclusion { font-size: 18px; color: var(--text); max-width: 540px; margin: 0 auto; line-height: 1.7; }

/* ========== TEAM ========== */

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden; text-align: center; transition: all 0.35s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.team-img { overflow: hidden; aspect-ratio: 4/4.5; }
.team-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-card:hover .team-img img { transform: scale(1.05); }
.team-card h3 { font-size: 20px; font-weight: 700; color: var(--white); margin: 20px 0 4px; }
.team-role { font-size: 13px; color: var(--accent-l); font-weight: 600; }
.team-card > p { font-size: 14px; color: var(--text-m); padding: 12px 24px 24px; line-height: 1.6; }

/* ========== INCLUDED STRIP (Cenovnik) ========== */

.included-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.included-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-l);
  flex-shrink: 0;
}
.included-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}
.included-item span {
  font-size: 13px;
  color: var(--text-m);
}

/* ========== GUARANTEE CARD ========== */

.guarantee-card {
  max-width: 560px;
  margin: 0 auto;
}
.guarantee-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(34,197,94,0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.guarantee-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.guarantee-card p {
  font-size: 16px;
  color: var(--text-m);
  line-height: 1.7;
}

/* What-you-get section */
.wyg-grid { grid-template-columns: repeat(3, 1fr); max-width: 820px; margin: 0 auto; gap: 36px; }
@media (max-width: 768px) { .wyg-grid { grid-template-columns: 1fr; max-width: 400px; } }
.wyg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}
.wyg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-l), #c084fc, var(--accent-l), transparent);
  border-radius: 0 0 4px 4px;
}
.wyg-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
/* --- Scene shared --- */
.wyg-scene {
  width: 100%;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
}

/* --- Scene 1: Dashboard --- */
.wyg-dash-bar {
  display: flex; gap: 4px; padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wyg-dash-bar span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.wyg-dash-body { position: relative; height: calc(100% - 25px); padding: 8px 10px; }
.wyg-dash-bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 100%; position: relative; z-index: 1;
}
.wyg-bar {
  flex: 1;
  height: 0;
  background: linear-gradient(to top, var(--accent), #c084fc);
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
}
.wyg-card.wyg-visible .wyg-bar {
  animation: wygBarGrow 0.8s cubic-bezier(0.16,1,0.3,1) var(--d) both;
}
@keyframes wygBarGrow {
  to { height: var(--h); }
}
.wyg-dash-line {
  position: absolute;
  bottom: 8px; left: 10px; right: 10px;
  height: 40px; z-index: 2;
}
.wyg-dash-line polyline {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.wyg-card.wyg-visible .wyg-dash-line polyline {
  animation: wygLineDraw 1.2s ease 0.4s both;
}
@keyframes wygLineDraw {
  to { stroke-dashoffset: 0; }
}

/* --- Scene 2: Editor --- */
.wyg-edit-bar {
  display: flex; gap: 4px; padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.wyg-edit-bar span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.wyg-edit-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.wyg-edit-line {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
}
.wyg-edit-line-1 { width: 60%; }
.wyg-edit-line-3 { width: 45%; opacity: 0.5; }
.wyg-edit-typing {
  display: flex; align-items: center;
  font-family: 'Courier New', monospace;
  font-size: 13px; color: var(--accent-l);
  height: 20px;
}
.wyg-typed { overflow: hidden; white-space: nowrap; width: 0; }
.wyg-card.wyg-visible .wyg-typed {
  animation: wygType 2s steps(16) 0.3s both;
}
@keyframes wygType {
  to { width: 10ch; }
}
.wyg-cursor {
  color: var(--accent-l);
  animation: wygBlink 0.7s step-end infinite;
  font-weight: 300;
}
@keyframes wygBlink {
  50% { opacity: 0; }
}

/* --- Scene 3: Shield Orbit --- */
.wyg-scene-shield {
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
.wyg-shield-center {
  position: relative; z-index: 2;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.12);
  border-radius: 50%;
}
.wyg-orbit {
  position: absolute;
  width: 110px; height: 110px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.wyg-orbit-dot {
  position: absolute;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-l);
  background: rgba(99,102,241,0.12);
  padding: 3px 7px;
  border-radius: 20px;
  white-space: nowrap;
  top: 50%; left: 50%;
  animation: wygOrbit 12s linear var(--orbit-d) infinite;
}
.wyg-card.wyg-visible .wyg-orbit-dot {
  opacity: 1;
}
@keyframes wygOrbit {
  0%   { transform: translate(-50%,-50%) rotate(0deg)   translateX(55px) rotate(0deg); }
  100% { transform: translate(-50%,-50%) rotate(360deg) translateX(55px) rotate(-360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wyg-bar { height: var(--h) !important; animation: none !important; }
  .wyg-dash-line polyline { stroke-dashoffset: 0 !important; animation: none !important; }
  .wyg-typed { width: 10ch !important; animation: none !important; }
  .wyg-cursor { animation: none !important; }
  .wyg-orbit-dot { animation: none !important; }
}

.wyg-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.wyg-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ========== FLOW CARDS (Homepage) ========== */

.flow-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto 40px;
}
.hw-flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all 0.35s ease;
}
.hw-flow-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.hw-flow-card-a { border-top: 3px solid var(--accent); }
.hw-flow-card-b { border-top: 3px solid var(--green); }
.hw-flow-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hw-flow-card h3 .hw-bar {
  width: 4px;
  height: 22px;
  border-radius: 2px;
  flex-shrink: 0;
}
.hw-flow-card-a h3 .hw-bar { background: var(--accent); }
.hw-flow-card-b h3 .hw-bar { background: var(--green); }
.hw-flow-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hw-flow-steps li {
  font-size: 15px;
  color: var(--text-m);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hw-flow-steps .hw-step-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-l);
  width: 24px;
  flex-shrink: 0;
}
.hw-flow-card-b .hw-flow-steps .hw-step-num {
  color: var(--green);
}

/* ========== TESTIMONIAL STARS ========== */

.test-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}
.test-stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
}

/* ========== TRUST STRIP ========== */

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-l);
  flex-shrink: 0;
}
.trust-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* ========== TESTIMONIAL SPOTLIGHT ========== */

.tspot {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.tspot-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(99,102,241,0.06), transparent 70%);
  pointer-events: none;
}
.tspot-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.tspot-stage {
  position: relative;
  min-height: 340px;
}
.tspot-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.tspot-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.tspot-quote-mark {
  font-family: var(--display);
  font-size: 120px;
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.15;
  margin-bottom: -10px;
  user-select: none;
}
.tspot-stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 20px;
}
.tspot-stars svg {
  width: 20px;
  height: 20px;
  fill: #fbbf24;
}
.tspot-text {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 32px;
}
.tspot-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.tspot-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-glow);
  border: 1px solid rgba(99,102,241,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-l);
}
.tspot-author-info strong {
  display: block;
  font-size: 16px;
  color: var(--white);
}
.tspot-author-info span {
  font-size: 13px;
  color: var(--text-m);
}

/* Spotlight nav */
.tspot-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.tspot-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-h);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-m);
  transition: all 0.25s;
  font-family: var(--font);
}
.tspot-arrow:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}
.tspot-dots {
  display: flex;
  gap: 8px;
}
.tspot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-h);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.tspot-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .tspot { min-height: 60vh; }
  .tspot-quote-mark { font-size: 72px; }
  .tspot-text { font-size: 20px; }
  .tspot-stage { min-height: 300px; }
}

/* ========== MANIFEST (O Nama) ========== */

.manifest {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
}
.manifest-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(99,102,241,0.04) 50%, var(--bg) 100%);
  pointer-events: none;
}
.manifest-bg::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.manifest-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.manifest-headline {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 60px;
}
.manifest-headline span {
  background: linear-gradient(135deg, var(--accent-l), #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.manifest-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.manifest-value {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.manifest-value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #c084fc);
  opacity: 0;
  transition: opacity 0.4s;
}
.manifest-value:hover::before { opacity: 1; }
.manifest-value:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
}
.mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-l);
  margin: 0 auto 18px;
}
.manifest-value h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.manifest-value p {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.7;
}

.manifest-counter {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 700px;
  margin: 0 auto;
}
.mc-item {
  text-align: center;
}
.mc-num {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -3px;
  background: linear-gradient(135deg, var(--accent-l), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mc-label {
  font-size: 14px;
  color: var(--text-m);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .manifest-headline { font-size: 28px; margin-bottom: 40px; }
  .manifest-values { grid-template-columns: 1fr; max-width: 360px; }
  .manifest-counter { flex-direction: column; gap: 24px; }
  .mc-num { font-size: 40px; }
}

/* ========== PRIVACY / TRUST ========== */
.privacy-section {
  background: var(--bg);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.trust-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(99,102,241,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.trust-card:hover::before { opacity: 1; }
.trust-card:hover {
  border-color: rgba(99,102,241,0.25);
  transform: translateY(-4px);
}
.trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(99,102,241,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent-l);
}
.trust-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.trust-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-m);
}
.trust-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1), border-color 0.4s ease;
}
.trust-card:nth-child(2) { transition-delay: 0.1s; }
.trust-card:nth-child(3) { transition-delay: 0.2s; }
.trust-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ========== CTA BANNER ========== */

.cta-banner { padding: 40px 0 80px; position: relative; overflow: hidden; background: var(--bg); z-index: 1; }
.cta-card {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border-radius: var(--r-lg); padding: 64px; display: flex;
  align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 400px; height: 400px; background: rgba(255,255,255,0.08);
  border-radius: 50%; pointer-events: none;
}
.cta-card::after {
  content: ''; position: absolute; bottom: -30%; left: -5%;
  width: 300px; height: 300px; background: rgba(0,0,0,0.1);
  border-radius: 50%; pointer-events: none;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: 30px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.cta-text p { font-size: 16px; color: rgba(255,255,255,0.8); }
.cta-buttons { position: relative; z-index: 1; display: flex; gap: 12px; flex-shrink: 0; }

/* CTA v2 — with mini browser */
.cta-card-v2 {
  flex-direction: row-reverse;
  align-items: center;
  gap: 48px;
}
.cta-card-v2 .cta-text { flex: 1; }
.cta-card-v2 .cta-buttons {
  display: flex; gap: 12px; margin-top: 24px; flex-shrink: 0;
}
.cta-v2-mini {
  position: relative; z-index: 1;
  flex-shrink: 0;
}
.cta-mini-browser {
  width: 180px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: ctaFloat 4s ease-in-out infinite;
}
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.cta-mini-dots {
  display: flex; gap: 4px; padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cta-mini-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.cta-mini-body { padding: 8px; }
.cta-mini-nav {
  height: 6px; width: 100%; border-radius: 3px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 10px;
}
.cta-mini-hero { margin-bottom: 10px; }
.cta-mini-line {
  height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 5px;
}
.cta-ml-lg { width: 80%; }
.cta-ml-md { width: 55%; }
.cta-mini-btn {
  width: 50%; height: 10px; border-radius: 5px;
  background: linear-gradient(90deg, var(--accent-l), #c084fc);
  opacity: 0.6;
  margin-top: 8px;
}
.cta-mini-cards {
  display: flex; gap: 4px;
}
.cta-mini-card {
  flex: 1; height: 28px; border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.05);
}
/* Build animation on scroll */
.cta-mini-nav,
.cta-mini-line,
.cta-mini-btn,
.cta-mini-card {
  opacity: 0;
  transform: translateY(6px);
}
.cta-card-v2.cta-visible .cta-mini-nav { animation: ctaBuild 0.4s ease 0.1s both; }
.cta-card-v2.cta-visible .cta-ml-lg    { animation: ctaBuild 0.4s ease 0.25s both; }
.cta-card-v2.cta-visible .cta-ml-md    { animation: ctaBuild 0.4s ease 0.35s both; }
.cta-card-v2.cta-visible .cta-mini-btn { animation: ctaBuild 0.4s ease 0.5s both; }
.cta-card-v2.cta-visible .cta-mini-card:nth-child(1) { animation: ctaBuild 0.4s ease 0.6s both; }
.cta-card-v2.cta-visible .cta-mini-card:nth-child(2) { animation: ctaBuild 0.4s ease 0.7s both; }
.cta-card-v2.cta-visible .cta-mini-card:nth-child(3) { animation: ctaBuild 0.4s ease 0.8s both; }
@keyframes ctaBuild {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .cta-card-v2 {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 28px;
  }
  .cta-card-v2 .cta-buttons {
    flex-direction: column; width: 100%;
  }
  .cta-mini-browser { width: 140px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-mini-browser { animation: none; }
  .cta-mini-nav, .cta-mini-line, .cta-mini-btn, .cta-mini-card {
    opacity: 1; transform: none; animation: none !important;
  }
}

/* ========== CONTACT PAGE ========== */

.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-card-info { margin-bottom: 40px; }
.ci-item { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent-glow);
  display: flex; align-items: center; justify-content: center; color: var(--accent-l); flex-shrink: 0;
}
.ci-item h4 { font-size: 14px; color: var(--white); margin-bottom: 2px; }
.ci-item a, .ci-item span { font-size: 14px; color: var(--text-m); }
.ci-item a:hover { color: var(--accent-l); }

.contact-faq h3 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.faq-item {
  border-bottom: 1px solid var(--border); padding: 16px 0; cursor: pointer;
}
.faq-item summary {
  font-size: 15px; font-weight: 600; color: var(--text);
  list-style: none; cursor: pointer; transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--white); }
.faq-item p { font-size: 14px; color: var(--text-m); margin-top: 10px; line-height: 1.7; }

.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 40px;
}
.contact-form-card h3 { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.form-subtitle { font-size: 14px; color: var(--text-m); margin-bottom: 28px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { margin-bottom: 16px; }
.cf-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.cf-group input, .cf-group select, .cf-group textarea {
  width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-h); border-radius: 10px;
  font-family: var(--font); font-size: 14px; color: #fff; outline: none;
  transition: all 0.2s;
}
.cf-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.cf-group select option {
  background: #1a1a2e;
  color: #fff;
  padding: 8px;
}
.cf-group input::placeholder, .cf-group textarea::placeholder { color: var(--text-m); }
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow);
}
.cf-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--text-m); text-align: center; margin-top: 12px; }

/* ========== FOOTER ========== */

.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0c0b10 0%, var(--bg) 40%);
}
.footer.footer-sticky {
  position: sticky;
  bottom: 0;
  z-index: 0;
}
.footer-reveal-spacer {
  position: relative;
  z-index: 1;
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-m); margin-top: 12px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--text-m); padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); }
.footer-bottom span { font-size: 13px; color: var(--text-m); }

/* ========== CUSTOM CURSOR ========== */

.cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(99,102,241,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16,1,0.3,1),
              height 0.3s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s,
              background 0.3s,
              opacity 0.3s;
  mix-blend-mode: difference;
  opacity: 0;
}
.cursor.visible { opacity: 1; }
.cursor.hover {
  width: 64px;
  height: 64px;
  border-color: rgba(99,102,241,0.8);
  background: rgba(99,102,241,0.08);
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--accent-l);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-dot.visible { opacity: 1; }

/* Hide on touch/mobile */
@media (pointer: coarse) {
  .cursor, .cursor-dot { display: none !important; }
}

/* ========== HERO BUILD ANIMATION ========== */

.build-preview {
  padding: 16px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-2);
}
.build-el {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}
.build-el.built {
  opacity: 1;
  transform: translateY(0);
}
.build-nav {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}
.build-hero-block {
  display: flex;
  gap: 12px;
  flex: 1;
  min-height: 120px;
}
.build-hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}
.build-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.build-line-lg { width: 85%; }
.build-line-md { width: 65%; }
.build-line-sm { width: 45%; }
.build-btn-placeholder {
  width: 60px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  margin-top: 4px;
  opacity: 0.7;
}
.build-hero-img {
  flex: 1;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
  border-radius: 8px;
  min-height: 100px;
}
.build-cards {
  display: flex;
  gap: 8px;
}
.build-card-item {
  flex: 1;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
}
.build-footer {
  height: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  margin-top: auto;
}

/* Browser bar typing */
.browser-bar-text {
  font-family: var(--font);
}
.browser-bar-cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent-l);
  font-weight: 300;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ========== BEFORE/AFTER SLIDER ========== */

.ba-slider-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-h);
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  aspect-ratio: 16/10;
}
.ba-before, .ba-after {
  position: absolute;
  inset: 0;
}
.ba-before { z-index: 1; }
.ba-after { z-index: 0; }
.ba-before img, .ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
}
.ba-before img {
  /* Real before screenshots — no filter needed */
}
.ba-label {
  position: absolute;
  top: 16px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 5;
}
.ba-label-before {
  left: 16px;
  background: rgba(239,68,68,0.85);
  color: #fff;
}
.ba-label-after {
  right: 16px;
  background: rgba(34,197,94,0.85);
  color: #fff;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.ba-handle-line {
  flex: 1;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.5);
}
.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  color: var(--bg);
  flex-shrink: 0;
}
.ba-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.ba-project-name {
  font-size: 14px;
  color: var(--text-m);
  font-weight: 500;
}

/* ========== PORTFOLIO TABS (Before/After) ========== */
.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ba-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-h);
  background: rgba(255,255,255,0.03);
  color: var(--text-m);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.ba-tab:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.ba-tab.active {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--white);
}
.ba-tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-l);
  flex-shrink: 0;
}
.ba-tab.active .ba-tab-icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ========== LIVE BROWSER (Pogledajte u akciji) ========== */

/* ========== LIVE TABS ========== */

.live-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.live-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--border-h);
  background: rgba(255,255,255,0.03);
  color: var(--text-m);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.live-tab:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.live-tab.active {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--white);
}
.live-tab-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-l);
  flex-shrink: 0;
}
.live-tab.active .live-tab-icon {
  background: var(--accent);
  color: #fff;
}

.live-browser {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-h);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.live-browser .browser-dots { padding: 12px 16px; background: rgba(255,255,255,0.02); }
.live-browser .browser-bar {
  display: inline-block; margin-left: 16px; font-size: 12px; color: var(--text-m);
  background: rgba(255,255,255,0.04); padding: 3px 14px; border-radius: 6px;
  margin-bottom: 0;
}
a.browser-bar-link { text-decoration: none; cursor: pointer; transition: color 0.2s, background 0.2s; }
a.browser-bar-link:hover { color: var(--accent-l); background: rgba(99,102,241,0.1); }
.live-browser-wide {
  max-width: 1140px;
}
.live-browser-body {
  min-height: 700px;
  background: var(--bg-2);
  position: relative;
}
.live-iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}
.live-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-m);
}
.live-placeholder svg {
  color: rgba(99,102,241,0.3);
  margin-bottom: 16px;
}
.live-placeholder p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.live-placeholder span {
  font-size: 14px;
}

/* ========== TEXT REVEAL ANIMATION ========== */

.text-reveal .line-inner {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.text-reveal.revealed .line-inner {
  transform: translateY(0);
}
.text-reveal .line-wrap {
  overflow: hidden;
  display: block;
}
.text-reveal .line-wrap:nth-child(2) .line-inner { transition-delay: 0.1s; }
.text-reveal .line-wrap:nth-child(3) .line-inner { transition-delay: 0.2s; }
.text-reveal .line-wrap:nth-child(4) .line-inner { transition-delay: 0.3s; }

/* Word reveal for hero desc */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.word-reveal.revealed .word {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ========== ANIMATIONS ========== */

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.revealed { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.25s; }

/* ========== PAGE TRANSITION ========== */

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #0c0c14, #12121f);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.page-transition.pt-entering {
  transform: translateY(0);
  pointer-events: auto;
}
.pt-logo {
  font-size: 48px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1) 0.15s;
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-transition.pt-entering .pt-logo {
  opacity: 1;
  transform: scale(1);
}
/* Orbit ring */
.pt-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2.5px;
  background: conic-gradient(from var(--angle, 0deg), transparent 30%, var(--accent-l), #c084fc, var(--accent-l), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: ptOrbit 1.2s linear infinite;
}
/* Soft outer glow */
.pt-logo::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
  animation: ptGlow 1.5s ease-in-out infinite alternate;
}
@keyframes ptOrbit {
  to { --angle: 360deg; }
}
@keyframes ptGlow {
  from { opacity: 0.4; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .pt-logo::before { animation: none; }
  .pt-logo::after  { animation: none; }
}

/* ========== HORIZONTAL SCROLL PORTFOLIO ========== */

.pf-hscroll-section { padding-bottom: 60px; }
.pf-hscroll-track {
  display: flex;
  gap: 32px;
  padding: 0 max(60px, calc((100vw - 1140px) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pf-hscroll-track::-webkit-scrollbar { display: none; }
.pf-hscroll-item {
  flex-shrink: 0;
  width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  scroll-snap-align: start;
}
.pf-hscroll-item:hover {
  border-color: var(--border-h);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.pf-hscroll-img {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.pf-hscroll-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pf-hscroll-item:hover .pf-hscroll-img img { transform: scale(1.04); }
.pf-hscroll-info { padding: 24px; }
.pf-hscroll-info .pf-cat { margin-bottom: 6px; }
.pf-hscroll-info h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 8px 0 10px;
}
.pf-hscroll-info p {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pf-hscroll-track {
    gap: 16px;
    padding: 0 16px;
    scroll-snap-type: x mandatory;
  }
  .pf-hscroll-item { width: 85vw; }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
  .hero-layout { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-showcase { max-width: 520px; width: 100%; }
  .showcase-browser { transform: none; }
  .showcase-float { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse { direction: ltr; }
  .portfolio-showcase { grid-template-columns: 1fr; }
  .pf-card-wide { grid-column: span 1; grid-template-columns: 1fr; }
  .pf-full-card, .pf-full-card-reverse { grid-template-columns: 1fr; }
  .pf-full-card-reverse .pf-full-img { order: 0; }
  .pf-full-card-reverse .pf-full-info { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

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

  /* Unified mobile typography scale */
  .hero-title { font-size: 28px; }
  .hero-eyebrow { font-size: 12px; letter-spacing: 1.5px; margin-bottom: 12px; }
  .hero-desc { font-size: 16px; line-height: 1.6; margin-bottom: 0; }
  .page-hero h1 { font-size: 26px; }
  .page-hero-sub { font-size: 16px; }
  .section-head h2, .section-header h2 { font-size: 24px; }
  .section-sub { font-size: 15px; }
  .split-text h2 { font-size: 24px; }
  .split-text p, .text-large { font-size: 15px; }
  .quote-heading { font-size: 21px; line-height: 1.5; }
  .mission-desc { font-size: 15px; line-height: 1.6; }
  .m-stat-num { font-size: 32px; letter-spacing: -1px; }
  .m-stat-label { font-size: 13px; }
  .belief-heading { font-size: 21px; line-height: 1.5; }
  .belief-num { font-size: 32px; }
  .belief-point p { font-size: 14px; }
  .belief-conclusion { font-size: 15px; }
  .timeline-content h3 { font-size: 18px; }
  .timeline-content p { font-size: 15px; }
  .pf-card-info h3, .pf-full-info h3 { font-size: 20px; }
  .pf-card-info p, .pf-full-info p { font-size: 15px; }
  .pf-result-item strong { font-size: 18px; }
  .pf-result-item span { font-size: 13px; }
  .test-card p { font-size: 15px; }
  .test-author strong { font-size: 14px; }
  .test-author span { font-size: 12px; }
  .diff-card h3 { font-size: 18px; }
  .diff-card p { font-size: 15px; }
  .team-card h3 { font-size: 19px; }
  .team-card > p { font-size: 14px; }
  .cta-text h2 { font-size: 22px; }
  .cta-text p { font-size: 15px; }
  .contact-form-card h3 { font-size: 20px; }
  .contact-faq h3 { font-size: 19px; }
  .faq-item summary { font-size: 15px; }
  .faq-item p { font-size: 14px; }
  .footer-brand p { font-size: 14px; }
  .footer-col a, .footer-col span { font-size: 14px; }
  .footer-bottom span { font-size: 13px; }

  /* Hero mobile layout */
  .hero-scroll-hint { display: none; }
  .hero {
    min-height: 100svh; display: flex; align-items: center; justify-content: center;
    padding: 0 24px;
    background:
      radial-gradient(ellipse 80% 50% at 50% 30%, rgba(99,102,241,0.15) 0%, transparent 70%),
      radial-gradient(ellipse 50% 70% at 80% 70%, rgba(139,92,246,0.1) 0%, transparent 60%),
      var(--bg);
  }
  .hero-orb { filter: blur(60px); }
  .hero-orb-1 { width: 280px; height: 280px; opacity: 0.5; top: 5%; right: -5%; }
  .hero-orb-2 { width: 220px; height: 220px; opacity: 0.4; bottom: 15%; left: -5%; }
  .hero-layout { padding-top: 80px; padding-bottom: 40px; justify-content: center; gap: 32px; }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-buttons { display: none; }
  .hero-showcase { max-width: 100%; width: 100%; position: relative; }
  .showcase-browser { transform: none; box-shadow: 0 15px 40px rgba(0,0,0,0.4); }
  .build-preview { min-height: 200px; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-card); flex-direction: column; padding: 80px 28px 28px;
    gap: 0; border-left: 1px solid var(--border); transition: right 0.35s ease;
    z-index: 5;
  }
  .nav-links a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-toggle { width: 100%; padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav-dropdown-toggle::after { display: none !important; }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    min-width: auto;
  }
  .nav-dropdown-menu a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
  }
  .nav-cta { margin-top: 12px; text-align: center; border-bottom: none !important; }
  .nav-lang {
    width: auto !important;
    align-self: flex-start;
    margin-top: 16px;
    border-bottom: none !important;
    padding: 6px 16px !important;
  }
  .menu-toggle:checked ~ .nav-links { right: 0; }
  .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile grids */
  .testimonials { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .mission-stats { flex-direction: column; gap: 16px; }
  .belief-points { flex-direction: column; gap: 16px; }
  .cta-card { flex-direction: column; text-align: center; padding: 32px 20px; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 24px 16px; overflow: hidden; max-width: 100%; }
  .contact-form-card form { max-width: 100%; overflow: hidden; }
  .cf-group input, .cf-group select, .cf-group textarea { max-width: 100%; min-width: 0; }
  .cf-group select { text-overflow: ellipsis; overflow: hidden; }
  .contact-form-card .btn { white-space: normal; word-break: break-word; }
  .cf-row { grid-template-columns: 1fr; }
  .flow-cards-grid { grid-template-columns: 1fr; max-width: 400px; }
  .included-strip { flex-direction: column; align-items: flex-start; gap: 16px; max-width: 300px; margin: 0 auto; }
  .trust-strip { flex-direction: column; align-items: flex-start; gap: 14px; max-width: 280px; margin: 0 auto; }
  .pf-result, .pf-result-row { flex-wrap: wrap; gap: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer { padding: 40px 0 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .hero-desc { font-size: 15px; }
  .section-head h2, .section-header h2 { font-size: 21px; }
  .quote-heading { font-size: 19px; }
  .belief-heading { font-size: 19px; }
  .cta-text h2 { font-size: 20px; }
  .page-hero h1 { font-size: 22px; }
  .page-hero { padding: 100px 0 40px; }
  .comparison { grid-template-columns: 1fr; }

  /* Before/After slider mobile */
  .ba-slider { aspect-ratio: 4/3; }
  .ba-meta { flex-direction: column; gap: 12px; align-items: center; }
  .ba-tabs { gap: 8px; }
  .ba-tab { padding: 8px 14px; font-size: 13px; }
  .ba-tab-label { display: none; }
  .ba-tab-icon { width: 32px; height: 32px; font-size: 14px; }

  /* Live browser mobile */
  .live-browser-body { min-height: 400px; }
  .live-iframe { height: 400px; }
  .live-tabs { gap: 8px; }
  .live-tab { padding: 8px 14px; font-size: 13px; }
  .live-tab-label { display: none; }
  .live-tab-icon { width: 32px; height: 32px; font-size: 14px; }

  /* Build preview mobile */
  .build-preview { min-height: 180px; padding: 12px; }
  .build-hero-block { min-height: 80px; }
  .build-card-item { height: 40px; }
}

/* ========== CANVAS PARTICLE NETWORK ========== */

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ========== CURSOR GLOW TRAIL ========== */

.cursor-glow {
  position: fixed;
  left: -300px;
  top: -300px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  opacity: 0.07;
  filter: blur(2px);
  transition: opacity 0.4s, width 0.4s, height 0.4s;
  will-change: left, top;
  display: none;
}
@media (pointer: fine) {
  .cursor-glow { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}
.cursor-glow.glow-active {
  opacity: 0.15;
  width: 400px;
  height: 400px;
}

/* ========== SVG SELF-DRAWING ICONS ========== */

.icon-draw {
  stroke-dashoffset: var(--dash-length);
  stroke-dasharray: var(--dash-length);
  transition: stroke-dashoffset 1.8s cubic-bezier(0.4,0,0.2,1);
}
.icon-draw.revealed {
  stroke-dashoffset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .icon-draw { stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }
}

/* ========== FLOATING CODE SNIPPETS ========== */

.floating-snippet {
  position: absolute;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.5;
  background: rgba(15,15,19,0.9);
  border: 1px solid var(--border-h);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--text-m);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: snippetIn 0.6s ease forwards, snippetFloat 5s ease-in-out infinite;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.floating-snippet .sn-tag { color: #f472b6; }
.floating-snippet .sn-attr { color: #818cf8; }
.floating-snippet .sn-val { color: #34d399; }
.floating-snippet .sn-prop { color: #60a5fa; }
.floating-snippet .sn-str { color: #fbbf24; }

.snippet-1 { top: 18%; right: -40px; animation-delay: 0.8s, 0.8s; }
.snippet-2 { bottom: 30%; right: -30px; animation-delay: 1.3s, 1.3s; }
.snippet-3 { top: 55%; left: -30px; animation-delay: 1.8s, 1.8s; }

@keyframes snippetIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes snippetFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .floating-snippet { display: none; }
}
@media (max-width: 768px) {
  .floating-snippet {
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    backdrop-filter: blur(12px);
    background: rgba(15,15,19,0.85);
  }
  .snippet-1 { top: 12%; right: -8px; left: auto; animation-delay: 1s, 1s; }
  .snippet-2 { bottom: 25%; top: auto; right: -6px; left: auto; animation-delay: 1.5s, 1.5s; }
  .snippet-3 { top: 50%; left: -6px; right: auto; animation-delay: 2s, 2s; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-snippet { animation: none; opacity: 1; }
}

/* ========== CONTACT PAGE ANIMATIONS ========== */

/* Staggered ci-item slide-in */
.ci-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ci-item.revealed {
  opacity: 1;
  transform: translateX(0);
}
.ci-item:nth-child(1) { transition-delay: 0s; }
.ci-item:nth-child(2) { transition-delay: 0.1s; }
.ci-item:nth-child(3) { transition-delay: 0.2s; }
.ci-item:nth-child(4) { transition-delay: 0.3s; }

/* ci-icon hover pulse */
.ci-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ci-item:hover .ci-icon {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* FAQ accordion smooth open */
.faq-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.faq-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
.faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-item:nth-child(4) { transition-delay: 0.2s; }

.faq-item[open] summary { color: var(--accent-l); }
.faq-item summary {
  position: relative;
  padding-right: 28px;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  font-weight: 300;
  color: var(--text-m);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-l);
}

/* Form card slide-up */
.contact-form-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.contact-form-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Input focus glow animation */
.cf-group input:focus, .cf-group select:focus, .cf-group textarea:focus {
  animation: inputPulse 0.4s ease;
}
@keyframes inputPulse {
  0% { box-shadow: 0 0 0 3px var(--accent-glow); }
  50% { box-shadow: 0 0 0 6px var(--accent-glow); }
  100% { box-shadow: 0 0 0 3px var(--accent-glow); }
}

/* ========== SCROLL PROGRESS BAR ========== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #c084fc, var(--accent-l));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10001;
  pointer-events: none;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* ========== ANIMATED GRADIENT BORDER ON CARDS ========== */

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  to { --angle: 360deg; }
}

.pkg-card,
.hw-flow-card,
.pf-card,
.pf-full-card {
  position: relative;
}

.pkg-card::after,
.hw-flow-card::after,
.pf-card::after,
.pf-full-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  z-index: -1;
  padding: 2px;
  background: conic-gradient(from var(--angle), var(--accent-l), #c084fc, var(--accent-l));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderRotate 3s linear infinite;
}

.pkg-card:hover::after,
.hw-flow-card:hover::after,
.pf-card:hover::after,
.pf-full-card:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .pkg-card::after,
  .hw-flow-card::after,
  .pf-card::after,
  .pf-full-card::after {
    animation: none;
    background: linear-gradient(135deg, var(--accent-l), #c084fc);
  }
}

/* ========== HERO TEXT SHIMMER ========== */

@keyframes shimmer {
  from { background-position: 200% center; }
  to { background-position: 0% center; }
}

.hero-title-accent {
  background-size: 200% auto;
  animation: shimmer 1.5s ease-out 0.8s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-accent { animation: none; }
}

/* ========== CTA BUTTON RIPPLE ========== */

.btn-glow,
.btn-white {
  overflow: hidden;
  position: relative;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  from { transform: scale(0); opacity: 0.4; }
  to { transform: scale(4); opacity: 0; }
}

/* ========== CTA ARROW ON HOVER ========== */

.btn-glow {
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1), padding-right 0.3s ease;
}

.btn-glow::after {
  content: '\2192';
  display: inline-block;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, margin 0.3s ease;
  margin-left: 0;
  font-size: 16px;
}

.btn-glow:hover::after {
  opacity: 1;
  transform: translateX(4px);
  margin-left: 8px;
}


/* ========== TESTIMONIAL AUTOPLAY PROGRESS ========== */

.tspot-progress {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
}

.tspot-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 1px;
  transition: width 6s linear;
}

.tspot-progress-bar.active {
  width: 100%;
}

.tspot-progress-bar.reset {
  transition: none;
  width: 0%;
}

/* ========== CURSOR GLOW TRAIL — MULTI ELEMENT ========== */

.cursor-glow-trail {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  filter: blur(2px);
  will-change: left, top;
  display: none;
  transition: opacity 0.4s, width 0.4s, height 0.4s;
}
@media (pointer: fine) {
  .cursor-glow-trail { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-glow-trail { display: none; }
}
.cursor-glow-trail.glow-active {
  opacity: calc(var(--trail-opacity) * 2);
  width: calc(var(--trail-size) * 1.3);
  height: calc(var(--trail-size) * 1.3);
}
