/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - KARTAL LANDING PAGE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --color-primary: #690657;
  /* Deep brand purple */
  --color-primary-light: #9c2787;
  /* Light violet glow */
  --color-primary-dark: #400034;
  /* Deep shadow purple */
  --color-accent: #dd9933;
  /* Brand gold/amber */
  --color-accent-hover: #fcb900;
  /* Bright yellow hover */

  /* Neutral Palette */
  --color-bg-dark: #0d0912;
  /* Base background */
  --color-bg-card: rgba(30, 16, 36, 0.65);
  /* Glassmorphism card bg */
  --color-bg-input: rgba(13, 9, 18, 0.8);
  --color-border: rgba(221, 153, 51, 0.15);
  /* Gold tinted border */
  --color-border-glow: rgba(221, 153, 51, 0.4);

  /* Text Colors */
  --color-text-light: #ffffff;
  --color-text-muted: #cccccc;
  --color-text-dark: #7a7580;

  /* Design Tokens */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 20px rgba(105, 6, 87, 0.35);
  --shadow-accent-glow: 0 0 15px rgba(221, 153, 51, 0.3);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-dark);
}

body {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(105, 6, 87, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(221, 153, 51, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(30, 16, 36, 0.2) 0%, transparent 60%);
  background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-light);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

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

.section-tag {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 2px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

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

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

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.accent-text {
  color: var(--color-accent);
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--color-bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  box-shadow: 0 4px 15px rgba(221, 153, 51, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  background: rgba(221, 153, 51, 0.05);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   LAYOUT COMPONENTS
   ========================================================================== */

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 0.75rem 0;
  background: rgba(13, 9, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(105, 6, 87, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-normal);
}

@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }
}

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

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-normal);
}

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

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    /* simple toggle handled dynamically or hidden for LP */
  }

  .header-cta .btn-secondary {
    display: none;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(105, 6, 87, 0.25) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  background: rgba(105, 6, 87, 0.4);
  color: var(--color-text-light);
  border: 1px solid var(--color-primary-light);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-tag i {
  color: var(--color-accent);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(221, 153, 51, 0.3);
  z-index: -1;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-text-light);
  font-family: var(--font-heading);
}

.trust-label {
  font-size: 0.85rem;
  color: var(--color-text-dark);
}

/* HERO FORM CARD */
.form-card {
  padding: 2.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-subtitle {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

/* Forms general */
.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--color-bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(221, 153, 51, 0.15);
}

.form-control.is-invalid {
  border-color: #ff4a4a;
  box-shadow: 0 0 10px rgba(255, 74, 74, 0.15);
}

.invalid-feedback {
  position: absolute;
  bottom: -18px;
  left: 2px;
  font-size: 0.7rem;
  color: #ff4a4a;
  display: none;
}

.form-control.is-invalid~.invalid-feedback {
  display: block;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23dd9933' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Success Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 211, 102, 0.3);
  animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 992px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

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

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

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

  .form-card {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   DIFFERENTIALS SECTION
   ========================================================================== */
.differentials {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
}

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

.diff-card {
  padding: 2.5rem 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(105, 6, 87, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-normal);
}

.diff-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
}

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

.diff-icon {
  width: 60px;
  height: 60px;
  background: rgba(105, 6, 87, 0.3);
  border: 1px solid var(--color-primary-light);
  color: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.diff-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.diff-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

@media (max-width: 992px) {
  .differentials {
    margin-top: 0;
  }

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

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  position: relative;
}

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

.service-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2.25rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary);
}

.service-card:hover h3::after {
  background-color: var(--color-accent);
  width: 60px;
  transition: var(--transition-normal);
}

.service-features {
  list-style: none;
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.service-features li i {
  color: var(--color-accent);
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(105, 6, 87, 0.05), transparent);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-glow);
  transform: rotate(-2deg);
  transition: var(--transition-normal);
}

.about-image:hover img {
  transform: rotate(0deg);
}

.about-image::after {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px dashed rgba(221, 153, 51, 0.3);
  border-radius: var(--radius-md);
  z-index: -1;
  pointer-events: none;
}

