/* 
  Shotly Premium Styling System
  Theme: Ultra-Premium Futuristic Dark Mode
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: rgba(15, 23, 42, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(15, 23, 42, 0.05);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Brand Gradients */
  --grad-main: linear-gradient(135deg, #0f172a 0%, #312e81 50%, #4f46e5 100%);
  --grad-agency: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  --grad-lab: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  --grad-ads: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
  --grad-creative: linear-gradient(135deg, #db2777 0%, #ec4899 50%, #f472b6 100%);
  --grad-tech: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #22d3ee 100%);
  --grad-studio: linear-gradient(135deg, #374151 0%, #4b5563 50%, #9ca3af 100%);
  
  /* Accent Base Colors */
  --color-main: #4f46e5;
  --color-main-rgb: 79, 70, 229;
  --color-agency: #10b981;
  --color-agency-rgb: 16, 185, 129;
  --color-lab: #ef4444;
  --color-lab-rgb: 239, 68, 68;
  --color-ads: #f97316;
  --color-ads-rgb: 249, 115, 22;
  --color-creative: #ec4899;
  --color-creative-rgb: 236, 72, 153;
  --color-tech: #06b6d4;
  --color-tech-rgb: 6, 182, 212;
  --color-studio: #6b7280;
  --color-studio-rgb: 107, 114, 128;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 23, 42, 0.2);
}

/* Custom Selection */
::selection {
  background: rgba(79, 70, 229, 0.1);
  color: var(--text-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Gradient Text Helper */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  background-size: 200% auto;
  animation: gradientMove 6s ease infinite;
}

.text-grad-main { background-image: var(--grad-main); }
.text-grad-agency { background-image: var(--grad-agency); }
.text-grad-lab { background-image: var(--grad-lab); }
.text-grad-ads { background-image: var(--grad-ads); }
.text-grad-creative { background-image: var(--grad-creative); }
.text-grad-tech { background-image: var(--grad-tech); }
.text-grad-studio { background-image: var(--grad-studio); }

/* Custom Glow Effects */
.glow-main { text-shadow: 0 0 30px rgba(79, 70, 229, 0.15); }
.glow-agency { text-shadow: 0 0 30px rgba(16, 185, 129, 0.15); }
.glow-lab { text-shadow: 0 0 30px rgba(239, 68, 68, 0.15); }
.glow-ads { text-shadow: 0 0 30px rgba(249, 115, 22, 0.15); }
.glow-creative { text-shadow: 0 0 30px rgba(236, 72, 153, 0.15); }
.glow-tech { text-shadow: 0 0 30px rgba(6, 182, 212, 0.15); }

/* Layout Grid / Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Premium Header/Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(248, 250, 252, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-crop {
  width: 110px;
  height: 32px;
  overflow: hidden;
  position: relative;
}

.logo-img {
  width: 240px;
  height: 240px;
  position: absolute;
  top: -84px;
  left: -65px;
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

.logo-container:hover .logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 2.8rem;
  align-items: center;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  transition: var(--transition-smooth);
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* Division-Specific Nav Hover Colors */
.nav-agency:hover::after, .nav-agency.active::after { background: var(--grad-agency); }
.nav-lab:hover::after, .nav-lab.active::after { background: var(--grad-lab); }
.nav-creative:hover::after, .nav-creative.active::after { background: var(--grad-creative); }
.nav-ads:hover::after, .nav-ads.active::after { background: var(--grad-ads); }
.nav-tech:hover::after, .nav-tech.active::after { background: var(--grad-tech); }
.nav-studio:hover::after, .nav-studio.active::after { background: var(--grad-studio); }

.contact-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-btn:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  color: white;
  animation: floatBob 3.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation-play-state: paused;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Floating Instagram Button */
.instagram-float {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  z-index: 999;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(220, 39, 67, 0.35);
  transition: var(--transition-smooth);
  color: white;
  animation: floatBob 3.5s ease-in-out infinite 0.5s;
}

.instagram-float:hover {
  animation-play-state: paused;
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 35px rgba(220, 39, 67, 0.55);
}

.instagram-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@keyframes floatBob {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* Hero Section Base */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 80vh;
  justify-content: center;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 2rem;
  display: inline-block;
}

/* Premium Minimalist Tagline with horizontal line */
.hero-tagline-minimal {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--text-primary);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
}

.hero-tagline-minimal::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--grad-main);
  display: inline-block;
  opacity: 0.7;
}

