/*
 * Industry Landing Page Styles
 * Scoped under .industry-page to avoid conflicts with global styles.
 * Loaded via asset('css/industry.css') on landing pages.
 */

.industry-page {

    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F5F5F5;
    --gray-100: #EEEEEE;
    --gray-200: #E0E0E0;
    --gray-300: #BDBDBD;
    --gray-600: #757575;
    --gray-800: #424242;
    --navy: #0B1D35;
    --navy-light: #1B3054;
    --blue: #1A76BC;
    --blue-light: #E8F2FB;
    --blue-pale: #F2F8FD;
    --red: #D42B2B;
    --red-soft: #FEF0F0;
    --green: #1B7A4B;
    --green-light: #EEFBF3;
    --text: #1A1A1A;
    --text-mid: #555555;
    --text-light: #888888;
    --border: #E5E5E5;
    --border-light: #F0F0F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-cta: 0 4px 14px rgba(212,43,43,0.25);
    --radius: 12px;
    --radius-lg: 16px;
  }

  .industry-page *, .industry-page *::before, .industry-page *::after { margin: 0; padding: 0; box-sizing: border-box; }
  .industry-page { font-family: 'DM Sans', sans-serif; font-size: 18px; background: var(--white); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; width: 100%; max-width: 100%; }
  .industry-page h1, .industry-page h2, .industry-page h3, .industry-page h4 { font-family: 'Instrument Serif', serif; font-weight: 400; line-height: 1.15; }
  .industry-page img { max-width: 100%; height: auto; display: block; }
  .industry-page a { text-decoration: none; }

  /* ===== BUTTONS ===== */
  .industry-page .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 36px; border-radius: 10px; border: none; cursor: pointer;
    font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 18px;
    background: var(--red); color: #fff;
    box-shadow: var(--shadow-cta); transition: all 0.25s;
  }
  .industry-page .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,43,43,0.3); background: #c02525; }
  .industry-page .btn-primary svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }

  .industry-page .btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 36px; border-radius: 10px;
    font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 18px;
    color: var(--navy); border: 1.5px solid var(--border); transition: all 0.25s;
  }
  .industry-page .btn-outline:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

  /* ===== HERO — CLEAN, NO BANNER ===== */
  .industry-page .hero {
    max-width: 1536px; margin: 0 auto;
    padding: 130px 32px 72px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  }
  .industry-page .hero-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 15px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--blue); margin-bottom: 16px;
  }
  .industry-page .hero-label span {
    width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  }
  .industry-page .hero h1 {
    font-size: clamp(38px, 4.5vw, 56px); color: var(--navy);
    letter-spacing: -0.5px; margin-bottom: 20px;
  }
  .industry-page .hero h1 em { font-style: italic; color: var(--red); }
  .industry-page .hero-desc {
    font-size: 20px; color: var(--text-mid); line-height: 1.7;
    margin-bottom: 32px; max-width: 560px;
  }
  .industry-page .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

  .industry-page .hero-img-wrap {
    position: relative;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 40px; text-align: center;
    box-shadow: var(--shadow-md);
  }
  .industry-page .hero-img-wrap img { max-width: 400px; width: 100%; margin: 0 auto; }
  .industry-page .hero-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--navy); color: #fff;
    padding: 8px 16px; border-radius: 100px;
    font-size: 14px; font-weight: 700; letter-spacing: 0.3px;
  }
  .industry-page .hero-stat {
    position: absolute; bottom: -14px; left: 24px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 10px; padding: 12px 18px;
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
  }
  .industry-page .hero-stat-icon {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--green-light); display: flex; align-items: center; justify-content: center;
  }
  .industry-page .hero-stat-icon svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; }
  .industry-page .hero-stat-icon::before { content: "↯"; font-size: 20px; color: var(--green); }
  .industry-page .hero-stat-text { font-size: 16px; color: var(--text-light); }
  .industry-page .hero-stat-text strong { display: block; font-size: 18px; color: var(--navy); }

  /* ===== DARK STATS BAND ===== */
  .industry-page .stats-band { background: var(--navy); padding: 56px 32px; }
  .industry-page .stats-inner { max-width: 1536px; margin: 0 auto; }
  .industry-page .stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: rgba(255,255,255,0.06); border-radius: var(--radius-lg); overflow: hidden;
  }
  .industry-page .stat-card { background: var(--navy); padding: 36px 24px; text-align: center; }
  .industry-page .stat-num {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(36px, 4vw, 52px); line-height: 1; margin-bottom: 8px;
  }
  .industry-page .stat-num.red { color: var(--red); }
  .industry-page .stat-num.white { color: #fff; }
  .industry-page .stat-num.blue { color: var(--blue); }
  .industry-page .stat-cap { font-size: 16px; color: rgba(255,255,255,0.5); line-height: 1.5; }

  /* ===== SECTION SHARED ===== */
  .industry-page .section { padding: 80px 32px; max-width: 1536px; margin: 0 auto; }
  .industry-page .section-label {
    font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--blue); margin-bottom: 10px;
  }
  .industry-page .section-title { font-size: clamp(32px, 4vw, 48px); color: var(--navy); margin-bottom: 16px; letter-spacing: -0.3px; }
  .industry-page .section-desc { font-size: 19px; color: var(--text-light); max-width: 620px; line-height: 1.7; }
  .industry-page .divider { height: 1px; background: var(--border-light); max-width: 1536px; margin: 0 auto; }

  /* ===== WHY / REASONS CARDS ===== */
  .industry-page .reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
  .industry-page .reason-card {
    background: var(--off-white); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 32px; transition: all 0.3s;
  }
  .industry-page .reason-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .industry-page .reason-icon {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  }
  .industry-page .reason-icon svg { width: 22px; height: 22px; stroke-width: 1.5; fill: none; }

  /* CSS-only icons (CMS strips SVGs) */
  .industry-page .reason-card:nth-child(1) .reason-icon { background: var(--red-soft); }
  .industry-page .reason-card:nth-child(1) .reason-icon::before { content: "⚖"; font-size: 22px; color: var(--red); }
  .industry-page .reason-card:nth-child(2) .reason-icon { background: var(--blue-light); }
  .industry-page .reason-card:nth-child(2) .reason-icon::before { content: "✦"; font-size: 22px; color: var(--blue); }
  .industry-page .reason-card:nth-child(3) .reason-icon { background: rgba(11,29,53,0.06); }
  .industry-page .reason-card:nth-child(3) .reason-icon::before { content: "☝"; font-size: 22px; color: var(--navy); }
  .industry-page .reason-card h3 { font-size: 26px; margin-bottom: 10px; color: var(--navy); }
  .industry-page .reason-card p { font-size: 17px; color: var(--text-light); line-height: 1.7; }

  /* ===== PRODUCT DETAIL — SPLIT ===== */
  .industry-page .product-split {
    max-width: 1536px; margin: 0 auto; padding: 80px 32px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  }
  .industry-page .product-img-area {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 48px; text-align: center;
    box-shadow: var(--shadow-md);
  }
  .industry-page .product-img-area img { max-width: 400px; width: 100%; margin: 0 auto; }

  .industry-page .feature-list { list-style: none; margin: 28px 0 0; }
  .industry-page .feature-list li {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 0; border-bottom: 1px solid var(--border-light);
    font-size: 18px; color: var(--text-mid); line-height: 1.6;
  }
  .industry-page .feature-list li:last-child { border-bottom: none; }
  .industry-page .feature-list li strong { color: var(--text); font-weight: 600; }
  .industry-page .chk {
    width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
  }
  .industry-page .chk svg { width: 14px; height: 14px; fill: none; stroke-width: 2.5; }
  .industry-page .chk.blue { background: var(--blue-light); } .industry-page .chk.blue svg { stroke: var(--blue); }
  .industry-page .chk.green { background: var(--green-light); } .industry-page .chk.green svg { stroke: var(--green); }

  /* CSS-only checkmarks (CMS strips SVGs) */
  .industry-page .chk::before { content: "✓"; font-size: 14px; font-weight: 700; }
  .industry-page .chk.blue::before { color: var(--blue); }
  .industry-page .chk.green::before { color: var(--green); }

  /* ===== DEMOGRAPHICS ===== */
  .industry-page .demo-band { background: var(--off-white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
  .industry-page .demo-inner { max-width: 1536px; margin: 0 auto; padding: 72px 32px; }
  .industry-page .demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
  .industry-page .demo-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden; text-align: center; transition: all 0.3s;
  }
  .industry-page .demo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .industry-page .demo-card img { width: 100%; height: 240px; object-fit: cover; }
  .industry-page .demo-card-body { padding: 20px 24px; }
  .industry-page .demo-card h4 { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
  .industry-page .demo-card p { font-size: 16px; color: var(--text-light); }

  /* ===== VIDEO ===== */
  .industry-page .video-split {
    max-width: 1536px; margin: 0 auto; padding: 80px 32px;
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
  }
  .industry-page .video-wrap {
    position: relative; width: 100%; padding-bottom: 56.25%; height: 0;
    border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  }
  .industry-page .video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
  .industry-page .video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

  /* ===== FEATURE GRID ===== */
  .industry-page .feat-band { background: var(--off-white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
  .industry-page .feat-inner { max-width: 1536px; margin: 0 auto; padding: 72px 32px; }
  .industry-page .feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
  .industry-page .feat-card {
    background: #fff; border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 28px; transition: all 0.3s;
  }
  .industry-page .feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .industry-page .feat-card-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  }
  .industry-page .feat-card-icon svg { width: 20px; height: 20px; fill: none; stroke-width: 1.5; }

  /* CSS-only feature icons (CMS strips SVGs) */
  .industry-page .feat-card:nth-child(1) .feat-card-icon { background: var(--blue-light); }
  .industry-page .feat-card:nth-child(1) .feat-card-icon::before { content: "▣"; font-size: 20px; color: var(--blue); }
  .industry-page .feat-card:nth-child(2) .feat-card-icon { background: var(--red-soft); }
  .industry-page .feat-card:nth-child(2) .feat-card-icon::before { content: "♥"; font-size: 20px; color: var(--red); }
  .industry-page .feat-card:nth-child(3) .feat-card-icon { background: var(--green-light); }
  .industry-page .feat-card:nth-child(3) .feat-card-icon::before { content: "↯"; font-size: 20px; color: var(--green); }
  .industry-page .feat-card:nth-child(4) .feat-card-icon { background: var(--blue-light); }
  .industry-page .feat-card:nth-child(4) .feat-card-icon::before { content: "◉"; font-size: 20px; color: var(--blue); }
  .industry-page .feat-card:nth-child(5) .feat-card-icon { background: var(--green-light); }
  .industry-page .feat-card:nth-child(5) .feat-card-icon::before { content: "◈"; font-size: 20px; color: var(--green); }
  .industry-page .feat-card:nth-child(6) .feat-card-icon { background: rgba(11,29,53,0.06); }
  .industry-page .feat-card:nth-child(6) .feat-card-icon::before { content: "⬡"; font-size: 20px; color: var(--navy); }
  .industry-page .feat-card h4 { font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
  .industry-page .feat-card p { font-size: 16px; color: var(--text-light); line-height: 1.7; }

  /* ===== PLACEMENT ===== */
  .industry-page .place-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
  .industry-page .place-card {
    background: var(--off-white); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 24px; text-align: center; transition: all 0.3s;
  }
  .industry-page .place-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .industry-page .place-card .emoji { font-size: 32px; margin-bottom: 10px; }
  .industry-page .place-card h4 { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
  .industry-page .place-card p { font-size: 15px; color: var(--text-light); }

  /* ===== FAQ ===== */
  .industry-page .faq-list { max-width: 900px; margin: 40px auto 0; }
  .industry-page .faq-item { border-bottom: 1px solid var(--border-light); }
  .industry-page .faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0; text-align: left;
    font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 600;
    color: var(--navy); transition: color 0.2s;
  }
  .industry-page .faq-q:hover { color: var(--blue); }
  .industry-page .faq-icon {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--border); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--text-light); font-weight: 300; transition: all 0.3s;
  }
  .industry-page .faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
  .industry-page .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1); }
  .industry-page .faq-a-inner { padding: 0 0 22px; font-size: 17px; color: var(--text-light); line-height: 1.75; }
  .industry-page .faq-a-inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

  /* ===== DARK CTA ===== */
  .industry-page .cta-band {
    background: var(--navy); padding: 80px 32px; text-align: center;
    position: relative; overflow: hidden;
  }
  .industry-page .cta-band::before {
    content: ''; position: absolute; top: -40%; right: -12%; width: 400px; height: 400px;
    border-radius: 50%; background: radial-gradient(circle, rgba(26,118,188,0.07), transparent 70%);
  }
  .industry-page .cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
  .industry-page .cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; letter-spacing: -0.3px; }
  .industry-page .cta-band p { color: rgba(255,255,255,0.55); font-size: 19px; line-height: 1.7; margin-bottom: 32px; }
  .industry-page .cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .industry-page .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 36px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,0.15);
    font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 18px;
    color: rgba(255,255,255,0.7); transition: all 0.25s;
  }
  .industry-page .btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
  .industry-page .cta-foot { margin-top: 24px; font-size: 16px; color: rgba(255,255,255,0.35); }

  /* ===== REVEAL ANIMATIONS ===== */
  .industry-page .reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
  }
  .industry-page .reveal.visible { opacity: 1; transform: translateY(0); }
  .industry-page .rd1 { transition-delay: .06s; }
  .industry-page .rd2 { transition-delay: .12s; }
  .industry-page .rd3 { transition-delay: .18s; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .industry-page .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 110px; }
    .industry-page .product-split, .industry-page .video-split { grid-template-columns: 1fr; gap: 36px; }
    .industry-page .reasons-grid, .industry-page .feat-grid { grid-template-columns: 1fr; max-width: 520px; }
    .industry-page .demo-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .industry-page .place-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-page .stats-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 768px) {
    .industry-page .section, .industry-page .product-split, .industry-page .video-split { padding: 56px 20px; }
    .industry-page .demo-inner, .industry-page .feat-inner { padding: 56px 20px; }
    .industry-page .stats-band { padding: 40px 20px; }
    .industry-page .cta-band { padding: 56px 20px; }
    .industry-page .hero-stat { position: relative; bottom: auto; left: auto; margin-top: 12px; display: inline-flex; }
  }
  @media (max-width: 480px) {
    .industry-page .stats-grid, .industry-page .place-grid { grid-template-columns: 1fr; }
    .industry-page .hero-ctas { flex-direction: column; }
    .industry-page .cta-btns { flex-direction: column; align-items: center; }
  }
