/* =========================================
   IRTS.IN — Landing Page
   ========================================= */

:root {
  --bg-primary:    #080c14;
  --bg-secondary:  #0d1424;
  --bg-card:       #111827;
  --bg-card-hover: #1a2540;
  --accent:        #4f8ef7;
  --accent-dark:   #2563eb;
  --gold:          #d4a017;
  --text-primary:  #f0f4ff;
  --text-secondary:#94a3b8;
  --text-muted:    #64748b;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(79,142,247,0.35);
  --shadow-card:   0 8px 40px rgba(0,0,0,0.35);
  --radius:        12px;
  --radius-sm:     8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ——— Scrollbar ——— */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }

/* ——— Utilities ——— */

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 14px;
  background: rgba(79,142,247,0.1);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 20px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
}

/* ——— Navbar ——— */

.irts-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: padding 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.irts-navbar.scrolled {
  background: rgba(8,12,20,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.7rem 0;
  border-bottom-color: var(--border);
}

.irts-navbar .navbar-brand {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  letter-spacing: -0.03em;
}
.irts-navbar .navbar-brand span { color: var(--accent); }

.irts-navbar .nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem !important;
  transition: color 0.2s;
  border-radius: 6px;
}
.irts-navbar .nav-link:hover,
.irts-navbar .nav-link.active { color: var(--text-primary) !important; }

.irts-navbar .navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.35rem 0.55rem;
  outline: none;
  box-shadow: none;
}
.irts-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28240,244,255,0.75%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse { padding: 0.5rem 0; }

.btn-nav-cta {
  display: inline-block;
  padding: 0.45rem 1.3rem !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s, transform 0.15s !important;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(8,12,20,0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 0.5rem;
  }
  .btn-nav-cta { display: inline-block; margin-top: 0.5rem; }
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/main/image-9.png') center/cover no-repeat;
  opacity: 0.1;
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(8,12,20,0.97) 0%,
    rgba(13,20,36,0.88) 55%,
    rgba(8,12,20,0.97) 100%);
}

.hero__glow-tr {
  position: absolute;
  width: 700px; height: 700px;
  top: -200px; right: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,0.1) 0%, transparent 65%);
  animation: glow-pulse 7s ease-in-out infinite;
  pointer-events: none;
}

.hero__glow-bl {
  position: absolute;
  width: 500px; height: 500px;
  bottom: -150px; left: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,160,23,0.07) 0%, transparent 65%);
  animation: glow-pulse 9s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.06); opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero__title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.4rem;
}
.hero__title .highlight { color: var(--accent); }

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(79,142,247,0.3);
}
.btn-primary-cta:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(79,142,247,0.45);
  text-decoration: none;
}

.btn-ghost-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-ghost-cta:hover {
  border-color: rgba(79,142,247,0.5);
  background: rgba(79,142,247,0.06);
  color: var(--text-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.hero__kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.hero__kpi .number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}
.hero__kpi .label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* Hero right column */
.hero__visual {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: var(--shadow-card), 0 0 80px rgba(79,142,247,0.08);
}
.hero__frame img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: rgba(8,12,20,0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__badge-icon {
  width: 34px; height: 34px;
  background: rgba(79,142,247,0.15);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1rem;
}
.hero__badge-text { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.hero__badge-sub  { font-size: 0.68rem; color: var(--text-muted); }

/* ——— Stats ——— */

.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}

.stat-card {
  text-align: center;
  padding: 1rem 0.5rem;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }

.stat-card .stat-icon {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.stat-card .stat-number {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-card .stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

@media (max-width: 575px) {
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-card:last-child { border-bottom: none; }
}

/* ——— About ——— */

.about-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

.about-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.about-frame img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.about-frame:hover img { transform: scale(1.03); }

.about-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,20,0.65) 0%, transparent 50%);
  pointer-events: none;
}

/* ——— Services ——— */

.services-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(79,142,247,0.07);
}
.service-card__icon {
  width: 50px; height: 50px;
  background: rgba(79,142,247,0.1);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.service-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ——— Products ——— */

.products-section {
  padding: 7rem 0;
  background: var(--bg-primary);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  flex-shrink: 0;
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.07); }

.product-card__overlay {
  position: absolute; inset: 0;
  background: rgba(8,12,20,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.6rem 1.4rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(10px);
  transition: transform 0.3s, background 0.2s;
}
.product-card:hover .product-card__btn { transform: translateY(0); }
.product-card__btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.product-card__body {
  padding: 1.2rem 1.4rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-card__name {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}
.product-card__creator {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.product-card__creator span { color: var(--accent); font-weight: 500; }

/* Skeleton loader */
.product-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.skeleton-img {
  aspect-ratio: 16/9;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
.skeleton-body { padding: 1.2rem 1.4rem 1.5rem; }
.skeleton-line {
  height: 11px;
  border-radius: 6px;
  margin-bottom: 9px;
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
.skeleton-line.short { width: 55%; }

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.products-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-secondary);
}
.products-empty i {
  font-size: 2.5rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1rem;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.8rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-view-all:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateX(4px);
  text-decoration: none;
}

/* ——— Footer ——— */

.irts-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}
.footer-brand span { color: var(--accent); }

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 290px;
}

.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 7px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79,142,247,0.08);
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-contact-row i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-divider {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.footer-divider p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ——— Back to top ——— */

.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s, border-color 0.2s, color 0.2s;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ——— Responsive ——— */

@media (max-width: 991px) {
  .hero__content, .hero__visual { padding: 7rem 0 3.5rem; text-align: center; }
  .hero__eyebrow { justify-content: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__kpis { justify-content: center; }
  .hero__visual { display: none !important; }

  .about-frame { margin-bottom: 2.5rem; }

  .products-section .d-flex { flex-direction: column; align-items: flex-start !important; }
}

@media (max-width: 575px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions a { justify-content: center; }
  .hero__kpis { gap: 1.5rem; }

  .about-section, .services-section, .products-section { padding: 5rem 0; }
  .irts-footer { padding: 3.5rem 0 1.75rem; }
}
