/* ============================================
   ENSO VASCULAR — Global Styles
   ============================================ */

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

:root {
  --navy: #0b1a2e;
  --navy-light: #132640;
  --navy-mid: #1a3355;
  --blue: #4a90d9;
  --blue-light: #6aafef;
  --accent: #c0985a;
  --accent-light: #d4b07a;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --gray-100: #e8ecf1;
  --gray-200: #cdd5df;
  --gray-400: #8896a7;
  --gray-600: #5a6a7e;
  --text-dark: #1a1a2e;
  --text-body: #3d4f63;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* -- Typography -- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { max-width: 680px; }

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

/* -- Layout -- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--gray-200);
}

.section--light {
  background: var(--off-white);
}

.section-label {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section--dark .section-label {
  color: var(--accent-light);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--gray-600);
}

.section--dark .section-header p {
  color: var(--gray-200);
}

/* -- Navigation -- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 26, 46, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav__logo svg {
  width: 36px;
  height: 36px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--gray-200);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav__cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.nav__cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* -- Hero -- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg-circle {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 700px;
  opacity: 0.06;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.hero__content p {
  color: var(--gray-200);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192, 152, 90, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(11, 26, 46, 0.4);
}

/* -- Stats Bar -- */
.stats-bar {
  background: var(--navy-light);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0;
}

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

.stat__number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -- Cards -- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.card--dark {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.card--dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(74,144,217,0.1), rgba(74,144,217,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--blue);
}

.card--dark .card__icon {
  background: rgba(192, 152, 90, 0.15);
  color: var(--accent-light);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.card--dark p {
  color: var(--gray-200);
}

/* -- Timeline -- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
}

.section--dark .timeline::before {
  background: rgba(255,255,255,0.1);
}

.timeline__item {
  position: relative;
  padding-left: 64px;
  padding-bottom: 3rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: 14px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
}

.timeline__dot--active {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(74, 144, 217, 0.2);
}

.timeline__dot--future {
  border-color: var(--gray-200);
}

.section--dark .timeline__dot {
  background: var(--navy);
  border-color: var(--accent);
}

.section--dark .timeline__dot--active {
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(192, 152, 90, 0.2);
}

.timeline__date {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.section--dark .timeline__date {
  color: var(--accent-light);
}

.timeline__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section--dark .timeline__title {
  color: var(--white);
}

.timeline__desc {
  font-size: 0.95rem;
  color: var(--gray-600);
}

.section--dark .timeline__desc {
  color: var(--gray-200);
}

/* -- Two-col layout -- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

/* -- Market stats -- */
.market-stat {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.section--dark .market-stat {
  border-bottom-color: rgba(255,255,255,0.08);
}

.market-stat:last-child {
  border-bottom: none;
}

.market-stat__number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 100px;
  line-height: 1;
}

.section--dark .market-stat__number {
  color: var(--accent-light);
}

.market-stat__text h4 {
  margin-bottom: 0.25rem;
}

.market-stat__text p {
  font-size: 0.9rem;
}

/* -- CTA Banner -- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--gray-200);
  font-size: 1.1rem;
  margin: 0 auto 2rem;
}

/* -- Contact Form Area -- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(74, 144, 217, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.contact-info__text h4 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-info__text p {
  font-size: 0.9rem;
}

/* -- Footer -- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 600;
}

.footer__logo svg {
  width: 28px;
  height: 28px;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__copy {
  font-size: 0.8rem;
}

/* -- Animations -- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* -- Responsive -- */
@media (max-width: 968px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .card-grid { grid-template-columns: 1fr; }
  .hero__content p { font-size: 1.05rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-bar__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .container { padding: 0 1.25rem; }
}