.hero h1, .hero-split h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.hero p, .hero-split p {
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
}

.btn-primary {
  background: var(--grad-main);
  color: var(--bg-primary);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-secondary::after, .btn-instagram::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  pointer-events: none;
}

.btn-primary:hover::after, .btn-secondary:hover::after, .btn-instagram:hover::after {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.2);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(220, 39, 67, 0.45);
  opacity: 0.95;
}

/* Background Gradients & Glow Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 500px;
  height: 500px;
  top: -10%;
  left: 10%;
  background: var(--color-main);
}

.orb-2 {
  width: 400px;
  height: 400px;
  bottom: 10%;
  right: 10%;
  background: #4f46e5;
}

.orb-3 {
  width: 600px;
  height: 600px;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-tech);
}

/* Sectons */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-main);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

/* Hub Division Grid */
.division-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.3rem;
}

.grid-span-2 {
  grid-column: span 2;
}

.grid-span-3 {
  grid-column: span 3;
}

.division-card {
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  border-radius: 24px;
  padding: 3rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.division-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
  pointer-events: none;
}

/* Card Glow Overlays on Hover */
.division-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

...
.div-agency:hover {
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}
.div-agency::after {
  background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  opacity: 1;
}

.div-lab:hover {
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}
.div-lab::after {
  background: radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.08) 0%, transparent 60%);
  opacity: 1;
}

.div-creative:hover {
  box-shadow: 0 20px 40px rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.3);
}
.div-creative::after {
  background: radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
  opacity: 1;
}

.div-ads:hover {
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
}
.div-ads::after {
  background: radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.08) 0%, transparent 60%);
  opacity: 1;
}

.div-tech:hover {
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.3);
}
.div-tech::after {
  background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  opacity: 1;
}

.div-studio:hover {
  box-shadow: 0 20px 40px rgba(107, 114, 128, 0.1);
  border-color: rgba(107, 114, 128, 0.3);
}
.div-studio::after {
  background: radial-gradient(circle at 100% 0%, rgba(107, 114, 128, 0.05) 0%, transparent 60%);
  opacity: 1;
}

.division-card-content {
  position: relative;
  z-index: 1;
}

.division-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: white;
}

.icon-agency { background: rgba(16, 185, 129, 0.1); color: var(--color-agency); border: 1px solid rgba(16, 185, 129, 0.2); }
.icon-lab { background: rgba(239, 68, 68, 0.1); color: var(--color-lab); border: 1px solid rgba(239, 68, 68, 0.2); }
.icon-ads { background: rgba(249, 115, 22, 0.1); color: var(--color-ads); border: 1px solid rgba(249, 115, 22, 0.2); }
.icon-creative { background: rgba(236, 72, 153, 0.1); color: var(--color-creative); border: 1px solid rgba(236, 72, 153, 0.2); }
.icon-tech { background: rgba(6, 182, 212, 0.1); color: var(--color-tech); border: 1px solid rgba(6, 182, 212, 0.2); }
.icon-studio { background: rgba(107, 114, 128, 0.1); color: var(--color-studio); border: 1px solid rgba(107, 114, 128, 0.2); }

.division-title {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.division-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.division-link {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.division-link svg {
  transition: transform 0.3s ease;
}

.division-card:hover .division-link svg {
  transform: translateX(4px);
}

.link-agency { color: var(--color-agency); }
.link-lab { color: var(--color-lab); }
.link-creative { color: var(--color-creative); }
.link-ads { color: var(--color-ads); }
.link-tech { color: var(--color-tech); }
.link-studio { color: var(--color-studio); }

.badge-soon {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-left: 10px;
  vertical-align: middle;
}

/* Sectors We Serve Section */
.sectors-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  user-select: none;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
}

.sectors-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scrollTrack 30s linear infinite;
}

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

