/* DeltaMax Premium Clinical Theme (2026) */
@font-face {
  font-family: 'SF Pro Text';
  src: url('../fonts/SF-Pro-Text-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 
   Developed by Vuqar Ismayil 
   GitHub: https://github.com/Vugarismayil 
   Discord: thefariz
*/
:root {
  /* Brand Colors */
  --primary: #1e40af;
  /* Deep Navy - Trust & Authority */
  --accent: #3B82F6;
  /* Medical Blue - Innovation */
  --accent-light: #60A5FA;

  /* Neutral Surface Colors */
  --bg-body: #F8FAFC;
  /* Ultra Light Blue-Grey */
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.7);

  /* Text Colors */
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.5);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

  /* Typography */
  --font-heading: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Plus Jakarta Sans', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', sans-serif;

  /* Layout */
  --nav-height: 64px;
  --container-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

ul {
  list-style: none;
}

/* --- UTILITIES --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  margin-bottom: 1rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
  /* Ensure heading font (SF Pro Display/System) is used */
  -webkit-font-smoothing: antialiased;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #1E293B;
  /* Slightly Lighter Navy */
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: white;
}

/* --- NAVIGATION --- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-visual {
  position: relative;
  height: 500px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-visual img,
.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- STATS / LOGOS --- */
.stats {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* --- FEATURES --- */
.features {
  padding: 8rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* --- PRODUCTS --- */
.products {
  padding: 6rem 0;
  background: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  font-family: var(--font-heading);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--text-main);
  color: white;
  border-color: var(--text-main);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* New Product Card */
.product-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-img-frame {
  height: 280px;
  background: #F1F5F9;
  padding: 2rem;
  position: relative;
  display: grid;
  place-items: center;
}

.product-img-frame img {
  max-height: 100%;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  transition: 0.3s;
}

.product-card:hover .product-img-frame img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.product-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- INNOVATION / CTA --- */
.innovation {
  padding: 8rem 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.innovation-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.innovation h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.innovation p {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 3rem;
}

/* --- FOOTER --- */
footer {
  background: white;
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.newsletter-form {
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.input,
textarea,
select {
  font-family: inherit;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  /* Reduced from potential default or larger value */
  background: #f8fafc;
  transition: 0.3s;
  font-size: 0.95rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.05);
  /* Softer focus ring */
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    padding-top: 6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-menu {
    display: none;
  }

  /* Mobile Menu would go here */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

.phone-link {
  color: var(--primary);
  text-decoration: none;
  transition: 0.2s;
}

.phone-link:hover {
  color: var(--accent) !important;
}