/* ============================================================
   buildecomstore — Instagram Automation Styles
   Modular CSS for Instagram Automation landing page & homepage intro
   ============================================================ */

:root {
  --ig-gradient: linear-gradient(135deg, #833AB4 0%, #FD1D1D 50%, #FCB045 100%);
  --ig-gradient-subtle: linear-gradient(135deg, rgba(131,58,180,0.08) 0%, rgba(253,29,29,0.08) 50%, rgba(252,176,69,0.08) 100%);
  --ig-pink: #E1306C;
  --ig-purple: #833AB4;
  --ig-orange: #F77737;
  --ig-yellow: #FCAF45;
  --ig-tint: rgba(225, 48, 108, 0.08);
  --ig-border: rgba(225, 48, 108, 0.2);
  --ig-green: #10B981;
  --ig-green-bg: #ECFDF5;
}

/* ============================================================
   SHARED BADGES & PILLS
   ============================================================ */
.ig-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ig-pink);
  margin-bottom: 12px;
}

.ig-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ig-gradient);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.ig-policy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}

.ig-policy-badge svg {
  color: #10b981;
}

.btn-instagram {
  background: var(--ig-gradient);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 16px rgba(225, 48, 108, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.45);
  color: #ffffff !important;
}

.btn-instagram:disabled,
.btn-instagram.loading {
  opacity: 0.85;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-instagram .btn-loader {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-instagram .spinner-dot {
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: igSpin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes igSpin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   HOMEPAGE SECTION 1: INSTAGRAM INTRO
   ============================================================ */
.section-ig-intro {
  background: linear-gradient(180deg, var(--paper) 0%, #fff7f9 50%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ig-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.ig-intro-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 700;
  margin: 12px 0 16px;
  color: var(--ink);
}

.ig-intro-content .lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.6;
}

.ig-caps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.ig-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(225, 48, 108, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(21, 19, 15, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ig-cap-item:hover {
  transform: translateY(-2px);
  border-color: var(--ig-pink);
}

.ig-cap-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 8px;
  background: var(--ig-gradient-subtle);
  border: 1px solid var(--ig-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ig-pink);
}

.ig-cap-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--ink);
}

.ig-cap-item p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
}

/* Home Page Visual Composite */
.ig-dashboard-composite {
  position: relative;
  display: flex;
  justify-content: center;
}

.ig-composite-card {
  width: 100%;
  max-width: 500px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 25px 60px -15px rgba(225, 48, 108, 0.2), 0 10px 25px -5px rgba(21, 19, 15, 0.08);
  overflow: hidden;
  position: relative;
}

.ig-composite-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #0f172a;
  color: #ffffff;
  border-bottom: 1px solid #1e293b;
}

.ig-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.ig-header-left svg {
  color: var(--ig-pink);
}

