/* Custom Styles for Limitless Lens - Modern AI Aesthetic */

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #0f172a;
  --accent-color: #ec4899;
  --accent-light: #f472b6;
  --text-color: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --gradient-cyber: linear-gradient(
    135deg,
    #6366f1 0%,
    #ec4899 50%,
    #8b5cf6 100%
  );
}

body {
  font-family:
    "Inter",
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  background: var(--bg-light);
  overflow-x: hidden;
}

/* Navigation - Glassmorphism */
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .nav-wrapper {
  padding: 0.5rem 0;
}

nav .brand-logo {
  font-size: 1.6rem;
  font-weight: 700;
  padding-left: 20px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

nav ul a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
}

nav ul a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-cyber);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

nav ul a:hover::after {
  width: 80%;
}

/* Hero Section */
.hero {
  background: var(--bg-dark);
  color: white;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.3) 0%,
    transparent 70%
  );
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 0.3) 0%,
    transparent 70%
  );
  filter: blur(60px);
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: #cbd5e1;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero .btn-large {
  margin: 10px;
  border-radius: 12px;
  padding: 0 48px;
  height: 56px;
  line-height: 56px;
  font-weight: 600;
  text-transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.hero .btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero .btn-large.white {
  color: var(--primary-color);
}

.hero .btn-large:not(.white) {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Styling */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Cards */
.card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cyber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

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

.card .card-image img {
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card .card-title {
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.card .card-content {
  padding: 24px;
}

.card .card-action {
  padding: 16px 24px;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.card .card-action a {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.card .card-action a:hover {
  color: var(--accent-color);
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.input-field label {
  color: var(--text-light);
  font-weight: 500;
}

.input-field input:focus + label,
.input-field textarea:focus + label {
  color: var(--primary-color) !important;
}

.input-field input:focus,
.input-field textarea:focus {
  border-bottom: 2px solid var(--primary-color) !important;
  box-shadow: 0 2px 0 0 var(--primary-color) !important;
}

.contact-form button[type="submit"] {
  background: var(--gradient-cyber);
  border-radius: 12px;
  height: 56px;
  line-height: 56px;
  font-weight: 600;
  text-transform: none;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

/* Footer */
footer.page-footer {
  background: var(--bg-dark);
  padding-top: 60px;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

footer.page-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(99, 102, 241, 0.5),
    transparent
  );
}

footer.page-footer h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

footer.page-footer a {
  transition: all 0.3s ease;
}

footer.page-footer a:hover {
  color: var(--primary-light) !important;
  padding-left: 8px;
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 40px;
}

/* Feature Icons */
.feature-icon {
  font-size: 4rem;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.3s ease;
}

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

/* Stats Section */
.stats {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(99, 102, 241, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(236, 72, 153, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 8px;
}

/* CTA Section */
.cta-section {
  background: var(--bg-dark);
  color: white;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.2) 0%,
    transparent 70%
  );
  filter: blur(80px);
  transform: translateX(-50%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-section .btn-large {
  border-radius: 12px;
  padding: 0 48px;
  height: 56px;
  line-height: 56px;
  font-weight: 600;
  text-transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-section .btn-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Toast/Snackbar */
.snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 16px;
  position: fixed;
  z-index: 1001;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.snackbar.show {
  visibility: visible;
  animation:
    fadein 0.5s,
    fadeout 0.5s 2.5s;
}

.snackbar.success {
  background-color: #4caf50;
}

.snackbar.error {
  background-color: #f44336;
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* Chip */
.chip {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 8px;
  margin-top: 12px;
}

/* Collection */
.collection {
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.collection-item {
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.collection-item:hover {
  background: rgba(99, 102, 241, 0.03);
  padding-left: 28px;
}

.collection-item:last-child {
  border-bottom: none;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Buttons */
.btn,
.btn-large {
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.btn:hover,
.btn-large:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
  }

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

  .hero p {
    font-size: 1.1rem;
  }

  nav .brand-logo {
    font-size: 1.4rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-section {
    padding: 60px 0;
  }

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

  .contact-form {
    padding: 32px 24px;
  }
}
