/* Main stylesheet for zeyro landing page */

@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #88ccff;
  --accent-color: #00aaff;
  --highlight-color: #ff5500;
  --dark-bg: #111111;
  --darker-bg: #0a0a0a;
  --light-text: #ffffff;
  --gray-text: #aaaaaa;
  --header-height: 80px;
}

body {
  font-family: 'Pretendard-Regular', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--darker-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Pretendard-Regular', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--highlight-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

section {
  padding: 6rem 0;
  position: relative;
  z-index: 5;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(10, 10, 10, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 1rem;
}

.logo h2 {
  font-size: 1.8rem;
  margin: 0;
  text-transform: lowercase;
  letter-spacing: 1px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--light-text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: rgba(10, 10, 10, 0.7);
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: var(--gray-text);
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

/* 3D Canvas */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Features Section - Updated for larger images */
.features {
  background-color: var(--dark-bg);
  position: relative;
  z-index: 10;
  padding: 8rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* Updated features layout for larger images */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
  border-radius: 10px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 170, 255, 0.2);
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  min-height: 300px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  flex: 1;
}

/* Increased font size for feature content paragraphs */
.feature-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.feature-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Products Section */
.products {
  background-color: var(--darker-bg);
  position: relative;
  z-index: 10;
}

.product-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.6), rgba(20, 20, 20, 0.8));
  border-radius: 10px;
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 170, 255, 0.2);
}

.product-name {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.product-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.period {
  font-size: 1.2rem;
  color: var(--gray-text);
}

.product-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

/* Increased font size for product features list items */
.product-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--light-text);
}

.product-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* Demo Section - Updated for YouTube video */
.demo {
  background-color: var(--dark-bg);
  position: relative;
  z-index: 10;
  padding: 8rem 0;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.demo-visual {
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.demo-visual iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* CTA Section */
.cta {
  text-align: center;
  background-color: rgba(10, 10, 10, 0.8);
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--gray-text);
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 50px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  outline: none;
  font-family: 'Pretendard-Regular', sans-serif;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  color: var(--light-text);
  box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(0, 170, 255, 0.6);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: rgba(0, 170, 255, 0.1);
  transform: translateY(-3px);
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--darker-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible,
.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Page Styles for Terms and FAQ */
.page-header {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
  background-color: var(--dark-bg);
  text-align: center;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-content {
  padding: 4rem 0;
  background-color: var(--darker-bg);
}

.page-section {
  margin-bottom: 3rem;
}

.page-section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.page-section-content {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .demo-container {
    grid-template-columns: 1fr;
  }
  
  .demo-content {
    padding-right: 0;
    order: 1;
  }
  
  .demo-visual {
    order: 0;
    margin-bottom: 2rem;
  }
  
  .feature-item, 
  .feature-item:nth-child(even) {
    flex-direction: column;
  }
  
  .feature-image {
    width: 100%;
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  nav ul {
    display: none;
  }
  
  .feature-item {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 4rem 0;
  }
  
  .logo img {
    height: 30px;
  }
  
  .logo h2 {
    font-size: 1.5rem;
  }
  
  .feature-image {
    min-height: 200px;
  }
}