.sector-item {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sector-item::before {
  content: '✦';
  color: var(--color-main);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon-wrapper {
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

/* Portfolio & Showcases style */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.portfolio-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 480px;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0) 40%, rgba(5, 5, 8, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
}

.portfolio-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.portfolio-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.portfolio-client {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Stats Layout */
.stats-section {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
}

.stat-box {
  flex: 1;
  text-align: center;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* CTA & Footer */
.footer-cta {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.footer-cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.footer-cta p {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
}

footer {
  padding: 4rem 0 2rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  grid-column: span 2;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-links-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}

.footer-insta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--text-muted) !important;
  transition: var(--transition-smooth);
  font-size: 1.05rem;
}

.footer-insta-icon:hover {
  color: #e1306c !important;
  transform: scale(1.2) !important;
  padding-left: 0 !important;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Subpage Specific Heros */
.subpage-hero {
  padding-top: 180px;
  padding-bottom: 60px;
  position: relative;
  text-align: center;
}

.subpage-hero .hero-tagline {
  margin-bottom: 1.5rem;
}

.subpage-hero h1 {
  font-size: 3.8rem;
  margin-bottom: 1rem;
}

.subpage-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero h1, .hero-split h1 {
    font-size: 2.6rem;
  }
  .division-grid {
    grid-template-columns: 1fr;
  }
  .grid-span-2, .grid-span-3 {
    grid-column: span 1;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Old mobile nav overrides merged to the bottom query to avoid styling anomalies */

/* ==========================================
   Division & Sub-brand Logo System
   ========================================== */

/* Invert filter for black text logos (no-op in light mode, as logos are natively black) */
.invert-logo {
  filter: none;
}

/* Accessibility screen reader helper */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* Unified Navigation Logo System (Aligned across all pages) */
.nav-logo-box-main {
  width: 127px;
  height: 25px;
  overflow: hidden;
  position: relative;
  display: block;
}

.nav-logo-box-sub {
  width: 150px;
  height: 55px;
  overflow: hidden;
  position: relative;
  display: block;
}

.nav-logo-img-main {
  width: 127px;
  height: 38px;
  position: absolute;
  top: -13px;
  left: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.nav-logo-img-unified {
  width: 220px;
  height: 220px;
  position: absolute;
  top: -82px;
  left: -35px;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.logo-container:hover .nav-logo-img-unified,
.logo-container:hover .nav-logo-img-main {
  transform: scale(1.03);
}

/* Background Canvas Particles */
#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Process Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.process-step {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 1.8rem;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}
.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.04);
}
.process-num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
  line-height: 1;
}
.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}
.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 800px;
  margin: 3rem auto 0 auto;
}
.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-item:hover {
  border-color: rgba(79, 70, 229, 0.2);
}
.faq-item.active {
  border-color: var(--color-main);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.03);
}
.faq-question {
  width: 100%;
  padding: 1.5rem 2.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-main);
  transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer-content {
  padding: 0 2.5rem 1.5rem 2.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Brand Partners Section */
.brands-slider {
  display: flex;
  overflow: hidden;
  position: relative;
  user-select: none;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 4rem;
}
.brands-track {
  display: flex;
  gap: 6rem;
  width: max-content;
  align-items: center;
  animation: scrollBrands 35s linear infinite;
}
@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-item {
  font-size: 1.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.brand-item:hover {
  opacity: 1;
}

/* Text Animations Reveal */
.animate-word {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}
.animate-word span {
  display: inline-block;
  transform: translateY(100%);
  animation: wordReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes wordReveal {
  to { transform: translateY(0); }
}

/* Reveal on Scroll Elements */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Process & SSS mobile queries merged to the bottom query to avoid styling anomalies */
input:focus, textarea:focus, select:focus {
  border-color: var(--color-main) !important;
  background: #ffffff !important;
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.2rem center !important;
  background-size: 16px !important;
  padding-right: 3rem !important;
  cursor: pointer;
}

select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 10px;
}

/* Instagram Ecosystem Hub styling */
.instagram-hub-wrapper {
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.hub-header {
  margin-bottom: 2.5rem;
}
.hub-subtitle {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--color-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.8rem;
}
.hub-title {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}
.hub-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.hub-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.02);
}
.hub-card i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}
.hub-card:hover i {
  transform: scale(1.2) rotate(15deg);
}

/* Hover Accent Colors for Instagram Badges */
.badge-main { color: var(--color-main); }
.badge-main:hover { background: rgba(79, 70, 229, 0.08); border-color: rgba(79, 70, 229, 0.3); box-shadow: 0 5px 15px rgba(79, 70, 229, 0.1); }

.badge-agency { color: var(--color-agency); }
.badge-agency:hover { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.3); box-shadow: 0 5px 15px rgba(16, 185, 129, 0.1); }

