/* Modern CSS Design System - Reargenix Studio */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --slate-gray: #334155;
  --electric-teal: #0D9488;
  --electric-teal-hover: #0f766e;
  --electric-teal-light: rgba(13, 148, 136, 0.1);
  --pure-white: #FFFFFF;
  --dark-charcoal: #0F172A;
  --light-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --text-muted: #64748B;
  --text-main: #1E293B;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1280px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Transitions & Shadows */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-teal: 0 10px 25px -5px rgba(13, 148, 136, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-charcoal);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Helpers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--electric-teal);
  border-radius: 2px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--electric-teal);
  color: var(--pure-white);
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background-color: var(--electric-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-charcoal);
  border: 2px solid var(--slate-gray);
}

.btn-secondary:hover {
  background-color: var(--dark-charcoal);
  color: var(--pure-white);
  border-color: var(--dark-charcoal);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--pure-white);
  border: 2px solid var(--pure-white);
}

.btn-outline-white:hover {
  background-color: var(--pure-white);
  color: var(--dark-charcoal);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark-charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--electric-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-gray);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--electric-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--electric-teal);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-charcoal);
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--dark-charcoal);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin: 1.2rem 0;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-logo {
  color: var(--pure-white);
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.footer-logo span {
  color: var(--electric-teal);
}

.footer-heading {
  color: var(--pure-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

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

.footer-links a {
  color: #94A3B8;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--electric-teal);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* Dynamic Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 6rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--electric-teal-light);
  color: var(--electric-teal);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.5rem;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: var(--dark-charcoal);
}

.hero-title span {
  color: var(--electric-teal);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--slate-gray);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-features {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.hero-feature-item h4 {
  font-size: 1.1rem;
  color: var(--dark-charcoal);
}

.hero-feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--electric-teal-light);
  color: var(--electric-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Feature Cards / Workstation Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--electric-teal);
}

.card-icon {
  width: 60px;
  height: 60px;
  background-color: var(--electric-teal-light);
  color: var(--electric-teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product Catalog & Filter */
.catalog-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  background-color: var(--pure-white);
  border: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--slate-gray);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--electric-teal);
  color: var(--pure-white);
  border-color: var(--electric-teal);
  box-shadow: var(--shadow-teal);
}

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

.product-card {
  background: var(--pure-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.product-image {
  position: relative;
  height: 260px;
  background-color: #F1F5F9;
  overflow: hidden;
}

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

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

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.85);
  color: var(--pure-white);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.product-info {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.8rem;
  color: var(--electric-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

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

.product-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.product-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-charcoal);
  font-family: var(--font-heading);
}

/* Reviews Carousel / Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background-color: var(--pure-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.review-rating {
  color: #F59E0B;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.review-text {
  font-style: italic;
  color: var(--slate-gray);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--border-color);
  overflow: hidden;
}

.author-info h4 {
  font-size: 1rem;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Floating Label Forms */
.form-group {
  position: relative;
  margin-bottom: 1.8rem;
}

.form-control {
  width: 100%;
  padding: 1.1rem 1rem 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--pure-white);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--electric-teal);
  box-shadow: 0 0 0 3px var(--electric-teal-light);
}

.form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
  top: 0.3rem;
  font-size: 0.75rem;
  color: var(--electric-teal);
  font-weight: 600;
}

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

/* Legal Pages Styling */
.legal-content {
  background: var(--pure-white);
  padding: 4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-charcoal);
  border-bottom: 2px solid var(--electric-teal-light);
  padding-bottom: 0.5rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.2rem;
  color: var(--slate-gray);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.consent-box {
  background: var(--electric-teal-light);
  border-left: 4px solid var(--electric-teal);
  padding: 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.98);
  color: var(--pure-white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  bottom: 0;
}

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

.cookie-text {
  max-width: 800px;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.cookie-text a {
  color: var(--electric-teal);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* Map placeholder */
.map-container {
  height: 400px;
  background-color: #E2E8F0;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: var(--pure-white);
    flex-direction: column;
    padding: 3rem 2rem;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
}

@media (max-width: 600px) {
  .legal-content {
    padding: 2rem 1.5rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
