/* Samvanta Technologies - Theme (from Next.js globals) */
:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-heading: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --background: #ffffff;
  --foreground: #0f172a;
  --primary: #0f172a;
  --primary-foreground: #f8fafc;
  --secondary: #e2e8f0;
  --secondary-foreground: #1e293b;
  --accent: #0ea5e9;
  --accent-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --radius: 0.5rem;
  --gradient-start: #1d4ed8;
  --gradient-middle: #0891b2;
  --gradient-end: #1d4ed8;
}

.dark,
[data-theme="dark"] {
  --background: #020410;
  --foreground: #f8fafc;
  --primary: #f8fafc;
  --primary-foreground: #020410;
  --secondary: #1e293b;
  --secondary-foreground: #f8fafc;
  --accent: #22d3ee;
  --accent-foreground: #020410;
  --muted: #0f172a;
  --muted-foreground: #94a3b8;
  --card: #0b101b;
  --card-foreground: #f8fafc;
  --border: #1e293b;
  --input: #1e293b;
  --gradient-start: #ffffff;
  --gradient-middle: #22d3ee;
  --gradient-end: #3b82f6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Layout */
.layout-wrap { flex: 1; }
.container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
}
.dark .navbar { background: rgba(2,4,16,0.8); }
.navbar .flex { display: flex; align-items: center; justify-content: space-between; height: 6rem; }
.navbar a { color: var(--muted-foreground); }
.navbar a:hover { color: var(--accent); text-decoration: none; }
.nav-links { display: none; gap: 1.5rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; font-weight: 500; }
.nav-logo { height: 5rem; width: auto; object-fit: contain; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background, color, box-shadow;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-lg { height: 2.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-sm { height: 2rem; padding: 0 0.75rem; font-size: 0.75rem; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.05); }
.btn-outline { background: transparent; border-color: var(--input); color: var(--foreground); }
.btn-outline:hover:not(:disabled) { background: var(--muted); }
.btn-ghost { background: transparent; }
.btn-ghost:hover:not(:disabled) { background: var(--muted); color: var(--accent); }
.btn-gradient { background: linear-gradient(to right, #0ea5e9, #2563eb); color: #fff; border: none; box-shadow: 0 4px 14px rgba(14,165,233,0.25); }
.btn-gradient:hover:not(:disabled) { filter: brightness(1.1); }

/* Cards */
.card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--card-foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.card-header { padding: 1.5rem 1.5rem 0; }
.card-title { font-size: 1.25rem; font-weight: 600; margin: 0; }
.card-description { font-size: 0.875rem; color: var(--muted-foreground); margin: 0.25rem 0 0; }
.card-content { padding: 1.5rem; padding-top: 0; }
.card-content.pt-6 { padding-top: 1.5rem; }
.spotlight-card { position: relative; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--card); transition: border-color, box-shadow; }
.spotlight-card:hover { border-color: rgba(14,165,233,0.5); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 4rem 0; }
@media (min-width: 768px) { .hero { padding: 5rem 0 6rem; } }
@media (min-width: 1024px) { .hero { padding: 8rem 0 6rem; } }
.hero-bg {
  position: absolute; top: 0; left: 50%;
  width: 800px; height: 800px; margin-left: -400px; margin-top: -30%;
  border-radius: 50%; background: var(--primary); opacity: 0.08;
  filter: blur(120px); pointer-events: none; mix-blend-mode: screen;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-text { text-align: center; }
@media (min-width: 1024px) { .hero-text { text-align: left; } }
.hero-badge {
  display: inline-flex; align-items: center; border-radius: 9999px; border: 1px solid var(--border);
  padding: 0.25rem 0.75rem; font-size: 0.875rem; color: var(--muted-foreground);
  margin-bottom: 1.5rem; background: rgba(255,255,255,0.5); backdrop-filter: blur(4px);
}
.dark .hero-badge { background: rgba(11,16,27,0.5); }
.hero-badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); margin-right: 0.5rem; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:0.5 } }
.hero h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin: 0; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero-gradient { background: linear-gradient(to right, var(--gradient-start), var(--gradient-middle), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); max-width: 42rem; }
.hero-desc.mx { margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .hero-desc.mx { margin-left: 0; margin-right: 0; } }
.hero-cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (min-width: 1024px) { .hero-cta { justify-content: flex-start; } }
.hero-image-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.hero-image-wrap img { max-width: 100%; height: auto; border-radius: 1rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.1); }

