/* Base Styles */
:root {
  --primary: #4A6CFA;
  --secondary: #FF7B54;
  --accent: #9D4EDD;
  --bg-light: #F9F9FF;
  --bg-dark: #2A2D48;
  --text-dark: #252733;
  --text-light: #F9F9FF;
  --success: #36D1A7;
  --warning: #FFC94D;
  --error: #FF6B6B;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent);
}

strong {
  color: var(--accent);
}

.button {
  transition: var(--transition);
}

.button.is-primary {
  background-color: var(--primary);
}

.button.is-primary:hover {
  background-color: var(--primary);
  opacity: 0.9;
}

.button.is-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
}

.button.is-secondary:hover {
  background-color: var(--secondary);
  opacity: 0.9;
}

.button.is-accent {
  background-color: var(--accent);
  color: var(--text-light);
}

.button.is-accent:hover {
  background-color: var(--accent);
  opacity: 0.9;
}

.button.is-outlined {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.button.is-outlined:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 1.5rem;
}

@media screen and (min-width: 769px) {
  .section {
    padding: 5rem 3rem;
  }
}

/* Circular Focal Points Layout */
.circular-focus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.circular-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 300px;
  margin: 0 auto 2rem;
}

@media screen and (min-width: 769px) {
  .circular-container {
    max-width: 400px;
    height: 400px;
  }
}

.circular-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  z-index: 1;
}

.circular-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbital-item {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow);
  z-index: 2;
  transition: var(--transition);
}

.orbital-item:hover {
  transform: scale(1.1);
}

.orbital-item:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
}

.orbital-item:nth-child(2) {
  top: 25%;
  right: 0;
  background-color: var(--secondary);
}

.orbital-item:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
}

.orbital-item:nth-child(4) {
  top: 25%;
  left: 0;
  background-color: var(--success);
}

.radial-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.radial-item {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background-color: white;
  transition: var(--transition);
}

.radial-item:hover {
  transform: translateY(-5px);
}

/* Header */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-brand img {
  max-height: 40px;
}

.navbar-burger {
  height: 4rem;
}

.navbar-item {
  font-weight: 500;
  transition: var(--transition);
}

.navbar-item:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.hero-body {
  z-index: 2;
  position: relative;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.05;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  opacity: 0.8;
}

@media screen and (min-width: 769px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

/* Features */
.features {
  padding: 5rem 0;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  background-color: white;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-title {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Contact Form */
.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.form-control {
  margin-bottom: 1.5rem;
}

.form-control label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control input,
.form-control textarea,
.form-control select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.form-control input:focus,
.form-control textarea:focus,
.form-control select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(74, 108, 250, 0.2);
}

.checkbox-control {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-control input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

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

.footer-title {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

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

/* About Page */
.about-hero {
  padding: 5rem 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.team-member {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  height: 250px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.team-title {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Product Page */
.product-details {
  padding: 5rem 0;
}

.product-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.product-image img {
  width: 100%;
  height: auto;
}

.product-info {
  padding: 0 1.5rem;
}

.product-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.product-description {
  margin-bottom: 2rem;
}

.product-features {
  margin-bottom: 2rem;
}

.product-features ul {
  padding-left: 1.5rem;
}

.product-features li {
  margin-bottom: 0.5rem;
}

/* Blog/Learning Page */
.learning-hero {
  padding: 5rem 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.article-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
}

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

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

.article-card:hover .article-thumbnail img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.article-excerpt {
  margin-bottom: 1.5rem;
}

/* Article Page */
.article-hero {
  padding: 5rem 0;
}

.article-header {
  margin-bottom: 3rem;
}

.article-header-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-header-meta {
  color: #666;
  margin-bottom: 2rem;
}

.article-header-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.article-header-image img {
  width: 100%;
  height: auto;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1rem;
}

.article-body h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--primary);
  background-color: rgba(74, 108, 250, 0.05);
  font-style: italic;
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-info-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-info-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-consent.is-active {
  display: block;
}

.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-direction: column;
}

.cookie-settings {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: none;
}

.checkout-button {
  cursor: pointer !important;
}

.cookie-settings.is-visible {
  display: block;
}

.cookie-modal .modal-card {
  max-width: 600px;
}

.cookie-modal .modal-card-head {
  background-color: var(--primary);
  color: white;
}

.cookie-modal .modal-card-title {
  color: white;
}

.cookie-modal .modal-card-foot {
  justify-content: space-between;
}

/* Cart & Checkout */
.cart-section {
  padding: 5rem 0;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-right: 1.5rem;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 700;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  margin: 0 1.5rem;
}

.cart-item-quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid #eee;
  background: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-quantity span {
  width: 40px;
  text-align: center;
}

.cart-item-remove {
  color: var(--error);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
}

.cart-summary {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
}

.cart-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.checkout-section {
  padding: 5rem 0;
}

.checkout-form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.checkout-summary {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

/* Thanks Page */
.thanks-section {
  padding: 5rem 0;
  text-align: center;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thanks-message {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Privacy, Terms, etc. */
.legal-section {
  padding: 5rem 0;
}

.legal-content {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1.5rem;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-date {
  font-style: italic;
  margin-bottom: 2rem;
  color: #666;
}

/* Product Cards */
.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card-image {
  height: 200px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 1.5rem;
}

.product-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-card-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.product-card-description {
  margin-bottom: 1.5rem;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.has-text-primary { color: var(--primary); }
.has-text-secondary { color: var(--secondary); }
.has-text-accent { color: var(--accent); }
.has-text-success { color: var(--success); }
.has-text-warning { color: var(--warning); }
.has-text-error { color: var(--error); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-dark { background-color: var(--bg-dark); }
.bg-light { background-color: var(--bg-light); }

.is-hidden {
  display: none !important;
}

/* International Telephone Input */
.iti {
  width: 100%;
}

/* Prevent overflow on mobile */
@media screen and (max-width: 768px) {
  .modal-card {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .table-container {
    overflow-x: auto;
  }
}