/* ==========================================
   AITOVIESTI — style.css
   Mobile-first, Outfit font, brand palette
   ========================================== */

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

:root {
  --blue-primary: #1a3a8f;
  --blue-dark: #112566;
  --cyan: #00d4ff;
  --white: #ffffff;
  --offwhite: #f4f6fb;
  --text-dark: #0d0d0d;
  --gray: #6b7280;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 72px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1 { font-size: clamp(2rem, 7vw, 3.8rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 600; line-height: 1.3; }
p  { line-height: 1.7; color: var(--gray); }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: #1530730;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,143,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-cyan {
  background: var(--cyan);
  color: var(--blue-dark);
}
.btn-cyan:hover {
  background: #00bcdf;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.35);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo .logo-light { display: block; }
.nav-logo .logo-dark  { display: none; }
.navbar.scrolled .nav-logo .logo-light { display: none; }
.navbar.scrolled .nav-logo .logo-dark  { display: block; }

.nav-links {
  display: none;
  gap: 2rem;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }
.navbar.scrolled .nav-links a { color: var(--text-dark); }
.navbar.scrolled .nav-links a:hover { color: var(--blue-primary); }

.nav-cta { display: none; }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--blue-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .btn { margin-top: 1rem; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/backgrounds/hero-mobile.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,37,102,0.85) 0%, rgba(26,58,143,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  text-align: left;
}
.hero-content h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero-content h1 span { color: var(--cyan); }
.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,255,0.15);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}
.hero-badge::before { content: '▶'; font-size: 0.7rem; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}

/* ==========================================
   TRUSTED BY STRIP
   ========================================== */
.trusted {
  background: var(--white);
  padding: 3rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2rem;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 3rem;
}
.trusted-logo {
  font-size: 1rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}
.trusted-logo:hover { color: var(--blue-primary); }

/* ==========================================
   SECTIONS SHARED
   ========================================== */
.section { padding: 5rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-top: 0.25rem; }

/* ==========================================
   WHY AITOVIESTI
   ========================================== */
.why { background: var(--white); }
.why-grid {
  display: grid;
  gap: 3rem;
}
.why-text h2 { margin-bottom: 1.5rem; }
.why-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-icon {
  width: 44px;
  height: 44px;
  background: var(--offwhite);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.why-item-text h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.2rem; }
.why-item-text p { font-size: 0.9rem; }
.why-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-phone {
  width: 100%;
  max-width: 320px;
  mix-blend-mode: multiply;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how { background: var(--offwhite); }
.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26,58,143,0.1);
}
.step-number {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}
.step-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 1rem; }
.step-card h3 { color: var(--blue-primary); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; }

/* ==========================================
   PORTFOLIO PREVIEW
   ========================================== */
.portfolio-preview { background: var(--white); }
.portfolio-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--offwhite);
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26,58,143,0.12);
}
.portfolio-thumb {
  aspect-ratio: 9/14;
  background: linear-gradient(145deg, var(--blue-primary), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(17,37,102,0.85));
  padding: 2rem 1rem 1rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.portfolio-body { padding: 1.25rem; }
.portfolio-body h3 { font-size: 1rem; color: var(--text-dark); margin-bottom: 0.35rem; }
.portfolio-body p { font-size: 0.85rem; margin-bottom: 1rem; }
.portfolio-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.portfolio-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition);
}
.portfolio-links a:hover { color: var(--cyan); }
.portfolio-cta { text-align: center; }

/* ==========================================
   SHORT FORM VIDEO SECTION
   ========================================== */
.shortform {
  background: var(--blue-dark);
  color: var(--white);
}
.shortform-grid { display: grid; gap: 3rem; }
.shortform-text h2 { color: var(--white); }
.shortform-text p { color: rgba(255,255,255,0.7); }
.platforms { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.platform-tag {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}
.platform-tag.accent {
  background: rgba(0,212,255,0.15);
  border-color: rgba(0,212,255,0.3);
  color: var(--cyan);
}
.shortform-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.video-mock {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.video-play {
  width: 48px;
  height: 48px;
  background: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-dark);
  font-size: 1rem;
  padding-left: 3px;
}
.video-info span { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.video-info strong { color: var(--white); font-weight: 600; font-size: 0.95rem; }

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  background: var(--blue-primary);
  padding: 5rem 1.5rem;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.05rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.65);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo img { height: 32px; margin-bottom: 1rem; }
.footer-logo p { font-size: 0.88rem; max-width: 220px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--cyan); }
.footer-contact p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ==========================================
   PAGE HERO (sub pages)
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 1rem; font-size: 1.05rem; }

/* ==========================================
   PRICING
   ========================================== */
