/* ==========================================================================
   ALL DIGITAL CONTENT - MODE.COM INSPIRED DESIGN SYSTEM 2026
   ========================================================================== */

/* 1. DESIGN TOKENS */
:root {
  /* Typography Tokens */
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Color System (Mode.com Inspired High-Contrast Palette) */
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAF6;
  --bg-dark: #043F2E;
  --bg-dark-accent: #07291F;

  --brand-red: #E50914;
  --brand-red-hover: #CC0812;
  --brand-red-soft: rgba(229, 9, 20, 0.08);

  --brand-lime: #C8F169;
  --brand-lime-dark: #2A6F2B;
  --brand-lime-soft: rgba(200, 241, 105, 0.25);

  --brand-coral: #FB848B;

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;

  --border-light: rgba(15, 23, 42, 0.09);
  --border-focus: var(--brand-red);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 24px -6px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
  --shadow-red: 0 10px 25px -5px rgba(229, 9, 20, 0.35);
}

/* 2. BASE STYLES & ABSOLUTE MOBILE OVERFLOW CONTAINMENT */
*, *::before, *::after {
  box-sizing: border-box !important;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  margin: 0;
  padding: 0;
}

img, svg, video, canvas {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  box-sizing: border-box !important;
}

/* 3. MODE.COM TYPOGRAPHY */
h1, h2, h3, .section-title, .bento-title, .hero-title {
  font-family: var(--font-sans);
  color: var(--text-main);
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 em, h2 em, h3 em, .section-title em, .hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brand-red);
  padding-right: 0.15em;
}

/* 4. BADGES & BUTTONS */
.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--brand-red);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(229, 9, 20, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-surface);
  border-color: var(--text-main);
  transform: translateY(-2px);
}

/* 5. NAVBAR DESKTOP & MOBILE */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  object-fit: contain !important;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-red);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lang-pill {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-pill.active {
  color: var(--brand-red);
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.lang-sep {
  color: var(--text-light);
  font-size: 0.75rem;
  margin: 0 0.15rem;
}

.mobile-menu-toggle, .mobile-drawer {
  display: none;
}

/* 6. HERO SECTION */
.hero {
  padding: 5.5rem 0 4.5rem;
  background: radial-gradient(circle at 70% 20%, rgba(229, 9, 20, 0.04) 0%, rgba(255, 255, 255, 0) 60%);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  min-width: 0 !important;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bot-simulator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
  min-width: 0 !important;
}

.chat-bubble {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  font-size: 0.925rem;
  line-height: 1.5;
  word-break: break-word;
}

.chat-user {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.chat-bot {
  background: rgba(229, 9, 20, 0.06);
  border: 1px solid rgba(229, 9, 20, 0.15);
  color: var(--text-main);
}

/* 7. WORKFLOW BENTO SECTION */
.section-padding {
  padding: 6rem 0;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.workflow-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  min-width: 0 !important;
}

.workflow-bento-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
  min-width: 0 !important;
}

.workflow-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-red);
}

.workflow-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 1rem;
  line-height: 1;
}

/* 8. SERVICES BENTO GRID (WITH STRICT BENTO IMAGE SHRINKING) */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
  min-width: 0 !important;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  min-width: 0 !important; /* ALLOWS GRID ITEMS TO SHRINK ON MOBILE */
}

.bento-col-2 {
  grid-column: span 2;
  min-width: 0 !important;
}

.bento-badge {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  background: var(--brand-red-soft);
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.bento-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: break-word;
}

/* BENTO IMAGE MOBILE SHRINKING FIX */
.bento-image {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
  object-fit: cover;
  display: block !important;
  box-sizing: border-box !important;
}

.metric-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--brand-red);
  line-height: 1;
}

.metric-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.metric-details span {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.crm-sync-demo {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.sync-channels-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 440px;
}

.channel-pill {
  background: var(--bg-surface);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--border-light);
  white-space: nowrap;
}

.sync-arrow {
  color: var(--brand-red);
}

.crm-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.crm-table th, .crm-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.crm-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.badge-lead-fire {
  background: #fff0f1;
  color: var(--brand-red);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
}

.badge-status-ok {
  background: #e6fcf5;
  color: #0ca678;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 700;
}

/* 9. INSTAEDITOR STUDIO - UNIFIED STUDIO CARD */
.studio-section-bg {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  width: 100%;
}

.studio-badge-highlight {
  background: rgba(200, 241, 105, 0.35);
  color: #2A6F2B;
}

.studio-master-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-hover);
  width: 100%;
  box-sizing: border-box;
}

.studio-master-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
  width: 100%;
  min-width: 0 !important;
}

.ig-editor-column {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  position: relative;
  height: 100%;
  min-height: 640px;
  box-sizing: border-box;
}

.editor-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.editor-step-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.btn-emoji-trigger {
  background: #ffffff;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-emoji-trigger:hover {
  background: var(--brand-red);
  color: #ffffff;
}

/* ==========================================================================
   SEMI-INTEGRATED EMOJI POPOVER (MODE.COM / NOTION / SLACK STYLE UX)
   ========================================================================== */
.emoji-trigger-wrapper {
  position: relative;
  display: inline-block;
}

