/* Custom CSS Design System for Tekuris */

:root {
  --bg-primary: #0b0c16;
  --bg-secondary: #131625;
  --bg-card: rgba(22, 26, 45, 0.65);
  
  --accent-purple: #8b5cf6;
  --accent-purple-glow: rgba(139, 92, 246, 0.4);
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);
  --accent-emerald: #10b981;
  --accent-orange: #f59e0b;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  
  --font-heading: "Arial Narrow", "Avenir Next Condensed", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Accessibility: Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 4px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Layout Containers */
.header-container,
.footer-container,
.page-container,
.hero-container,
.section-container,
.product-detail-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 12, 22, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transform: rotate(0deg);
  transition: var(--transition-smooth);
}

.logo-link:hover .logo-icon {
  transform: rotate(180deg);
}

.logo-text {
  letter-spacing: -0.5px;
}

.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
  transition: var(--transition-smooth);
}

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

/* Main Content Area */
.site-content {
  flex-grow: 1;
  padding-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
  color: #fff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

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

/* Home Page Hero Section */
.hero-section {
  position: relative;
  padding: 6rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c084fc;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.05) 50%, rgba(0, 0, 0, 0) 100%);
  filter: blur(80px);
  pointer-events: none;
}

/* Featured & Product Catalog Section */
.featured-section {
  padding: 2rem 0 4rem;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

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

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  background: rgba(26, 30, 52, 0.85);
}

.product-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.product-icon-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.product-card-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.product-name a {
  color: var(--text-primary);
}

.product-name a:hover {
  color: var(--accent-cyan);
}

.product-tagline {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.product-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.product-card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

.product-learn-more .arrow {
  transition: transform 0.2s ease;
}

.product-learn-more:hover {
  color: var(--text-primary);
}

.product-learn-more:hover .arrow {
  transform: translateX(4px);
}

/* Default Content Page Container */
.page-container {
  padding-top: 4rem;
  max-width: 800px;
}

.page-header {
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.page-subtitle,
.page-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

.page-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.page-body p {
  margin-bottom: 1.5rem;
}

/* Product Detail Page Layout */
.product-detail-container {
  padding-top: 4rem;
}

.product-detail-hero {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.product-hero-container {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.product-hero-icon-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 1rem;
  width: 156px;
  height: 156px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.product-hero-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-hero-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-detail-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.25rem;
}

.product-detail-tagline {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 1rem;
}

.product-detail-meta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 650px;
}

.product-download-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-download {
  flex-direction: column;
  align-items: flex-start;
  padding: 0.6rem 1.75rem;
  line-height: 1.2;
}

.btn-download .btn-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-download .btn-subtext {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
  margin-top: 0.15rem;
}

.compatibility-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.compatibility-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Two-column Product body + sidebar */
.product-detail-body {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}

.product-main-content {
  flex-grow: 1;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 700px;
}

.product-main-content h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.product-main-content p {
  margin-bottom: 1.5rem;
}

.product-main-content ul, 
.product-main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.product-main-content li {
  margin-bottom: 0.5rem;
}

/* Alerts inside product body */
.product-main-content blockquote {
  background: rgba(245, 158, 11, 0.08);
  border-left: 4px solid var(--accent-orange);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.product-main-content blockquote p {
  margin-bottom: 0;
  color: var(--text-primary);
  font-size: 1.025rem;
}

.product-sidebar {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th, 
.specs-table td {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  text-align: left;
}

.specs-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}

.specs-table td {
  color: var(--text-primary);
  font-weight: 600;
}

.support-card {
  font-size: 0.95rem;
}

.support-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.sidebar-link {
  font-weight: 600;
  font-family: var(--font-heading);
}

/* Contact Form styling */
.contact-intro {
  margin-bottom: 2.5rem;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.required-indicator {
  color: #ef4444;
  margin-left: 0.15rem;
}

.form-input,
.form-textarea {
  background-color: rgba(11, 12, 22, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  width: 100%;
  transition: var(--transition-smooth);
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--border-hover);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-cyan);
  background-color: rgba(11, 12, 22, 0.9);
  outline: none;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

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

.form-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.25rem;
}

/* Submit Button Facade */
.btn-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Footer styling */
.site-footer {
  background-color: #06070d;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: var(--text-secondary);
}

.footer-nav-list a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .product-detail-body {
    flex-direction: column;
    gap: 3rem;
  }
  
  .product-sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  
  .product-hero-info {
    align-items: center;
  }
  
  .product-download-area {
    justify-content: center;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}