.about-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.about-quote {
  border-left: 3px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

@media (max-width: 992px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 450px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq {
  position: relative;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-card);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item.active {
  border-color: var(--color-border-glow);
}

.faq-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-size: 1rem;
  font-weight: 550;
  color: var(--color-text-light);
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #1e1124 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(221, 153, 51, 0.1) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta-banner-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 4rem 1.5rem;
  }

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

  .cta-banner-content p {
    font-size: 1rem;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #060408;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo img {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

.social-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary-light);
  transform: translateY(-3px);
  color: white;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  position: relative;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-info li {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  align-items: flex-start;
}

.footer-contact-info i {
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-top: 2px;
}

.footer-contact-info strong {
  color: var(--color-text-light);
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.footer-copy {
  color: var(--color-text-dark);
}

.footer-author {
  color: var(--color-text-dark);
}

.footer-author a:hover {
  color: var(--color-accent);
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1.5fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   INTERACTION & ANIMATIONS
   ========================================================================== */

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse-whatsapp 2.5s infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
}

/* Scroll Animation classes */
.fade-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers for stagger effect */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

/* ==========================================================================
   MICROINTERACTIONS, 3D EFFECTS & AMBIENT ANIMATIONS
   ========================================================================== */

/* Hero Particles Canvas Background */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* 3D Tilt Card Component */
.tilt-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.tilt-card:hover {
  transition: transform 0.1s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-color: var(--color-border-glow);
  box-shadow: var(--shadow-glow);
}

/* Inner elements pop-out effect */
.tilt-card .diff-icon,
.tilt-card .service-icon {
  transform: translateZ(35px) scale(1.05);
  transition: transform 0.3s ease;
}

.tilt-card h3 {
  transform: translateZ(25px);
  transition: transform 0.3s ease;
}

.tilt-card p,
.tilt-card .service-features {
  transform: translateZ(15px);
  transition: transform 0.3s ease;
}

/* Tracking Glow Background */
.tilt-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y),
      rgba(221, 153, 51, 0.1),
      transparent 80%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tilt-card:hover::after {
  opacity: 1;
}

/* Modern inputs focus hover border animation wrapper */
.form-group .form-control {
  position: relative;
  z-index: 2;
}

/* Subtle link underline glow for navbar links */
.nav-links a {
  transition: color var(--transition-fast);
}

.nav-links a::after {
  box-shadow: 0 0 8px var(--color-accent);
}

/* ==========================================================================
   LIGHTBULB COMPONENT (CTA SECTION)
   ========================================================================== */
.cta-lightbulb {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbulb-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Base Glass glow */
.bulb-glass {
  stroke: rgba(221, 153, 51, 0.4);
  transition: stroke var(--transition-normal), filter var(--transition-normal);
  filter: drop-shadow(0 0 1px rgba(221, 153, 51, 0.1));
}

/* Filament (Off state by default) */
.bulb-filament {
  stroke: #554433;
  transition: stroke 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

/* Aura (Off state by default) */
.bulb-aura {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform-origin: 50px 40px;
}

/* Glow ring around the lightbulb */
.cta-lightbulb::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px dashed rgba(221, 153, 51, 0.08);
  border-radius: 50%;
  pointer-events: none;
  animation: rotate-ring 35s linear infinite;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

@keyframes rotate-ring {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* --- HOVER STATE (OFF) --- */
/* Soft flickering effect when hovering while OFF */
.cta-lightbulb:not(.active):hover .bulb-glass {
  stroke: rgba(221, 153, 51, 0.8);
  filter: drop-shadow(0 0 4px rgba(221, 153, 51, 0.4));
}

.cta-lightbulb:not(.active):hover .bulb-filament {
  animation: filament-flicker 1.5s infinite alternate;
}

.cta-lightbulb:not(.active):hover::before {
  border-color: rgba(221, 153, 51, 0.2);
}

@keyframes filament-flicker {

  0%,
  100% {
    stroke: #554433;
    filter: none;
    opacity: 0.6;
  }

  30%,
  70% {
    stroke: #ff9900;
    filter: drop-shadow(0 0 3px rgba(255, 153, 0, 0.5)) url(#glow-filter);
    opacity: 0.8;
  }

  35%,
  65% {
    stroke: #554433;
    filter: none;
    opacity: 0.4;
  }

  50% {
    stroke: #ffbb33;
    filter: drop-shadow(0 0 6px rgba(255, 187, 51, 0.8)) url(#glow-filter);
    opacity: 1;
  }
}

/* --- ACTIVE STATE (ON / CLICKED) --- */
.cta-lightbulb.active .bulb-glass {
  stroke: #ffbb33;
  filter: drop-shadow(0 0 6px rgba(255, 187, 51, 0.6));
}

.cta-lightbulb.active .bulb-filament {
  animation: filament-pulse 2s infinite ease-in-out;
  stroke: #ffbb33;
  opacity: 1;
}

.cta-lightbulb.active .bulb-aura {
  animation: aura-pulse 4s infinite ease-in-out;
  opacity: 0.7;
}

.cta-lightbulb.active::before {
  border-color: rgba(221, 153, 51, 0.35);
  box-shadow: 0 0 15px rgba(221, 153, 51, 0.08);
  animation-duration: 15s;
  /* Rotates faster when active */
}

/* Active Hover effect (super bright flicker) */
.cta-lightbulb.active:hover .bulb-glass {
  stroke: #ffcc55;
  filter: drop-shadow(0 0 10px rgba(255, 204, 85, 0.8));
}

.cta-lightbulb.active:hover .bulb-filament {
  animation: filament-flash 0.3s ease-in-out infinite alternate;
}

.cta-lightbulb.active:hover::before {
  border-color: rgba(221, 153, 51, 0.6);
  box-shadow: 0 0 20px rgba(221, 153, 51, 0.15);
}

@keyframes filament-pulse {

  0%,
  100% {
    stroke: #ffaa00;
    filter: drop-shadow(0 0 4px rgba(255, 170, 0, 0.8)) url(#glow-filter);
    opacity: 0.8;
  }

  50% {
    stroke: #ffdd66;
    filter: drop-shadow(0 0 10px rgba(255, 221, 102, 1)) url(#glow-filter);
    opacity: 1;
  }
}

@keyframes aura-pulse {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

@keyframes filament-flash {
  from {
    stroke: #ffdd66;
    filter: drop-shadow(0 0 6px rgba(255, 221, 102, 0.8)) url(#glow-filter);
  }

  to {
    stroke: #ffffff;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)) url(#glow-filter);
  }
}

/* ==========================================================================
   FOOTER BOTTOM LINKS & LEGAL PAGES STYLES
   ========================================================================== */
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--color-text-dark);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

.legal-card {
  padding: 3.5rem 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .legal-card {
    padding: 2rem 1.5rem;
  }
}

.legal-card h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.legal-card h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
}

.legal-card h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.legal-card p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  font-size: 0.975rem;
  color: var(--color-text-muted);
}

.legal-card ul, .legal-card ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-card li {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.legal-header {
  padding: 1.25rem 0;
  background: rgba(13, 9, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(105, 6, 87, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.legal-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-header .logo img {
  height: 50px;
}