/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #111827;
  background-color: #ffffff;
  font-weight: 400;
}

/* Utility Classes */
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Layout */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding-bottom: 7rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    max-width: 42rem;
    width: 100%;
    padding-bottom: 9rem;
  }
}

@media (min-width: 1280px) {
  .hero-content {
    padding-bottom: 10rem;
  }
}

.hero-svg {
  display: none;
}

@media (min-width: 1024px) {
  .hero-svg {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 12rem;
    color: #ffffff;
    transform: translateX(50%);
  }
}

/* Navigation */
.nav-wrapper {
  position: relative;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .nav-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-wrapper {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .nav-wrapper {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .nav {
    height: 3rem;
  }
}

@media (min-width: 1024px) {
  .nav {
    justify-content: flex-start;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-grow: 1;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .nav-brand {
    flex-grow: 0;
  }
}

.nav-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (min-width: 768px) {
  .nav-brand-inner {
    width: auto;
  }
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #4f46e5;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: block;
    margin-left: 3rem;
    padding-right: 1rem;
  }
  
  .nav-links a {
    font-weight: 500;
    color: #4b5563;
    font-size: 1rem;
    letter-spacing: -0.01em;
    transition: color 0.2s;
  }
  
  .nav-links a:hover {
    color: #111827;
  }
  
  .nav-links a + a {
    margin-left: 2.5rem;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  margin-right: -0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.menu-icon {
  background-color: #ffffff;
  border-radius: 0.375rem;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all 0.2s;
}

.menu-icon:hover {
  color: #6b7280;
  background-color: #f3f4f6;
}

.menu-icon:focus {
  outline: none;
  ring: 2px;
  ring-color: #6366f1;
  ring-inset: true;
}

.menu-icon svg {
  height: 1.5rem;
  width: 1.5rem;
}

/* Main Content */
.main-content {
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .main-content {
    margin-top: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .main-content {
    margin-top: 6rem;
  }
}

@media (min-width: 1024px) {
  .main-content {
    margin-top: 8rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .main-content {
    margin-top: 10rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.hero-text {
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-text {
    text-align: left;
  }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #111827;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title-line {
  display: block;
}

@media (min-width: 1280px) {
  .hero-title-line {
    display: inline;
  }
}

.hero-title-line:first-child {
  margin-bottom: 0.5rem;
}

.hero-title-accent {
  color: #4f46e5;
}

.hero-description {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .hero-description {
    margin-top: 2rem;
    font-size: 1.125rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .hero-description {
    margin-top: 2rem;
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-description {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
  }
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-cta {
    margin-top: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 2.5rem;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 0.5rem;
  color: #ffffff;
  background-color: #4f46e5;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #4338ca;
}

.btn-wrapper {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.btn-wrapper:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
  }
}

/* Hero Image */
.hero-image-wrapper {
  position: relative;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 50%;
  }
}

.hero-image {
  height: 14rem;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .hero-image {
    height: 18rem;
  }
}

@media (min-width: 768px) {
  .hero-image {
    height: 24rem;
  }
}

@media (min-width: 1024px) {
  .hero-image {
    width: 100%;
    height: 100%;
  }
}

/* Concepts Section */
.concepts-section {
  width: 100%;
  background-color: #eef2ff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .concepts-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .concepts-section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.concepts-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #4f46e5;
  text-align: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .concepts-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .concepts-title {
    font-size: 3.75rem;
    margin-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .concepts-title {
    margin-bottom: 6rem;
  }
}

.concepts-container {
  background-color: #eef2ff;
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .concepts-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .concepts-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .concepts-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* Card Styles */
.card-wrapper {
  width: 100%;
  height: 100%;
}

.card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.1), 0 10px 10px -5px rgba(79, 70, 229, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .card {
    min-height: 400px;
  }
}

@media (min-width: 1024px) {
  .card {
    min-height: 420px;
    margin-bottom: 0;
  }
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-0.25rem);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.card-overlay {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, rgba(79, 70, 229, 0.85) 40%, rgba(79, 70, 229, 0.95) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: 1.5rem 0;
}

.card-title {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .card-title {
    font-size: 1.375rem;
  }
}

.card-description {
  font-size: 0.9375rem;
  position: relative;
  z-index: 2;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 1rem;
  flex-grow: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0.98;
}

@media (min-width: 640px) {
  .card-description {
    font-size: 1rem;
  }
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
  padding-top: 1rem;
}

.card-btn {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  width: 100%;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.card-btn-primary {
  background-color: #312e81;
  color: #ffffff;
}

.card-btn-primary:hover {
  background-color: #4338ca;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.card-btn-secondary {
  background-color: #1f2937;
  color: #ffffff;
}

.card-btn-secondary:hover {
  background-color: #4338ca;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.card-btn-disabled {
  background-color: #9ca3af;
  color: #ffffff;
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.footer {
  background-color: #111827;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.footer-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .footer-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
  }
}

.footer-text {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .footer-text {
    font-size: 1rem;
  }
}

.footer-link {
  color: #c7d2fe;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #a5b4fc;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }
  
  .lg\:grid {
    display: grid;
  }
  
  .lg\:absolute {
    position: absolute;
  }
}

