/*
Theme Name: TenderIQ IT
Theme URI: https://www.maslworld.com/
Author: Millennium Automation Pvt. Ltd.
Description: Colourful IT / technology theme for the TenderIQ Analytics tender tool - neon gradient hero with circuit grid, feature cards, how-it-works steps and the tender analyser on the home page. Four colour schemes and all texts editable in Appearance > Customize.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tenderiq-it
Tags: one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
	--c1: #06b6d4; --c2: #4f46e5; --c3: #c026d3; --c4: #f59e0b;
	--night: #050a24; --night-2: #0d1446; --ink: #0b1430; --ink-2: #3b4766; --muted: #6b7794;
	--line: #e3e8f4; --soft: #f4f7fd;
	--grad: linear-gradient(120deg, var(--c1), var(--c2) 50%, var(--c3));
	--radius: 18px; --wrap: 1240px;
}
body.scheme-emerald { --c1: #10b981; --c2: #0d9488; --c3: #0ea5e9; --c4: #a3e635; --night: #021a17; --night-2: #063a35; }
body.scheme-sunset  { --c1: #f97316; --c2: #e11d48; --c3: #7c3aed; --c4: #facc15; --night: #1a0718; --night-2: #3b0a3a; }
body.scheme-royal   { --c1: #3b82f6; --c2: #6d28d9; --c3: #a21caf; --c4: #fbbf24; --night: #070b2e; --night-2: #1d1460; }
body.scheme-emerald .tiq-app, body.scheme-sunset .tiq-app, body.scheme-royal .tiq-app { --tiq-cyan: var(--c1); --tiq-indigo: var(--c2); --tiq-grad: var(--grad); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--c2); }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--c1); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, background-position .3s; border: 1px solid transparent; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-glow { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: 0 14px 30px -12px var(--c2); }
.btn-glow:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 36px -12px var(--c3); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-outline:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.12); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: 0 8px 22px -8px var(--c3); }
.brand-mark .icon { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.1rem; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; color: #a9b3d6; }
.custom-logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav li { position: relative; }
.site-nav a:not(.btn) { display: block; padding: 8px 12px; border-radius: 10px; color: #d6dcf5; text-decoration: none; font-weight: 600; font-size: .94rem; }
.site-nav a:not(.btn):hover, .site-nav .current-menu-item > a { color: #fff; background: rgba(255,255,255,.08); }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; flex-direction: column; background: var(--night-2); padding: 8px; border-radius: 12px; box-shadow: 0 20px 40px -20px #000; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 80% -10%, var(--night-2), var(--night) 60%); padding: 92px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%2367e8f9' stroke-opacity='.35' stroke-width='1.2'%3E%3Cpath d='M0 40h40l20 20h40l20-20h40M40 160v-40l20-20v-40M120 0v30l-20 20M100 160v-30l30-30h30'/%3E%3Ccircle cx='40' cy='40' r='3' fill='%2367e8f9' fill-opacity='.6'/%3E%3Ccircle cx='100' cy='60' r='3' fill='%23e879f9' fill-opacity='.6'/%3E%3Ccircle cx='60' cy='100' r='3' fill='%23818cf8' fill-opacity='.6'/%3E%3Ccircle cx='130' cy='100' r='3' fill='%2367e8f9' fill-opacity='.6'/%3E%3C/svg%3E");
	background-size: 40px 40px, 40px 40px, 160px 160px;
	mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite; }
.b1 { width: 420px; height: 420px; background: var(--c1); top: -120px; left: -80px; }
.b2 { width: 380px; height: 380px; background: var(--c3); bottom: -160px; right: 8%; animation-delay: -4s; }
.b3 { width: 300px; height: 300px; background: var(--c2); top: 30%; left: 45%; animation-delay: -8s; opacity: .4; }
@keyframes float { 50% { transform: translate(30px, -24px) scale(1.06); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .02em; color: #e0f7ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.eyebrow.dark { color: var(--c2); background: color-mix(in srgb, var(--c2) 10%, #fff); border-color: color-mix(in srgb, var(--c2) 25%, #fff); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 0 var(--c1); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; background: linear-gradient(120deg, #fff 30%, #c7d2fe 60%, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: #c3cbe8; max-width: 600px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-ticks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #d6dcf5; font-size: .92rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero-ticks .icon { color: var(--c1); }

.console { position: relative; border-radius: 20px; background: rgba(10, 16, 52, .72); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px #000, inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(10px); overflow: hidden; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); }
.console::after { content: ""; position: absolute; inset: -1px; border-radius: 20px; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.console-top span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.console-top span:nth-child(2) { background: #febc2e; } .console-top span:nth-child(3) { background: #28c840; }
.console-top em { margin-left: auto; font-style: normal; font-size: .75rem; color: #9aa6d0; }
.console-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; }
.kpi { padding: 14px; border-radius: 14px; background: var(--grad); background-size: 300% 100%; }
.kpi:nth-child(2) { background-position: 50% 0; } .kpi:nth-child(3) { background-position: 100% 0; }
.kpi strong { display: block; font-size: 1.5rem; line-height: 1.1; } .kpi small { font-size: .74rem; opacity: .9; }
.rows { grid-column: 1 / -1; display: grid; gap: 10px; margin-top: 6px; }
.row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; font-size: .78rem; color: #cfd6f3; }
.row i { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.row i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 99px; background: var(--grad); }
.row b { font-size: .7rem; padding: 3px 9px; border-radius: 99px; }
.row b.ok { background: rgba(16,185,129,.18); color: #6ee7b7; } .row b.warn { background: rgba(245,158,11,.18); color: #fcd34d; }

/* Sector chips */
.sectors { position: relative; margin-top: 64px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #e5e9fb; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.chip:nth-child(3n+1) { border-color: color-mix(in srgb, var(--c1) 60%, transparent); }
.chip:nth-child(3n+2) { border-color: color-mix(in srgb, var(--c2) 70%, transparent); }
.chip:nth-child(3n) { border-color: color-mix(in srgb, var(--c3) 60%, transparent); }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.section-head p:not(.eyebrow) { color: var(--ink-2); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(15, 23, 80, .5); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; opacity: .07; background: var(--g); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(15, 23, 80, .6); }
.card h3 { position: relative; font-size: 1.15rem; margin: 18px 0 8px; }
.card p { position: relative; color: var(--ink-2); margin: 0; font-size: .95rem; }
.tile { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: #fff; background: var(--g); box-shadow: 0 12px 24px -12px var(--gc); }
.tile .icon { width: 26px; height: 26px; }
.c1 { --g: linear-gradient(135deg, #06b6d4, #3b82f6); --gc: #06b6d4; }
.c2 { --g: linear-gradient(135deg, #10b981, #059669); --gc: #10b981; }
.c3 { --g: linear-gradient(135deg, #8b5cf6, #d946ef); --gc: #a855f7; }
.c4 { --g: linear-gradient(135deg, #f59e0b, #ef4444); --gc: #f59e0b; }

.steps-section { color: #fff; background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%); position: relative; overflow: hidden; }
.steps-section .section-head p:not(.eyebrow) { color: #c3cbe8; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.steps .num { display: inline-block; font-size: 1.9rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { margin: 8px 0 6px; font-size: 1.15rem; } .steps p { margin: 0; color: #c3cbe8; }

.app-section { background:
	radial-gradient(800px 300px at 0% 0%, color-mix(in srgb, var(--c1) 12%, transparent), transparent),
	radial-gradient(800px 300px at 100% 100%, color-mix(in srgb, var(--c3) 10%, transparent), transparent), var(--soft); }
.app-section .eyebrow .icon { width: 1em; height: 1em; }
.notice-box { padding: 24px; border-radius: 14px; background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; text-align: center; }

/* Inner pages */
.page-hero { color: #fff; padding: 64px 0 56px; background: radial-gradient(900px 300px at 80% 0%, var(--night-2), var(--night)); }
.page-hero h1 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.02em; }
.page-hero p { color: #c3cbe8; }
.content-area { padding: 56px 24px 80px; }
.content-area:not(.is-app) .entry { max-width: 820px; margin: 0 auto; }
.entry-content > * { margin-top: 0; }
.entry-content h2, .entry-content h3 { letter-spacing: -.01em; }
.entry-thumb { border-radius: var(--radius); margin-bottom: 24px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.post-card h2 { font-size: 1.2rem; margin: 6px 0 8px; } .post-card h2 a { color: var(--ink); text-decoration: none; }
.meta { color: var(--muted); font-size: .8rem; margin: 0; }

/* Footer */
.site-footer { color: #c3cbe8; background: var(--night); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { margin: 14px 0 0; max-width: 420px; }
.footer-h { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe4fb; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; } .contact-list .icon { color: var(--c1); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8e99c4; }

/* Responsive */
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
	.hero { padding: 64px 0 80px; }
	.hero-inner { grid-template-columns: 1fr; gap: 40px; }
	.console { transform: none; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.nav-toggle { display: inline-grid; place-items: center; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 14px 20px 20px; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.1); }
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; }
	.site-nav .sub-menu { position: static; display: flex; box-shadow: none; }
}
@media (max-width: 600px) {
	.wrap { padding: 0 16px; }
	.cards { grid-template-columns: 1fr; }
	.console-body { grid-template-columns: 1fr 1fr; } .kpi:nth-child(3) { grid-column: 1 / -1; }
	.row { grid-template-columns: 90px 1fr auto; }
	.section { padding: 64px 0; }
	.brand-text small { display: none; }
	.admin-bar .site-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
