/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Variables */
:root {
  --primary: #0D9488;
  --primary-light: #14B8A6;
  --primary-dark: #0F766E;
  --secondary: #075985;
  --dark: #111827;
  --light: #F9FAFB;
  --light-gray: #E5E7EB;
  --text: #1F2937;
  --text-light: #6B7280;
  --white: #ffffff;
  
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 0.5em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 4px;
  width: 60%;
  background: var(--primary);
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav li a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger {
  width: 24px;
  height: 18px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* Hero Section */
.hero {
  background-color: var(--white);
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  color: var(--text-light);
}

.hero-visual {
  margin-top: 3rem;
}

.hero-svg {
  max-width: 100%;
  height: auto;
}

.cta-button {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--shadow);
  margin: 1rem 0 2rem;
}

.cta-button:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Videos Section */
.videos-section {
  padding: 5rem 0;
  background-color: var(--light);
}

.videos-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.videos-section h2::after {
  left: 20%;
  width: 60%;
}

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

.video-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.video-thumbnail {
  height: 200px;
  overflow: hidden;
}

.video-thumbnail svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-info {
  padding: 1.5rem;
}

.video-info h3 {
  margin-bottom: 0.5rem;
}

.video-info p {
  color: var(--text-light);
  margin-bottom: 0;
}

.more-videos {
  text-align: center;
  margin-top: 2rem;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

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

.features-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.features-section h2::after {
  left: 30%;
  width: 40%;
}

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

.feature {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.feature-content h3 {
  margin-bottom: 1rem;
}

.feature-content p {
  color: var(--text-light);
}

/* Access Section */
.access-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  color: var(--white);
  text-align: center;
}

.access-section h2 {
  color: var(--white);
}

.access-section h2::after {
  background-color: var(--white);
  left: 40%;
  width: 20%;
}

.access-section p {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.access-options {
  max-width: 500px;
  margin: 0 auto;
}

.access-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.access-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.access-features {
  margin-bottom: 2rem;
  text-align: left;
}

.access-features li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.access-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--white);
}

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

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-icon {
  width: 60px;
  height: 60px;
}

.footer-brand h3 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

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

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-light);
}

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

.footer-bottom p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

  h2 {
    font-size: 2rem;
  }

  /* Navigation for mobile */
  .menu-toggle {
    display: block;
    z-index: 101;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    padding: 6rem 2rem 2rem;
    z-index: 99;
  }

  nav.active {
    right: 0;
  }

  .main-nav {
    flex-direction: column;
    gap: 2rem;
  }

  .main-nav li a {
    display: block;
    font-size: 1.25rem;
  }

  /* Adjust layouts for mobile */
  .video-grid,
  .features-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

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

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    padding: 7rem 0 3rem;
  }

  .videos-section,
  .features-section,
  .access-section {
    padding: 3rem 0;
  }

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