/* W Interactive AB - Modern Professional Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0066cc;
  --secondary-blue: #007aff;
  --dark-blue: #004499;
  --light-blue: #e6f3ff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --background: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Product-specific colors that complement the purple icon */
  --product-gradient-start: #f8fafc;
  --product-gradient-end: #e2e8f0;
  --product-text: #1a1a1a;
  --product-accent: #6366f1;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Styles */
header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0;
}

/* Navigation */
nav {
  margin-top: 16px;
  position: relative;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  margin: 0 20px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--primary-blue);
}

nav a.active {
  color: var(--primary-blue);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

/* Main Content */
main {
  max-width: 900px;
  margin: 48px auto;
  background: var(--background);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
  padding: 48px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  font-weight: 400;
}

.content {
  padding: 0;
}

/* Section Styles */
section {
  padding: 40px;
  border-bottom: 1px solid var(--border);
}

section:last-child {
  border-bottom: none;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-content {
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-content p {
  margin-bottom: 16px;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* Product Card */
.product-card {
  background: var(--background);
  border-radius: 16px;
  padding: 0;
  margin-top: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px;
  background: linear-gradient(135deg, var(--product-gradient-start) 0%, var(--product-gradient-end) 100%);
  color: var(--product-text);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.product-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  background: white;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title-section {
  flex: 1;
}

.product-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--product-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 0;
}

.product-body {
  padding: 32px;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-features {
  margin-bottom: 32px;
}

.product-features-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
  min-height: 60px;
  transition: all 0.2s ease;
  overflow: hidden;
}

.feature-item:hover {
  background: var(--background);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateY(-1px);
}

.feature-icon {
  width: 18px;
  height: 18px;
  color: var(--product-accent);
  flex-shrink: 0;
  display: block;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--text-primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.app-store-badge:hover {
  background: var(--dark-blue);
  color: white;
}

.app-store-badge svg {
  width: 20px;
  height: 20px;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.coming-soon-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--product-accent), #8b5cf6);
  opacity: 0.7;
}

.coming-soon-badge svg {
  width: 16px;
  height: 16px;
  color: var(--product-accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .product-header {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .product-icon {
    width: 64px;
    height: 64px;
  }
  
  .product-name {
    font-size: 1.5rem;
  }
  
  .product-body {
    padding: 24px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .feature-item {
    padding: 16px 18px;
    min-height: 56px;
  }
  
  .product-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .coming-soon-badge {
    padding: 12px 20px;
    font-size: 0.85rem;
  }
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-value {
  color: var(--text-secondary);
  font-weight: 400;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--primary-blue);
}

/* Links and Buttons */
a {
  color: var(--secondary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--dark-blue);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-blue);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-top: 16px;
}

.btn:hover {
  background: var(--dark-blue);
  color: white;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  z-index: 1000;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-text {
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
}

.cookie-banner .btn {
  margin-top: 0;
  padding: 8px 16px;
  font-size: 0.9rem;
}

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

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

/* Footer */
footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  margin-top: 48px;
}

.footer-content {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content a {
  color: var(--text-muted);
  margin: 0 8px;
}

.footer-content a:hover {
  color: var(--primary-blue);
}

/* Legal Pages Styling */
.legal-page {
  max-width: 800px;
  margin: 48px auto;
  padding: 0 24px;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 16px 0;
}

.legal-page h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 12px 0;
}

.legal-page ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 8px;
}

.legal-page .contact-info {
  background: var(--surface);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 24px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .logo {
    font-size: 2rem;
  }
  
  .hero {
    padding: 32px 24px;
  }
  
  .hero h1 {
    font-size: 1.875rem;
  }
  
  section {
    padding: 32px 24px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  
  nav a {
    margin: 0 12px;
    font-size: 0.9rem;
  }
}