.ig-composite-body {
  padding: 18px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ig-live-flow-bubble {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.ig-flow-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  font-family: var(--mono);
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.ig-flow-label .tag-pill {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.tag-comment {
  background: #eff6ff;
  color: #2563eb;
}

.tag-rule {
  background: #fdf2f8;
  color: #db2777;
}

.tag-dm {
  background: #ecfdf5;
  color: #059669;
}

.ig-comment-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ig-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ig-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.ig-comment-bubble-text {
  flex: 1;
  font-size: 13px;
  color: #1e293b;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.4;
}

.ig-comment-bubble-text strong {
  color: var(--ig-pink);
}

.ig-dm-row {
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #991b1b;
  line-height: 1.45;
}

.ig-dm-row strong {
  color: #b91c1c;
  display: block;
  margin-bottom: 2px;
}

.ig-composite-footer {
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.ig-trigger-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #0f172a;
}

.ig-trigger-stat span {
  color: #10b981;
}

/* ============================================================
   MOBILE PHONE MOCKUP VIEW (WHITE FRAME WITH BLACK INNER BODY)
   ============================================================ */
.ig-composite-card.ig-mobile-view {
  width: 100%;
  max-width: 370px;
  border-radius: 42px;
  border: 11px solid #ffffff;
  outline: 1px solid rgba(203, 213, 225, 0.85);
  box-shadow: 
    0 25px 70px -10px rgba(225, 48, 108, 0.22),
    0 15px 35px -5px rgba(15, 23, 42, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.05);
  background: #000000;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.ig-phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px 4px;
  background: #000000;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.2px;
  user-select: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ig-phone-island {
  width: 78px;
  height: 16px;
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ig-phone-island-cam {
  width: 7px;
  height: 7px;
  background: #0f172a;
  border-radius: 50%;
  border: 1px solid #94a3b8;
  display: block;
}

.ig-phone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}

.ig-composite-card.ig-mobile-view .ig-composite-header {
  padding: 10px 14px;
  background: #0a0a0c;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ig-composite-card.ig-mobile-view .ig-header-left {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.ig-composite-card.ig-mobile-view .ig-header-left svg {
  color: #e1306c;
}

.ig-composite-card.ig-mobile-view .ig-policy-badge {
  font-size: 10px;
  padding: 2.5px 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
}

.ig-composite-card.ig-mobile-view .ig-composite-body {
  padding: 12px;
  gap: 10px;
  background: #09090b;
}

.ig-composite-card.ig-mobile-view .ig-live-flow-bubble {
  padding: 11px 12px;
  border-radius: 14px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ig-composite-card.ig-mobile-view .ig-flow-label {
  font-size: 10px;
  margin-bottom: 6px;
  color: #94a3b8;
}

.ig-composite-card.ig-mobile-view .ig-comment-row {
  gap: 8px;
}

.ig-composite-card.ig-mobile-view .ig-user-avatar {
  width: 28px;
  height: 28px;
  font-size: 12px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.ig-composite-card.ig-mobile-view .ig-comment-bubble-text {
  font-size: 12px;
  line-height: 1.35;
  background: #1f1f23;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ig-composite-card.ig-mobile-view .ig-comment-bubble-text strong {
  color: #f43f5e;
}

.ig-composite-card.ig-mobile-view .ig-dm-row {
  font-size: 11.5px;
  line-height: 1.45;
  background: #1c1421;
  border: 1px solid rgba(225, 48, 108, 0.25);
  color: #fce7f3;
}

.ig-composite-card.ig-mobile-view .ig-dm-row strong {
  color: #ffffff;
}

.ig-dm-quick-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.ig-dm-quick-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 600;
  color: #f472b6;
  background: rgba(225, 48, 108, 0.16);
  border: 1px solid rgba(225, 48, 108, 0.35);
  border-radius: 14px;
  user-select: none;
}

.ig-phone-dm-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #18181b;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 6px 12px;
  margin-top: 2px;
}

.ig-phone-dm-input span {
  font-size: 11.5px;
  color: #71717a;
}

.ig-phone-dm-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a1a1aa;
}

.ig-composite-card.ig-mobile-view .ig-composite-footer {
  padding: 8px 14px 4px;
  background: #0a0a0c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.ig-composite-card.ig-mobile-view .ig-trigger-stat {
  color: #cbd5e1;
}

.ig-composite-card.ig-mobile-view .ig-api-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ig-phone-home-bar {
  width: 110px;
  height: 4px;
  background: #ffffff;
  border-radius: 4px;
  margin: 6px auto 8px;
  opacity: 0.75;
}

/* ============================================================
   HOMEPAGE SECTION 2: HOW IT WORKS WORKFLOW (COMPACT)
   ============================================================ */
.section-ig-how {
  padding: 70px 0;
  background: var(--paper);
}

.ig-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  position: relative;
}

.ig-step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(21, 19, 15, 0.04);
}

.ig-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--ig-pink);
  box-shadow: 0 12px 25px -8px rgba(225, 48, 108, 0.2);
}

.ig-step-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ig-pink);
  background: var(--ig-tint);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.ig-step-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.ig-step-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   INSTAGRAM AUTOMATION LANDING PAGE SPECIFIC STYLES
   ============================================================ */
.ig-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(225, 48, 108, 0.09) 0%, rgba(131, 58, 180, 0.05) 35%, #ffffff 70%);
  color: var(--ink);
}

.ig-hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.ig-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #15130f !important;
  line-height: 1.15;
  margin: 14px 0 0;
  font-family: var(--display);
}

.ig-hero h1 .hl {
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding: 0;
}

.ig-hero p.lead {
  margin-top: 20px;
  font-size: 17.5px;
  color: #4a463f !important;
  max-width: 52ch;
  line-height: 1.6;
}

.ig-hero .btn-row {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ig-hero .btn-outline {
  color: #15130f !important;
  border-color: #ece3dd !important;
  background: #ffffff;
}

.ig-hero .btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: #15130f !important;
}

