/* 
 * Modern Soft Stack Dev Theme
 * Built with Vanilla CSS
 */

:root {
  /* Colors - Modern Slate/Blue Theme */
  --primary: #0f172a;
  /* Deep Navy */
  --secondary: #3b82f6;
  /* Bright Blue */
  --secondary-hover: #2563eb;
  --bg-body: #f8fafc;
  /* Light Gray/Blue tint */
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f1f5f9;

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;

  /* Shadows & Borders */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --radius-md: 0.75rem;
  --radius-lg: 1rem;

  /* Font */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-hover);
  text-decoration: underline;
}

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background-color: var(--secondary-hover);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  color: var(--text-main);
  text-decoration: none;
}

/* Hero Section */
.hero {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 6rem 0;
  /* More breathing room */
  text-align: center;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-logo {
  width: 80px;
  height: auto;
  margin: 0 auto var(--spacing-md);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #94a3b8;
  /* Lighter slate for subtitle */
  font-weight: 300;
}

/* Introduction Section */
.intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl) 0;
  align-items: start;
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
}

.intro p {
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  color: var(--text-muted);
}

.intro-contact {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.intro-contact h2 {
  font-size: 1.5rem;
}

.contact-email {
  display: block;
  margin-top: var(--spacing-sm);
  font-weight: 600;
}

.intro-contact address {
  font-style: normal;
}

/* Products Section */
.products {
  padding-bottom: var(--spacing-xl);
}

.products h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  color: var(--primary);
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: var(--spacing-sm);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

/* Product Card */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.card-header {
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: linear-gradient(to right, #f1f5f9, #ffffff);
  border-bottom: 1px solid #f1f5f9;
}

.card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  /* Slight roundness for icons if they are square */
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.card-body {
  padding: var(--spacing-lg);
  flex-grow: 1;
  /* Pushes footer to bottom */
}

.card-body p {
  margin-bottom: var(--spacing-md);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--spacing-md);
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.feature-list li::before {
  content: "•";
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.privacy-link {
  font-size: 0.9rem;
  font-weight: 500;
}

.card-footer {
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.badge-container {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.play-badge {
  height: 58px;
  width: auto;
  transition: opacity 0.2s;
}

.play-badge:hover {
  opacity: 0.8;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--text-muted);
  padding: var(--spacing-lg) 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 90%;
  max-width: 600px;
  background: white;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main);
}

.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}