/*
Theme Name: IREXBOOK Futuristic
Theme URI: https://irexbook.com/
Author: IREXBOOK
Description: Responsive product showcase with dedicated IRX product pages and custom icons.
Version: 1.3.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: irexbook
*/
:root{--navy:#06152b;--navy2:#102b4d;--red:#e21d2b;--blue:#164a9a;--ink:#172033;--muted:#68758a;--paper:#f4f7fc;--white:#fff;--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.85;overflow-x:hidden}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1320px,92%);margin-inline:auto}
.site-header{position:relative;z-index:10;background:#061226;color:#fff;border-bottom:2px solid var(--red)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:900;white-space:nowrap}.brand b{color:#ff3444}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#173d6d,#09172d);border:1px solid #55749c;color:#fff;font-size:21px}
.main-nav ul{display:flex;align-items:center;gap:clamp(12px,2vw,26px);list-style:none;margin:0;padding:0;flex-wrap:wrap}.main-nav a{color:#eaf0fb;font-size:14px}.main-nav a:hover{color:#ff5963}
.hero{width:100%;background:#06152c;overflow:hidden}.hero-art{display:block;width:100%;height:auto;object-fit:contain;object-position:center}.hero-intro{background:radial-gradient(circle at 75% 0%,#173e6c 0,transparent 38%),linear-gradient(120deg,#061226,#102b4d);color:#fff;padding:42px 0 48px;text-align:center;border-top:1px solid #28476e}.hero-intro-inner{max-width:900px;margin:auto}.eyebrow{color:#ff6570;font-weight:bold}.hero-intro h1{font-size:clamp(25px,3.5vw,42px);line-height:1.45;margin:8px 0 10px}.hero-intro p{color:#dce6f4;font-size:clamp(14px,1.3vw,17px);margin:0 auto;max-width:780px}.hero-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:22px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 22px;border-radius:999px;background:var(--red);color:#fff;font-weight:bold;box-shadow:0 8px 22px #d7192b40}.btn.secondary{background:transparent;border:1px solid #c7d8f0;box-shadow:none}
.section{padding:clamp(42px,5vw,76px) 0}.section-head{text-align:center;margin:0 auto 30px;max-width:760px}.section-head h2{font-size:clamp(23px,2.6vw,34px);margin:0 0 8px;color:var(--navy)}.section-head p{color:var(--muted);margin:0}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.product-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:260px;background:linear-gradient(145deg,#fff,#fbfcff);border:1px solid #e2eaf5;border-radius:var(--radius);padding:clamp(22px,2.4vw,32px);box-shadow:0 10px 34px #102b4d0b;transition:transform .22s,box-shadow .22s,border-color .22s;overflow:hidden}.product-card:before{content:"";position:absolute;inset-inline-start:0;top:0;width:4px;height:100%;background:var(--accent,#164a9a);opacity:.8}.product-card:hover{transform:translateY(-6px);box-shadow:0 20px 46px #102b4d1b;border-color:#cbd9ec}.product-icon{width:66px;height:66px;border-radius:20px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent,#164a9a) 10%,white);color:var(--accent,#164a9a);margin-bottom:18px}.product-icon svg{width:37px;height:37px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.product-card h3{margin:0 0 7px;color:var(--navy);font-size:19px;overflow-wrap:anywhere}.product-card p{color:var(--muted);margin:0 0 18px;flex:1}.product-link{display:inline-flex;align-items:center;gap:8px;color:var(--accent,#164a9a);font-weight:bold}.product-link span{transition:transform .2s}.product-card:hover .product-link span{transform:translateX(-4px)}
.feature-band{background:linear-gradient(130deg,#e8f0fa,#f4f7fc)}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.feature{background:#fff;border:1px solid #e5ebf4;border-radius:18px;padding:24px;min-width:0}.feature h3{margin:0 0 8px;color:var(--navy)}.feature p{margin:0;color:var(--muted)}
.site-footer{background:#061226;color:#c9d4e5;padding:34px 0;border-top:3px solid var(--red)}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.footer-brand{color:#fff;font-size:23px;font-weight:bold}.footer-brand b{color:var(--red)}
.page-content{background:#fff;border:1px solid #e6ebf2;border-radius:18px;padding:clamp(20px,4vw,42px);margin:34px auto;min-height:280px;max-width:1100px}
.product-hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(circle at 80% 10%,color-mix(in srgb,var(--accent,#164a9a) 55%,#102b4d),transparent 42%),linear-gradient(120deg,#061226,#102b4d);padding:clamp(42px,7vw,88px) 0}.product-hero-inner{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:32px}.product-hero-icon{width:112px;height:112px;border:1px solid #ffffff55;border-radius:30px;background:#ffffff12;display:grid;place-items:center;color:#fff}.product-hero-icon svg{width:64px;height:64px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.product-hero h1{font-size:clamp(28px,4vw,46px);line-height:1.35;margin:0 0 12px}.product-hero p{font-size:clamp(15px,1.4vw,18px);color:#dbe7f6;margin:0;max-width:850px}.product-body{padding:48px 0 70px}.product-body-inner{max-width:980px}.product-body h2{color:var(--navy);font-size:26px;margin:28px 0 10px}.product-body p,.product-body li{font-size:16px;color:#536176}.product-cta{margin-top:30px;padding:25px;border-radius:18px;background:#edf3fb;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.product-cta strong{color:var(--navy);font-size:19px}
@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner{min-height:68px}.main-nav ul{gap:10px 16px}}
@media(max-width:600px){.container{width:92%}.header-inner{min-height:0;padding:13px 0;align-items:flex-start;flex-direction:column;gap:9px}.brand{font-size:22px}.brand-mark{width:32px;height:32px}.main-nav{width:100%;overflow-x:auto}.main-nav ul{flex-wrap:nowrap;gap:15px;width:max-content}.main-nav a{font-size:12px;white-space:nowrap}.hero-art{width:100%;height:auto;object-fit:contain}.hero-intro{padding:30px 0 34px}.hero-intro h1{font-size:26px}.hero-intro p{font-size:14px}.product-grid,.feature-grid{grid-template-columns:1fr;gap:14px}.product-card{padding:22px;min-height:0}.section{padding:38px 0}.section-head{margin-bottom:22px}.footer-inner{align-items:flex-start;flex-direction:column}.page-content{margin:20px auto}.product-hero{padding:38px 0}.product-hero-inner{grid-template-columns:1fr;gap:18px;text-align:center}.product-hero-icon{margin:auto;width:88px;height:88px;border-radius:24px}.product-hero-icon svg{width:50px;height:50px}.product-body{padding:30px 0 46px}.product-body h2{font-size:22px}.product-cta{justify-content:center;text-align:center}}

/* IRX AUTO AI product showcase */
.product-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.product-hero-actions .btn.secondary{color:#fff}
.auto-intro-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:34px;align-items:center}
.section-kicker{color:#1479d1;font-weight:800}
.auto-intro h2,.auto-note-box h2{font-size:clamp(25px,3vw,36px);line-height:1.5;color:var(--navy);margin:8px 0 14px}
.auto-intro p{font-size:17px;color:#536176;line-height:2}
.auto-stat-panel{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.auto-stat{background:#fff;border:1px solid #e1eaf5;border-radius:18px;padding:20px 12px;text-align:center;box-shadow:0 12px 30px #102b4d0b}
.auto-stat strong{display:block;color:#1479d1;font-size:25px}.auto-stat span{font-size:12px;color:var(--muted)}
.auto-groups{background:#fff}
.auto-group-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.auto-group-card{border:1px solid #e2eaf5;border-radius:20px;padding:26px;background:linear-gradient(145deg,#fff,#f8fbff)}
.auto-group-icon{font-size:32px}.auto-group-card h3{color:var(--navy);margin:12px 0 5px}.auto-group-card p{color:var(--muted);margin:0}
.auto-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.auto-feature{background:#fff;border:1px solid #e1e9f4;border-radius:18px;padding:24px;min-width:0}
.auto-feature>span{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#eaf3ff;color:#1479d1;font-weight:900}
.auto-feature h3{margin:14px 0 6px;color:var(--navy)}.auto-feature p{margin:0;color:var(--muted)}
.auto-flow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.auto-flow-grid>div{padding:24px;border-radius:18px;background:#fff;border:1px solid #e1e9f4}
.auto-flow-grid b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#102b4d;color:#fff;font-size:20px}
.auto-flow-grid h3{margin:12px 0 4px;color:var(--navy)}.auto-flow-grid p{margin:0;color:var(--muted)}
.auto-note{padding-top:10px}.auto-note-box{padding:clamp(24px,4vw,42px);border-radius:24px;background:linear-gradient(120deg,#07162d,#153d68);color:#fff}
.auto-note-box h2{color:#fff}.auto-note-box p{max-width:900px;color:#d9e5f5;margin:0}
.product-back{padding:0 0 45px}
@media(max-width:850px){.auto-intro-grid{grid-template-columns:1fr}.auto-group-grid,.auto-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.auto-stat-panel{grid-template-columns:1fr}.auto-group-grid,.auto-feature-grid,.auto-flow-grid{grid-template-columns:1fr}.auto-intro p{font-size:15px}.product-hero-actions{justify-content:center}}


/* IREXBOOK 1.3.0 interactive showcase */
.demo-promo{background:linear-gradient(115deg,#07162b,#12365d);color:#fff;padding:48px 0;border-block:1px solid #24486c}
.demo-promo-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.demo-promo h2{font-size:clamp(23px,3vw,34px);margin:6px 0}.demo-promo p{color:#d2deee;max-width:760px;margin:0}
.product-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.generic-product-content{max-width:980px}.demo-cta{margin-top:36px;padding:28px;border-radius:22px;background:#eaf1fa;display:flex;justify-content:space-between;align-items:center;gap:20px}.demo-cta h2{margin:0 0 6px}.demo-cta p{margin:0;color:#64748b}
.demo-shell{max-width:1320px;width:92%;margin:38px auto 70px;color:#eaf1fb}.demo-top{display:flex;justify-content:space-between;align-items:center;background:#0b1c34;border:1px solid #294565;padding:13px 18px;border-radius:15px;font-size:13px}.demo-top a{color:#9fc7f6}.demo-top small{color:#9aacc4;margin-right:12px}.demo-live-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#35d39a;margin-left:8px;box-shadow:0 0 0 4px #35d39a22}
.demo-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:35px 4px 24px}.demo-heading h1{font-size:clamp(28px,4vw,42px);margin:5px 0}.demo-heading p{margin:0;color:#9db0c9}.demo-chip,.demo-status{font-size:11px;color:#8fe4c3;border:1px solid #276b5a;background:#123d39;padding:7px 12px;border-radius:999px;white-space:nowrap}
.demo-switch{display:flex;gap:8px;overflow:auto;padding:5px 1px 18px}.demo-switch a{white-space:nowrap;border:1px solid #29415e;background:#10243d;color:#b9c9dd;padding:9px 14px;border-radius:999px;font-size:12px}.demo-switch a.active{background:#174c79;border-color:#3d94d2;color:white}
.demo-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:8px 0 18px}.demo-kpi,.demo-panel{background:linear-gradient(145deg,#10243d,#0b1b30);border:1px solid #263f5c;border-radius:19px;padding:20px}.demo-kpi span,.demo-kpi small{display:block;color:#91a6c1;font-size:12px}.demo-kpi strong{display:block;font-size:30px;color:#fff;margin:6px 0;font-weight:800}.demo-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:16px}.demo-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #263c57;padding-bottom:14px;margin-bottom:12px}.demo-panel-head h2{font-size:17px;margin:0;color:#fff}.demo-panel-head>span{font-size:11px;color:#90a5bf}
.demo-modules{display:grid;gap:8px}.demo-module{font:inherit;text-align:right;display:flex;align-items:center;gap:12px;width:100%;border:1px solid #263e5b;border-radius:12px;background:#0c1c31;color:#dbe7f5;padding:13px;cursor:pointer}.demo-module>span{color:#69b9ee;font-size:11px}.demo-module b{margin-right:auto;color:#6ca9d8}.demo-module.selected{border-color:#3288c3;background:#123457}
.demo-detail p{color:#aebed2;min-height:48px}.demo-visual{height:155px;border-bottom:1px solid #30445f;display:flex;align-items:end;gap:15px;padding:10px 16px 0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 37px,#243850 38px)}.demo-visual-bars{height:100%;display:flex;align-items:end;justify-content:space-around;gap:12px;width:100%}.demo-visual-bars i{display:block;width:8%;border-radius:7px 7px 0 0;background:linear-gradient(#47b8ef,#2563a6);min-height:12px}.demo-visual-labels{display:flex;justify-content:space-around;color:#8499b4;font-size:10px;padding-top:8px}.demo-callout{display:flex;gap:12px;align-items:center;background:#102e3b;border:1px solid #24546a;border-radius:12px;padding:12px;margin-top:18px;font-size:12px;color:#b7d5e2}.demo-callout b{color:#7de0bf;white-space:nowrap}.demo-footnote{margin-top:16px;color:#8196b0;font-size:11px;line-height:2;text-align:center}
@media(max-width:760px){.demo-promo-inner,.demo-cta{align-items:flex-start;flex-direction:column}.demo-heading{align-items:flex-start;flex-direction:column}.demo-kpis{grid-template-columns:1fr}.demo-grid{grid-template-columns:1fr}.demo-top{align-items:flex-start;gap:10px;flex-direction:column}.demo-kpi{padding:15px}}

/* IRX ecosystem visual backlink gallery */
.network-eyebrow{display:inline-block;color:#087eaa;font-size:12px;font-weight:900;letter-spacing:2px;margin-bottom:8px}
.irx-network{padding-top:46px;padding-bottom:84px;background:linear-gradient(180deg,#f5f8fc 0%,#eaf1f8 100%)}
.network-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}
.network-card{position:relative;display:block;overflow:hidden;border-radius:22px;background:#08182d;box-shadow:0 16px 38px rgba(9,28,52,.14);transition:transform .28s ease,box-shadow .28s ease;isolation:isolate}
.network-card img{display:block;width:100%;aspect-ratio:1.8/1;object-fit:cover;transition:transform .55s ease}
.network-card:hover,.network-card:focus-visible{transform:translateY(-7px);box-shadow:0 24px 48px rgba(9,28,52,.24);outline:3px solid rgba(20,144,190,.35);outline-offset:3px}
.network-card:hover img,.network-card:focus-visible img{transform:scale(1.045)}
.network-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 17px;color:#fff;background:linear-gradient(110deg,#081a32,#123b5b)}
.network-caption b{font-size:15px}.network-caption small{font-size:11px;color:#bdd4e7;text-align:left}
@media(max-width:900px){.network-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.network-grid{grid-template-columns:1fr;gap:16px}.network-card img{aspect-ratio:1.8/1}.network-caption{padding:13px 15px}}
