/* Wall Pe Website Styles */

/* CSS Variables for theming */
:root {
  --font-size: 14px;
  --background: #ffffff;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
}

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

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* App container */
.app {
  min-height: 100vh;
  overflow-x: hidden;
  transition: all 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Particle Background */
.particles-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  opacity: 0.2;
  border-radius: 50%;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
  }
  100% {
    transform: translateY(-10vh) translateX(50px);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(var(--background), 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  transition: all 0.3s ease;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
  }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--chart-1));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

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

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
}

.nav-button:hover {
  color: var(--foreground);
  transform: scale(1.05);
}

.nav-button.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.5rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(var(--secondary), 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.theme-icon {
  transition: transform 0.3s ease;
}

.theme-icon svg {
  width: 20px;
  height: 20px;
  color: var(--foreground);
}

.dark .theme-icon {
  transform: rotate(180deg);
}

.sun-icon {
  display: none;
}

.moon-icon {
  display: block;
}

.dark .sun-icon {
  display: block;
}

.dark .moon-icon {
  display: none;
}

/* Mobile Controls */
.mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-controls {
    display: none;
  }
}

.mobile-menu-toggle {
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.close-icon {
  display: none;
}

.mobile-menu-open .menu-icon {
  display: none;
}

.mobile-menu-open .close-icon {
  display: block;
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  padding-top: 1rem;
  padding-bottom: 1rem;
  animation: expandDown 0.3s ease-out;
}

.nav-mobile.open {
  display: block;
}

@keyframes expandDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

.nav-button-mobile {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: left;
  font-size: 1rem;
}

.nav-button-mobile:hover {
  color: var(--foreground);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(var(--primary), 0.05) 0%, 
    rgba(var(--chart-1), 0.05) 50%, 
    rgba(var(--chart-2), 0.05) 100%);
  transition: all 0.3s ease;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary), var(--chart-1), var(--chart-2));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Buttons */
.btn {
  padding: 1.5rem 2rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

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

.btn-outline:hover {
  background: var(--accent);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  color: var(--chart-1);
  animation: floatElement 4s ease-in-out infinite;
  display: none;
}

@media (min-width: 1024px) {
  .floating-element {
    display: block;
  }
}

.floating-satellite {
  top: 25%;
  left: 25%;
  color: var(--chart-1);
}

.floating-map {
  top: 33%;
  right: 25%;
  color: var(--chart-2);
  animation: floatElement 5s ease-in-out infinite;
}

@keyframes floatElement {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* About Section */
.about-section {
  padding: 5rem 0;
  position: relative;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(var(--secondary), 0.2), transparent);
  transition: all 0.3s ease;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
  height: 100%;
}

.feature-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(var(--primary), 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted-foreground);
}

/* Why Section */
.why-section {
  padding: 5rem 0;
  background: rgba(var(--secondary), 0.05);
  transition: all 0.3s ease;
}

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

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits-column {
  animation: fadeInSlide 0.8s ease-out;
}

.benefits-column:first-child {
  animation: fadeInSlideLeft 0.8s ease-out;
}

.benefits-column:last-child {
  animation: fadeInSlideRight 0.8s ease-out;
}

@keyframes fadeInSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInSlideRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.benefits-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .benefits-title {
    font-size: 1.875rem;
  }
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeInSlide 0.6s ease-out;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.benefit-icon.community {
  background: rgba(var(--chart-1), 0.1);
}

.benefit-icon.brand {
  background: rgba(var(--chart-2), 0.1);
}

.benefit-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.benefit-icon.community svg {
  color: var(--chart-1);
}

.benefit-icon.brand svg {
  color: var(--chart-2);
}

.benefit-item span {
  font-size: 1.125rem;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  position: relative;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(var(--primary), 0.05));
  transition: all 0.3s ease;
}

.contact-content {
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease-out;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@media (min-width: 640px) {
  .contact-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
  transition: all 0.3s ease;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

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

@media (min-width: 768px) {
  .footer-text {
    text-align: right;
  }
}

.footer-description {
  color: rgba(var(--primary-foreground), 0.8);
  margin-bottom: 0.5rem;
}

.footer-copyright {
  color: rgba(var(--primary-foreground), 0.6);
  font-size: 0.875rem;
}

/* Scroll Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-out;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Performance Optimizations */
.will-change-transform {
  will-change: transform;
}

.gpu-accelerated {
  transform: translateZ(0);
}

/* Print Styles */
@media print {
  .header,
  .particles-background,
  .floating-element {
    display: none !important;
  }
  
  .hero-section,
  .about-section,
  .why-section,
  .contact-section {
    page-break-inside: avoid;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}