/* Lokado.no - Modern Professional Design */

/* CSS Variables for consistent theming */
:root {
  --primary: #ff4961;
  --primary-dark: #8b1538;
  --secondary: #ff6b7f;
  --accent: #ffc107;
  --background: #0a0a0a;
  --surface: #1a1a1a;
  --surface-light: #2d2d2d;
  --text: #ffffff;
  --text-muted: #a0a0a0;
  --text-secondary: #d4d4d4;
  --border: rgba(255, 73, 97, 0.2);
  --shadow: rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #ff4961 0%, #ff6b7f 100%);
  --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--gradient-bg);
  background-attachment: fixed;
  overflow-x: hidden;
  /* Support for iOS status bar */
  padding-top: env(safe-area-inset-top);
  /* Force dark status bar */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Additional iOS status bar support */
@supports (padding: max(0px)) {
  body {
    padding-top: max(env(safe-area-inset-top), 20px);
  }
}

/* Force status bar to be dark */
html {
  background-color: #000000;
}

/* iOS specific fixes */
@media screen and (max-width: 768px) {
  body {
    background-color: #000000;
    background-image: var(--gradient-bg);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--surface);
  min-height: 100vh;
  box-shadow: 0 0 60px var(--shadow);
  position: relative;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 73, 97, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: left;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text);
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

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

.btn-primary, .btn-secondary {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 73, 97, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 73, 97, 0.4);
}

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

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  border-radius: 40px;
  padding: 0;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  position: relative;
  border: 2px solid #333;
}

/* Phone bezel and frame */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: #000;
  border-radius: 30px;
  z-index: 1;
}

/* Notch/Dynamic Island */
.phone-mockup::after {
  content: '';
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #000;
  border-radius: 15px;
  z-index: 3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-screen {
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  background: var(--gradient-bg);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  margin: 15px;
  z-index: 2;
}

/* Home indicator */
.phone-screen::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 4;
}

/* Volume buttons */
.phone-mockup .volume-up,
.phone-mockup .volume-down {
  position: absolute;
  left: -3px;
  width: 3px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 2px;
  z-index: 1;
}

.phone-mockup .volume-up {
  top: 120px;
  height: 30px;
}

.phone-mockup .volume-down {
  top: 160px;
  height: 30px;
}

/* Power button */
.phone-mockup .power-button {
  position: absolute;
  right: -3px;
  top: 140px;
  width: 3px;
  height: 50px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 2px;
  z-index: 1;
}

.app-preview {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-view {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 30px;
  position: relative;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.floating-elements > div {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.badge {
  top: 20%;
  left: 20%;
  background: var(--gradient-primary);
  animation-delay: 0s;
}

.checkin {
  top: 60%;
  right: 20%;
  background: var(--accent);
  animation-delay: 1s;
}

.quest {
  bottom: 30%;
  left: 30%;
  background: #22c55e;
  animation-delay: 2s;
}

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

/* Login Screen Styles */
.login-screen {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 30px;
}

.login-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.login-logo h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
  margin: 0;
  letter-spacing: 2px;
}

.logo-line {
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
  margin: 0.5rem auto 0;
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

.login-form {
  width: 100%;
  max-width: 200px;
}

.input-field {
  margin-bottom: 1rem;
}

.input-field input {
  width: 100%;
  padding: 0.8rem;
  background: #2a2a2a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #ccc;
  font-size: 0.9rem;
  box-sizing: border-box;
}

.input-field input::placeholder {
  color: #666;
}

.input-field input:focus {
  outline: none;
  border-color: #ff6b6b;
  box-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.login-button {
  width: 100%;
  padding: 0.8rem;
  background: #ff4949;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.login-button:hover {
  background: #ff6b6b;
  transform: translateY(-1px);
}

.register-link {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

.register-text {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 0 5px rgba(255, 107, 107, 0.3);
}

.register-text:hover {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(20px);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Coming Soon Banner */
.coming-soon-banner {
  margin: 2rem;
  background: rgba(255, 193, 7, 0.1);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.banner-icon {
  font-size: 2rem;
}

.banner-text h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.banner-text p {
  color: var(--text-secondary);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
}

/* Features Section */
.features {
  padding: 4rem 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 73, 97, 0.2);
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 73, 97, 0.3));
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Why Lokado Section */
.why-lokado {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Norway Section */
.norway-section {
  padding: 4rem 2rem;
}

.norway-content {
  max-width: 800px;
  margin: 0 auto;
}

.norway-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.launch-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-top: 3rem;
}

.launch-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 1;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  background: var(--surface);
  padding: 1rem;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(255, 73, 97, 0.5);
}

.timeline-content h4 {
  color: var(--text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

/* FAQ Section */
.faq {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive FAQ grid */
@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.05);
}

.faq-item h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.1);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-card a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary);
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  /* Hide phone mockup on mobile devices */
  .phone-mockup {
    display: none !important;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  text-align: center;
  }

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-mockup {
    width: 250px;
    height: 500px;
  }
  
  .phone-mockup .volume-up {
    top: 100px;
  }
  
  .phone-mockup .volume-down {
    top: 130px;
  }
  
  .phone-mockup .power-button {
    top: 115px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid,
  .benefits-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .launch-timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .launch-timeline::before {
    display: none;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }
  
  .phone-mockup .volume-up {
    top: 80px;
  }
  
  .phone-mockup .volume-down {
    top: 105px;
  }
  
  .phone-mockup .power-button {
    top: 92px;
  }

  .feature-card,
  .benefit-card,
  .contact-card {
    padding: 1.5rem;
  }
}

/* Legal Pages Styles */
.page-header {
  padding: 4rem 2rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.last-updated {
  padding: 1rem 2rem;
  text-align: center;
}

.update-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--accent);
  border-radius: 25px;
  padding: 0.5rem 1rem;
  color: var(--accent);
  font-size: 0.9rem;
}

.update-icon {
  font-size: 1rem;
}

.legal-content {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid var(--border);
}

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

.legal-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.legal-section h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
  margin: 2rem 0 1rem;
}

.legal-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.subsection {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
}

.info-card {
  background: rgba(255, 73, 97, 0.1);
  border: 1px solid var(--primary);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
}

.info-item {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.info-item strong {
  color: var(--primary);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.purpose-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.purpose-card:hover {
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.1);
}

.purpose-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.purpose-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.purpose-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-basis {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.basis-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-secondary);
}

.basis-item strong {
  color: var(--primary);
}

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

.right-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.right-card:hover {
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.1);
}