.badge-lab { color: var(--color-lab); }
.badge-lab:hover { background: rgba(239, 68, 68, 0.08); border-color: rgba(239, 68, 68, 0.3); box-shadow: 0 5px 15px rgba(239, 68, 68, 0.1); }

.badge-creative { color: var(--color-creative); }
.badge-creative:hover { background: rgba(236, 72, 153, 0.08); border-color: rgba(236, 72, 153, 0.3); box-shadow: 0 5px 15px rgba(236, 72, 153, 0.1); }

.badge-ads { color: var(--color-ads); }
.badge-ads:hover { background: rgba(249, 115, 22, 0.08); border-color: rgba(249, 115, 22, 0.3); box-shadow: 0 5px 15px rgba(249, 115, 22, 0.1); }

.badge-tech { color: var(--color-tech); }
.badge-tech:hover { background: rgba(6, 182, 212, 0.08); border-color: rgba(6, 182, 212, 0.3); box-shadow: 0 5px 15px rgba(6, 182, 212, 0.1); }

.badge-studio { color: var(--color-studio); }
.badge-studio:hover { background: rgba(107, 114, 128, 0.08); border-color: rgba(107, 114, 128, 0.3); box-shadow: 0 5px 15px rgba(107, 114, 128, 0.1); }

/* Additional Premium Interactive Animations */
.why-bullet-item {
  transition: var(--transition-smooth);
}
.why-bullet-item:hover {
  transform: translateX(8px);
}
.why-bullet-item:hover span {
  color: var(--color-main);
  text-shadow: 0 0 10px rgba(79, 70, 229, 0.1);
}

.division-icon {
  transition: var(--transition-smooth);
}
.division-card:hover .division-icon {
  transform: scale(1.15) rotate(-6deg);
}

/* Center Navigation Links on Desktop */
@media (min-width: 769px) {
  .nav-links {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0; /* Centered between logo and contact button, pulled slightly left for balance */
  }
}

/* Homepage logo vertical positioning adjustment to match subpage logos perfectly */
.nav-logo-img-index {
  top: -87.4px !important;
}

/* Responsive Grid Helpers */
.features-grid-2, .division-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
/* Responsive Grid Helpers merged to bottom */

.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 991px) {
  .process-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .process-grid-4 {
    grid-template-columns: 1fr;
  }
}


/* Swapped and Responsive Why Shotly Grid */
.why-shotly-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}
@media (min-width: 992px) {
  .why-shotly-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }
  .why-right {
    padding-left: 3rem; /* Slide the homepage copy section slightly to the right */
  }
}
@media (max-width: 991px) {
  .why-shotly-grid {
    display: flex;
    flex-direction: column-reverse; /* Shows copy text first, bullets second on mobile */
  }
}

/* Footer Brand Insta Layout */
.footer-brand-insta-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.footer-brand-insta-link {
  color: var(--text-primary);
  font-size: 1.6rem;
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-flex;
}
.footer-brand-insta-link:hover {
  transform: scale(1.15) rotate(-8deg);
  color: #e1306c; /* Instagram pink accent */
}

