/* ─────────────────────────────────────────────
   RAJ TECNOLOGY — Global Stylesheet
   ───────────────────────────────────────────── */

/* == RESET & TOKENS == */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-primary:   #6C63FF;
  --clr-secondary: #FF6584;
  --clr-accent:    #43E97B;
  --clr-dark:      #0D0E1A;
  --clr-dark2:     #13152B;
  --clr-surface:   #1A1D35;
  --clr-border:    #2A2D4A;
  --clr-text:      #E0E2F0;
  --clr-muted:     #8A8DB5;
  --clr-white:     #FFFFFF;
  --gradient:      linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  --gradient-g:    linear-gradient(135deg, #43E97B, #38F9D7);
  --radius:        16px;
  --shadow:        0 4px 24px rgba(108,99,255,.18);
  --shadow-lg:     0 8px 48px rgba(108,99,255,.28);
  --transition:    .25s cubic-bezier(.4,0,.2,1);
  --font-body:     'Inter', system-ui, sans-serif;
  --font-head:     'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--clr-dark);
  color: var(--clr-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* == TYPOGRAPHY == */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.25; color: var(--clr-white); }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--clr-muted); }
a  { color: var(--clr-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-secondary); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* == LAYOUT == */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section-alt { background: var(--clr-dark2); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { max-width: 600px; margin: .75rem auto 0; font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-primary);
  background: rgba(108,99,255,.12);
  padding: .3rem .9rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

/* == BUTTONS == */
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gradient);
  color: var(--clr-white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--clr-white); }
.btn-outline {
  background: transparent;
  border-color: var(--clr-primary);
  color: var(--clr-primary);
}
.btn-outline:hover { background: var(--clr-primary); color: var(--clr-white); }

/* ─────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,14,26,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }
.brand-raj  { color: var(--clr-white); }
.brand-tech { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--clr-muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--clr-white); }

/* Hamburger */
.nav-toggle { display: none; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--clr-white); border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--clr-dark2);
    border-bottom: 1px solid var(--clr-border);
    padding: 1rem 0;
  }
  .nav-links a { padding: .75rem 2rem; width: 100%; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}

/* ─────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 68px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(108,99,255,.35), transparent),
              radial-gradient(ellipse 60% 50% at 90% 80%, rgba(255,101,132,.18), transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
  padding-top: 4rem; padding-bottom: 6rem;
}
.hero-badge {
  display: inline-block; margin-bottom: 1.5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(67,233,123,.1);
  padding: .35rem 1rem; border-radius: 999px;
  border: 1px solid rgba(67,233,123,.25);
}
.hero-content h1 { margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.15rem; max-width: 580px; margin-bottom: 2.5rem; color: var(--clr-muted); }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--clr-white); font-family: var(--font-head); }
.stat span   { font-size: .85rem; color: var(--clr-muted); }

/* Floating shapes */
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}
.s1 { width: 400px; height: 400px; right: -100px; top: 10%; background: radial-gradient(circle, rgba(108,99,255,.22), transparent 70%); animation-delay: 0s; }
.s2 { width: 280px; height: 280px; right: 20%; bottom: 15%; background: radial-gradient(circle, rgba(255,101,132,.18), transparent 70%); animation-delay: 2s; }
.s3 { width: 180px; height: 180px; right: 5%;  top: 55%; background: radial-gradient(circle, rgba(67,233,123,.14), transparent 70%); animation-delay: 4s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-24px); }
}

/* ─────────────────────────────────────────────
   CARDS (Services)
   ───────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  opacity: 0; transition: opacity var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(108,99,255,.4); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .6rem; }
.card p  { font-size: .93rem; }
.card-nic {
  display: inline-block; margin-top: 1.2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--clr-primary); background: rgba(108,99,255,.1);
  padding: .25rem .7rem; border-radius: 999px;
}

/* ─────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────── */
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
@media (max-width: 900px) { .about-inner { grid-template-columns: 1fr; gap: 3rem; } }

.about-visual { display: flex; flex-direction: column; gap: 2rem; }

.about-blob {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.about-blob::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(108,99,255,.12), transparent 60%);
}
.blob-inner { position: relative; z-index: 1; }
.blob-icon { font-size: 3.5rem; display: block; margin-bottom: .75rem; }
.blob-inner p { font-size: 1.1rem; color: var(--clr-white); font-weight: 600; }

