/*
Theme Name: Hyqon
Theme URI: https://hyqon.tech
Author: Hyqon
Author URI: https://hyqon.tech
Description: A modern, clean hydrogen technology company theme with multilingual support
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hyqon
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #cbd5e1;
  background-color: #020617;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(to right, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* Custom animations */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes bounce-subtle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-bounce-subtle {
  animation: bounce-subtle 2s ease-in-out infinite;
}

/* Header Styles */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: transparent;
  transition: all 0.3s ease;
}

#site-header.scrolled {
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(51, 65, 85, 1);
}

#site-header > div {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

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

#site-header .text-2xl {
  font-size: 1.5rem;
  font-weight: 700;
}

#site-header button {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 0.75rem;
}

#site-header button[data-lang].active {
  background: linear-gradient(to right, #06b6d4, #3b82f6);
  color: white;
}

#site-header button[data-lang]:not(.active) {
  background: transparent;
  color: #94a3b8;
}

#site-header button[data-lang]:not(.active):hover {
  color: white;
}

/* Hero Section */
section {
  position: relative;
  padding: 6rem 1.5rem;
}

.min-h-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-gradient {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #164e63 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-glow-1 {
  top: 25%;
  left: 25%;
  width: 400px;
  height: 400px;
  background-color: #06b6d4;
  opacity: 0.2;
}

.hero-glow-2 {
  bottom: 25%;
  right: 25%;
  width: 400px;
  height: 400px;
  background-color: #3b82f6;
  opacity: 0.2;
  animation-delay: 1s;
}

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

.max-w-6xl, .max-w-5xl, .max-w-7xl, .max-w-4xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-w-5xl {
  max-width: 1024px;
}

.max-w-4xl {
  max-width: 896px;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

/* Buttons and Links */
a {
  text-decoration: none;
  color: inherit;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #06b6d4, #3b82f6);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.3);
}

.cta-button:hover {
  background: linear-gradient(to right, #22d3ee, #60a5fa);
  transform: scale(1.05);
}

.cta-button svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s;
}

.cta-button:hover svg {
  transform: translateY(4px);
}

/* Section Backgrounds */
.bg-slate-900 {
  background-color: #0f172a;
}

.bg-slate-950 {
  background-color: #020617;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
}

.bg-gradient-cyan {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #164e63 100%);
}

/* Section Numbers */
.section-number {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 6rem;
  font-weight: 700;
  color: rgba(30, 41, 59, 0.2);
  pointer-events: none;
}

/* Cards */
.benefit-card {
  position: relative;
  padding: 2rem;
  background-color: rgba(30, 41, 59, 0.5);
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.benefit-card:hover {
  border-color: rgba(6, 182, 212, 0.5);
  transform: scale(1.05);
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

/* Grid Layout */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Partners/Content Cards */
.content-card {
  background-color: rgba(30, 41, 59, 0.5);
  border-radius: 1rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
  padding: 3rem;
}

/* Icons */
svg {
  width: 2rem;
  height: 2rem;
}

.icon-cyan {
  color: #22d3ee;
}

/* Background Glows */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  pointer-events: none;
}

/* Footer */
footer {
  background-color: #020617;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  color: #94a3b8;
}

footer .max-w-6xl {
  max-width: 1280px;
  margin: 0 auto;
}

footer p {
  font-size: 0.875rem;
  color: #64748b;
}

/* Hero Background Image */
.hero-with-image {
  position: relative;
}

.hero-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.9) 50%, rgba(22, 78, 99, 0.85) 100%);
  z-index: 1;
}

/* Tech Badge */
.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 9999px;
  color: #22d3ee;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

/* Tech Stats */
.tech-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 3rem 0;
  padding: 2rem 0;
}

.tech-stat {
  text-align: center;
}

.stat-value {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Tech Image Container */
.tech-image-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.tech-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.image-overlay-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.tech-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 1rem;
  pointer-events: none;
}

/* Process Flow */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 1rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.process-step {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.process-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid rgba(6, 182, 212, 0.4);
  border-radius: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #22d3ee;
  transition: all 0.3s;
}

.process-icon:hover {
  transform: scale(1.1);
  border-color: rgba(6, 182, 212, 0.8);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.process-arrow {
  font-size: 2rem;
  color: #22d3ee;
  font-weight: 300;
}

/* Tech Highlights */
.tech-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.tech-highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 0.5rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
  font-size: 1rem;
  color: #cbd5e1;
  transition: all 0.3s;
}

.tech-highlight-item:hover {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateX(8px);
}

/* Section Background Image */
.section-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
  z-index: 0;
}

.investor-section {
  position: relative;
}

/* Investment Highlights */
.investment-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.investment-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(12px);
}

.investment-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.6);
  box-shadow: 0 20px 40px -10px rgba(6, 182, 212, 0.3);
}

.investment-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 1rem;
  margin: 0 auto 1.5rem;
  color: white;
}

.investment-card h3 {
  margin-bottom: 0.5rem;
}

.investment-card p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .section-number {
    font-size: 4rem;
  }

  #site-header .text-2xl {
    font-size: 1.25rem;
  }

  .tech-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .stat-value {
    font-size: 2.5rem;
  }

  .process-flow {
    flex-direction: column;
    gap: 0.5rem;
  }

  .process-arrow {
    transform: rotate(90deg);
  }

  .process-icon {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }

  .investment-highlights {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tech-highlight-item:hover {
    transform: translateX(4px);
  }

  section > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}