.ig-hero .trust-strip {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  font-size: 13.5px;
  color: #4a463f !important;
  font-weight: 600;
}

.ig-hero .trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a463f !important;
}

.ig-hero .trust-strip svg {
  flex-shrink: 0;
  color: var(--ig-pink) !important;
}

.ig-hero-blob {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 48, 108, 0.15) 0%, rgba(253, 29, 29, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.ig-stats {
  padding: 30px 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ig-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.ig-stat-box b {
  display: block;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 800;
  font-family: var(--display);
  background: var(--ig-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 6px;
}

.ig-stat-box span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Core Features Grid */
.ig-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.ig-feature-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 4px 18px rgba(21, 19, 15, 0.04);
}

.ig-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ig-pink);
  box-shadow: 0 16px 35px -10px rgba(225, 48, 108, 0.18);
}

.ig-feature-card .feat-num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--ig-pink);
  margin-bottom: 14px;
  display: inline-block;
}

.ig-feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.ig-feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* Interactive Visual Workflow */
.ig-workflow-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 40px auto 0;
}

.ig-workflow-node {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(21, 19, 15, 0.04);
  transition: all 0.2s ease;
}

.ig-workflow-node:hover {
  border-color: var(--ig-pink);
  transform: translateX(4px);
}

.ig-node-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--ig-gradient-subtle);
  border: 1px solid var(--ig-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ig-pink);
}

.ig-node-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--ink);
}

.ig-node-text p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
}

.ig-node-arrow {
  color: var(--ig-pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Use Cases Grid */
.ig-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.ig-usecase-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  box-shadow: 0 4px 15px rgba(21, 19, 15, 0.04);
  transition: all 0.2s ease;
}

.ig-usecase-card:hover {
  border-color: var(--ig-pink);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px -8px rgba(225, 48, 108, 0.15);
}

.ig-usecase-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ig-purple);
  background: rgba(131, 58, 180, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.ig-usecase-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
}

.ig-usecase-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* Product Capabilities Showcase */
/* ============================================================
   MODERN INTERACTIVE PRODUCT SHOWCASE & CAROUSEL
   ============================================================ */
.ig-showcase-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--paper) 0%, #fff7f9 50%, var(--paper) 100%);
  position: relative;
  overflow: hidden;
}

.ig-showcase-box {
  background: #ffffff;
  border: 1px solid rgba(225, 48, 108, 0.2);
  border-radius: 24px;
  box-shadow: 0 25px 60px -20px rgba(225, 48, 108, 0.15), 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

/* Tabs Bar */
.ig-showcase-tabs {
  display: flex;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ig-showcase-tabs::-webkit-scrollbar {
  display: none;
}

.ig-tab-btn {
  flex: 1;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #94a3b8;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  font-family: inherit;
}

.ig-tab-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
}

.ig-tab-btn.active {
  background: rgba(225, 48, 108, 0.1);
  color: #ffffff;
  border-bottom-color: var(--ig-pink);
}

.ig-tab-btn .tab-icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ig-tab-btn.active .tab-icon {
  background: var(--ig-gradient);
  color: #ffffff;
}

.ig-tab-btn .tab-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
}

.ig-tab-btn .tab-text small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.ig-tab-btn.active .tab-text small {
  color: #f472b6;
}

/* Stage & Browser Mockup */
.ig-showcase-stage {
  position: relative;
  padding: 24px 32px;
  background: #f8fafc;
}

.ig-browser-mockup {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.1);
  overflow: hidden;
  position: relative;
}

.ig-browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.chrome-dots {
  display: flex;
  gap: 7px;
}

.chrome-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.chrome-address {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  color: #94a3b8;
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 16px;
  border-radius: 20px;
  border: 1px solid #334155;
  max-width: 480px;
  width: 100%;
  justify-content: center;
}

.chrome-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Slides Viewport */
.ig-slides-viewport {
  position: relative;
  background: #0f172a;
  overflow: hidden;
  width: 100%;
}

.ig-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-slide.active {
  display: block;
  opacity: 1;
}

.ig-slide-img-wrap {
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  background: #000;
}

.ig-slide-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.ig-slide-img-wrap:hover img {
  transform: scale(1.015);
  filter: brightness(0.96);
}

.ig-zoom-hint {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.88);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: all 0.25s ease;
}

