/* ============================================
   Titiksha Technologies — Global Stylesheet
   v2.0 — with Logo, Founder section, Excel auth
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Clash+Display:wght@400;500;600;700&family=Cabinet+Grotesk:wght@300;400;500;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg:         #060a14;
  --surface:    #0d1424;
  --surface2:   #111d30;
  --border:     #1a2840;
  --accent:     #00d4ff;
  --accent2:    #0047e1;
  --accent3:    #00ff9d;
  --text:       #dce8f5;
  --muted:      #5a7299;
  --white:      #ffffff;
  --radius:     10px;
  --radius-lg:  16px;
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --transition: 0.22s ease;

  /* Logo colours */
  --logo-t:  #00d4ff;
  --logo-dot:#00ff9d;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }

/* ---------- Utility ---------- */
.container { width: 90%; max-width: 1140px; margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: var(--white);
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,0.2); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- ★ LOGO SVG component ---------- */
/* Used inline as <svg class="tt-logo"> in nav + footer */
.tt-logo-wrap {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
}
.tt-logo-wrap .logo-svg { flex-shrink: 0; }
.tt-logo-wrap .logo-name em { color: var(--accent); font-style: normal; }
.tt-logo-wrap .logo-tagline {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: -2px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,10,20,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  color: var(--muted); font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 12px; max-width: 260px; line-height: 1.6; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.footer-bottom a { color: var(--accent); }

/* ---------- Section ---------- */
.section { padding: 88px 0; }
.section-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent3); margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--muted); max-width: 560px; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: rgba(0,212,255,0.4); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }

/* ---------- Grid helpers ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

/* ---------- Form elements ---------- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 11px; font-weight: 600; color: var(--muted);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  transition: border-color var(--transition); outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }
.form-input::placeholder { color: var(--muted); }

/* ---------- Glow decorations ---------- */
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; opacity: 0.14;
}

/* ---------- Badge ---------- */
.badge { display: inline-flex; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-green  { background: rgba(0,255,157,0.1);  color: var(--accent3); }
.badge-yellow { background: rgba(255,180,0,0.1);  color: #ffb400; }
.badge-blue   { background: rgba(0,212,255,0.1);  color: var(--accent); }
.badge-red    { background: rgba(255,60,60,0.1);  color: #ff6b6b; }

/* ---------- Animate on load ---------- */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---------- Responsive helpers ---------- */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links .hide-mobile { display: none; }
}