/* Sections */
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-muted { background: color-mix(in srgb, var(--muted) 50%, transparent); }
.section-title { text-align: center; max-width: 48rem; margin-left: auto; margin-right: auto; margin-bottom: 4rem; }
.section-title h2 { font-size: 1.875rem; font-weight: 700; margin: 0 0 1rem; }
@media (min-width: 640px) { .section-title h2 { font-size: 2.25rem; } }
.section-title p { margin: 0; font-size: 1.125rem; color: var(--muted-foreground); }
.features-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-icon { width: 3rem; height: 3rem; border-radius: 0.5rem; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.feature-icon svg { width: 1.5rem; height: 1.5rem; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.input, .textarea {
  width: 100%; border-radius: 0.375rem; border: 1px solid var(--input);
  background: var(--background); color: var(--foreground);
  padding: 0.5rem 0.75rem; font-size: 1rem;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(14,165,233,0.2); }
.textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: color-mix(in srgb, var(--muted) 30%, transparent); border-top: 1px solid var(--border); padding: 3rem 0; }
@media (min-width: 768px) { .footer { padding: 4rem 0; } }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h3 { font-size: 0.875rem; font-weight: 600; margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: var(--muted-foreground); }
.footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-logo { height: 5rem; width: auto; object-fit: contain; }

/* Utilities */
.text-muted { color: var(--muted-foreground); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.w-full { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.list-bullet { list-style: none; padding-left: 0; }
.list-bullet li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; }
.list-bullet li::before { content: ''; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--accent); margin-top: 0.5rem; flex-shrink: 0; }
.check-bullet li::before { content: ''; width: 1.25rem; height: 1.25rem; flex-shrink: 0; margin-top: 0.15rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230ea5e9'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat; }
.border-b { border-bottom: 1px solid var(--border); }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .py-16 { padding-top: 6rem; padding-bottom: 6rem; } }
.rounded-2xl { border-radius: 1rem; }
.rounded-xl { border-radius: 0.75rem; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.bg-gradient-card { background: linear-gradient(to bottom right, #0f172a, #1e293b); color: #fff; }
.dark .bg-gradient-card { background: linear-gradient(to bottom right, #0f172a, #1e293b); border: 1px solid #1e293b; }
.industries-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
.industry-icon { padding: 1rem; border-radius: 50%; background: color-mix(in srgb, var(--primary) 5%, transparent); color: var(--primary); margin-bottom: 1rem; }
.industry-icon svg { width: 2rem; height: 2rem; }
.services-list .service-item { display: flex; flex-direction: column; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.services-list .service-item:last-child { border-bottom: none; padding-bottom: 0; }
@media (min-width: 768px) { .services-list .service-item { flex-direction: row; align-items: flex-start; } }
.service-item .service-title { flex: 0 0 33.333%; font-size: 1.5rem; font-weight: 700; }
.service-item .service-body { flex: 1; }
.service-item .service-body p { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.service-points { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .service-points { grid-template-columns: 1fr 1fr; } }
.service-points .point { display: flex; align-items: center; gap: 0.5rem; }
.service-points .point svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }
.product-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
.product-detail-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .product-detail-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.product-icon-lg { width: 4rem; height: 4rem; border-radius: 0.75rem; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.product-icon-lg svg { width: 2rem; height: 2rem; }
.mobile-menu { display: block; border-bottom: 1px solid var(--border); background: var(--background); }
@media (min-width: 768px) { .mobile-menu { display: none !important; } }
.mobile-menu .container { padding-top: 1rem; padding-bottom: 1rem; flex-direction: column; gap: 1rem; }
.mobile-menu a { display: block; padding: 0.5rem 0.5rem; border-radius: 0.375rem; }
.mobile-menu a:hover { background: var(--muted); }
.desk-only { display: none; }
@media (min-width: 768px) { .desk-only { display: inline-flex; } }
.mobile-toggle { display: flex; padding: 0.5rem; color: var(--muted-foreground); background: none; border: none; cursor: pointer; }
@media (min-width: 768px) { .mobile-toggle { display: none; } }
.mobile-toggle:hover { color: var(--accent); }
#mobile-nav:not(.open) { display: none; }
#mobile-nav.open { display: block; }

.text-4xl { font-size: 2.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.leading-relaxed { line-height: 1.625; }
.hidden-lg { display: none; }
@media (min-width: 1024px) { .hidden-lg { display: inline; } }
.pl-0 { padding-left: 0; }
.flex-1 { flex: 1; }
.grid-2 { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.bg-muted-50 { background: color-mix(in srgb, var(--muted) 50%, transparent); }
.bg-muted-30 { background: color-mix(in srgb, var(--muted) 30%, transparent); }
