
/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(-10deg);
  background-color: #1ebe57;
  color: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: white;
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* WhatsApp Chat Widget */
.wa-widget-container {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.wa-widget-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wa-widget-header {
  background: #25d366;
  color: white;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-widget-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-widget-header-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.wa-widget-header-text h4 {
  margin: 0;
  font-size: 1rem;
}

.wa-widget-header-text p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.9;
}

.wa-close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.wa-widget-body {
  padding: 20px;
  background: #f0f2f5;
  height: 150px;
}

.wa-message {
  background: white;
  padding: 12px 15px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.9rem;
  color: #333;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: inline-block;
  max-width: 90%;
  position: relative;
}

.wa-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.wa-message-time {
  display: block;
  font-size: 0.65rem;
  color: #999;
  text-align: right;
  margin-top: 5px;
}

.wa-widget-footer {
  padding: 12px 15px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eee;
}

.wa-chat-input {
  flex: 1;
  background: #f0f2f5;
  border: none;
  border-radius: 20px;
  padding: 10px 15px;
  font-size: 0.9rem;
  color: #333;
  outline: none;
}

.wa-chat-input::placeholder {
  color: #888;
}

.wa-send-btn {
  background: #25d366;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
  text-decoration: none;
}

.wa-send-btn:hover {
  background: #1ebc59;
  transform: scale(1.05);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

:root {
  --primary: #4f46e5; /* Indigo 600 - brighter */
  --primary-hover: #4338ca;
  --secondary: #3b82f6; /* Blue 500 */
  --accent: #10b981; /* Emerald */
  --dark: #111827; /* Gray 900 - sleek dark */
  --light-bg: #f8fafc; /* Slate 50 */
  --border: #e5e7eb; /* Gray 200 */
  --text-main: #374151; /* Gray 700 */
  --text-muted: #6b7280; /* Gray 500 */
  --white: #ffffff;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 15px 45px rgba(0, 0, 0, 0.06);
  --shadow-floating: 0 20px 60px rgba(0, 0, 0, 0.08);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--light-bg);
  color: var(--text-main);
  font-size: 15px;
  overflow-x: hidden;
}
input,
button,
textarea,
select {
  font-family: inherit;
}
a {
  text-decoration: none;
}

/* Admin Floating Button */
.admin-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--dark);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s;
}
.admin-float-btn:hover {
  transform: translateY(-3px);
}

/* Hide/Show Logic */
.active-view {
  display: flex !important;
}
#customerApp {
  display: none;
}
#adminApp {
  display: none;
}

/* =========================================
   1. CUSTOMER APP (SPLIT SCREEN)
========================================= */
.split-layout {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

/* Left Pane */
.left-pane {
  width: 50%;
  height: 100%;
  background: var(--white);
  overflow-y: auto;
  position: relative;
  z-index: 10;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.03);
}

.customer-header {
  padding: 2rem 3rem;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 20;
  border-bottom: 1px solid var(--border);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.form-container {
  padding: 2rem 3rem 5rem 3rem;
  max-width: 650px;
  margin: 0 auto;
}
.main-heading {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.highlight {
  color: var(--primary);
}
.sub-heading {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Packages */
.form-section {
  margin-bottom: 2rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.text-center .section-title {
  justify-content: center;
}
.package-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.pkg-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white);
  position: relative;
  flex: 1 1 250px;
  max-width: 350px;
  text-align: left;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.pkg-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-floating);
}
.pkg-card.active {
  border-color: var(--primary);
  background: #f5f3ff;
}
.pkg-card.active::before {
  content: "\ea5e";
  font-family: "LineIcons";
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}
.pkg-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.pkg-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.pkg-features {
  font-size: 0.8rem;
  color: var(--text-muted);
  list-style: none;
  padding-left: 0;
}
.pkg-features li {
  margin-bottom: 0.25rem;
  position: relative;
  padding-left: 1rem;
}
.pkg-features li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

.pkg-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 10;
}

