/* ==========================================================================
   VILNEK PRIVATE LIMITED - CORPORATE WEB STYLESHEET
   Futuristic, Dark-Cyberpunk Theme with Responsive 3D Tilt & Glassmorphism
   CIN: U72900GJ2020PTC113166 | GSTIN: 24AAHCV3518J1Z8
   ========================================================================== */

:root {
  --bg-dark: #070B14;
  --bg-card: rgba(13, 20, 36, 0.85);
  --bg-card-hover: rgba(18, 28, 50, 0.95);
  --cyan: #00F2FE;
  --cyan-glow: #00E5FF;
  --gold: #FF9100;
  --violet: #8B5CF6;
  --green: #10B981;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 242, 254, 0.35);
  --border-gold: rgba(255, 145, 0, 0.35);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'Fira Code', monospace;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0F1B38 0%, #070B14 70%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070B14;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(7, 11, 20, 0.90);
  border-bottom: 1px solid var(--border-color);
  height: 74px;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 10px;
  background: #0B1222;
  border: 1px solid rgba(255, 145, 0, 0.55);
  box-shadow: 0 0 14px rgba(255, 145, 0, 0.18);
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.btn-portal {
  background: linear-gradient(135deg, var(--cyan), #0099FF);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links a.btn-portal {
  color: #000;
  padding: 10px 20px;
}

.nav-links a.btn-portal::after {
  display: none;
}

.btn-portal:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.55);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero-page {
  padding: 70px 0 40px;
  text-align: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--cyan);
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 860px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* 3D Tilt Cards */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin: 40px 0;
  perspective: 1200px;
}

.card-3d {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  transform-style: preserve-3d;
}

.card-3d:hover {
  border-color: var(--cyan);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 242, 254, 0.25);
  transform: translateY(-6px) rotateX(2deg) rotateY(-2deg);
}

.card-3d.accent-gold:hover {
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 145, 0, 0.25);
}

.card-3d.accent-violet:hover {
  border-color: var(--violet);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(139, 92, 246, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--cyan);
  margin-bottom: 20px;
}

.accent-gold .card-icon {
  background: rgba(255, 145, 0, 0.12);
  color: var(--gold);
}

.accent-violet .card-icon {
  background: rgba(139, 92, 246, 0.12);
  color: var(--violet);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
}

.card-tag {
  font-family: var(--font-code);
  font-size: 0.8rem;
  color: var(--cyan);
  margin-bottom: 14px;
  display: block;
}

.card-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.card-features {
  list-style: none;
  margin-bottom: 24px;
}

.card-features li {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: bold;
}

.accent-gold .card-features li::before {
  color: var(--gold);
}

.card-price {
  font-family: var(--font-code);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-cyan {
  background: var(--cyan);
  color: #000;
}
.btn-cyan:hover {
  background: #fff;
  box-shadow: 0 0 20px var(--cyan);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: #fff;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Hero actions (404 and CTAs) */
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.not-found {
  padding: 110px 0 90px;
}

/* Site Footer — mirrors the Flutter home page footer */
.site-footer {
  margin-top: 80px;
  background: #040813;
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

.footer-head {
  text-align: center;
  margin-bottom: 36px;
}

.footer-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--cyan), #A78BFA 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.footer-subtitle {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.f-card {
  min-width: 0; /* let long no-wrap rows ellipsize instead of widening the page */
  background: rgba(10, 17, 34, 0.92);
  border: 1px solid rgba(0, 242, 254, 0.28);
  border-radius: 20px;
  padding: 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.f-card:hover {
  border-color: rgba(0, 242, 254, 0.6);
  box-shadow: 0 12px 30px rgba(0, 242, 254, 0.12);
}

.f-card-gold {
  border-color: rgba(16, 185, 129, 0.3);
}

.f-card-gold:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12);
}

.f-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.f-card-head h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.f-card-head p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.f-card-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  font-size: 1.1rem;
}

.f-card-gold .f-card-icon {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.35);
}

.f-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #070D1E;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.f-row:hover {
  border-color: var(--cyan);
  background: rgba(0, 242, 254, 0.06);
  transform: translateX(3px);
}

.f-row-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.14);
  font-size: 0.95rem;
}

.f-row-text {
  flex: 1;
  min-width: 0;
}

.f-row-text small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.f-row-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.f-row-text strong.mono {
  font-family: var(--font-code);
  letter-spacing: 0.3px;
}

.f-row-action {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  border: 1px solid rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.08);
  padding: 5px 10px;
  border-radius: 6px;
}

.f-entity {
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.f-entity small {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--cyan);
  margin-bottom: 4px;
}

.f-entity strong {
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
}

.f-social-label {
  margin: 18px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--cyan);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.f-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.f-social-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #070D1E;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.f-social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 24px 0 16px;
  border-top: 1px solid var(--border-color);
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-made-in {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.footer-made-in span {
  color: var(--cyan);
  font-weight: 800;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: #070B14;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 12px 4px;
  }
  .nav-links a.active::after {
    display: none;
  }
  .nav-links a.btn-portal {
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .card-3d {
    padding: 24px;
  }
  .f-card {
    padding: 18px;
  }
  .f-row-action {
    display: none;
  }
  .f-row-text strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
