:root {
  --primary: #003366;
  --primary-light: #004d99;
  --primary-dark: #002244;
  --accent: #00a3cc;
  --accent-light: #33b5d9;
  --text-dark: #1a1a1a;
  --text-light: #4a4a4a;
  --background: #f8fafc;
  --white: #ffffff;
  --error: rgb(219, 45, 45);
  --success: #00a86b;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

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

body {
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.error {
  border-color: var(--error) !important;
}

.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 2rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
}

.access-counter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.access-counter p {
  font-size: 2rem !important;
  /* line-height: 3rem; */
  /* margin: 0; */
}

#count {
  font-weight: bold;
  color: var(--accent);
  font-size: 7rem !important;
}

/* Header Styles */
header {
  background: var(--white);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  max-width: 180px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("https://via.placeholder.com/800x600?text=Pattern") no-repeat;
  background-size: cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin: 1rem 0;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-light);
  font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background: var(--background);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step-column {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.step-column h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.steps-list {
  list-style: none;
}

.steps-list li {
  background: var(--background);
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.steps-list li:hover {
  transform: translateX(5px);
  background: var(--primary-light);
  color: var(--white);
}

.steps-list li:hover strong {
  color: var(--white);
}

.steps-list li strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Signup Section */
.signup {
  padding: 6rem 0;
  background: var(--gradient-primary);
  color: var(--white);
}

.signup-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.signup h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.signup p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

.form-input {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.select-wrapper {
  position: relative;
  display: inline-block;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--white);
  transform: translateY(-50%);
  pointer-events: none;
}

.form-select {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-select option {
  background: var(--primary);
  color: var(--white);
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 1rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  max-width: 150px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .header-container {
    flex-direction: column !important;
    gap: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.toast-success {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background-color: var(--success);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-family: sans-serif;
  font-size: 16px;
  z-index: 9999;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}