/* Accordion Form */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--white);
  overflow: hidden;
}
.accordion-header {
  padding: 1.25rem 1.5rem;
  background: var(--light-bg);
  cursor: pointer;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.accordion-header:hover {
  background: #f1f5f9;
}
.accordion-body {
  padding: 1.5rem;
  display: none;
}
.accordion-item.active .accordion-body {
  display: block;
}
.accordion-item.active .accordion-header {
  border-bottom: 1px solid var(--border);
}
.accordion-item.active .toggle-icon {
  transform: rotate(180deg);
}

/* --- NEW FORM DESIGN CSS --- */
.accordion-header-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
}
.accordion-header-new .step-icon {
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  margin-right: 1.25rem;
  flex-shrink: 0;
}
.accordion-header-new .step-title-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.accordion-header-new .step-number {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.accordion-header-new .step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.form-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.required-star {
  color: #ef4444;
  margin-left: 0.15rem;
}
.label-with-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.label-with-hint label {
  margin-bottom: 0;
}
.input-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.upload-box-new {
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: white;
  transition: all 0.2s;
  gap: 1.25rem;
}
.upload-box-new:hover {
  border-color: var(--primary);
  background: #f8fafc;
}
.upload-icon-new {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  background: white;
  flex-shrink: 0;
}
.upload-text-new {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.upload-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.upload-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.upload-btn-new {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  transition: all 0.2s;
}
.upload-box-new:hover .upload-btn-new {
  border-color: var(--primary);
}
.add-more-btn {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  color: var(--dark);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  transition: all 0.2s;
}
.add-more-btn:hover {
  border-color: var(--dark);
  background: #f8fafc;
}

.toggle-icon {
  transition: transform 0.3s;
}

/* Inputs */
.input-group {
  margin-bottom: 1.25rem;
}
.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
  background: var(--light-bg);
}
select#siteCategory {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s;
  background: var(--light-bg);
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%2364748b" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
input.error,
textarea.error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}
.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  font-weight: 500;
}
input.error + .error-msg,
.domain-wrapper.error + .error-msg {
  display: block;
}
.domain-wrapper.error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}
.split-row {
  display: flex;
  gap: 1rem;
}
.split-row > * {
  flex: 1;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}

/* Domain Wrapper */
.domain-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--light-bg);
  overflow: hidden;
}
.domain-wrapper .prefix {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-weight: 500;
  background: #e2e8f0;
  border-right: 1px solid var(--border);
}
.domain-wrapper input {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1;
}

/* Upload Area */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.upload-area:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f5f3ff;
}
.upload-area i {
  font-size: 1.5rem;
}

.divider {
  margin: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}
.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: var(--border);
}
.divider::before {
  left: 0;
}
.divider::after {
  right: 0;
}

