/* NoKara Website - Custom Styles */

/* Import Instrument Sans from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables - Brand Colors */
:root {
  /* Brand Colors */
  --color-primary: #FFB800;
  --color-background: #0A0A0F;
  --color-surface: #1A1A24;
  --color-surface-light: #2A2A38;

  /* Accent Colors */
  --color-danger: #FF4D6D;
  --color-success: #00E676;
  --color-warning: #FF6B35;

  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B4B4C8;
  --color-text-muted: #7A7A8E;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #FFB800 0%, #FF6B35 100%);
  --gradient-background: linear-gradient(180deg, #0A0A0F 0%, #1A1A24 100%);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--gradient-background);
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Geometric Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(30deg, rgba(255, 184, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 184, 0, 0.03) 87.5%, rgba(255, 184, 0, 0.03)),
    linear-gradient(150deg, rgba(255, 184, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 184, 0, 0.03) 87.5%, rgba(255, 184, 0, 0.03)),
    linear-gradient(30deg, rgba(255, 184, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 184, 0, 0.03) 87.5%, rgba(255, 184, 0, 0.03)),
    linear-gradient(150deg, rgba(255, 184, 0, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(255, 184, 0, 0.03) 87.5%, rgba(255, 184, 0, 0.03)),
    linear-gradient(60deg, rgba(255, 107, 53, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(255, 107, 53, 0.02) 75%, rgba(255, 107, 53, 0.02)),
    linear-gradient(60deg, rgba(255, 107, 53, 0.02) 25%, transparent 25.5%, transparent 75%, rgba(255, 107, 53, 0.02) 75%, rgba(255, 107, 53, 0.02));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

/* Navigation */
.nav-menu {
  transition: transform 0.3s ease-in-out;
}

.nav-menu.active {
  transform: translateX(0);
}

/* Mobile Menu Toggle */
.menu-toggle:checked ~ .nav-menu {
  transform: translateX(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-background);
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 184, 0, 0.4);
}

.btn-secondary {
  background: var(--color-surface-light);
  color: var(--color-text-primary);
  border: 1px solid rgba(255, 184, 0, 0.2);
}

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-primary);
}

/* Cards */
.card {
  background: var(--color-surface);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--color-surface-light);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 30px rgba(255, 184, 0, 0.1);
}

/* Icon Containers */
.icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  background: var(--color-surface-light);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.card:hover .icon-wrapper {
  background: var(--gradient-primary);
  color: var(--color-background);
  transform: scale(1.1) rotate(5deg);
}

/* App Screenshots */
.screenshot-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.screenshot-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 80px rgba(255, 184, 0, 0.2);
}

.screenshot-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Glow Effects */
.glow-primary {
  box-shadow: 0 0 40px rgba(255, 184, 0, 0.3);
}

.glow-success {
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.3);
}

.glow-danger {
  box-shadow: 0 0 40px rgba(255, 77, 109, 0.3);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Stagger Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Link Styles */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-warning);
}

/* Section Spacing */
section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 2rem;
  }
}

/* Footer */
footer {
  background: var(--color-background);
  border-top: 1px solid var(--color-surface-light);
}

/* Social Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--color-surface);
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: var(--color-background);
  transform: translateY(-3px);
}

/* Play Store Badge */
.play-store-badge {
  display: inline-block;
  transition: all 0.3s ease;
}

.play-store-badge:hover {
  transform: scale(1.05);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Hero Section */
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* Content Pages */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.content-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-page h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.content-page h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.content-page p {
  margin-bottom: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.content-page ul, .content-page ol {
  margin-bottom: 1.5rem;
  margin-left: 1.5rem;
  color: var(--color-text-secondary);
}

.content-page li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.content-page a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-page a:hover {
  color: var(--color-warning);
}

/* Responsive Utilities */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
