/* =============================================
   BAKER MEDIA - Social Media Services
   RTL Arabic Design | Dark Premium Theme
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:      #1d70b8;
  --primary-l:    #3b8ef5;
  --accent:       #ef4444;
  --accent-l:     #f87171;
  --blue:         #1d70b8;
  --teal:         #10b981;
  --bg-dark:      #061224;
  --bg-card:      #0a192f;
  --bg-card2:     #0d2340;
  --border:       rgba(29, 112, 184, 0.25);
  --text:         #e2e8f0;
  --text-muted:   #94a3b8;
  --success:      #10b981;
  --warning:      #f59e0b;
  --danger:       #ef4444;
  --gold:         #f59e0b;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 30px rgba(29, 112, 184, 0.15);
  --shadow-lg:    0 8px 60px rgba(29, 112, 184, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: .2s; }
img { max-width: 100%; }
button { cursor: pointer; font-family: 'Cairo', sans-serif; }
input, textarea, select { font-family: 'Cairo', sans-serif; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* === PARTICLES === */
.particles {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--primary-l);
  border-radius: 50%;
  opacity: .4;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: .4; }
  90%  { opacity: .4; }
  100% { transform: translateY(-10vh) translateX(60px); opacity: 0; }
}

/* === HEADER === */
.header {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 1000;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: .3s;
}
.header.scrolled {
  background: rgba(10,10,15,0.97);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 50px; height: 50px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 100%; height: 100%; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 18px; font-weight: 800; color: #fff; }
.logo-sub  { font-size: 11px; color: var(--text-muted); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px; border-radius: 8px;
  color: var(--text-muted); font-size: 14px; font-weight: 600;
  transition: .2s;
}
.nav-link:hover { color: var(--primary-l); background: rgba(29,112,184,.1); }
.nav-btn {
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px; color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 20px rgba(29,112,184,.4);
  transition: .2s;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(29,112,184,.5); }

.menu-toggle {
  display: none;
  background: none; border: none; color: var(--text); font-size: 24px;
}
.mobile-nav {
  display: none; flex-direction: column;
  padding: 12px 24px 16px;
  border-top: 1px solid var(--border);
  background: rgba(10,10,15,0.97);
}
.mobile-nav a {
  padding: 12px 0; color: var(--text-muted); font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-nav{
  display:none;
  flex-direction:column;
  position:absolute;
  top:100%;
  right:0;
  width:100%;
  background:#071426;
  padding:20px;
  gap:15px;
  z-index:999;
}

.mobile-nav.open,
.mobile-nav.active{
  display:flex;
}

@media (max-width: 768px){

  .nav{
    display:none;
  }

  .menu-toggle{
    display:block;
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
  }


}

/* === HERO === */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  overflow: hidden;
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.glow-1 { width: 400px; height: 400px; background: rgba(29,112,184,.35); top: -100px; right: 10%; }
.glow-2 { width: 300px; height: 300px; background: rgba(59,142,245,.25); bottom: -50px; left: 5%; animation-delay: -2s; }
.glow-3 { width: 200px; height: 200px; background: rgba(59,130,246,.2); top: 40%; left: 40%; animation-delay: -4s; }

@keyframes glowPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px; margin-bottom: 28px;
  background: rgba(29,112,184,.15);
  border: 1px solid rgba(29,112,184,.4);
  border-radius: 99px;
  color: var(--primary-l); font-size: 13px; font-weight: 700;
  animation: fadeDown .8s ease both;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; line-height: 1.15;
  color: #fff; margin-bottom: 20px;
  animation: fadeDown .8s ease .1s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-l), var(--accent-l));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px; color: var(--text-muted); margin-bottom: 40px;
  animation: fadeDown .8s ease .2s both;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; margin-bottom: 44px;
  animation: fadeDown .8s ease .3s both;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 32px; font-weight: 900; color: var(--primary-l); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }

