/* Global Reset and Variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
:root {
  --primary: #FFEB3B;
  --secondary: #1a1a1a;
  --accent: rgba(255,235,59,0.15);
}

/* Header with Blur & Fixed Position */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background 0.3s;
}
.logo img {
  max-height: 100px;
  padding: 5px;
  background: #000;
  border-radius: 5px;
}
header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 30px;
  font-weight: 500;
  transition: color 0.3s;
}
header nav a:hover {
  color: var(--primary);
}

/* Hero Section with Parallax Background and Overlay */
.hero {
  height: 100vh;
  background: url('/images/Atrial Harmony Physician and Patient DALLE.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeIn 1s ease-out;
}
.hero h1 {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

/* Countdown Timer */
.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}
.countdown div {
  background: var(--secondary);
  padding: 20px;
  border-radius: 10px;
  min-width: 80px;
  animation: popIn 0.5s ease-out;
}
.countdown div span {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
}

/* Call-to-Action Button */
.btn {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255,235,59,0.5);
}

/* Innovative Features Section */
#features {
  background: #111;
  padding: 80px 20px;
  text-align: center;
}
#features h2 {
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary);
  animation: fadeIn 1s ease-out;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: var(--secondary);
  padding: 30px 20px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.feature-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: var(--primary);
}
.feature-card p {
  font-size: 0.95rem;
  color: #ccc;
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.feature-card:hover i {
  transform: scale(1.1);
}

/* Secondary Hero Section with Hover Zoom */
.secondary-hero {
  position: relative;
  overflow: hidden;
  margin: 80px 0;
}
.secondary-hero img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.8);
  transition: transform 0.5s;
}
.secondary-hero img:hover {
  transform: scale(1.05);
}

/* Team Section */
#team {
  background: #000;
  padding: 80px 20px;
  text-align: center;
}
#team h2 {
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary);
  animation: fadeIn 1s ease-out;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.team-card {
  background: var(--secondary);
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255,235,59,0.5);
}
.team-card i.team-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary);
}
.team-card p {
  font-size: 0.9rem;
  color: #aaa;
}

/* Call-to-Action Signup Section */
#cta {
  background: #000;
  padding: 80px 20px;
  text-align: center;
}
#cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--primary);
}
#cta p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.cta-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 50px 0 0 50px;
  outline: none;
  font-size: 1rem;
}
.cta-form button {
  padding: 15px 30px;
  border: none;
  background: var(--primary);
  color: #000;
  font-size: 1rem;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cta-form button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255,235,59,0.5);
}

/* Footer */
footer {
  background: #111;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
}
footer p {
  margin-bottom: 10px;
}
footer a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}
footer a:hover {
  color: #fff;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .countdown {
    flex-direction: column;
    gap: 10px;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-form input,
  .cta-form button {
    border-radius: 50px;
  }
  .cta-form button {
    margin-top: 10px;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}
