/* Glass morphism effects - inspired by https://css.glass */

.glass {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-sm {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-lg {
  background: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.12);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-sidebar {
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35), 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition-base);
}

.glass-sidebar:hover {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5), 0 6px 40px rgba(0, 0, 0, 0.12);
}

.glass-badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-btn-primary {
  background: rgba(16, 185, 129, 0.75);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

.glass-btn-primary:hover {
  background: rgba(16, 185, 129, 0.9);
}

.glass-btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
}

/* Hero Section Glassmorphism */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f0f9ff 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-cyan-08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-green-06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #475569;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary {
  background: var(--color-navy);
  color: rgb(213, 226, 245);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-navy-dark);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.4);
  transform: translateY(-2px);
}

.btn-primary:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--color-navy);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--color-navy);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: #f8fafc;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.hero-footer-text {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 1.5rem;
}

.hero-footer-text span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.hero-image-container {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Feature Cards Glassmorphism */
.features-section {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.feature-card {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-teal-10) 0%, var(--accent-blue-05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1.5rem;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 48px rgba(31, 38, 135, 0.15);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 1;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748b;
  position: relative;
  z-index: 1;
}

.feature-link-container {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-teal);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 0.5rem;
}

.feature-link:hover {
  color: var(--color-teal-dark);
  transform: translateX(4px);
}

/* Services Grid */
.services-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.services-heading {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.services-subheading {
  font-size: 1.125rem;
  text-align: center;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 3rem;
}

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

.service-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-image-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  
  .hero-image-container {
    height: 350px;
    margin-top: 2rem;
  }
  
  .features-section {
    padding: 3rem 0;
  }
  
  .features-grid {
    gap: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .services-section {
    padding: 3rem 0;
  }
  
  .services-heading {
    font-size: 1.75rem;
  }
  
  .services-subheading {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .hero-footer-text {
    font-size: 0.8rem;
  }
  
  .hero-image-container {
    height: 250px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-title {
    font-size: 1.125rem;
  }
  
  .feature-text {
    font-size: 0.9rem;
  }
  
  .services-heading {
    font-size: 1.5rem;
  }
  
  .services-subheading {
    font-size: 0.95rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-title {
    font-size: 1rem;
  }
  
  .service-desc {
    font-size: 0.9rem;
  }
}

/* General Page Hero Sections */
.hero {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #f0f9ff 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-cyan-08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-green-06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero p {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
}

/* Grid and Card Layouts */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

/* General Card Styling */
.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}

.card:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.12);
  transform: translateY(-4px);
}

.card h2, .card h3, .card h4 {
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.card p {
  color: #64748b;
  line-height: 1.6;
}

/* Product Card Styling */
.product-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.product-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.product-card-description {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-teal);
  margin-bottom: 1.5rem;
}

.product-card-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--color-navy);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.product-card-button:hover {
  background: var(--color-navy-dark);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

/* Blog Card Styling */
.blog-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}

.blog-card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.12);
  transform: translateY(-6px);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.blog-card-date {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-link {
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-card-link:hover {
  color: var(--color-teal-dark);
  transform: translateX(4px);
  display: inline-block;
}

/* Section with Background */
.section {
  padding: 4rem 0;
}

.section.bg-gradient {
  background: linear-gradient(180deg, #f8fafc 0%, #f0f9ff 100%);
}

.section-heading {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Input and Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(184, 200, 190, 0.4);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--color-navy);
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px var(--accent-teal-10);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Breadcrumb Styling */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb-item {
  font-size: 0.95rem;
  color: #64748b;
}

.breadcrumb-item a {
  color: var(--color-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-teal-dark);
}

.breadcrumb-item.active {
  color: var(--color-navy);
  font-weight: 600;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .grid--2 {
    grid-template-columns: 1fr;
  }
  
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-heading {
    font-size: 1.75rem;
  }
  
  .section-subheading {
    font-size: 1rem;
  }
  
  .product-card img {
    height: 200px;
  }
  
  .blog-card-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .section-heading {
    font-size: 1.5rem;
  }
  
  .product-card img {
    height: 180px;
  }
  
  .blog-card-title {
    font-size: 1.1rem;
  }
  
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
}

.glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}