.ig-slide-img-wrap:hover .ig-zoom-hint {
  background: var(--ig-gradient);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.45);
}

/* Floating Stage Navigation Arrows */
.ig-stage-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0f172a;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
}

.ig-stage-nav:hover {
  background: var(--ig-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}

.ig-stage-prev {
  left: 12px;
}

.ig-stage-next {
  right: 12px;
}

/* Showcase Footer with Details and Thumbnails */
.ig-showcase-footer {
  padding: 24px 32px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ig-showcase-info {
  flex: 1;
  max-width: 580px;
}

.slide-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ig-pink);
  background: var(--ig-tint);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.ig-showcase-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.ig-showcase-info p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* Thumbnails Strip */
.ig-thumbnails-strip {
  display: flex;
  gap: 10px;
}

.ig-thumb-btn {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.ig-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ig-thumb-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.ig-thumb-btn.active {
  opacity: 1;
  border-color: var(--ig-pink);
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
  transform: translateY(-2px);
}

.gallery-modal .gallery-img {
  max-height: 88vh;
  max-width: 92vw;
}

/* Analytics / Insights Section (Based on Screenshot 5) */
.ig-insights-wrapper {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: 0 10px 35px -10px rgba(21, 19, 15, 0.08);
  margin-top: 36px;
}

.ig-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.ig-metric-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ig-metric-tile:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.ig-metric-tile .label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.ig-metric-tile .value {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--display);
  line-height: 1.1;
}

.val-likes { color: #ef4444; }
.val-comments { color: #3b82f6; }
.val-reach { color: #833AB4; }
.val-interactions { color: #8b5cf6; }
.val-views { color: #0f172a; }
.val-saved { color: #f59e0b; }

.ig-insights-refresh-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

/* Future / Coming Soon Section */
.ig-future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.ig-future-card {
  background: #ffffff;
  border: 1px dashed rgba(225, 48, 108, 0.3);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  position: relative;
  transition: all 0.2s ease;
}

.ig-future-card:hover {
  border-style: solid;
  border-color: var(--ig-pink);
  transform: translateY(-3px);
}

.badge-coming-soon {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  background: #fdf2f8;
  color: #db2777;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.ig-future-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.ig-future-card p {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE DESIGN (NO HORIZONTAL SCROLL)
   ============================================================ */
.ig-page {
  overflow-x: clip;
  width: 100%;
}

@media (max-width: 992px) {
  .ig-hero {
    padding: 50px 0 40px;
  }

  .ig-hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ig-hero h1 {
    font-size: clamp(2rem, 5vw, 2.6rem);
  }

  .ig-dashboard-composite {
    max-width: 100%;
    width: 100%;
  }

  .ig-composite-card {
    max-width: 100%;
  }

  .ig-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .ig-steps-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ig-features-grid {
    grid-template-columns: 1fr;
  }

  .ig-usecases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .ig-future-grid {
    grid-template-columns: 1fr;
  }

  .ig-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ig-showcase-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
  }

  .ig-showcase-info {
    max-width: 100%;
  }

  .ig-thumbnails-strip {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
  }
}

@media (max-width: 768px) {
  .ig-showcase-tabs {
    padding: 0 4px;
  }

  .ig-tab-btn {
    min-width: 140px;
    padding: 12px 14px;
    gap: 8px;
  }

  .ig-tab-btn .tab-icon {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .ig-tab-btn .tab-text small {
    display: none;
  }

  .ig-tab-btn .tab-text strong {
    font-size: 12.5px;
  }

  .chrome-address {
    max-width: 220px;
    padding: 4px 10px;
    font-size: 10px;
  }

  .chrome-address span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
  }

  .chrome-badge {
    display: none;
  }

  .ig-showcase-box {
    margin-top: 24px;
    border-radius: 16px;
  }

  .ig-showcase-stage {
    padding: 12px 6px;
  }

  .ig-browser-mockup {
    border-radius: 10px;
  }

  .ig-browser-chrome {
    padding: 8px 12px;
  }

  .ig-stage-nav {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .ig-stage-prev {
    left: 4px;
  }

  .ig-stage-next {
    right: 4px;
  }

  .ig-zoom-hint {
    font-size: 11px;
    padding: 5px 10px;
    bottom: 10px;
    right: 10px;
  }
}

@media (max-width: 640px) {
  .ig-hero {
    padding: 36px 0 28px;
  }

  .ig-hero h1 {
    font-size: 26px;
    line-height: 1.25;
  }

  .ig-hero p.lead {
    font-size: 15px;
    margin-top: 14px;
  }

  .ig-hero .btn-row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .ig-hero .btn-row .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .ig-hero .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }

  .ig-caps-grid {
    grid-template-columns: 1fr;
  }

  .ig-steps-row {
    grid-template-columns: 1fr;
  }

  .ig-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ig-usecases-grid {
    grid-template-columns: 1fr;
  }

  .ig-metrics-grid {
    grid-template-columns: 1fr;
  }

  .ig-insights-wrapper {
    padding: 20px 16px;
  }

  .ig-showcase-stage {
    padding: 8px 4px;
  }

  .ig-showcase-footer {
    padding: 16px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .ig-showcase-info h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  .ig-showcase-info p {
    font-size: 13px;
    line-height: 1.45;
  }

  .ig-thumbnails-strip {
    display: flex;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .ig-thumb-btn {
    width: 58px;
    height: 38px;
    flex-shrink: 0;
  }

  .lead-section {
    padding: 24px 16px !important;
  }

  .lead-form {
    padding: 24px 16px !important;
  }

  .final-cta {
    padding: 32px 18px !important;
  }

  .final-cta .btn-row {
    flex-direction: column;
    width: 100%;
  }

  .final-cta .btn-row .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .ig-showcase-stage {
    padding: 6px 2px;
  }

  .ig-browser-chrome {
    padding: 6px 8px;
  }

  .chrome-address {
    max-width: 170px;
    padding: 3px 6px;
    font-size: 9.5px;
  }

  .chrome-address span {
    max-width: 120px;
  }

  .ig-zoom-hint {
    bottom: 6px;
    right: 6px;
    font-size: 9.5px;
    padding: 3px 6px;
    gap: 4px;
  }

  .ig-zoom-hint svg {
    width: 12px;
    height: 12px;
  }

  .ig-stage-nav {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
}

@media (max-width: 380px) {
  .ig-hero h1 {
    font-size: 23px;
  }

  .ig-composite-header {
    padding: 10px 12px;
  }

  .ig-composite-body {
    padding: 12px 10px;
  }

  .ig-header-left {
    font-size: 11px;
    gap: 6px;
  }

  .ig-policy-badge {
    font-size: 9.5px;
    padding: 2px 6px;
  }

  .ig-live-flow-bubble {
    padding: 10px;
  }

  .ig-comment-bubble-text {
    font-size: 12px;
  }
}

/* ============================================================
   Instagram Automation Brand Palette (Zero WhatsApp Green)
   ============================================================ */
.ig-page-body,
.ig-page {
  --panel: #FAF5F8;
  --section-color: #FAF2F6;
  --line: #F1E5EC;
}

/* 1. All Alternating Sections (FAQ, ROI, Features, Analytics) */
.ig-page-body .section-alt,
.ig-page .section-alt,
.ig-page.section-alt {
  background: #FAF5F8 !important;
  border-top: 1px solid rgba(225, 48, 108, 0.08) !important;
  border-bottom: 1px solid rgba(225, 48, 108, 0.08) !important;
}

/* 2. Lead Form & Trust Badges */
.ig-page-body .lead-form,
.ig-page .lead-form {
  background: #ffffff !important;
  border: 1px solid rgba(225, 48, 108, 0.16) !important;
  box-shadow: 0 16px 40px -12px rgba(225, 48, 108, 0.12) !important;
}

.ig-page-body .quote,
.ig-page .quote {
  background: #FFF7FA !important;
  border-left: 3px solid #E1306C !important;
}

.ig-page-body .lead-points svg,
.ig-page .lead-points svg {
  stroke: #E1306C !important;
}

.ig-page-body .thankyou svg,
.ig-page .thankyou svg {
  stroke: #E1306C !important;
}

/* 3. FAQ Section Styles */
.ig-page-body .faq-q .plus,
.ig-page .faq-q .plus {
  color: #E1306C !important;
}

.ig-page-body .faq-item.open,
.ig-page .faq-item.open {
  border-color: rgba(225, 48, 108, 0.25) !important;
}

/* 4. Final CTA Section: Vibrant SaaS Instagram Gradient Banner */
.ig-page-body .final-cta,
.ig-page .final-cta {
  background: linear-gradient(135deg, #405DE6 0%, #833AB4 35%, #E1306C 75%, #F56040 100%) !important;
  box-shadow: 0 24px 50px -15px rgba(225, 48, 108, 0.4) !important;
  border-radius: var(--radius-lg);
  color: #ffffff;
}

.ig-page-body .final-cta h2,
.ig-page-body .final-cta p,
.ig-page .final-cta h2,
.ig-page .final-cta p {
  color: #ffffff !important;
}

.ig-page-body .final-cta .btn-primary,
.ig-page .final-cta .btn-primary {
  background: #ffffff !important;
  color: #15130f !important;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.25s ease;
}

.ig-page-body .final-cta .btn-primary:hover,
.ig-page .final-cta .btn-primary:hover {
  background: #FFF0F5 !important;
  color: #E1306C !important;
  transform: translateY(-2px);
}

.ig-page-body .final-cta .btn-instagram-white,
.ig-page .final-cta .btn-instagram-white {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  transition: all 0.25s ease;
}

.ig-page-body .final-cta .btn-instagram-white:hover,
.ig-page .final-cta .btn-instagram-white:hover {
  background: #ffffff !important;
  color: #C13584 !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

/* 5. Header "Take Demo" Button & Sticky Floating WhatsApp Button (Kept Authentic WhatsApp Green) */
.ig-page-body .nav-cta .btn-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.ig-page-body .nav-cta .btn-whatsapp:hover {
  background: #1DA851 !important;
  transform: translateY(-2px);
}

.ig-page-body .wa-float {
  background: #25D366 !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4) !important;
}

.ig-page-body .wa-float:hover {
  background: #1DA851 !important;
}

/* ============================================================
   Uniform Vertical Spacing (Identical Top & Bottom Across All Sections)
   ============================================================ */
.ig-page .section,
.ig-page-body .section,
.ig-page-body section.section {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

@media (max-width: 992px) {
  .ig-page .section,
  .ig-page-body .section,
  .ig-page-body section.section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
}

@media (max-width: 640px) {
  .ig-page .section,
  .ig-page-body .section,
  .ig-page-body section.section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}

/* ============================================================
   Modern Form Dropdown Design (Monthly Instagram Comment Volume)
   ============================================================ */
.ig-page-body .field select,
.ig-page .field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-family: var(--body);
  font-size: 15px;
  background-color: var(--paper);
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A463F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ig-page-body .field select:focus,
.ig-page .field select:focus,
.ig-page-body .custom-select-wrapper.open .custom-select-trigger,
.ig-page .custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--ig-pink, #E1306C) !important;
  box-shadow: 0 0 0 3.5px rgba(225, 48, 108, 0.12) !important;
}

.ig-page-body .custom-select-trigger,
.ig-page .custom-select-trigger {
  border-radius: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  font-size: 15px;
  background-color: var(--paper);
  color: var(--ink);
  transition: all 0.2s ease;
}

.ig-page-body .custom-options,
.ig-page .custom-options {
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background-color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.ig-page-body .custom-option,
.ig-page .custom-option {
  padding: 11px 16px;
  font-size: 14.5px;
  transition: background 0.15s ease, color 0.15s ease;
}

.ig-page-body .custom-option:hover,
.ig-page .custom-option:hover,
.ig-page-body .custom-option.selected,
.ig-page .custom-option.selected {
  background: #FFF1F5 !important;
  color: #E1306C !important;
  font-weight: 600;
}

/* ============================================================
   Common Classes (Replaced Inline Styles)
   ============================================================ */
.ig-eyebrow-center {
  justify-content: center;
  width: 100%;
}

.ig-bubble-crm {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.ig-crm-label {
  color: #166534;
}

.tag-crm {
  background: #dcfce7;
  color: #15803d;
}

.ig-crm-meta {
  font-size: 12px;
  color: #14532d;
  font-weight: 500;
}

.ig-api-badge {
  font-size: 11px;
  color: #94a3b8;
  font-family: var(--mono);
}

.ig-insights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  gap: 16px;
}

.ig-insights-subtitle {
  font-family: var(--mono);
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.ig-insights-title {
  margin: 4px 0 0;
  font-size: 18px;
  color: var(--ink);
}

.hp-field {
  display: none !important;
}

.field-hint {
  color: var(--ink-soft);
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.demo-form-error {
  display: none;
  color: #e53e3e;
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 500;
}

.form-privacy-link {
  color: inherit;
  text-decoration: underline;
}