.semi-integrated-emoji-popover {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 330px;
  max-width: calc(100vw - 2rem);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(15, 23, 42, 0.08);
  z-index: 9999;
  padding: 0;
  overflow: hidden;
  animation: popoverFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.semi-integrated-emoji-popover.active {
  display: flex !important;
  flex-direction: column !important;
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popover-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.popover-title-text {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.popover-close-btn {
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
}

.popover-close-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.popover-search-container {
  padding: 0.65rem 0.85rem 0.35rem;
  background: #ffffff;
}

.popover-search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
}

.popover-search-box input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  outline: none;
  color: var(--text-main);
}

.popover-tabs-scroll {
  display: flex;
  gap: 0.25rem;
  padding: 0.4rem 0.85rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
  scrollbar-width: none;
}

.popover-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.popover-tab-chip {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.popover-tab-chip:hover,
.popover-tab-chip.active {
  background: var(--bg-surface);
  border-color: var(--border-light);
  color: var(--text-main);
}

.popover-grid-scroll {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  max-height: 220px;
  overflow-y: auto;
  background: #ffffff;
}

.popover-grid-scroll button {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  padding: 0.35rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.popover-grid-scroll button:hover {
  background: var(--bg-surface);
  transform: scale(1.15);
}

/* MOBILE RESPONSIVE BEHAVIOR FOR SEMI-INTEGRATED POPOVER */
@media (max-width: 767px) {
  .semi-integrated-emoji-popover {
    position: fixed !important;
    top: auto !important;
    bottom: 1rem !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2) !important;
    border-radius: 20px !important;
  }
}

.popover-modal-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.popover-modal-close {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popover-search-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.75rem;
}

.popover-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.875rem;
  width: 100%;
  margin-left: 0.5rem;
}

.popover-icon-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  scrollbar-width: none !important;
}

.popover-icon-bar::-webkit-scrollbar {
  display: none !important;
}

.icon-nav-btn {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  padding: 0.4rem;
  cursor: pointer;
  border-radius: 8px;
  position: relative;
}

.icon-nav-btn.active {
  background: var(--bg-surface);
}

.icon-nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--brand-red);
  border-radius: 9999px;
}

.popover-emoji-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  max-height: 210px;
  overflow-y: auto;
}

.popover-emoji-btn {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  padding: 0.3rem;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.popover-emoji-btn:hover {
  background: var(--bg-surface);
}

/* FORMATTING BUTTONS */
.formatting-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.style-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-main);
}

.style-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.editor-tip-box {
  background: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.825rem;
  color: #8c6b00;
}

.editor-textarea-large {
  width: 100%;
  flex: 1;
  min-height: 260px;
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  outline: none;
  background: #ffffff;
  overflow-y: auto;
  line-height: 1.55;
  transition: border-color 0.2s ease;
}

.editor-textarea-large:focus {
  border-color: var(--brand-red);
}

.editor-meta-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-copy-full {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
}

/* RIGHT COLUMN: INSTAGRAM MOCKUP CARD */
.ig-mockup-column {
  min-height: 640px;
  width: 100%;
}

.ig-mockup-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.ig-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ig-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ig-avatar-ring img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.ig-username {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.ig-verified {
  color: #38bdf8;
  font-size: 0.8rem;
}

.ig-location {
  font-size: 0.725rem;
  color: #64748b;
}

.ig-more-dots {
  color: #94a3b8;
  cursor: pointer;
}

/* NATIVE INSTAGRAM 4:5 PORTRAIT MEDIA GRAPHIC */
.futuristic-media-container {
  width: 100%;
  aspect-ratio: 4 / 5 !important;
  height: auto !important;
  position: relative;
  overflow: hidden;
  background: #000000;
}

.futuristic-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.futuristic-glass-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.775rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ig-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.1rem 0.35rem;
}

.ig-action-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ig-icon-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
}

.ig-likes-label {
  padding: 0 1.1rem;
  font-size: 0.825rem;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.ig-caption-container {
  padding: 0 1.1rem 0.75rem;
  font-size: 0.85rem;
  color: #0f172a;
  line-height: 1.55;
  text-align: left !important;
  word-break: break-word;
  max-height: 260px;
  overflow-y: auto;
  margin: 0 !important;
}

.ig-caption-author {
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-right: 0.35rem !important;
}

.ig-caption-text {
  white-space: pre-wrap;
}

.ig-post-time {
  padding: 0 1.1rem 0.85rem;
  font-size: 0.675rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* 10. CONTACT FORM */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-hover);
  width: 100%;
  box-sizing: border-box;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 1.25rem;
  background: var(--bg-surface);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-red);
}

/* 11. FOOTER */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 2.25rem 0;
  background: #ffffff;
  width: 100%;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   12. RESPONSIVE BREAKPOINTS & SLEEK MODE.COM MOBILE DRAWER SHEET
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .studio-master-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-col-2 {
    grid-column: span 1;
  }

  .workflow-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE PHONES (< 768px) */
@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none !important;
  }

  .container {
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
  }

  .hero {
    padding: 2.75rem 0 2.25rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .bento-card, .bento-col-2 {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
  }

  .bento-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-top: 1rem !important;
  }

  .workflow-bento-card, .studio-master-wrapper, .form-card {
    padding: 1.25rem !important;
  }

  /* HAMBURGER TOGGLE BUTTON */
  .mobile-menu-toggle {
    display: flex !important;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    justify-content: space-around;
    width: 38px;
    height: 38px;
    z-index: 10001 !important;
    position: relative !important;
  }

  .hamburger-line {
    width: 100%;
    height: 3px;
    background: #0f172a;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  /* SLEEK MODE.COM MOBILE DRAWER SHEET (EXECUTIVE & ULTRA-COMPACT) */
  .mobile-drawer {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 9999999 !important;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem 1.5rem !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
  }

  .mobile-drawer.active {
    display: flex !important;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .mobile-drawer-close {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 1rem 0;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0.85rem;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 10px;
    transition: background 0.15s ease;
  }

  .mobile-nav-link:active, .mobile-nav-link:hover {
    background: var(--bg-surface);
  }

  .nav-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand-red);
    width: 22px;
  }

  .nav-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
  }

  .mobile-drawer-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
  }

  .mobile-cta-full {
    width: 100%;
    padding: 0.95rem;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
  }

  .workflow-bento {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}
