/* ====================================
   VARIABLES & RESET
   ==================================== */
:root {
  --primary-color: #7c3aed;
  --secondary-color: #06b6d4;
  --accent-color: #ec4899;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --text-light: #f1f5f9;
  --text-muted: #94a3b8;
  --glass-blur: 12px;
  --glass-opacity: 0.1;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 50%, var(--bg-dark) 100%);
  background-attachment: fixed;
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ====================================
   ANIMATED BACKGROUND
   ==================================== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====================================
   GLASSMORPHISM EFFECT
   ==================================== */
.glass-effect {
  background: rgba(255, 255, 255, var(--glass-opacity));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: var(--transition);
}

.glass-effect:hover {
  background: rgba(255, 255, 255, calc(var(--glass-opacity) * 1.5));
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

/* ====================================
   BUTTONS
   ==================================== */
.btn-primary,
.btn-secondary,
.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-service {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  margin-top: 1.5rem;
}

.btn-service:hover {
  background: var(--secondary-color);
  color: var(--bg-dark);
}

/* ====================================
   NAVBAR
   ==================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 3rem 4rem;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-content {
  z-index: 10;
  animation: slideInLeft 0.8s ease-out;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  height: 500px;
  animation: slideInRight 0.8s ease-out;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 3s ease-in-out infinite;
}

.card-icon {
  font-size: 2rem;
}

.card-1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 5%;
  animation-delay: 0.5s;
}

.card-3 {
  bottom: 15%;
  left: 10%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ====================================
   SECTION HEADERS
   ==================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease-out;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ====================================
   SERVICES SECTION
   ==================================== */
.services {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.5), transparent);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.service-card.highlighted {
  border-color: rgba(124, 58, 237, 0.5) !important;
  position: relative;
}

.badge-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
}

/* ====================================
   PRICING SECTION
   ==================================== */
.pricing {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.highlighted {
  border-color: rgba(124, 58, 237, 0.5) !important;
  transform: scale(1.05);
}

.badge-best {
  position: absolute;
  top: -15px;
  right: 20px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.amount {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-plus {
  font-size: 1.25rem;
  color: var(--secondary-color);
}

.pricing-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.cta-content {
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content h2 {
  position: relative;
  margin-bottom: 1rem;
}

.cta-content p {
  position: relative;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  background: rgba(15, 23, 42, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ====================================
   ANIMATIONS
   ==================================== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
  }

  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  .services,
  .pricing,
  .cta-section {
    padding: 4rem 1.5rem;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.highlighted {
    transform: scale(1);
  }

  .service-card,
  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .cta-content {
    padding: 3rem 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section a,
  .footer-section p {
    display: inline;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .pricing-amount {
    font-size: 0.8rem;
  }

  .amount {
    font-size: 2rem;
  }

  .services-grid,
  .pricing-grid {
    gap: 1rem;
  }

  .navbar {
    position: relative;
  }

  .nav-links {
    display: none;
  }
}

.order form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order input,
.order textarea {
  padding: 15px;
  border-radius: 10px;
  border: none;
}

.full {
  text-align: center;
}

footer {
  text-align: center;
  padding: 30px;
  opacity: 0.6;
}