.hero-cta {
  display: flex; gap: 16px; justify-content: center;
  animation: fadeDown .8s ease .4s both;
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  border: none; transition: .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 25px rgba(29,112,184,.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(29,112,184,.55); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn-large { padding: 16px 36px; font-size: 17px; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Floating Social Icons */
.hero-social-icons {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.floating-icon {
  position: absolute; font-size: 28px; opacity: .12;
  animation: floatIcon 8s ease-in-out infinite;
}
.fi-1 { top: 20%; right: 8%;  animation-delay: 0s; }
.fi-2 { top: 60%; right: 15%; animation-delay: -2s; }
.fi-3 { top: 30%; left: 8%;  animation-delay: -4s; }
.fi-4 { top: 70%; left: 15%; animation-delay: -1s; }
.fi-5 { top: 50%; right: 50%; animation-delay: -3s; }

@keyframes floatIcon {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(10deg); }
}

/* === CONTAINER === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === SECTION BASE === */
.section { padding: 100px 0; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block; padding: 6px 18px; margin-bottom: 16px;
  background: rgba(29,112,184,.12);
  border: 1px solid rgba(29,112,184,.3);
  border-radius: 99px; color: var(--primary-l); font-size: 13px; font-weight: 700;
}
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; color: #fff; margin-bottom: 12px;
}
.section-subtitle { font-size: 16px; color: var(--text-muted); }

/* === PLATFORMS GRID === */
.followers-section { background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%); }

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.platform-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer; transition: .3s;
}
.platform-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.platform-card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(29,112,184,.12), transparent 70%);
  pointer-events: none;
}
.platform-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.platform-icon svg { width: 28px; height: 28px; }
.facebook-icon  { background: #1877f2; }
.instagram-icon { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.tiktok-icon    { background: #010101; border: 1px solid #333; }
.youtube-icon   { background: #ff0000; }
.twitter-icon   { background: #000; border: 1px solid #333; }
.telegram-icon  { background: #2aabee; }

.platform-info { flex: 1; }
.platform-info h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.platform-info p  { font-size: 13px; color: var(--text-muted); }

.platform-arrow {
  font-size: 22px; color: var(--primary-l); transform: rotate(180deg);
  transition: transform .3s;
}
.platform-card:hover .platform-arrow { transform: rotate(180deg) translateX(-6px); }

/* === FOLLOWERS PANEL === */
.followers-panel {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  animation: fadeUp .4s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.back-btn {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 10px; padding: 10px 20px;
  font-size: 14px; font-weight: 600; margin-bottom: 28px;
  transition: .2s;
}
.back-btn svg { width: 18px; height: 18px; transform: rotate(180deg); }
.back-btn:hover { color: #fff; background: rgba(255,255,255,.1); }

.panel-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 36px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.selected-platform-icon {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
}
.panel-header h3 { font-size: 24px; font-weight: 900; color: #fff; }
.panel-header p  { color: var(--text-muted); font-size: 14px; }

/* Packages */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px; margin-bottom: 32px;
}
.package-item {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm); padding: 20px 16px;
  text-align: center; cursor: pointer; transition: .25s;
  position: relative; overflow: hidden;
}
.package-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.package-item.selected {
  border-color: var(--primary-l);
  background: rgba(29,112,184,.15);
  box-shadow: 0 0 30px rgba(29,112,184,.3);
}
.package-item.popular::before {
  content: 'الأكثر طلباً';
  position: absolute; top: 8px; right: -22px;
  background: var(--accent); color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 30px; transform: rotate(45deg); transform-origin: center;
}
.pkg-amount { font-size: 26px; font-weight: 900; color: var(--primary-l); }
.pkg-label  { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.pkg-price  { font-size: 16px; font-weight: 800; color: #fff; }
.pkg-currency { font-size: 12px; color: var(--text-muted); }

/* Custom Amount */
.custom-amount-box {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 24px; margin-bottom: 28px;
}
.custom-amount-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.custom-input-row { display: flex; gap: 12px; }
.custom-input-row input {
  flex: 1; background: rgba(255,255,255,.05);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 16px; color: #fff; font-size: 15px;
}
.custom-input-row input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,112,184,.2);
}
.custom-price-display {
  margin-top: 14px; padding: 14px;
  background: rgba(29,112,184,.1); border-radius: 8px;
  color: var(--primary-l); font-size: 16px; font-weight: 700;
  display: none;
}
.custom-price-display.show { display: block; }

.panel-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.selected-pkg-info { color: var(--text-muted); font-size: 14px; font-weight: 600; }

/* === SERVICES SECTION === */
.services-section {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px; margin-bottom: 40px;
}

.service-card {
  position: relative; overflow: hidden;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px;
  transition: .3s;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(29,112,184,.1), transparent 60%);
  pointer-events: none;
}
.service-icon {
  width: 64px; height: 64px; border-radius: 18px; font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.promo-icon  { background: linear-gradient(135deg, #1d70b833, #3b8ef533); }
.fb-icon     { background: #1877f220; }
.board-icon  { background: #f59e0b20; }

.service-badge {
  display: inline-block; padding: 4px 14px;
  background: rgba(59,142,245,.15); border: 1px solid rgba(59,142,245,.3);
  border-radius: 99px; color: var(--accent-l); font-size: 11px; font-weight: 700;
  margin-bottom: 12px;
}
.premium-badge {
  background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.3);
  color: var(--gold);
}

.service-card h3 { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.service-card > p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

.service-features {
  list-style: none; margin-bottom: 24px;
}
.service-features li {
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04);
  font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.service-features li:last-child { border-bottom: none; }
.check { font-size: 16px; }
.info  { font-size: 14px; }
.warn  { font-size: 14px; }

.service-notes {
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 24px;
}
.service-notes p { font-size: 13px; color: var(--gold); }

.service-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 24px;
}
.price-from    { font-size: 13px; color: var(--text-muted); }
.price-amount  { font-size: 36px; font-weight: 900; color: var(--primary-l); }
.premium-price { color: var(--gold); }
.price-currency { font-size: 14px; color: var(--text-muted); }

/* Notes Box */
.notes-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: var(--radius); padding: 28px;
}
.notes-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.notes-content h4 { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.notes-content ul { list-style: none; }
.notes-content li {
  padding: 6px 0; color: var(--text-muted); font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.04); display: flex; gap: 8px;
}
.notes-content li::before { content: '•'; color: var(--blue); }

/* === ORDER FORM === */
.order-section {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.form-wrapper {
  max-width: 760px; margin: 0 auto;
  position: relative;
}
.form-decoration {
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--blue));
  border-radius: 22px; z-index: -1; opacity: .5;
}

.order-form {
  background: var(--bg-card2);
  border-radius: 20px; padding: 40px;
}

.form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.full-width { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text-muted);
}
.form-group label svg { width: 16px; height: 16px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; color: #fff; font-size: 15px;
  transition: .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group select option { background: #111; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,112,184,.2);
  background: rgba(29,112,184,.08);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-guarantee {
  display: flex; gap: 20px; flex-wrap: wrap;
  color: var(--text-muted); font-size: 13px; font-weight: 600;
}

/* Success / Loading states */
.success-msg {
  text-align: center; padding: 60px 40px;
}
.success-icon { font-size: 64px; margin-bottom: 20px; }
.success-msg h3 { font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.success-msg p  { color: var(--text-muted); margin-bottom: 28px; }

/* === FOOTER === */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-content {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
  font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 16px;
}
.footer-links {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a { color: var(--text-muted); font-size: 14px; transition: .2s; }
.footer-links a:hover { color: var(--primary-l); }
.footer-contact p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: var(--primary-l); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0; text-align: center;
  color: var(--text-muted); font-size: 13px;
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed; bottom: 28px; left: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: .25s;
  animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,.7);
}

@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,.8), 0 0 60px rgba(37,211,102,.3); }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
  .hero-stats { gap: 16px; }
  .stat-num   { font-size: 24px; }
  .form-grid  { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; }
  .panel-footer { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr; }
  .custom-input-row { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: repeat(2, 1fr); }
}
