/* =================================
NEXORA — DESIGN PRINCIPAL
================================= */

:root {
--bg: #080812;
--surface: #11111f;
--surface-light: #18182a;
--purple: #a855f7;
--blue: #3b82f6;
--cyan: #22d3ee;
--text: #f5f5ff;
--muted: #a3a3bd;
--border: rgba(168, 85, 247, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

html {
scroll-behavior: smooth;
scroll-padding-top: 85px;
}

body {
font-family: system-ui, -apple-system, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.7;
overflow-x: hidden;
}

a {
color: inherit;
text-decoration: none;
}

.header {
width: 100%;
min-height: 76px;
padding: 16px 7%;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
position: sticky;
top: 0;
z-index: 10;
background: rgba(8, 8, 18, 0.92);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
backdrop-filter: blur(14px);
}

.logo {
font-size: 25px;
font-weight: 900;
letter-spacing: 2px;
}

.logo span {
color: var(--purple);
}

.nav {
display: flex;
align-items: center;
gap: 24px;
}

.nav a {
color: var(--muted);
font-size: 14px;
transition: color 0.2s;
}

.nav a:hover,
.footer-links a:hover {
color: var(--cyan);
}

.hero {
min-height: 570px;
padding: 110px 7% 100px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
isolation: isolate;
}

.hero-glow {
position: absolute;
width: 280px;
height: 280px;
background: var(--purple);
filter: blur(140px);
opacity: 0.17;
top: 100px;
left: calc(50% - 140px);
z-index: -1;
pointer-events: none;
}

.badge {
padding: 7px 15px;
border: 1px solid var(--border);
border-radius: 50px;
color: var(--cyan);
background: rgba(168, 85, 247, 0.07);
font-size: 11px;
font-weight: 800;
letter-spacing: 2px;
}

.hero h1 {
max-width: 800px;
margin: 25px 0 18px;
font-size: clamp(36px, 7vw, 65px);
line-height: 1.15;
letter-spacing: -2px;
}

.hero h1 span,
.about h2 span {
background: linear-gradient(100deg, var(--purple), var(--blue), var(--cyan));
background-clip: text;
-webkit-background-clip: text;
color: transparent;
}

.hero > p {
max-width: 540px;
color: var(--muted);
font-size: 16px;
margin-bottom: 30px;
}

.btn-primary {
padding: 13px 23px;
border-radius: 12px;
background: linear-gradient(110deg, #8b5cf6, #3b82f6);
color: white;
font-weight: 750;
display: inline-flex;
align-items: center;
gap: 12px;
box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(124, 58, 237, 0.35);
}

.section {
padding: 80px 7%;
}

.tools {
background: linear-gradient(
180deg,
transparent,
rgba(124, 58, 237, 0.035),
transparent
);
}

.section-heading {
text-align: center;
margin-bottom: 42px;
}

.eyebrow {
color: var(--cyan);
font-size: 11px;
font-weight: 800;
letter-spacing: 3px;
}

.section-heading h2,
.about h2 {
margin: 12px 0;
font-size: clamp(27px, 5vw, 42px);
line-height: 1.25;
letter-spacing: -1px;
}

.section-heading > p,
.about > p {
color: var(--muted);
}

.tool-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
max-width: 1000px;
margin: 0 auto;
}

.tool-card {
padding: 27px;
min-width: 0;
background: linear-gradient(145deg, var(--surface-light), var(--surface));
border: 1px solid var(--border);
border-radius: 20px;
display: flex;
flex-direction: column;
align-items: flex-start;
transition: transform 0.25s, border-color 0.25s;
}

.tool-card:hover {
transform: translateY(-5px);
border-color: rgba(168, 85, 247, 0.65);
}

.tool-icon {
width: 48px;
height: 48px;
display: grid;
place-items: center;
border-radius: 14px;
font-size: 25px;
margin-bottom: 20px;
}

.purple {
color: #c084fc;
background: rgba(168, 85, 247, 0.15);
}

.blue {
color: #60a5fa;
background: rgba(59, 130, 246, 0.15);
}

.cyan {
color: var(--cyan);
background: rgba(34, 211, 238, 0.12);
}

.pink {
color: #f0abfc;
background: rgba(232, 121, 249, 0.13);
}

.tool-card h3 {
font-size: 17px;
margin-bottom: 8px;
line-height: 1.4;
}

.tool-card p {
color: var(--muted);
font-size: 14px;
margin-bottom: 20px;
}

.card-link {
color: var(--cyan);
font-size: 13px;
font-weight: 750;
margin-top: auto;
}

.about {
max-width: 850px;
margin: 0 auto;
text-align: center;
}

.about > p {
max-width: 600px;
margin: 15px auto 0;
}

.footer {
text-align: center;
padding: 45px 7% 25px;
background: #0c0c18;
border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer > p {
color: var(--muted);
font-size: 13px;
margin-top: 12px;
}

.footer-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 22px;
margin-top: 20px;
font-size: 13px;
}

.copyright {
padding-top: 22px;
border-top: 1px solid rgba(255, 255, 255, 0.07);
margin-top: 25px !important;
}

@media (min-width: 1000px) {
.tool-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}

@media (max-width: 600px) {
.header {
padding: 14px 5%;
min-height: 68px;
gap: 10px;
}

.logo {
font-size: 22px;
}

.nav {
gap: 12px;
}

.nav a {
font-size: 12px;
}

.hero {
min-height: 500px;
padding: 85px 6%;
}

.hero h1 {
letter-spacing: -1px;
}

.hero > p {
font-size: 14px;
}

.section {
padding: 60px 5%;
}

.tool-grid {
grid-template-columns: 1fr;
gap: 14px;
}

.tool-card {
padding: 22px;
}
}

@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 0.01ms !important;
transition-duration: 0.01ms !important;
}
}