.checkout-area {
  margin-top: 3rem;
  text-align: center;
}
.primary-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}
.primary-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(79, 70, 229, 0.5);
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  width: auto;
}
.terms {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.pulse-btn {
  box-shadow: 0 0 0 0 rgba(67, 56, 202, 0.4);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(67, 56, 202, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(67, 56, 202, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(67, 56, 202, 0);
  }
}

/* Right Pane (Preview) */
.right-pane {
  width: 50%;
  height: 100%;
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(99, 102, 241, 0.15) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.floating-mockup {
  width: 340px;
  height: 680px;
  background: #fff;
  border-radius: 40px;
  box-shadow: var(--shadow-floating);
  position: relative;
  z-index: 2;
  border: 8px solid #0f172a;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.mockup-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #0f172a;
  border-radius: 20px;
  z-index: 10;
}
.mockup-inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  padding-top: 40px;
}
.mockup-inner::-webkit-scrollbar {
  display: none;
}

.preview-badge {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 99;
}

/* =========================================
   2. ADMIN DASHBOARD APP
========================================= */
.dashboard-layout {
  width: 100vw;
  height: 100vh;
  display: flex;
  background: var(--light-bg);
}

/* Sidebar */
.admin-sidebar {
  width: 280px;
  background: var(--dark);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}
.brand-logo.dark-mode {
  color: white;
}
.brand-logo.dark-mode small {
  font-size: 0.7rem;
  font-weight: 400;
  background: var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  flex: 1;
}
.nav-item {
  padding: 0.875rem 1rem;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.nav-item.active {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.sidebar-bottom {
  margin-top: auto;
}
.outline-light-btn {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s;
}
.outline-light-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Main Content Area */
.admin-main {
  flex: 1;
  padding: 3rem;
  overflow-y: auto;
}
.admin-panel {
  display: none;
}
.admin-panel.active {
  display: block;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel-header {
  margin-bottom: 2rem;
}
.panel-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
}
.panel-header p {
  color: var(--text-muted);
}

/* Table */
.card-table {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: #f8fafc;
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  font-size: 0.95rem;
}
tr:last-child td {
  border-bottom: none;
}
.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
}

/* Packages List */
.admin-package-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.admin-pkg-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
}
.admin-pkg-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}
.icon-btn {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
}
.icon-btn:hover {
  background: var(--primary);
  color: white;
}
.icon-btn.delete:hover {
  background: var(--red);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: white;
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-floating);
}
.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.btn-cancel {
  padding: 0.75rem 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

/* Internal Template Styles for Mockup - MODERN & SLEEK */
.mockup-inner {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #f8fafc;
  position: relative;
  font-family: "Inter", sans-serif;
}
.mockup-inner::-webkit-scrollbar {
  display: none;
}

.mock-header {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
  position: relative;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 10px 30px rgba(67, 56, 202, 0.2);
}
.mock-profile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid white;
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  z-index: 10;
}

.mock-body {
  padding: 4.5rem 1.5rem 2.5rem;
  text-align: center;
}
.mock-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.3rem;
  letter-spacing: -0.5px;
}
.mock-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.5;
  padding: 0 0.5rem;
}

.mock-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mock-btn {
  width: 100%;
  padding: 1.1rem;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
.mock-btn:active {
  transform: scale(0.97);
}
.mock-btn i {
  font-size: 1.2rem;
}

.mock-btn.primary {
  background: #0f172a;
  color: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}
.mock-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.2);
}

.mock-btn.whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}
.mock-btn.whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.25);
}

.mock-btn.outline {
  background: white;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}
.mock-btn.outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(67, 56, 202, 0.1);
  transform: translateY(-3px);
}

.mock-btn.outline-light {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid transparent;
}
.mock-btn.outline-light:hover {
  background: #e2e8f0;
  transform: translateY(-3px);
}

.mock-socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.mock-socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mock-socials a:hover {
  color: white;
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(67, 56, 202, 0.25);
}

/* Custom Widget Styles (Review, Video, Gallery) */
.mock-review-widget {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  text-align: center;
}
.mock-review-widget h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.mock-review-widget p {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}
.mock-review-widget .stars {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  font-size: 2.2rem;
  color: #fbbf24;
  cursor: pointer;
  line-height: 1;
}
.mock-review-widget .stars span {
  transition: transform 0.2s;
}
.mock-review-widget .stars span:hover {
  transform: scale(1.2);
}

.mock-video-widget {
  margin-top: 2rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #000;
  border: 4px solid white;
}
.mock-video-widget iframe {
  width: 100%;
  height: 200px;
  display: block;
}

.mock-gallery-widget {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.mock-gallery-widget img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
.mock-gallery-widget img:hover {
  transform: scale(1.05);
}

.mock-footer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  opacity: 0.8;
  font-weight: 500;
}
.mock-footer strong {
  color: #475569;
  font-weight: 700;
}