/* Homepage Hero Split & Animated Ecosystem Hub styling */
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
}
@media (min-width: 992px) {
  .hero-split {
    grid-template-columns: 1.25fr 0.75fr;
    text-align: left;
    gap: 4.5rem;
  }
  .hero-split .hero-tagline {
    margin-left: 0;
    margin-right: auto;
  }
  .hero-split .hero-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 991px) {
  .hero-split .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
}
.hero-visual-hub {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 380px;
  width: 100%;
}
.hub-circle {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
  border: 1px dashed rgba(79, 70, 229, 0.2);
  position: relative;
  animation: rotateHub 35s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes rotateHub {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hub-node {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, filter 0.3s ease;
  animation: counterRotate 35s linear infinite;
  text-decoration: none;
}
@keyframes counterRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
.hub-node:hover {
  transform: scale(1.1) rotate(0deg);
  filter: brightness(1.2);
  box-shadow: 0 0 25px currentColor;
}
/* Node coordinates on 290px circle path */
.node-agency { top: -34px; left: calc(50% - 34px); background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.45); color: var(--color-agency); }
.node-lab { top: 38px; right: -34px; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.45); color: var(--color-lab); }
.node-creative { bottom: 38px; right: -34px; background: rgba(236, 72, 153, 0.12); border-color: rgba(236, 72, 153, 0.45); color: var(--color-creative); }
.node-ads { bottom: -34px; left: calc(50% - 34px); background: rgba(249, 115, 22, 0.12); border-color: rgba(249, 115, 22, 0.45); color: var(--color-ads); }
.node-tech { bottom: 38px; left: -34px; background: rgba(6, 182, 212, 0.12); border-color: rgba(6, 182, 212, 0.45); color: var(--color-tech); }
.node-studio { top: 38px; left: -34px; background: rgba(99, 102, 241, 0.12); border-color: rgba(99, 102, 241, 0.45); color: var(--color-studio); }

@keyframes logoPulse {
  0% { transform: scale(1); box-shadow: 0 0 35px rgba(79, 70, 229, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 55px rgba(79, 70, 229, 0.7); }
  100% { transform: scale(1); box-shadow: 0 0 35px rgba(79, 70, 229, 0.4); }
}

.hub-center {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 35px rgba(79, 70, 229, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #fff;
  z-index: 2;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: logoPulse 4s ease-in-out infinite;
}

/* Inline Hero Logo SVG for Heading */
.inline-hero-logo-svg {
  display: inline-block;
  height: 0.95em;
  width: 2.47em;
  vertical-align: middle;
  position: relative;
  top: -0.04em;
  margin-right: 0.22em;
  filter: drop-shadow(0 0 30px rgba(79, 70, 229, 0.4));
}

/* ==========================================
   Cinematic Ecosystem Animation System
   ========================================== */

body.cinematic-active {
  overflow: hidden !important;
}

.cinematic-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 10, 18, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

body.cinematic-active .cinematic-overlay {
  opacity: 1;
  pointer-events: all;
}

body.cinematic-active .hero-visual-hub {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(1.35) !important;
  z-index: 2000 !important;
  width: 550px !important;
  height: 550px !important;
  margin: 0 !important;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  perspective: 1200px;
}

/* 3D transforms for rotating circles in cinematic mode */
body.cinematic-active .hub-circle {
  width: 440px !important;
  height: 440px !important;
  border-width: 1.5px !important;
  animation: none !important; /* Stop standard 2D rotation */
  transform-style: preserve-3d !important;
  transform: rotateX(var(--hub-rx, 40deg)) rotateY(var(--hub-ry, 0deg)) rotateZ(var(--hub-rz, 0deg)) !important;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), height 1.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body.cinematic-active .hub-node {
  animation: none !important;
  top: 50% !important;
  left: 50% !important;
  transform-style: preserve-3d !important;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.3s !important;
}

/* Dynamic glow effects for nodes inside cinematic mode */
body.cinematic-active .hub-node.active-node {
  box-shadow: 0 0 35px currentColor !important;
  filter: brightness(1.3) !important;
}

body.cinematic-active .hub-center {
  width: 160px !important;
  height: 160px !important;
  transform: translate(-50%, -50%) scale(var(--center-scale, 1)) !important;
  top: 50% !important;
  left: 50% !important;
  margin: 0 !important;
  animation: none !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), width 1.2s, height 1.2s !important;
}

.cinematic-captions {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2001;
  width: 90%;
  max-width: 900px;
  pointer-events: none;
}

.cinematic-text-box {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-text-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.cinematic-sub-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--color-main);
  text-shadow: 0 0 15px rgba(79, 70, 229, 0.4);
  transition: color 0.4s ease;
}

