:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --bg-gradient: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
  --primary: #00d4ff;
  --primary-dark: #00b8e6;
  --primary-light: #33ddff;
  --accent: #ff6b35;
  --accent-dark: #e55a2b;
  --accent-light: #ff8c66;
  --success: #00ff88;
  --warning: #ffaa00;
  --text: #e8f4f8;
  --text-muted: #a0b4c7;
  --text-heading: #ffffff;
  --border: #2a3f5f;
  --border-light: #3d5a82;
  --shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
  --shadow-hover: 0 12px 48px rgba(0, 212, 255, 0.2);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 { 
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 { 
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-gradient);
  opacity: 0.3;
}

.section-alt > * {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 48px rgba(255, 107, 53, 0.4);
}

.img-placeholder {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 1rem;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.05) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.img-placeholder svg {
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.img-placeholder-lg { min-height: 400px; }
.img-placeholder-md { min-height: 320px; }
.img-placeholder-product { min-height: 240px; }

.header {
  padding: 1.5rem 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-heading);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-gradient);
  opacity: 0.1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1.3fr;
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.footer-links-section h4 {
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-contact h4 {
  color: var(--text-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.footer-contact p:last-child {
  margin-bottom: 0;
}

.footer-contact a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 400;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0;
}

/* Image styling improvements */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-photo,
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-photo:hover,
.about-photo:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.hero-image {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Ensure consistent spacing */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-description {
    max-width: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.card > * {
  position: relative;
  z-index: 1;
}

.centered-section {
  text-align: center;
}

.centered-section .container > * {
  margin-left: auto;
  margin-right: auto;
}

.centered-section .grid {
  text-align: initial;
}

@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .section { padding: 4rem 0; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .section-title { margin-bottom: 2.5rem; }
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .grid { gap: 1.5rem; }
  .btn { padding: 0.875rem 1.5rem; font-size: 1rem; }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .section { padding: 2rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  p { font-size: 1rem; }
}