/* =====================================
   AGXEN TECH SPACES
   Enterprise Technology Blog
===================================== */

:root {
  --bg: #030712;
  --card: #111827;
  --card-hover: #1f2937;
  --primary: #06b6d4;
  --secondary: #3b82f6;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", sans-serif;
  line-height: 1.7;
}

/* NAVBAR */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(3,7,18,0.95);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);
}

.nav-container {
  width: 100%;
  padding: 18px 60px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
}

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

.nav-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: .3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* HERO */

/* HERO */

.hero {
  min-height: 55vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 60px 20px;

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at top left,
    rgba(6,182,212,0.15),
    transparent 35%),

    radial-gradient(circle at bottom right,
    rgba(59,130,246,0.15),
    transparent 35%);
}

.hero-content {
  max-width: 750px;
  position: relative;
  z-index: 2;
}
.hero-glow{
    position:absolute;
    border-radius:50%;
    filter:blur(120px);
}

.glow1{
    width:300px;
    height:300px;
    background:#06b6d4;
    top:-100px;
    left:-100px;
    opacity:.15;
}

.glow2{
    width:300px;
    height:300px;
    background:#3b82f6;
    right:-100px;
    bottom:-100px;
    opacity:.15;
}
.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: var(--muted);
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: .3s;
}

.btn-primary {
  background: var(--primary);
  color: black;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: black;
}

/* SECTION */

.section {
  max-width: 1400px;
  margin: auto;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
}

/* CATEGORY GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 25px;
}

.card {
  background: var(--card);
  padding: 25px;
  border-radius: 16px;

  border: 1px solid var(--border);

  transition: .3s;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--card-hover);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.card ul {
  list-style: none;
}

.card li {
  color: var(--muted);
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  line-height: 1.8;
}
/* ARTICLES */

.article-card {
  background: var(--card);

  padding: 25px;

  border-radius: 16px;

  border: 1px solid var(--border);
}

.article-card h3 {
  margin-bottom: 15px;
}

.article-card p {
  color: var(--muted);
}

/* FOOTER */

.footer {
  border-top: 1px solid var(--border);

  text-align: center;

  padding: 40px 20px;

  color: var(--muted);
}

.footer a{
  color: var(--muted);
  text-decoration: none;
  margin: 0 5px;
}

.footer a:hover{
  color: var(--primary);
}

/* MOBILE */

@media(max-width:768px){

/* NAVBAR */

.nav-container{
padding:15px 20px;
flex-direction:column;
align-items:center;
}

.logo{
font-size:1.8rem;
text-align:center;
}

.nav-links{
display:flex;
justify-content:center;
gap:15px;
margin-top:15px;
font-size:14px;
flex-wrap:wrap;
}


/* HERO */

.hero{
min-height:auto;
padding:60px 20px;
}

.hero h1{
font-size:2.2rem;
line-height:1.2;
}

.hero p{
font-size:1rem;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.btn{
width:100%;
max-width:280px;
text-align:center;
}

/* SECTIONS */

.section{
padding:50px 15px;
}

.section-title{
font-size:2rem;
}

/* GRID */

.grid{
grid-template-columns:1fr;
}

/* CARDS */

.card,
.article-card{
padding:20px;
}

/* ARTICLE TEMPLATE */

.article-container{
margin:30px auto;
padding:0 15px;
}

.article-title{
font-size:2rem;
line-height:1.3;
}

.article-card h2{
font-size:1.4rem;
}

.article-card{
padding:20px;
}

pre{
font-size:13px;
overflow-x:auto;
}

/* ABOUT / CONTACT PAGES */

.page-container{
margin:30px auto;
padding:0 15px;
}

.page-card{
padding:25px;
}

.page-card h1{
font-size:2rem;
}

.page-card h2{
font-size:1.5rem;
}

}
/* ==========================================
   REUSABLE PAGE FRAMEWORK
========================================== */

.page-wrapper{
    max-width:1100px;
    margin:60px auto;
    padding:0 20px;
}

.page-hero{
    text-align:center;
    margin-bottom:50px;
}

.page-hero h1{
    font-size:3rem;
    margin-bottom:20px;
}

.page-hero p{
    max-width:700px;
    margin:auto;
    color:var(--muted);
    line-height:1.8;
}

.content-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:40px;
    margin-bottom:30px;
}

.content-card h2{
    color:var(--primary);
    margin-bottom:20px;
}

.content-card p{
    color:#d1d5db;
    line-height:1.9;
    margin-bottom:15px;
}

.content-card ul{
    padding-left:20px;
}

.content-card li{
    margin-bottom:12px;
    color:#d1d5db;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.info-card{
    background:#111827;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:30px;
    transition:.3s;
}

.info-card:hover{
    transform:translateY(-5px);
    border-color:rgba(6,182,212,.5);
}

.info-card h3{
    color:var(--primary);
    margin-bottom:15px;
}

.info-card p{
    color:#d1d5db;
    line-height:1.8;
}

.page-cta{
    text-align:center;
    background:#111827;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    padding:50px;
}

.page-cta h2{
    margin-bottom:20px;
}

.page-cta p{
    max-width:700px;
    margin:auto;
    color:#d1d5db;
}

@media(max-width:768px){

.page-wrapper{
    margin:40px auto;
    padding:0 15px;
}

.page-hero h1{
    font-size:2rem;
}

.content-card{
    padding:25px;
}

.page-cta{
    padding:30px 20px;
}

}
.content-card{
    max-width:1000px;
    margin:auto;
}

.article-card{
    cursor:pointer;
    transition:.3s;
}

.article-card:hover{
    transform:translateY(-5px);
    border-color:rgba(6,182,212,.4);
}
.info-card a{
color:var(--primary);
text-decoration:none;
font-weight:600;
}

.info-card a:hover{
text-decoration:underline;
}

