/* PT Medical Technologies — Premium Proposal | iM Web Pros */
:root {
  --blue: #3b82f6;
  --blue2: #2563eb;
  --teal: #14b8a6;
  --cyan: #22d3ee;
  --amber: #f59e0b;
  --green: #22c55e;
  --red: #ef4444;
  --bg0: #06060a;
  --bg1: #0a0a12;
  --stroke: rgba(255, 255, 255, .14);
  --text: #f6f7ff;
  --muted: rgba(246, 247, 255, .72);
  --muted2: rgba(246, 247, 255, .55);
  --shadow: 0 18px 45px rgba(0, 0, 0, .45);
  --radius: 18px;
  --radius2: 26px;
  --max: 1100px;
  --gap: 18px;
  --card-bg: rgba(255, 255, 255, .04);
  --card-border: rgba(255, 255, 255, .08);
  --grad-text: linear-gradient(90deg, var(--blue) 0%, var(--teal) 50%, var(--cyan) 100%)
}

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

html {
  scroll-behavior: smooth
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 18% 6%, rgba(59, 130, 246, .18), transparent 55%),
    radial-gradient(900px 700px at 82% 10%, rgba(20, 184, 166, .16), transparent 50%),
    radial-gradient(1100px 900px at 55% 92%, rgba(245, 158, 11, .12), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius)
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: rgba(6, 6, 10, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
  transition: all .3s
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.nav-logo {
  font-weight: 800;
  font-size: 14px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 13px
}

.nav-links a {
  opacity: .7;
  transition: opacity .2s
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer
}

@media(max-width:768px) {
  .nav-links {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 10, .98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all .3s;
    pointer-events: none
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto
  }

  .nav-toggle {
    display: block
  }
}

/* LAYOUT */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px
}

section {
  padding: 60px 0
}

.section-title {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 8px;
  letter-spacing: -.02em
}

.section-intro {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 700px
}

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* CARDS */
.card {
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
  box-shadow: var(--shadow);
  overflow: hidden
}

.pad {
  padding: 20px
}

.grid {
  display: grid;
  gap: var(--gap)
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr)
}

@media(max-width:900px) {

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:600px) {

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr
  }
}

/* HERO */
.hero {
  padding: 100px 0 60px;
  text-align: center
}

.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 16px
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 24px
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, .2);
  font-size: 12px;
  color: var(--muted2)
}

.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px
}

.metric {
  padding: 16px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .05);
  text-align: center;
  min-width: 140px
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted2);
  margin-bottom: 4px
}

.metric-value {
  font-size: 22px;
  font-weight: 800
}

.metric-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .08);
  transition: all .2s;
  cursor: pointer;
  color: var(--text)
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3)
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  border-color: rgba(255, 255, 255, .2)
}

.btn-primary:hover {
  filter: brightness(1.1)
}

/* SCREENSHOTS */
.shot-frame {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .4);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
}

.shot-frame:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 32px rgba(90, 37, 119, .2), 0 0 16px rgba(28, 182, 168, .1);
  border-color: rgba(90, 37, 119, .3);
}

.shot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .04);
  font-size: 12px;
  color: var(--muted2)
}

.shot-dots {
  display: flex;
  gap: 6px
}

.shot-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.shot-dots span:nth-child(1) {
  background: #ff5f57;
}

.shot-dots span:nth-child(2) {
  background: #febc2e;
}

.shot-dots span:nth-child(3) {
  background: #28c840;
}

.shot-viewport {
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  min-height: 220px;
  background: rgba(255, 255, 255, .03);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.shot-viewport::before {
  content: "Loading screenshot…";
  position: absolute;
  color: rgba(255, 255, 255, .2);
  font-size: 12px;
  letter-spacing: .5px;
}

.shot-viewport img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* ACCORDION */
.accordion {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden
}

.acc-item {
  border-bottom: 1px solid var(--stroke)
}

.acc-item:last-child {
  border-bottom: none
}

.acc-btn {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, .04);
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s
}

.acc-btn:hover {
  background: rgba(255, 255, 255, .08)
}

.acc-icon {
  transition: transform .3s
}

.acc-item.open .acc-icon {
  transform: rotate(45deg)
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out
}

.acc-item.open .acc-content {
  max-height: 500px
}

.acc-inner {
  padding: 16px 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 32px
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--teal), var(--cyan))
}

.tl-item {
  position: relative;
  padding-bottom: 32px
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 3px solid var(--bg0)
}

.tl-title {
  font-weight: 700;
  margin-bottom: 4px
}

.tl-sub {
  font-size: 13px;
  color: var(--muted)
}

