/* ===== Boba.Nvd Corp. - Corporate Stylesheet ===== */

/* ----- CSS Custom Properties ----- */
:root {
  --color-primary: #0f1b2d;
  --color-primary-light: #1a2d4a;
  --color-primary-dark: #080f1a;

  --color-accent: #0891b2;
  --color-accent-dark: #065f7a;
  --color-accent-light: #22d3ee;
  --color-accent-glow: rgba(8, 145, 178, 0.15);

  --color-accent-warm: #d97706;
  --color-accent-warm-light: #f59e0b;

  --color-text: #1e293b;
  --color-text-rich: #0f172a;
  --color-text-light: #64748b;
  --color-text-lighter: #94a3b8;

  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-dark: #0f172a;
  --color-bg-card: #ffffff;
  --color-bg-card-alt: #f1f5f9;

  --color-border: #e2e8f0;
  --color-border-dark: #1e293b;
  --color-border-accent: rgba(8, 145, 178, 0.3);

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --section-padding: 100px 0;
  --section-padding-sm: 64px 0;
  --container-width: 1200px;
  --container-narrow: 880px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(8, 145, 178, 0.15);
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-rich);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

p:last-child {
  margin-bottom: 0;
}

.text-accent {
  color: var(--color-accent);
}

.text-warm {
  color: var(--color-accent-warm);
}

/* ----- Container ----- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Section ----- */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-dark {
  background: var(--color-bg-dark);
  color: #f1f5f9;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #f8fafc;
}

.section-dark p {
  color: #94a3b8;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.35);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 6px 24px rgba(8, 145, 178, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #f1f5f9;
  border: 2px solid rgba(241, 245, 249, 0.35);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-light);
  background: rgba(8, 145, 178, 0.1);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline-dark:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-normal);
  background: transparent;
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--color-accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(241, 245, 249, 0.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(8, 145, 178, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(8, 145, 178, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 20% 60%, rgba(217, 119, 6, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  border: 1px solid rgba(8, 145, 178, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
  background: rgba(8, 145, 178, 0.08);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: #94a3b8;
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0;
}

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.value-item {
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.value-item:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.value-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-visual {
  position: relative;
}

.about-image-placeholder {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-bg-dark));
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.about-pattern {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(8, 145, 178, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(217, 119, 6, 0.08) 0%, transparent 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.about-pattern-content {
  text-align: center;
  color: #94a3b8;
}

.about-pattern-content .big-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.about-pattern-content p {
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #64748b;
}

.about-accent-line {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  border-radius: 0 0 var(--radius-lg) 0;
  opacity: 0.3;
}

/* ----- Services ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 32px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.35rem;
  color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--color-text-light);
}

.service-card .service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card .service-features li {
  font-size: 0.88rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card .service-features li::before {
  content: '>';
  color: var(--color-accent);
  font-weight: 700;
  font-family: monospace;
}

/* ----- Industries ----- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.industry-item {
  padding: 20px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text-light);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.industry-item:hover {
  border-color: var(--color-border-accent);
  color: var(--color-text);
  background: rgba(8, 145, 178, 0.03);
}

.industry-item .industry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.5;
}

/* ----- Differentiators / Why Us ----- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.diff-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.diff-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(8, 145, 178, 0.2);
  transform: translateY(-4px);
}

.diff-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.diff-card h4 {
  color: #f1f5f9;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.diff-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
  color: #94a3b8;
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info > p {
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 145, 178, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--color-text-lighter);
}

.contact-form-wrapper {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-footer {
  font-size: 0.8rem;
  color: var(--color-text-lighter);
  margin-top: 12px;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-bg-dark);
  color: #94a3b8;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--color-accent-light);
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-col h4 {
  color: #f1f5f9;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--color-accent-light);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
}

.footer-bottom-links a:hover {
  color: var(--color-accent-light);
}

/* ----- Legal Pages (Privacy & Terms) ----- */
.legal-hero {
  background: var(--color-bg-dark);
  padding: 140px 0 60px;
  position: relative;
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 145, 178, 0.3), transparent);
}

.legal-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.legal-hero p {
  color: #94a3b8;
  margin-top: 8px;
}

.legal-content {
  padding: 64px 0 80px;
}

.legal-content .legal-section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--color-text-rich);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  margin-top: 24px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 16px;
}

.legal-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--color-text-light);
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.5;
}

.legal-content .last-updated {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--color-text-lighter);
  margin-bottom: 32px;
}

.legal-contact-block {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-top: 24px;
}

.legal-contact-block p {
  margin-bottom: 4px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.legal-contact-block p:last-child {
  margin-bottom: 0;
}

.legal-contact-block .label {
  color: var(--color-text-lighter);
  font-size: 0.85rem;
}

/* ----- Animations ----- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.hero-accent-pulse {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
    padding-top: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .hero-tag {
    font-size: 0.7rem;
  }
}
