/* Design System */
:root {
  --primary-color: #005A9C;
  /* Haypader Blue */
  --secondary-color: #009B9E;
  /* Haypader Teal */
  --accent-color: #77E6F2;
  /* Haypader Light Cyan */
  --bg-color: #F0F9FA;
  /* Very Light Cyan */
  --text-color: #333333;
  --light-text: #FFFFFF;
  --card-bg: #FFFFFF;
  --shadow: 0 4px 15px rgba(0, 90, 156, 0.15);
  --radius: 16px;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 4px solid var(--secondary-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
  transition: var(--transition);
  font-size: 1rem;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 50% 50% / 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero h1 {
  color: var(--light-text);
  font-size: 3.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.hero-btns {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  background: var(--secondary-color);
  color: var(--light-text);
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 155, 158, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 155, 158, 0.5);
  background: #00b3b6;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--light-text);
  color: var(--light-text);
  margin-left: 15px;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--light-text);
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Features/Cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: -60px;
  margin-bottom: 100px;
  position: relative;
  z-index: 10;
}

.card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border-top: 5px solid var(--secondary-color);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 90, 156, 0.2);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  background: rgba(0, 90, 156, 0.1);
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--light-text);
  padding: 80px 0 40px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 25px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  opacity: 0.9;
  margin-bottom: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  color: var(--light-text);
  transform: translateY(-3px);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Login Button in Nav */
.nav-btn {
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--light-text) !important;
  border-radius: 30px;
  font-weight: 700 !important;
}

.nav-btn:hover {
  background: #00b3b6;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 155, 158, 0.3);
}