/* ==========================================================================
   SEPPOLA DIGITAL - CORE CSS DESIGN SYSTEM (2026)
   ========================================================================== */

:root {
  --bg-dark: #070311;
  --bg-card: rgba(15, 10, 30, 0.45);
  --border-glow: rgba(157, 78, 221, 0.2);
  --border-glow-hover: rgba(0, 245, 212, 0.4);
  
  --primary: #9d4edd;      /* Electric Purple */
  --primary-glow: rgba(157, 78, 221, 0.45);
  --secondary: #00f5d4;    /* Cyan/Teal */
  --secondary-glow: rgba(0, 245, 212, 0.45);
  --accent: #ff007f;       /* Neon Pink */
  
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  font-family: var(--font-sans);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #15093b 0%, var(--bg-dark) 60%);
  position: relative;
}

/* Background floating glow blobs */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  animation: float 20s infinite ease-in-out;
}
.blob-1 {
  background: var(--primary);
  top: -100px;
  left: -100px;
}
.blob-2 {
  background: var(--secondary);
  top: 600px;
  right: -150px;
  animation-delay: -5s;
}
.blob-3 {
  background: var(--accent);
  bottom: -100px;
  left: 20%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.1); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(157, 78, 221, 0.3);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 245, 212, 0.5);
}

/* Typography & Layout elements */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Glassmorphism card template */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: relative;
  overflow: hidden;
}
.glass-card:hover {
  border-color: var(--border-glow-hover);
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--primary-glow);
}

/* Header/Navbar */
.navbar {
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 3, 17, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.1);
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}
.nav-links a:hover {
  color: var(--secondary);
}

/* Hero Section */
.hero {
  padding: 100px 0 60px 0;
  text-align: center;
  position: relative;
}
.hero-badge {
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.2);
}
.hero h1 {
  font-size: 3.8rem;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 40%, #e0aaff 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}
.btn {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 24px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--secondary-glow);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Products Grid */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 48px;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  padding: 40px 0;
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(157, 78, 221, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 24px;
  border: 1px solid rgba(157, 78, 221, 0.2);
}
.glass-card:hover .card-icon {
  background: rgba(0, 245, 212, 0.15);
  color: var(--secondary);
  border-color: rgba(0, 245, 212, 0.2);
}
.glass-card h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}
.glass-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.card-footer {
  margin-top: auto;
}

/* Embedded interactive console widget styling */
.preview-console {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--secondary);
  height: 120px;
  overflow-y: hidden;
  margin-top: 16px;
}

/* Interactive slider widget styling for NFC store pricing */
.nfc-calculator {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 16px;
}
.nfc-calculator label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.nfc-slider {
  width: 100%;
  accent-color: var(--secondary);
  margin-bottom: 12px;
}
.nfc-price-tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.nfc-price-tag strong {
  font-size: 1.25rem;
  color: var(--secondary);
}

/* Contact/Booking Form section */
.contact-section {
  padding: 100px 0;
  position: relative;
}
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glow);
  background: rgba(7, 3, 17, 0.8);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.15);
}
.form-group textarea {
  height: 120px;
  resize: none;
}

/* Notification banner for feedback alerts */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 10, 30, 0.9);
  border: 1px solid var(--secondary);
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  box-shadow: 0 8px 32px var(--secondary-glow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.toast.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Modal style templates */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 3, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  max-width: 500px;
  width: 90%;
  animation: modalIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text-main);
}

/* Footer Section */
.footer {
  padding: 60px 0;
  border-top: 1px solid rgba(157, 78, 221, 0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer p {
  margin-bottom: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none; /* simple responsive collapse */
  }
}
