:root {
  --bg-dark: #020617;
  --bg-carbon: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --neon-blue: #3b82f6;
  --neon-green: #22c55e;
  --neon-orange: #f97316;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --grad-energy: linear-gradient(135deg, #3b82f6, #22c55e);
  --grad-power: linear-gradient(135deg, #f97316, #020617);
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; }
p { font-size: 1.125rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.5rem; }

.text-gradient-energy {
  background: var(--grad-energy);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-power {
  background: var(--grad-power);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout System */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  z-index: 90;
  padding: 0 1.5rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
}

.mobile-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.menu-toggle {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sidebar Navigation */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  background: var(--bg-carbon);
  border-right: 1px solid var(--glass-border);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
  margin-bottom: 3rem;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
}

.brand-logo span:last-child {
  font-size: 0.75rem;
  color: var(--neon-blue);
  letter-spacing: 4px;
}

.nav-menu {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: var(--glass-bg);
  box-shadow: inset 2px 0 0 var(--neon-blue);
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--grad-energy);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.nav-link:hover::before {
  opacity: 0.05;
}

.sidebar-footer {
  margin-top: auto;
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  margin-left: 280px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--grad-energy);
  color: var(--bg-dark);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

/* Glass Panel */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  right: 25%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(2,6,23,0) 70%);
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bottle-img {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Split Section Layout (Products) */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--glass-border);
}

.split-section.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image-container {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.split-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  pointer-events: none;
}

.split-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s ease;
}

.split-image-container:hover .split-image {
  transform: scale(1.05);
}

/* Features List */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--neon-green);
}

/* Forms */
.contact-section {
  padding: 6rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Simple Container */
.container {
  padding: 6rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background: var(--bg-carbon);
  padding: 4rem;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-links h4 {
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Overlays */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero {
    padding: 3rem;
  }
  .split-section {
    padding: 4rem 3rem;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .mobile-header {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 320px;
    padding-top: 5rem;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.open {
    display: block;
    opacity: 1;
  }

  .main-content {
    margin-left: 0;
    padding-top: 70px; /* offset for mobile header */
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }

  .hero-content {
    margin: 0 auto;
  }

  .split-section, .split-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: 3rem 1.5rem;
  }

  .split-section.reverse > * {
    direction: ltr;
  }
  
  .features-grid {
    padding: 2rem 1.5rem;
  }

  .container, .contact-section {
    padding: 3rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
}

/* Utility for GSAP */
.gsap-reveal {
  opacity: 0;
  visibility: hidden;
}