/* ===========================
   SHIV SHAKTI REFRACTORY
   Global Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Rajdhani:wght@500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fbbf24;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --bg-surface: #0e1628;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: #1e293b;
  --border-glow: rgba(245,158,11,0.45);
  --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #16213e 50%, #0a1628 100%);
  --gradient-amber: linear-gradient(135deg, #f59e0b, #d97706);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 25px rgba(245,158,11,0.2);
  --shadow-glow-strong: 0 0 40px rgba(245,158,11,0.4);
  --transition: 0.3s ease;
  --navbar-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); }
ul { list-style: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }

/* ---------- Utility ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(40px, 8vw, 80px) 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.badge {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  color: var(--primary);
  border: 1px solid var(--border-glow);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Section heading */
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-amber);
  color: #1a1a2e;
  box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
  color: #1a1a2e;
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #1a1a2e;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-main);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-main);
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(15,15,26,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; margin-right: 20px; }
.nav-logo { height: auto; max-height: 48px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(0,0,0,0.3)); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: var(--text-main);
}
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  border-radius: 0;
}
.nav-cta, .nav-cta:hover { color: #1a1a2e !important; border-bottom: none; margin-left: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.12);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  padding: 6px 16px 6px 8px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-tag span.dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .highlight {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}
.hero-stat .label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  padding: calc(var(--navbar-h) + 60px) 0 60px;
  background: linear-gradient(135deg, #0f0f1a 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 12px 0 16px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-dim); }

/* ---------- CARDS ---------- */
.card, .why-item, .founder-card, .mvv-card, .form-card, .product-card, .contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.card:hover, .why-item:hover, .founder-card:hover, .mvv-card:hover, .form-card:hover, .product-card:hover, .contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(245,158,11,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- TABLE ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
thead { background: rgba(245,158,11,0.1); }
th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  white-space: nowrap;
}
td {
  padding: 13px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
tr:hover td { background: rgba(255,255,255,0.02); color: var(--text-main); }

/* ---------- DIVIDER ---------- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 0;
}

/* ---------- FOOTER ---------- */
footer {
  background: #09090f;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 12px 0 20px;
  line-height: 1.6;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-contact-item .icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-col h4 {
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-dim);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- FORM ---------- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ---------- HIGHLIGHT BOX ---------- */
.highlight-box {
  background: linear-gradient(135deg, rgba(245,158,11,0.1), rgba(245,158,11,0.04));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition);
}
.highlight-box:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow-strong);
}

/* ---------- TAB STYLE ---------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 32px; }
.tab-btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: #1a1a2e;
  border-color: var(--primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- CHECKLIST ---------- */
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.checklist li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--navbar-h); left: 0; right: 0; background: rgba(15,15,26,0.98); padding: 20px; border-bottom: 1px solid var(--border); gap: 2px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section { padding: 40px 0; }
  .section-h { margin-bottom: 32px; }
  .section-title { font-size: 2rem; }
}

/* ---------- MOBILE FLOATING CTAs ---------- */
.mobile-cta-wrap {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .mobile-cta-wrap { display: flex; }
  
  /* Table Responsiveness */
  .spec-table, .comparison-section table, .technical-specs-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: none;
  }
}

.floating-wa {
  width: 50px;
  height: 50px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition);
}
.floating-wa:hover { transform: scale(1.1); }

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