.pricing { background: var(--offwhite); }
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 2px solid var(--border);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(26,58,143,0.12);
}
.pricing-card.featured {
  background: var(--blue-dark);
  border-color: var(--cyan);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cyan);
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.pricing-card h3 { font-size: 1.4rem; margin-bottom: 0.25rem; }
.pricing-card.featured h3 { color: var(--white); }
.pricing-sub { font-size: 0.9rem; color: var(--gray); margin-bottom: 1.5rem; }
.pricing-card.featured .pricing-sub { color: rgba(255,255,255,0.6); }
.pricing-price { font-size: 2.6rem; font-weight: 800; color: var(--blue-primary); line-height: 1; margin-bottom: 0.25rem; }
.pricing-card.featured .pricing-price { color: var(--cyan); }
.pricing-period { font-size: 0.82rem; color: var(--gray); margin-bottom: 1.75rem; }
.pricing-card.featured .pricing-period { color: rgba(255,255,255,0.5); }
.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,0.85); }
.pricing-features li::before { content: '✓'; color: var(--cyan); font-weight: 800; }

.single-video {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.single-video h3 { color: var(--blue-primary); }
.single-video .price { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); }

/* ==========================================
   FAQ
   ========================================== */
.faq { background: var(--white); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.25rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--blue-primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p { padding-bottom: 1.25rem; font-size: 0.95rem; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid { display: grid; gap: 3rem; }
.contact-info h3 { color: var(--blue-primary); margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--offwhite);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.contact-detail span { font-size: 0.85rem; color: var(--gray); display: block; }
.contact-detail a, .contact-detail strong { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.contact-form { background: var(--offwhite); border-radius: var(--radius); padding: 2rem 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue-primary); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* ==========================================
   PORTFOLIO PAGE
   ========================================== */
.portfolio-page { background: var(--offwhite); }
.portfolio-full-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

/* ==========================================
   LYHYTVIDEOT PAGE
   ========================================== */
.video-types { background: var(--white); }
.types-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.type-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.type-emoji { font-size: 1.4rem; }
.type-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.type-card p { font-size: 0.85rem; }

.why-short { background: var(--offwhite); }
.why-short-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.why-short-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-short-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,58,143,0.08);
}
.why-short-card .stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 0.5rem;
}
.why-short-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }

/* ==========================================
   PLATFORM CARDS
   ========================================== */
.platform-cards { background: var(--white); }
.platforms-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.plat-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,58,143,0.08);
}
.plat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.plat-card h3 { font-size: 1.05rem; color: var(--blue-primary); margin-bottom: 0.4rem; }
.plat-card p { font-size: 0.88rem; }

/* ==========================================
   ANIMATE ON SCROLL
   ========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   DESKTOP BREAKPOINTS
   ========================================== */
@media (min-width: 768px) {
  .nav-height { --nav-height: 88px; }
  .navbar { height: 88px; padding: 0 2.5rem; }

  .why-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .shortform-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .why-short-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .single-video { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-bg {
    background-image: url('../assets/backgrounds/hero-desktop.jpg');
  }
  .hero-content { text-align: left; }
}

@media (min-width: 1024px) {
  .navbar { padding: 0 3rem; }
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .hamburger { display: none; }

  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-full-grid { grid-template-columns: repeat(3, 1fr); }
  .why-short-grid { grid-template-columns: repeat(4, 1fr); }
  .platforms-grid { grid-template-columns: repeat(4, 1fr); }
  .types-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .section { padding: 6rem 2rem; }
}

@media (min-width: 1280px) {
  .navbar { padding: 0 4rem; }
}


/* ==========================================
   LOGO BLACK BG FIX (screen blend removes black)
   ========================================== */
.nav-logo img,
.footer-logo img {
  mix-blend-mode: screen;
}
.navbar.scrolled .nav-logo img {
  mix-blend-mode: multiply;
}

/* Step icons — bigger, no blend mode (swap PNG yourself later) */
.step-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ==========================================
   PORTFOLIO IFRAME EMBED
   ========================================== */
.video-slide iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.video-slide { background: #0a0a1a; }

/* ==========================================
   IFRAME LAZY LOAD — hide until in view
   ========================================== */
.video-slide iframe.lazy {
  display: none;
}
.video-slide iframe.lazy.loaded {
  display: block;
}

/* ==========================================
   TRUSTED CAROUSEL
   ========================================== */
.trusted { overflow: hidden; }
.trusted-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  cursor: pointer;
}
.trusted-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trusted-logo {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================
   VIDEO CAROUSEL
   ========================================== */
.video-carousel {
  position: relative;
  overflow: hidden;
}
.video-slides {
  display: flex;
  transition: transform 0.4s ease;
}
.video-slide {
  min-width: 100%;
  aspect-ratio: 9/16;
  background: #0a0a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.video-slide iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.carousel-btn:hover { background: rgba(255,255,255,0.3); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem 0 0;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--blue-primary); }

/* ==========================================
   CLICK TO PLAY
   ========================================== */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 26, 0.6);
  cursor: pointer;
  transition: background 0.2s;
}
.play-overlay:hover {
  background: rgba(10, 10, 26, 0.4);
}
.play-btn-big {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  padding-left: 4px;
  transition: transform 0.2s, background 0.2s;
}
.play-overlay:hover .play-btn-big {
  transform: scale(1.1);
  background: rgba(0,212,255,0.25);
  border-color: var(--cyan);
}
.video-slide.playing .play-overlay {
  display: none;
}
.video-slide.playing iframe {
  display: block;
}
.video-slide iframe {
  display: none;
  width: 100%;
  height: 100%;
  border: none;
}
