@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@200;400;600;700&display=swap');

:root {
  --bg-main: #0B132B;
  --bg-card: #1C2541;
  --bg-alt: #0a1128;
  
  --text-main: #ffffff;
  --text-muted: #a6b1c4;
  
  --accent-primary: #5BC0BE;
  --accent-hover: #4aa9a7;
  --accent-silver: #d1d8e0;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 5rem;
  --spacing-xxl: 8rem;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  
  --shadow-sm: 0 5px 15px rgba(0,0,0,0.2);
  --shadow-md: 0 15px 35px rgba(0,0,0,0.4);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
.h1, .h2, .h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-main);
}

.h1 { font-size: 3.2rem; letter-spacing: -0.5px; font-weight: 700; }
.h2 { font-size: 2.5rem; font-weight: 400; }
.h3 { font-size: 1.5rem; }

.text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  font-weight: 300;
}

.kicker {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-primary);
  margin-bottom: var(--spacing-sm);
  display: block;
  font-weight: 600;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-align: center;
  border-radius: 50px; /* Pill shaped buttons */
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-main);
  box-shadow: 0 4px 15px rgba(91, 192, 190, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(91, 192, 190, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-silver);
  border: 1px solid var(--accent-silver);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(91, 192, 190, 0.05);
}

.btn-full {
  width: 100%;
  display: block;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(91, 192, 190, 0.1);
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(91, 192, 190, 0.3);
}

/* Affiliate Bar */
.affiliate-bar {
  background: var(--accent-primary);
  color: var(--bg-main);
  text-align: center;
  padding: 0.6rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  padding: 1.5rem 0;
}

.header.scrolled {
  padding: 1rem 0;
  background: rgba(11, 19, 43, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: var(--accent-silver);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-weight: 600;
}

.nav a:hover, .nav a.active {
  color: var(--accent-primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 70% 30%, #1a2a5e 0%, var(--bg-main) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>') 0 0 / 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 2rem;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.hero-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(91,192,190,0.2) 0%, transparent 50%, rgba(11,19,43,0.5) 100%);
  pointer-events: none;
}

.hero-img {
  width: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.hero-img-wrapper:hover .hero-img {
  transform: scale(1.05);
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: var(--spacing-xl);
}

.feature-card {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(91, 192, 190, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px rgba(91, 192, 190, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(91, 192, 190, 0.5);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  filter: brightness(0.9);
}

.gallery-item:hover {
  filter: brightness(1.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(91,192,190,0.2);
}

/* CTA Block */
.cta-block {
  background: linear-gradient(135deg, var(--bg-card) 0%, #15203d 100%);
  padding: 6rem 3rem;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(91, 192, 190, 0.15);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(91,192,190,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Footer */
.footer {
  background: var(--bg-alt);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.footer-col a, .footer-col p {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 15px rgba(91,192,190,0.1);
}

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

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
}

.contact-info {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Review layout */
.review-article {
  max-width: 800px;
  margin: 0 auto;
}

.review-article img {
  width: 100%;
  margin: 3rem 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.review-article .h2 {
  margin-top: 4rem;
}

.verdict-box {
  background: linear-gradient(135deg, rgba(91,192,190,0.1) 0%, rgba(28,37,65,1) 100%);
  border-left: 4px solid var(--accent-primary);
  padding: 3rem;
  margin: 4rem 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Order Layout */
.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.order-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.order-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: 0.6;
}

.order-thumb:hover, .order-thumb.active {
  opacity: 1;
  border-color: var(--accent-primary);
}

.price-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 120px;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(91,192,190,0.2);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
}

.specs-table th, .specs-table td {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

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

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

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content .h2 {
  margin-top: 3rem;
  font-size: 1.8rem;
  color: var(--accent-primary);
}

.legal-content ul {
  margin: 1.5rem 0 1.5rem 2rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.75rem;
}

/* Loader */
#loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-main);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: -100%; left: 0; width: 100%;
  background: var(--bg-card);
  border-top: 1px solid rgba(91,192,190,0.2);
  padding: 1.5rem;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
  z-index: 9998;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--accent-primary);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .contact-grid, .order-grid {
    grid-template-columns: 1fr;
  }
  
  .h1 { font-size: 2.8rem; }
  
  .price-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: rgba(11, 19, 43, 0.98);
    flex-direction: column;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-md);
  }
  
  .nav.active {
    display: flex;
  }
  
  .features-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  #cookie-banner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