/* Themes for Mockup */
.mockup-inner.theme-dark {
  background: #0f172a;
}
.mockup-inner.theme-dark .mock-title {
  color: white;
}
.mockup-inner.theme-dark .mock-subtitle {
  color: #94a3b8;
}
.mockup-inner.theme-dark .mock-btn.outline {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border-color: rgba(255, 255, 255, 0.1);
}
.mockup-inner.theme-dark .mock-btn.outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.mockup-inner.theme-dark .mock-socials a {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.mockup-inner.theme-dark .mock-review-widget {
  background: #1e293b;
}
.mockup-inner.theme-dark .mock-review-widget h3 {
  color: white;
}
.mockup-inner.theme-dark .mock-video-widget {
  border-color: #1e293b;
}
.mockup-inner.theme-pink {
  background: linear-gradient(180deg, #fdf2f8 0%, #fbcfe8 100%);
}
.mockup-inner.theme-pink .mock-btn.primary {
  background: #db2777;
}

.mockup-inner.theme-ocean {
  background: linear-gradient(180deg, #f0f9ff 0%, #bae6fd 100%);
}
.mockup-inner.theme-ocean .mock-btn.primary {
  background: #0284c7;
}

.mockup-inner.theme-emerald {
  background: linear-gradient(180deg, #ecfdf5 0%, #a7f3d0 100%);
}
.mockup-inner.theme-emerald .mock-btn.primary {
  background: #059669;
}

.mockup-inner.theme-custom {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    var(--custom-theme-bg, #fde047) 100%
  );
}
.mockup-inner.theme-custom .mock-btn.primary {
  background: var(--custom-theme-color, #eab308);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* =========================================
   3. LANDING PAGE STYLES
========================================= */
.landing-body {
  background: var(--white);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.landing-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-bg);
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}
.landing-nav {
  display: flex;
  gap: 2rem;
}
.landing-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}
.landing-nav a:hover {
  color: var(--dark);
}
.admin-link {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

.hero-section {
  padding: 12rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
.hero-content {
  flex: 1;
  max-width: 550px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-btn {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  width: auto;
  box-shadow: 0 10px 25px rgba(67, 56, 202, 0.3);
}


/* =========================================
   BENTO BOX HERO VISUALS
========================================= */
.bento-visuals {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  perspective: 1000px;
}
.bento-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 480px;
  transform: rotateX(5deg) rotateY(-5deg);
  transition: transform 0.4s ease;
}
.bento-grid:hover {
  transform: rotateX(0) rotateY(0);
}
.bento-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}
.bento-wide {
  position: relative;
  overflow: hidden;
}
.bento-glass-panel {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}
.mac-header {
  background: #f1f5f9;
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #e2e8f0;
}
.mac-header .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.panel-body { padding: 1.5rem; position: relative; }
.panel-title { font-weight: 700; color: #0f172a; margin-bottom: 1rem; font-size: 1.1rem; padding-right: 85px; word-break: break-word; }
.panel-skeleton .skel-row { height: 10px; background: #e2e8f0; border-radius: 4px; margin-bottom: 8px; width: 100%; }
.panel-skeleton .skel-row.short { width: 70%; margin-bottom: 1rem; }
.panel-skeleton .skel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.panel-skeleton .skel-box { height: 60px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; }

.panel-status {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bento-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.bento-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}
.bento-icon-wrapper {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.bento-icon-wrapper.qr { background: #e0e7ff; color: #4338ca; }
.bento-icon-wrapper.stat { background: #0f172a; color: #fff; font-size: 1.2rem; font-weight: 800; }
.bento-text { font-weight: 600; color: #1e293b; font-size: 0.95rem; }

.bento-square.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border: none;
}
.bento-square.highlight .bento-text { color: white; }
.bento-square.highlight .bento-icon-wrapper.stat { background: rgba(255,255,255,0.2); }

@media screen and (max-width: 1024px) {
  .bento-visuals { justify-content: center; margin-top: 2rem; }
  .bento-grid { transform: none; }
  .bento-grid:hover { transform: none; }
}


/* Marquee */
.categories-marquee {
  margin-top: 5rem;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.marquee-content {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll 30s linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.cat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.cat-item i {
  font-size: 1.5rem;
  color: var(--border);
}

/* =========================================
   4. EXTENDED LANDING PAGE SECTIONS
========================================= */
.section-padding {
  padding: 6rem 2rem;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-box {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-align: center;
}
.feature-box:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: #cbd5e1;
}
.feature-icon {
  width: 50px;
  height: 50px;
  background: #e0e7ff;
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem;
}
.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}
.feature-box p {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Dark Contact Section (Lead Gen) */
.dark-contact-section {
  background: #1e293b;
  color: white;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.contact-form-side h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.contact-form-side p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}
.lead-form .input-group input {
  background: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  color: var(--dark);
  width: 100%;
  font-size: 1rem;
}
.lead-form .checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.lead-form .checkbox-group input {
  margin-top: 0.25rem;
  cursor: pointer;
}
.lead-form .checkbox-group label {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  cursor: pointer;
}
.btn-blue-solid {
  width: 100%;
  padding: 1rem;
  background: var(--secondary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-blue-solid:hover {
  background: #2563eb;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9rem;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.faq-header {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s;
}
.faq-header:hover {
  color: var(--primary);
}
.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  line-height: 1.6;
  transition: all 0.3s ease;
}
.faq-item.active .faq-body {
  padding: 1rem 1.5rem 1.5rem;
  max-height: 300px;
}
.faq-item.active .faq-header i {
  transform: rotate(45deg);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: white;
  padding: 5rem 2rem 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 300px;
}
.footer-links h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}
.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: white;
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: background 0.2s;
}
.social-icons a:hover {
  background: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* =========================================
   5. RESPONSIVE / MEDIA QUERIES
========================================= */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1200px) {
  .hero-container {
    gap: 2rem;
  }
  .hero-title {
    font-size: 3rem;
  }
  .contact-grid {
    gap: 2rem;
  }
}

/* =========================================
   6. MEGA MENU & MOBILE MENU CSS
========================================= */
.hamburger-menu {
  display: none;
  font-size: 1.75rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-mega-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background: white;
  z-index: 9999;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.mobile-mega-menu.open {
  right: 0;
}
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.close-menu-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  transition: transform 0.2s;
}
.close-menu-btn:hover {
  transform: scale(1.1);
}
.mobile-menu-body {
  flex: 1;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
}
.mobile-menu-body a {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu-body a:hover {
  color: var(--primary);
}
.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu-footer .primary-btn {
  width: 100%;
}

/* Tablet and Mobile (max-width: 1024px) */
@media screen and (max-width: 1024px) {
  .landing-nav {
    display: none;
  }
  .hamburger-menu {
    display: block; /* Hamburger butonu mobilde göster */
  }
  .header-actions .primary-btn {
    display: none; /* Üstteki başla butonunu mobilde gizle, menü içine aldık */
  }
  .header-actions {
    display: flex;
    align-items: center;
  }
  .header-container {
    padding: 0 1rem;
  }

  .hero-section {
    padding: 8rem 1rem 4rem;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

    .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-mockup-side {
    display: none !important;
  }

  /* Footer Düzeltme */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand p {
    margin: 1rem auto;
  }
  .footer-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .social-icons {
    justify-content: center;
  }

  /* App (Split Layout) Mobile Fix */
  .split-layout {
    flex-direction: column;
    overflow-y: auto;
    height: auto;
  }
  .left-pane,
  .right-pane {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .right-pane {
    padding: 3rem 1rem;
  }
  .customer-header {
    padding: 1rem;
  }
  .form-container {
    padding: 2rem 1rem;
  }
  .split-row {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }
}

/* Dynamic Links UI */
.dynamic-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dynamic-link-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  position: relative;
  transition: box-shadow 0.2s;
}
.dynamic-link-item.sortable-ghost {
  opacity: 0.4;
}
.dynamic-link-item.sortable-drag {
  background: var(--light);
  box-shadow: var(--shadow-md);
}
.link-drag-handle {
  color: var(--text-muted);
  cursor: grab;
  font-size: 1.2rem;
  padding-right: 0.5rem;
}
.link-drag-handle:active {
  cursor: grabbing;
}
.link-icon-select {
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  background-color: #f8fafc;
  background-image: none; /* Override global select arrow if needed */
}
.link-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.link-details-row {
  display: flex;
  gap: 0.5rem;
}
.link-details input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  flex: 1;
  outline: none;
}
.link-color-picker {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0;
  cursor: pointer;
  background: transparent;
}
.link-remove-btn {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.link-remove-btn:hover {
  background: #fca5a5;
  color: white;
}

/* Instagram Gallery Mockup */
.mock-ig-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}
.mock-ig-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e2e8f0;
  display: block;
}

/* Theme Picker Styles */
.theme-picker {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.theme-option {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.theme-option:hover {
  transform: scale(1.1);
}
.theme-option.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Mobile Responsive Fixes */
@media screen and (max-width: 1024px) {
  /* Admin Panel Fix */
  .admin-layout {
    flex-direction: column !important;
  }
  .admin-sidebar {
    width: 100% !important;
    height: auto !important;
    position: static !important;
  }
  .admin-main {
    margin-left: 0 !important;
    padding-top: 1rem !important;
  }

  /* App (Builder) Fixes */
  .right-pane {
    padding: 2rem 0 !important;
    display: flex;
    justify-content: center;
  }
  .mockup-container {
    transform: scale(0.85);
    transform-origin: top center;
    margin-bottom: -100px;
  }
  .form-container {
    padding: 1.5rem !important;
  }
  .mobile-preview-btn {
    display: block !important;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
  }
}
@media screen and (min-width: 1025px) {
  .mobile-preview-btn {
    display: none !important;
  }
}

@media screen and (max-width: 1400px) {
  .right-pane .float-card {
    display: none !important;
  }
  .whatsapp-float {
    width: 50px !important;
    height: 50px !important;
    font-size: 26px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
}

@media screen and (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 1.25rem !important;
  }
  .dark-contact-section {
    padding: 4rem 1.25rem !important;
  }
  .features-grid {
    gap: 1rem !important;
  }
  .brand-logo img {
    max-width: 150px !important;
  }
}

/* =========================================
   MİKRO ANİMASYONLAR
========================================= */
/* Sayfa Açılış Animasyonları */
.anim-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}
.anim-slide-down {
  animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-slide-up {
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buton Hover Animasyonları */
.btn-anim-pulse {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-anim-pulse:hover {
  transform: scale(1.05);
}

.btn-anim-shake {
  transition: transform 0.2s ease;
}
.btn-anim-shake:hover {
  animation: shake 0.5s ease-in-out;
}
@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-5px);
  }
  100% {
    transform: translateX(0);
  }
}

.btn-anim-glow {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn-anim-glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 15px rgba(255, 255, 255, 0.6),
    0 0 30px var(--primary);
  border-color: transparent !important;
}

/* Make footer logo white */
.footer-brand .brand-logo img {
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 768px) {
  .preview-badge {
    display: none !important;
  }
  .right-pane {
    padding-bottom: 80px !important;
  }
}

/* --- TASARIMLAR SAYFASI TEMPLATE MOCKUP --- */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
}

.template-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.template-card:hover {
  transform: translateY(-5px);
}

.mockup-container {
  padding: 1.5rem 1.5rem 0 1.5rem;
  background: #f1f5f9;
}

.mockup-frame {
  width: 100%;
  aspect-ratio: 9/18;
  border-radius: 20px 20px 0 0;
  border: 6px solid #1e293b;
  border-bottom: none;
  overflow: hidden;
  position: relative;
  background-color: #ffffff;
}

.mockup-scroll-image {
  width: 100%;
  height: 100%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  transition: background-position 5s ease-in-out;
}

.mockup-iframe {
  width: 100%;
  height: 1500px;
  border: none;
  pointer-events: none;
  transition: transform 5s ease-in-out;
  transform: translateY(0);
}

.template-card:hover .mockup-scroll-image {
  background-position: bottom center;
}

.template-card:hover .mockup-iframe {
  transform: translateY(calc(-100% + 400px));
}

.template-info {
  padding: 1.5rem;
  text-align: center;
  background: white;
}

.template-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.template-info p {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.template-tags span {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: #e2e8f0;
  color: #475569;
  border-radius: 20px;
  font-weight: 500;
}


/* --- ADMIN PANEL MOBILE FIX --- */
.admin-mobile-header {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin: -2rem -2rem 2rem -2rem;
}
.admin-hamburger {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .admin-mobile-header {
    display: flex;
    margin: -1rem -1rem 1.5rem -1rem;
  }
  .dashboard-layout {
    overflow-x: hidden;
  }
  .admin-sidebar {
    position: fixed !important;
    left: -280px;
    top: 0;
    height: 100vh !important;
    width: 280px !important;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
  }
  .admin-sidebar.active {
    left: 0;
  }
  
  /* Arkaplanı karartmak için */
  .admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
  }
  .admin-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* Brand Showcase Responsive Grid */
.brand-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 992px) {
  .brand-showcase-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

/* App Live Preview Float Cards Restored */
.float-card {
  position: absolute;
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 3;
  animation: floatCard 6s infinite ease-in-out;
  border: 1px solid var(--border);
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.qr-card {
  width: 220px;
  animation-delay: 0s;
}
.qr-header {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qr-image-placeholder {
  background: linear-gradient(135deg, #fce7f3 0%, #e0e7ff 100%);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.qr-image-placeholder img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.qr-footer {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.qr-footer span {
  font-weight: 700;
  color: var(--dark);
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg) !important; border-color: var(--primary) !important; }
.blog-card a:hover { gap: 0.75rem !important; }

/* --- CUSTOM MAGNETIC CURSOR --- */
@media (pointer: fine) {
  /* Fareyi gizlemeyi kaldırdık, bunun yerine standart imleç + manyetik gölge yapacağız */
  
  .custom-cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(79, 70, 229, 0.3);
    background-color: rgba(79, 70, 229, 0.05);
    border-radius: 50%;
    pointer-events: none;
    z-index: 999998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
  }
  
  .custom-cursor-follower.hovering {
    width: 50px;
    height: 50px;
    background-color: rgba(79, 70, 229, 0.15);
    border-color: var(--primary);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.4);
  }
}

/* Chatbot Styles */
.wa-widget-body {
  height: 300px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.wa-message.user {
  background: #dcf8c6 !important;
  border-radius: 12px 0 12px 12px !important;
  align-self: flex-end !important;
  margin-left: auto !important;
}
.wa-message.user::before {
  display: none !important;
}
.wa-message.bot {
  align-self: flex-start !important;
}
.wa-options-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.wa-option-btn {
  background: white;
  border: 1px solid #25d366;
  color: #25d366;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-weight: 500;
}
.wa-option-btn:hover {
  background: #25d366;
  color: white;
}
.mt-2 {
  margin-top: 12px;
}

/* Typing Animation */
.wa-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 15px;
  background: white;
  border-radius: 0 12px 12px 12px;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}
.wa-typing-dot {
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  animation: waTypingBounce 1.4s infinite ease-in-out both;
}
.wa-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.wa-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes waTypingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Premium Service Showcase CSS */
.premium-service-showcase {
  background: white;
  border-radius: 24px;
  padding: 4rem 3rem;
  color: var(--dark);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}
.premium-service-showcase::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(99,102,241,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.showcase-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}
.premium-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.showcase-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--dark);
}
.showcase-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.interactive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}
.interactive-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.device-frame {
  background: #ffffff;
  padding: 15px;
  border-radius: 20px;
  width: 100%;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.device-frame:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.2);
}
.iframe-wrapper {
  position: relative;
  padding-bottom: 80%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}
.item-info {
  margin-top: 1.5rem;
  text-align: center;
}
.item-info h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.item-info span {
  display: inline-block;
  font-size: 0.85rem;
  color: #475569;
  background: #f1f5f9;
  padding: 5px 12px;
  border-radius: 20px;
}

.showcase-action {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.btn-glow:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
  color: white;
}