.cinematic-main-text {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.15);
  transition: opacity 0.4s ease;
}

/* Premium Hover Transitions & Scale Animations */
.glow-studio { text-shadow: 0 0 30px rgba(107, 114, 128, 0.15); }

.gradient-text {
  transition: filter 0.3s ease, transform 0.3s ease, letter-spacing 0.3s ease, text-shadow 0.3s ease;
}

.section-title:hover .gradient-text,
.subpage-hero h1:hover .gradient-text,
.hero h1:hover .gradient-text,
.hero-split h1:hover .gradient-text {
  filter: brightness(1.25) contrast(1.1);
  transform: scale(1.02);
  letter-spacing: 0.01em;
}

/* Elevate visual hover feedback on grid elements (division, feature, glass cards) */
.division-card, .feature-card, .glass-card, .stat-box {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, background 0.3s ease, border-color 0.3s ease !important;
}

.division-card:hover, .feature-card:hover, .glass-card:hover, .stat-box:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5) !important;
}

/* Elastic scaling on button hovers */
.btn-primary, .btn-secondary, .btn-instagram, .contact-btn {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background 0.3s ease, border-color 0.3s ease !important;
}

.btn-primary:hover, .btn-secondary:hover, .btn-instagram:hover, .contact-btn:hover {
  transform: translateY(-4px) scale(1.03) !important;
}

/* Cinematic close button (top right, simple X icon, rotates on hover) */
.cinematic-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2010;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: scale(1.08) rotate(90deg);
}

/* Info line below title */
.hero-info-line {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.55;
  margin-bottom: 1.8rem;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Global viewport stabilization for HTML and Body */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}