.right-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.right-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-info {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
}

.contact-info a {
  color: #22c55e;
  font-weight: 600;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.security-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.security-text h4 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.security-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.legal-list {
  list-style: none;
  padding: 0;
}

.legal-list li {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.retention-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.retention-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  color: var(--text-secondary);
}

.retention-item strong {
  color: var(--primary);
}

.contact-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
}

.contact-details {
  margin-top: 1rem;
}

.contact-item {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.contact-item strong {
  color: var(--primary);
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

/* Terms Page Specific Styles */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.feature-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.requirements-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.requirement-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.requirement-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.requirement-text strong {
  color: var(--primary);
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.responsibility-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.responsibility-card:hover {
  border-color: var(--primary);
  background: rgba(255, 73, 97, 0.1);
}

.responsibility-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.responsibility-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.prohibited-uses {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.prohibited-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1rem;
}

.prohibited-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.prohibited-text strong {
  color: #ff6b6b;
}

.permissions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.permission-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 1rem;
}

.permission-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.availability-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.availability-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.availability-icon {
  font-size: 1.5rem;
  min-width: 2rem;
}

.availability-text h4 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.availability-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.liability-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.liability-card {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--accent);
  border-radius: 15px;
  padding: 1.5rem;
}

.liability-card h4 {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.liability-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.termination-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.step-number {
  background: var(--primary);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  min-width: 2rem;
}

.step-text {
  color: var(--text-secondary);
}

.step-text a {
  color: var(--primary);
  font-weight: 600;
}

/* Email Signup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--card-bg);
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 0;
}

.close {
  color: var(--text-secondary);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--primary);
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-group input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 73, 97, 0.3);
}

.form-group input::placeholder {
  color: var(--text-secondary);
}

.success-message {
  text-align: center;
  padding: 2rem;
}

.success-message p {
  color: var(--text);
  font-size: 1.1rem;
  margin: 0;
}

.error-message {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  color: #ff6b6b;
  text-align: center;
  font-size: 0.9rem;
  animation: errorSlideIn 0.3s ease;
}

@keyframes errorSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .content-wrapper {
    padding: 2rem 1rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }

  .purpose-grid,
  .rights-grid,
  .responsibility-grid,
  .liability-info {
    grid-template-columns: 1fr;
  }

  .security-item,
  .feature-item,
  .requirement-item,
  .prohibited-item,
  .permission-item,
  .availability-item,
  .step-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .security-icon,
  .feature-icon,
  .requirement-icon,
  .prohibited-icon,
  .permission-icon,
  .availability-icon {
    min-width: auto;
  }

  /* Modal responsive */
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }
}

/* Legal pages specific fixes */
/* Match Lokado logo color with index page - more specific selectors */
body .navbar .nav-brand a h1 {
  background: var(--gradient-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-decoration: none !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
}

body .navbar .nav-brand a {
  text-decoration: none !important;
}

/* Make language toggle links match index page button color - more specific selectors */
body .lang-toggle a {
  color: #ff4961 !important;
  font-weight: 600;
  text-decoration: none !important;
}

body .lang-toggle a:hover {
  color: white !important;
  text-decoration: none !important;
}

body .lang-toggle a.active {
  color: #ff4961 !important;
  text-decoration: underline !important;
}

/* Make email links white and gradient on hover */
.legal-content a[href^="mailto:"] {
  color: white !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.legal-content a[href^="mailto:"]:hover {
  background: var(--gradient-primary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-decoration: none !important;
}

/* Move last updated to top right corner without yellow box */
.last-updated {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  z-index: 1000;
}

.update-badge {
  background: none !important;
  border: none !important;
  color: var(--text-light) !important;
  font-size: 0.9rem;
  padding: 0;
}

.update-badge i {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Responsive adjustments for legal pages */
@media (max-width: 768px) {
  .last-updated {
    position: static;
    text-align: center;
    margin: 1rem 0;
    background: rgba(0, 0, 0, 0.5);
  }
}