/*
 * Like.dev Landing Page Theme
 * A developer-friendly, warm, and modern design
 * Embodying the spirit of loving code and community
 */

:root {
  /* Brand Colors - Warm and Developer-Friendly */
  --likedev-primary: #6366f1;        /* Indigo - trustworthy and professional */
  --likedev-primary-light: #818cf8;
  --likedev-primary-dark: #4f46e5;
  --likedev-accent: #f472b6;         /* Pink - love and warmth */
  --likedev-accent-light: #f9a8d4;
  --likedev-success: #10b981;        /* Emerald - growth and success */
  --likedev-warning: #f59e0b;        /* Amber - energy */
  --likedev-code: #14b8a6;           /* Teal - tech vibes */

  /* Neutral Colors */
  --likedev-dark: #1e293b;
  --likedev-dark-lighter: #334155;
  --likedev-gray: #64748b;
  --likedev-gray-light: #cbd5e1;
  --likedev-bg-light: #f8fafc;

  /* Terminal/Code Aesthetic */
  --likedev-terminal-bg: #0f172a;
  --likedev-terminal-text: #e2e8f0;
  --likedev-terminal-green: #22c55e;

  /* Gradients */
  --likedev-gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --likedev-gradient-warm: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --likedev-gradient-code: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --likedev-gradient-soft: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);

  /* Shadows & Effects */
  --likedev-shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.1);
  --likedev-shadow-md: 0 4px 20px rgba(99, 102, 241, 0.15);
  --likedev-shadow-lg: 0 10px 40px rgba(99, 102, 241, 0.2);
  --likedev-shadow-glow: 0 0 20px rgba(244, 114, 182, 0.3);

  /* Border Radius */
  --likedev-radius-sm: 8px;
  --likedev-radius-md: 12px;
  --likedev-radius-lg: 16px;
  --likedev-radius-xl: 24px;
}

/* ===================================
   NAVBAR REDESIGN
   =================================== */
.navbar.likedev-navbar {
  background: rgba(15, 23, 42, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar.likedev-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--likedev-primary-light) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar.likedev-navbar .nav-link {
  color: var(--likedev-gray-light) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.navbar.likedev-navbar .nav-link:hover,
.navbar.likedev-navbar .nav-link.active {
  color: var(--likedev-accent-light) !important;
}

.navbar.likedev-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--likedev-gradient-warm);
  transition: width 0.3s ease;
}

.navbar.likedev-navbar .nav-link:hover::after,
.navbar.likedev-navbar .nav-link.active::after {
  width: 60%;
}

.navbar.likedev-navbar .btn {
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: var(--likedev-shadow-sm);
}

.navbar.likedev-navbar .btn-outline-light {
  border: 2px solid var(--likedev-primary-light);
  color: var(--likedev-primary-light);
  background: transparent;
}

.navbar.likedev-navbar .btn-outline-light:hover {
  background: var(--likedev-primary);
  border-color: var(--likedev-primary);
  color: white;
  box-shadow: var(--likedev-shadow-glow);
  transform: translateY(-2px);
}

.navbar.likedev-navbar .btn-light {
  background: var(--likedev-gradient-warm);
  color: white;
  border: none;
}

.navbar.likedev-navbar .btn-light:hover {
  background: var(--likedev-gradient-hero);
  box-shadow: var(--likedev-shadow-glow);
  transform: translateY(-2px);
}

/*.navbar.likedev-navbar .btn-dark {*/
/*  background: var(--likedev-terminal-bg);*/
/*  color: white;*/
/*  border: 1px solid rgba(255, 255, 255, 0.1);*/
/*}*/

.navbar.likedev-navbar .btn-dark:hover {
  background: black;
  border-color: var(--likedev-primary);
  box-shadow: var(--likedev-shadow-glow);
  transform: translateY(-2px);
}

/* ===================================
   HERO SECTION REDESIGN
   =================================== */
.hero-section.likedev-hero {
  background: var(--likedev-gradient-hero);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}

/* Animated background pattern */
.hero-section.likedev-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
      repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 40px),
      repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, transparent 1px, transparent 40px);
  pointer-events: none;
}

.hero-section.likedev-hero::after {
  content: '</>';
  position: absolute;
  font-size: 20rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Courier New', monospace;
  pointer-events: none;
}

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