/* Comprehensive Mobile Responsiveness Overrides for iPhone, Android & iPad Devices */
body.mobile-menu-active {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 768px) {
  /* Global spacing, container, and overflow clipping to prevent horizontal layout shift */
  .container {
    padding: 0 1.5rem !important; /* Global container padding: exactly 24px safe margin */
    box-sizing: border-box !important;
  }

  /* Disable scroll reveal animations on mobile to ensure zero load delays and buttery smooth scrolling */
  .fade-in-el, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  
  /* Systematic Mobile Spacing Scale */
  .section {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .section-header {
    margin-bottom: 40px !important;
    text-align: center !important;
  }
  
  .section-header p,
  .section-header .section-subtitle + .section-title + p {
    margin-top: 24px !important;
    margin-bottom: 0 !important;
  }

  .section-subtitle {
    margin-bottom: 12px !important;
    display: inline-block !important;
  }

  .section-title {
    margin-bottom: 16px !important;
  }

  /* Clip horizontal bounds on all top-level mobile wrappers to stabilize viewports */
  .hero-split, .subpage-hero, .footer-cta, footer {
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hide background blur orbs on mobile for scroll speed and viewport stability */
  .orb {
    display: none !important;
  }
  
  /* Header & Navigation fixes */
  .navbar {
    height: 70px;
    padding: 0 1.5rem !important;
  }
  
  .mobile-toggle {
    display: flex !important;
  }
  
  /* Burger Animation close button cross morphing */
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
  
  /* Sliding Full-screen Mobile Menu with Blur (Transparent Light Glass Aesthetic) */
  .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(248, 250, 252, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 5rem 2rem !important;
    gap: 2rem !important;
    z-index: 999 !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-sizing: border-box !important;
    
    /* Animation offsets */
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s !important;
  }
  
  .nav-links.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .nav-links .nav-item {
    font-size: 1.25rem !important;
    width: auto !important;
    padding: 6px 0 !important;
    border-bottom: none !important;
    text-align: center !important;
    color: var(--text-primary) !important;
  }

  .nav-links .nav-item.active {
    font-weight: 700 !important;
  }
  
  .nav-links .contact-btn {
    width: 100% !important;
    max-width: 250px !important;
    justify-content: center !important;
    margin-top: 1.5rem !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  /* Typographical hierarchy balance to prevent giant/awkward wraps */
  h1, .hero h1, .hero-split h1, .subpage-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.3rem) !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 1.2rem !important;
    text-align: center !important;
    text-wrap: balance !important;
  }
  
  h2, .section-title {
    font-size: clamp(1.5rem, 6vw, 1.8rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
    text-wrap: balance !important;
  }
  
  h3, .feature-title, .division-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.8rem !important;
    text-wrap: balance !important;
  }
  
  p, .hero p, .hero-split p, .subpage-hero p, .section-header p {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    margin-bottom: 1.2rem !important;
    text-align: center !important;
  }

  h1, h2, h3, h4, h5, h6, .section-title, .feature-title, .division-title {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Staggered lists & grids alignment */
  .hero-info-line {
    justify-content: center !important;
    gap: 6px 10px !important;
    font-size: 0.72rem !important;
    margin-bottom: 1.5rem !important;
    opacity: 0.7 !important;
  }

  /* Sadece Mobile Özel: Dijital Büyüme Ekosistemi çizgisini kaldırıp ortalama */
  .hero-tagline-minimal {
    justify-content: center !important;
    margin: 0 auto 1.5rem auto !important;
    width: 100% !important;
    text-align: center !important;
  }
  
  .hero-tagline-minimal::before {
    display: none !important;
  }

  /* Compact top paddings on mobile (removes large desktop blank spaces) */
  .subpage-hero {
    padding-top: 110px !important;
    padding-bottom: 30px !important;
  }

  .hero-split {
    padding-top: 110px !important;
    padding-bottom: 25px !important;
  }

  .footer-cta {
    padding: 4.0rem 0 !important;
  }

  /* Scale visual hub to fit mobile viewports nicely without overflows */
  .hero-visual-hub {
    transform: scale(0.72) !important;
    transform-origin: center center !important;
    height: 280px !important;
    margin: 1.5rem auto !important;
    width: 100% !important;
    max-width: 320px !important;
  }
  
  /* Increase node font-size slightly to compensate for transform scale shrinking */
  .hub-node {
    font-size: 0.8rem !important;
    width: 70px !important;
    height: 70px !important;
  }

  /* Form & input layouts - prevent iOS Safari auto-zoom by enforcing 16px minimum font size */
  input, textarea, select {
    font-size: 16px !important;
  }

  /* Keep premium card alignments consistent with desktop (avoid lazy centering) */
  .division-card, .feature-card, .glass-card {
    height: auto !important;
    min-height: auto !important;
    padding: 1.8rem 1.35rem !important;
    margin-bottom: 1.2rem !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }
  
  .division-card-content, .feature-icon-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
  }
  
  .division-desc, .feature-card p, .glass-card p {
    text-align: left !important;
    margin: 0.5rem 0 1rem 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }
  
  .division-link {
    justify-content: flex-start !important;
    width: auto !important;
  }

  /* Center naturally centered card elements */
  .stat-box, .process-step {
    height: auto !important;
    min-height: auto !important;
    padding: 2.0rem 1.35rem !important;
    margin-bottom: 1.2rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .process-num {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .stat-box p {
    text-align: center !important;
  }

  /* All Grids stack to single column */
  .process-grid, .process-grid-4, .features-grid, .features-grid-2, .division-grid, .division-grid-2, .portfolio-grid, .why-shotly-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    margin-top: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .feature-card, .division-card, .glass-card, .portfolio-item, .process-step, .stat-box {
    grid-column: span 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .portfolio-item {
    height: 300px !important;
  }

  /* Stats Section V-Stack */
  .stats-section {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  /* Marquee / Yatay Akan Sektör Bandı Mobile Refinement */
  .brands-slider {
    padding: 2rem 0 !important;
    margin-bottom: 2rem !important;
  }

  .brands-track {
    gap: 3.5rem !important;
    animation: scrollBrands 48s linear infinite !important; /* Slower and smoother on mobile */
  }

  .brand-item {
    font-size: 1.15rem !important;
  }
  
  /* FAQ block sizing adjustments */
  .faq-question {
    padding: 1.1rem 1.25rem !important;
    font-size: 0.95rem !important;
    text-align: left !important;
  }
  
  .faq-answer-content {
    padding: 0 1.25rem 1.1rem 1.25rem !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    text-align: left !important;
  }
  
  /* Footer adjustments */
  footer {
    padding: 80px 0 80px 0 !important; /* Adjusted padding bottom since buttons are now side-by-side */
  }
  
  .footer-ribbon {
    padding: 1.5rem 0 !important;
    margin-bottom: 2rem !important;
  }
  
  /* Footer ribbon nowrap and shrink to fit on single line on mobile */
  .footer-ribbon .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.05em !important;
  }

  .footer-ribbon .container span {
    opacity: 0.4 !important;
  }
  
  /* Footer Grid side-by-side columns and brand at the top */
  .footer-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem 1.5rem !important;
    margin-top: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-brand {
    grid-column: span 2 !important;
    align-items: center !important;
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
  }
  
  .footer-brand-insta-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin-bottom: 1rem !important;
  }
  
  .footer-brand-insta-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.4rem !important;
    line-height: 1 !important;
  }

  .footer-brand-insta-container h3 {
    font-size: 1.5rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .footer-links-col {
    grid-column: span 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-links-col h4 {
    font-size: 0.95rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .footer-links {
    display: inline-block !important;
    text-align: left !important;
  }
  
  .footer-links li {
    margin-bottom: 0.6rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .footer-links a {
    font-size: 0.82rem !important;
  }

  .footer-insta-icon {
    font-size: 0.9rem !important;
    margin-right: 6px !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  
  /* Why Shotly reverse columns ordering (copy first, list second) */
  .why-shotly-grid {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  /* Compact Side-by-side Mobile Floating Buttons to respect safe areas */
  .whatsapp-float {
    width: 48px !important;
    height: 48px !important;
    bottom: calc(1.25rem + env(safe-area-inset-bottom)) !important;
    right: 1.25rem !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    z-index: 1000 !important;
  }
  
  .whatsapp-float svg {
    width: 22px !important;
    height: 22px !important;
  }
  
  .instagram-float {
    width: 48px !important;
    height: 48px !important;
    bottom: calc(1.25rem + env(safe-area-inset-bottom)) !important; /* Eskisi gibi yan yana */
    right: 5rem !important; /* Positioned to the left of the WhatsApp button */
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.25) !important;
    z-index: 1000 !important;
  }
  
  .instagram-float svg {
    width: 22px !important;
    height: 22px !important;
  }

  /* Cinematic overlay caption scaling */
  .cinematic-main-text {
    font-size: 1.6rem !important;
    line-height: 1.3 !important;
  }
  .cinematic-sub-text {
    font-size: 0.8rem !important;
  }
  .cinematic-close-btn {
    top: 20px !important;
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
  }

  /* Force Hero action buttons to stack vertically on mobile to prevent overflow */
  .hero-actions, .subpage-hero .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 1.8rem auto 0 auto !important;
    gap: 12px !important;
  }
  
  .hero-actions a, .subpage-hero .hero-actions a,
  .hero-actions button, .subpage-hero .hero-actions button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.95rem 1.5rem !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
}

/* 320px Small iPhone Viewport Optimization */
@media (max-width: 340px) {
  .container {
    padding: 0 1rem !important;
  }
  
  h1, .hero h1, .hero-split h1, .subpage-hero h1 {
    font-size: 1.75rem !important;
  }
  
  .hero-visual-hub {
    transform: scale(0.60) !important;
    height: 220px !important;
    margin: 0.5rem auto !important;
  }
  
  .whatsapp-float {
    bottom: calc(0.85rem + env(safe-area-inset-bottom)) !important;
    right: 0.85rem !important;
  }
  
  .instagram-float {
    bottom: calc(0.85rem + env(safe-area-inset-bottom)) !important;
    right: 4.6rem !important;
  }
}

@media (max-width: 480px) {
  .success-screen-container h3 {
    font-size: 1.4rem !important;
  }
}