:root {
  --primary: #4338ca;      /* Indigo */
  --primary-dark: #312e81;
  --accent: #f59e0b;       /* Amber */
  --accent-hover: #d97706;
  --bg: #f8fafc;
  --text: #1e293b;
  --white: #ffffff;
  --gray: #64748b;
  --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--primary-dark); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Navigation */
nav {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo { 
  font-size: 1.5rem; 
  font-weight: 800; 
  color: var(--primary); 
  text-decoration: none; 
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo span { color: var(--accent); }
.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-primary { background-color: var(--primary); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-accent { background-color: var(--accent); color: var(--white); }
.btn-accent:hover { background-color: var(--accent-hover); }

/* Hero Section */
.hero { padding: 4rem 0 5rem; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero p { font-size: 1.25rem; color: var(--gray); margin-bottom: 2.5rem; max-width: 650px; margin-inline: auto; }

/* Sections */
section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2.25rem; }

/* Features Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-card { background: var(--white); padding: 2rem; border-radius: var(--radius); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); text-align: center; }
.feature-card i { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; display: block; }

/* Footer */
footer { background: var(--primary-dark); color: var(--white); padding: 4rem 0 2rem; margin-top: 5rem; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 3rem; margin-bottom: 3rem; }
.footer-info { max-width: 300px; }
.footer-info p { color: #cbd5e1; margin-top: 1rem; font-size: 0.9rem; }
.footer-links-group h4 { margin-bottom: 1.5rem; color: var(--white); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #cbd5e1; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #475569; padding-top: 2rem; text-align: center; color: #94a3b8; font-size: 0.85rem; }

/* App Showcase */
.showcase { padding: 4rem 0; background: #f1f5f9; overflow: hidden; }
.showcase-grid { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
.phone-frame {
  width: 280px;
  background: #1c1c1e;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  position: relative;
  transition: transform 0.3s;
}
.phone-frame:hover { transform: translateY(-10px); }
.phone-frame::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #2c2c2e;
  border-radius: 2px;
  z-index: 10;
}
.phone-screen {
  border-radius: 32px;
  overflow: hidden;
  height: 520px;
  background: #fff;
  position: relative;
  font-size: 12px;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px 5px;
  font-size: 10px;
  font-weight: 600;
}
.mock-header { padding: 15px; color: white; }
.mock-nhs { background: linear-gradient(160deg, #003087 0%, #005EB8 100%); }
.mock-patient { background: linear-gradient(160deg, #004D40 0%, #00796B 100%); }
.mock-pro { background: linear-gradient(160deg, #38006B 0%, #6A1B9A 100%); }
.mock-content { padding: 12px; }
.mock-card {
  background: white;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #f1f5f9;
}
.mock-title { font-weight: 700; margin-bottom: 4px; display: block; }
.mock-label { font-size: 10px; color: #64748b; }
.mock-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  margin-top: 5px;
}
.pill-blue { background: #dbeafe; color: #1e40af; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-purple { background: #f3e8ff; color: #6b21a8; }
.mock-btn {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 11px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .nav-links { display: none; } 
  .hero h1 { font-size: 2.5rem; }
  .footer-content { flex-direction: column; text-align: center; align-items: center; }
  .phone-frame { width: 260px; }
}