.hero-section.likedev-hero h2 {
  font-size: 3rem;
  font-weight: 800;
  color: white !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-section.likedev-hero h2::before {
  content: '> ';
  color: var(--likedev-accent-light);
  font-family: 'Courier New', monospace;
}

.hero-section.likedev-hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.8;
  max-width: 900px;
}

.hero-section.likedev-hero strong {
  font-weight: 700;
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border-left: 3px solid currentColor;
}

.hero-section.likedev-hero .text-warning {
  color: var(--likedev-warning) !important;
}

.hero-section.likedev-hero .text-success {
  color: var(--likedev-success) !important;
}

.hero-section.likedev-hero .text-dark {
  color: var(--likedev-accent-light) !important;
}

/* Subdomain Section Styling */
.hero-section.likedev-hero h3 {
  color: white !important;
  font-weight: 700;
  font-size: 1.8rem;
}

.hero-section.likedev-hero .badge {
  background: var(--likedev-gradient-warm) !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: var(--likedev-shadow-md);
}

.hero-section.likedev-hero .card {
  background: white;
  border: none;
  border-radius: var(--likedev-radius-lg);
  box-shadow: var(--likedev-shadow-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.hero-section.likedev-hero .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

.hero-section.likedev-hero .table {
  margin: 0;
}

.hero-section.likedev-hero .table thead {
  background: var(--likedev-gradient-hero);
  color: white;
}

.hero-section.likedev-hero .table thead th {
  border: none;
  padding: 1rem;
  font-weight: 700;
  color: white !important;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.hero-section.likedev-hero .table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-color: var(--likedev-gray-light);
}

.hero-section.likedev-hero .input-group-text {
  background: var(--likedev-bg-light);
  border: 2px solid var(--likedev-gray-light);
  color: var(--likedev-gray);
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.hero-section.likedev-hero .form-control {
  border: 2px solid var(--likedev-gray-light);
  font-family: 'Courier New', monospace;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-section.likedev-hero .form-control:focus {
  border-color: var(--likedev-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.hero-section.likedev-hero .btn-primary {
  background: var(--likedev-gradient-hero);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  transition: all 0.3s ease;
}

.hero-section.likedev-hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--likedev-shadow-glow);
}

/* ===================================
   DEMO SECTION REDESIGN
   =================================== */
.likedev-demo-section {
  background: var(--likedev-bg-light);
  padding: 5rem 0;
  position: relative;
}

.likedev-demo-section h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--likedev-dark);
  margin-bottom: 1rem;
}

.likedev-demo-section h3 .text-primary {
  background: var(--likedev-gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.likedev-demo-section p.text-muted {
  font-size: 1.2rem;
  color: var(--likedev-gray) !important;
}

.demo-box {
  transition: all 0.3s ease;
}

.demo-box:hover {
  transform: translateY(-8px);
}

.demo-box img {
  border-radius: var(--likedev-radius-md);
  box-shadow: var(--likedev-shadow-md);
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.demo-box:hover img {
  box-shadow: var(--likedev-shadow-lg);
  border-color: var(--likedev-primary-light);
}

.demo-box h5 a {
  color: var(--likedev-dark);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.demo-box h5 a::before {
  content: '→ ';
  color: var(--likedev-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  display: inline-block;
}

.demo-box:hover h5 a {
  color: var(--likedev-primary);
}

.demo-box:hover h5 a::before {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================
   PRICING SECTION REDESIGN
   =================================== */
.likedev-pricing-section {
  background: white;
  padding: 5rem 0;
  position: relative;
}

.likedev-pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--likedev-gradient-soft);
  opacity: 0.3;
  pointer-events: none;
}

.likedev-pricing-section h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--likedev-dark);
  margin-bottom: 1rem;
}

.likedev-pricing-section .card {
  border: 2px solid var(--likedev-gray-light);
  border-radius: var(--likedev-radius-lg);
  box-shadow: var(--likedev-shadow-sm);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.likedev-pricing-section .card:hover {
  border-color: var(--likedev-primary);
  box-shadow: var(--likedev-shadow-lg);
  transform: translateY(-8px);
}

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

.likedev-pricing-section .card:hover::before {
  opacity: 1;
}

.likedev-pricing-section .card h4 {
  color: var(--likedev-dark);
  font-weight: 700;
  font-size: 1.5rem;
}

.likedev-pricing-section .card h2 {
  background: var(--likedev-gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.likedev-pricing-section .card code {
  background: rgba(99, 102, 241, 0.1);
  color: var(--likedev-primary);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  border-left: 3px solid var(--likedev-primary);
}

.likedev-pricing-section .card .ri-check-line {
  color: var(--likedev-success);
  font-weight: 700;
}

.likedev-pricing-section .btn-primary {
  background: var(--likedev-gradient-hero);
  border: none;
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.likedev-pricing-section .btn-primary:hover {
  box-shadow: var(--likedev-shadow-glow);
  transform: translateY(-2px);
}

.likedev-pricing-section .card.border-primary {
  border-color: var(--likedev-primary) !important;
  border-width: 3px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(244, 114, 182, 0.05) 100%);
}

/* ===================================
   FAQ SECTION REDESIGN
   =================================== */
.likedev-faq-section {
  background: var(--likedev-bg-light);
  padding: 5rem 0;
}

.likedev-faq-section h1 {
  font-size: 3rem;
  color: var(--likedev-primary);
}

.likedev-faq-section h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--likedev-dark);
}

.likedev-faq-section h3 .text-primary {
  background: var(--likedev-gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-question-q-box {
  background: var(--likedev-gradient-hero);
  color: white;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--likedev-shadow-md);
}

.faq-question {
  color: var(--likedev-dark);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.faq-answer {
  color: var(--likedev-gray);
  line-height: 1.8;
  font-size: 1rem;
}

.faq-answer strong {
  color: var(--likedev-primary);
  font-weight: 700;
}

/* ===================================
   FOOTER REDESIGN
   =================================== */
.likedev-footer {
  background: var(--likedev-terminal-bg);
  padding: 4rem 0 2rem;
  position: relative;
}

.likedev-footer::before {
  content: '{ love: "code" }';
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: 'Courier New', monospace;
  font-size: 4rem;
  color: rgba(99, 102, 241, 0.1);
  font-weight: 700;
  pointer-events: none;
}

.likedev-footer h5 {
  color: white !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1rem;
}

.likedev-footer h5::before {
  content: '//';
  position: absolute;
  left: 0;
  color: var(--likedev-accent);
  font-family: 'Courier New', monospace;
}

.likedev-footer a {
  color: var(--likedev-gray-light) !important;
  transition: all 0.3s ease;
  text-decoration: none;
}

.likedev-footer a:hover {
  color: var(--likedev-accent-light) !important;
  padding-left: 0.5rem;
}

.likedev-footer .social-list-item {
  background: rgba(99, 102, 241, 0.2);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.likedev-footer .social-list-item:hover {
  background: var(--likedev-primary);
  border-color: var(--likedev-accent);
  transform: translateY(-4px) rotate(5deg);
  box-shadow: var(--likedev-shadow-glow);
}

/* ===================================
   UTILITIES & ANIMATIONS
   =================================== */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(244, 114, 182, 0.6);
  }
}

.likedev-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

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

.likedev-float {
  animation: float 3s ease-in-out infinite;
}

/* Code-style elements */
.likedev-code-tag {
  font-family: 'Courier New', monospace;
  background: rgba(99, 102, 241, 0.1);
  color: var(--likedev-primary);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  border-left: 3px solid var(--likedev-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section.likedev-hero h2 {
    font-size: 2rem;
  }

  .hero-section.likedev-hero p {
    font-size: 1rem;
  }

  .likedev-pricing-section h1,
  .likedev-demo-section h3 {
    font-size: 2rem;
  }

  .hero-section.likedev-hero::after {
    font-size: 10rem;
  }
}

/* Alert Styling */
.hero-section.likedev-hero .alert {
  border: none;
  border-radius: var(--likedev-radius-md);
  box-shadow: var(--likedev-shadow-md);
  border-left: 4px solid;
}

.hero-section.likedev-hero .alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--likedev-success);
  border-left-color: var(--likedev-success);
}

.hero-section.likedev-hero .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border-left-color: #ef4444;
}

/* Link Styling */
.hero-section.likedev-hero a.text-decoration-underline {
  color: white !important;
  text-decoration: underline !important;
  text-decoration-color: var(--likedev-accent) !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.hero-section.likedev-hero a.text-decoration-underline:hover {
  color: var(--likedev-accent-light) !important;
  text-decoration-color: var(--likedev-accent-light) !important;
}