.nic-table { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius); overflow: hidden; }
.nic-table h4 { padding: 1rem 1.25rem; border-bottom: 1px solid var(--clr-border); }
.nic-table table { width: 100%; border-collapse: collapse; }
.nic-table th, .nic-table td { padding: .7rem 1.25rem; text-align: left; font-size: .88rem; border-bottom: 1px solid var(--clr-border); }
.nic-table th { color: var(--clr-muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.nic-table td { color: var(--clr-text); }
.nic-table tr:last-child td { border-bottom: none; }
.nic-table tr.highlight td { color: var(--clr-white); font-weight: 600; }
.nic-table tr.highlight td:first-child { color: var(--clr-primary); }

.about-text .section-label { margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { margin-bottom: 1rem; font-size: 1rem; }

.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; margin: 1.75rem 0; }
.highlight-item { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--clr-text); }

/* ─────────────────────────────────────────────
   CONTACT
   ───────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem; margin-top: 1rem;
}
.contact-card {
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 2.5rem 2rem; text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(108,99,255,.4); }
.contact-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-card h3 { margin-bottom: .6rem; }
.contact-card a { font-size: 1.05rem; font-weight: 600; color: var(--clr-primary); display: block; margin-bottom: .4rem; }
.contact-card p  { font-size: .88rem; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer { background: var(--clr-dark2); border-top: 1px solid var(--clr-border); padding: 4rem 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }

.footer-brand .brand { display: block; font-size: 1.5rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .88rem; }

.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-links h4, .footer-contact h4 { margin-bottom: .5rem; color: var(--clr-white); }
.footer-links a, .footer-contact a { font-size: .9rem; color: var(--clr-muted); }
.footer-links a:hover, .footer-contact a:hover { color: var(--clr-white); }
.footer-contact p { font-size: .9rem; color: var(--clr-muted); }

.footer-bottom {
  border-top: 1px solid var(--clr-border); padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: var(--clr-muted); }
.footer-bottom a { color: var(--clr-muted); }
.footer-bottom a:hover { color: var(--clr-white); }

/* ─────────────────────────────────────────────
   POLICY PAGES
   ───────────────────────────────────────────── */
.policy-hero {
  background: var(--clr-dark2);
  border-bottom: 1px solid var(--clr-border);
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.policy-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(108,99,255,.2), transparent);
}
.policy-hero .container { position: relative; z-index: 1; }
.policy-hero .section-label { margin-bottom: .75rem; }
.policy-hero h1 { margin-bottom: .6rem; }
.policy-hero p { color: var(--clr-muted); }

.policy-body { padding: 4rem 0 6rem; }

.policy-container {
  display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start;
}
@media (max-width: 900px) { .policy-container { grid-template-columns: 1fr; } }

/* Table of Contents */
.policy-toc {
  position: sticky; top: 90px;
  background: var(--clr-surface); border: 1px solid var(--clr-border);
  border-radius: var(--radius); padding: 1.5rem; font-size: .88rem;
}
.policy-toc h4 { margin-bottom: 1rem; color: var(--clr-white); }
.policy-toc ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.policy-toc a { color: var(--clr-muted); font-size: .84rem; }
.policy-toc a:hover { color: var(--clr-primary); }

/* Content */
.policy-content { display: flex; flex-direction: column; gap: 2.5rem; }
.policy-section { background: var(--clr-surface); border: 1px solid var(--clr-border); border-radius: var(--radius); padding: 2rem; }
.policy-section h2 { font-size: 1.3rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--clr-border); }
.policy-section h3 { font-size: 1rem; margin: 1.2rem 0 .5rem; color: var(--clr-primary); }
.policy-section p  { margin-bottom: .75rem; font-size: .93rem; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul { padding-left: 1.4rem; display: flex; flex-direction: column; gap: .45rem; margin: .5rem 0 .75rem; }
.policy-section li { font-size: .92rem; color: var(--clr-muted); }
.policy-section strong { color: var(--clr-white); }

.contact-box {
  background: var(--clr-dark2); border: 1px solid var(--clr-border);
  border-radius: 10px; padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: .4rem; margin-top: .5rem;
}
.contact-box p { font-size: .92rem; }
.contact-box a { color: var(--clr-primary); font-weight: 600; }

/* ─────────────────────────────────────────────
   RESPONSIVE TWEAKS
   ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .hero-stats { gap: 1.5rem; }
  .hero-cta   { flex-direction: column; align-items: flex-start; }
  .about-highlights { grid-template-columns: 1fr; }
}