/* CALLOUT */
.callout {
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--teal);
  background: rgba(20, 184, 166, .1)
}

.callout-title {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px
}

/* VISION MOCKUPS */
.vision-card {
  border-radius: var(--radius2);
  border: 1px solid var(--stroke);
  overflow: hidden;
  background: #0a0e13
}

.vision-card .caption {
  padding: 16px;
  text-align: center
}

.vision-card .caption h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px
}

.vision-card .caption p {
  font-size: 12px;
  color: var(--muted);
  margin: 0
}

/* GHL DASHBOARD FRAMES */
.ghl-frame {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(0, 0, 0, .3);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s
}

.ghl-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(90, 37, 119, .2)
}

.ghl-label {
  padding: 10px 14px;
  background: rgba(90, 37, 119, .12);
  border-bottom: 1px solid var(--stroke);
  font-size: 12px;
  font-weight: 600;
  color: var(--text)
}

.ghl-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0
}

/* MOCKUP SCREENS (CSS-rendered) */
.mock-screen {
  background: linear-gradient(180deg, #0c1525 0%, #0f1d35 100%);
  padding: 24px;
  min-height: 280px;
  position: relative;
  overflow: hidden
}

.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .04);
  border-radius: 8px;
  margin-bottom: 20px
}

.mock-nav .logo {
  font-weight: 800;
  font-size: 13px;
  color: var(--text)
}

.mock-nav .links {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--muted2)
}

.mock-hero-text {
  text-align: center;
  margin-bottom: 20px
}

.mock-hero-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px
}

.mock-hero-text p {
  font-size: 11px;
  color: var(--muted)
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.mock-product {
  background: rgba(255, 255, 255, .05);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .06)
}

.mock-product .img-placeholder {
  height: 60px;
  background: linear-gradient(135deg, rgba(59, 130, 246, .15), rgba(20, 184, 166, .1));
  border-radius: 6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px
}

.mock-product .name {
  font-size: 9px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--text)
}

.mock-product .price {
  font-size: 10px;
  color: var(--teal);
  font-weight: 700
}

.mock-product .rfq {
  font-size: 8px;
  background: var(--blue);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px
}

.mock-chat {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 200px;
  background: rgba(10, 20, 35, .95);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px;
  font-size: 10px
}

.mock-chat .bubble {
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
  line-height: 1.4
}

.mock-chat .bubble.ai {
  background: rgba(59, 130, 246, .15);
  color: var(--text)
}

.mock-chat .bubble.user {
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  text-align: right
}

.mock-chat .input {
  display: flex;
  gap: 6px;
  margin-top: 8px
}

.mock-chat .input span {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 9px;
  color: var(--muted2);
  border: 1px solid rgba(255, 255, 255, .08)
}

/* AI Pipeline Mockup */
.mock-pipeline {
  background: linear-gradient(180deg, #0c1525 0%, #0f1d35 100%);
  padding: 20px;
  min-height: 220px
}

.mock-pipeline-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  align-items: center
}

.mock-pipeline-header h4 {
  font-size: 13px;
  font-weight: 700
}

.mock-pipeline-header .score {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(34, 197, 94, .15);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, .2)
}

.pipe-cols {
  display: flex;
  gap: 10px
}

.pipe-col {
  flex: 1;
  background: rgba(255, 255, 255, .03);
  border-radius: 8px;
  padding: 8px
}

.pipe-col .head {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted2);
  margin-bottom: 8px;
  text-align: center;
  font-weight: 600
}

.pipe-deal {
  background: rgba(255, 255, 255, .06);
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 6px;
  border-left: 3px solid var(--blue)
}

.pipe-deal .deal-name {
  font-size: 9px;
  font-weight: 600;
  color: var(--text)
}

.pipe-deal .deal-val {
  font-size: 10px;
  color: var(--teal);
  font-weight: 700
}

.pipe-deal .deal-sub {
  font-size: 8px;
  color: var(--muted2)
}

.pipe-col:nth-child(2) .pipe-deal {
  border-left-color: var(--amber)
}

.pipe-col:nth-child(3) .pipe-deal {
  border-left-color: var(--teal)
}

.pipe-col:nth-child(4) .pipe-deal {
  border-left-color: var(--green)
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 40px 0;
  text-align: center
}

.footer p {
  font-size: 13px;
  color: var(--muted2)
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none
  }
}

/* UTILITY */
.text-center {
  text-align: center
}

.mb-0 {
  margin-bottom: 0
}

.mb-1 {
  margin-bottom: 8px
}

.mb-2 {
  margin-bottom: 16px
}

.mb-3 {
  margin-bottom: 24px
}

.confirm {
  background: rgba(59, 130, 246, .15);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px
}