/* ===== Landing Page Styles ===== */
/* invite-k - Professional Landing Page by dārh */

.landing-body {
  background: #ffffff;
  color: #1D3557;
  font-family: 'Tajawal', 'Cairo', sans-serif;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}
.landing-body * { box-sizing: border-box; }
.landing-body a { text-decoration: none; color: inherit; }
.landing-body ul { list-style: none; padding: 0; margin: 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #2A9D8F 0%, #F4A261 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-inline: auto;
}
.section-tag {
  display: inline-block;
  background: rgba(42, 157, 143, 0.1);
  color: #2A9D8F;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}
.section-header h2 {
  font-family: 'Cairo', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: #1D3557;
  margin: 0 0 16px;
  line-height: 1.3;
}
.section-header p {
  font-size: 18px;
  color: #5a6c7d;
  line-height: 1.7;
}

/* ===== Top Bar ===== */
.top-bar {
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1001;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar .countdown {
  background: rgba(0,0,0,.25);
  padding: 4px 14px;
  border-radius: 50px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  font-weight: 700;
}
.top-cta {
  background: #fff;
  color: #E76F51;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 800;
  transition: transform .2s;
}
.top-cta:hover { transform: scale(1.05); }

/* ===== Navbar ===== */
.landing-nav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 40px;
  z-index: 1000;
  border-bottom: 1px solid #e8eef2;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cairo', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #1D3557;
}
.nav-logo img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  color: #1D3557;
  font-weight: 600;
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: #2A9D8F; }
.nav-links a::after {
  content: '';
  position: absolute;
  right: 0; bottom: -6px;
  width: 0; height: 2px;
  background: #2A9D8F;
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #1D3557;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: all .3s;
  border: 2px solid transparent;
}
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, #2A9D8F 0%, #1D3557 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(42,157,143,.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(42,157,143,.4);
}
.btn-outline {
  background: transparent;
  color: #1D3557;
  border-color: #1D3557;
}
.btn-outline:hover {
  background: #1D3557;
  color: #fff;
}
.btn-ghost {
  background: #f0f9f7;
  color: #2A9D8F;
}
.btn-ghost:hover { background: #2A9D8F; color: #fff; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f9f7 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .4;
  animation: float 20s infinite ease-in-out;
}
.shape-1 { width: 400px; height: 400px; background: #2A9D8F; top: -100px; right: -100px; }
.shape-2 { width: 350px; height: 350px; background: #F4A261; bottom: -80px; left: -80px; animation-delay: 5s; }
.shape-3 { width: 300px; height: 300px; background: #1D3557; top: 50%; left: 40%; animation-delay: 10s; opacity: .2; }
@keyframes float {
  0%, 100% { transform: translate(0,0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-30px, 30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(42,157,143,.1);
  color: #2A9D8F;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Cairo', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.2;
  color: #1D3557;
  margin: 0 0 24px;
}
.hero-desc {
  font-size: 19px;
  line-height: 1.8;
  color: #5a6c7d;
  margin: 0 0 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat-item { min-width: 120px; }
.stat-num {
  font-family: 'Cairo', sans-serif;
  font-size: 40px;
  font-weight: 900;
  color: #2A9D8F;
  line-height: 1;
}
.stat-num::after { content: '+'; }
.stat-label {
  font-size: 15px;
  color: #5a6c7d;
  margin-top: 6px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
}
.hero-card-stack { position: relative; width: 100%; height: 100%; }
.hero-phone {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%) rotate(-5deg);
  width: 260px;
  height: 460px;
  background: #1D3557;
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 30px 60px rgba(29,53,87,.3);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-header {
  background: linear-gradient(135deg, #2A9D8F, #1D3557);
  color: #fff;
  padding: 14px;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
}
.phone-body {
  flex: 1;
  overflow: hidden;
  background: #f0f9f7;
}
.phone-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(29,53,87,.15);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatCard 4s infinite ease-in-out;
  z-index: 2;
}
.floating-card .fc-icon {
  width: 42px; height: 42px;
  background: #f0f9f7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.fc-text b { display: block; font-size: 14px; color: #1D3557; }
.fc-text span { font-size: 12px; color: #5a6c7d; }
.card-1 { top: 40px; right: 10px; animation-delay: 0s; }
.card-2 { top: 200px; left: 0; animation-delay: 1.5s; }
.card-3 { bottom: 60px; right: 30px; animation-delay: 3s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ===== Features ===== */
.features-section {
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid #e8eef2;
  transition: all .3s;
  text-align: right;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(29,53,87,.12);
  border-color: #2A9D8F;
}
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #f0f9f7, #a8dad3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #1D3557;
  margin: 0 0 10px;
}
.feature-card p {
  color: #5a6c7d;
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

/* ===== How It Works ===== */
.how-section {
  background: linear-gradient(180deg, #f0f9f7 0%, #ffffff 100%);
}
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  right: 10%;
  left: 10%;
  height: 3px;
  background: linear-gradient(90deg, #2A9D8F, #F4A261);
  opacity: .2;
  z-index: 0;
}
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #2A9D8F, #1D3557);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-size: 28px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px rgba(42,157,143,.3);
}
.step-content h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1D3557;
  margin: 0 0 10px;
}
.step-content p {
  color: #5a6c7d;
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

/* ===== Portfolio ===== */
.portfolio-section { background: #fff; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(29,53,87,.1);
  transition: transform .4s;
}
.portfolio-item:hover { transform: translateY(-6px); }
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  background: linear-gradient(to top, rgba(29,53,87,.95) 0%, transparent 100%);
  color: #fff;
  padding: 30px 20px 20px;
  transform: translateY(100%);
  transition: transform .4s;
}
.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus-within .portfolio-overlay {
  transform: translateY(0);
}
.portfolio-cat {
  display: inline-block;
  background: #2A9D8F;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.portfolio-overlay h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 18px;
  margin: 0 0 6px;
}
.portfolio-overlay p {
  font-size: 13px;
  opacity: .9;
  margin: 0;
}
.portfolio-cta {
  text-align: center;
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(135deg, #f0f9f7 0%, #ffffff 100%);
  border-radius: 24px;
}
.portfolio-cta p {
  font-size: 20px;
  color: #1D3557;
  margin: 0 0 20px;
  font-weight: 600;
}

/* ===== Pricing ===== */
.pricing-section {
  background: linear-gradient(180deg, #f0f9f7 0%, #ffffff 100%);
}
.pricing-footer {
  text-align: center;
  margin-top: 40px;
}
.pricing-footer p {
  color: #5a6c7d;
  margin-bottom: 16px;
  font-size: 15px;
}

/* ===== Testimonials ===== */
.testimonials-section { background: #fff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid #e8eef2;
  position: relative;
  transition: all .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(29,53,87,.1);
}
.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 70px;
  color: #2A9D8F;
  opacity: .15;
  line-height: 1;
  font-family: 'Cairo', serif;
}
.testimonial-stars {
  color: #F4A261;
  font-size: 18px;
  margin-bottom: 14px;
}
.testimonial-text {
  color: #1D3557;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A9D8F, #F4A261);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 20px;
  font-weight: 800;
}
.testimonial-info b {
  display: block;
  color: #1D3557;
  font-weight: 700;
  font-size: 15px;
}
.testimonial-info span {
  color: #5a6c7d;
  font-size: 13px;
}

/* ===== FAQ ===== */
.faq-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9f7 100%);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e8eef2;
  overflow: hidden;
  transition: all .3s;
}
.faq-item[open] {
  border-color: #2A9D8F;
  box-shadow: 0 10px 30px rgba(42,157,143,.1);
}
.faq-item summary {
  padding: 20px 24px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1D3557;
  cursor: pointer;
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 28px;
  color: #2A9D8F;
  transition: transform .3s;
  font-weight: 300;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item p {
  padding: 0 24px 24px;
  margin: 0;
  color: #5a6c7d;
  line-height: 1.8;
  font-size: 15px;
}

/* ===== CTA Section ===== */
.cta-section {
  background: #fff;
}
.cta-card {
  background: linear-gradient(135deg, #1D3557 0%, #2A9D8F 100%);
  color: #fff;
  padding: 80px 40px;
  border-radius: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-card::before { top: -100px; right: -100px; }
.cta-card::after { bottom: -100px; left: -100px; }
.cta-card h2 {
  font-family: 'Cairo', sans-serif;
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 16px;
  position: relative;
  z-index: 1;
}
.cta-card p {
  font-size: 18px;
  opacity: .9;
  margin: 0 0 30px;
  position: relative;
  z-index: 1;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-card .btn-primary {
  background: #F4A261;
  box-shadow: 0 10px 30px rgba(244,162,97,.4);
}
.cta-card .btn-primary:hover {
  background: #E76F51;
}
.cta-card .btn-outline {
  border-color: #fff;
  color: #fff;
}
.cta-card .btn-outline:hover {
  background: #fff;
  color: #1D3557;
}

/* ===== Footer ===== */
.landing-footer {
  background: #0D1F36;
  color: #a8c1d9;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 16px;
}
.footer-logo img { width: 42px; height: 42px; border-radius: 8px; }
.footer-col p { line-height: 1.8; margin: 0 0 20px; }
.footer-col h4 {
  color: #fff;
  font-family: 'Cairo', sans-serif;
  font-size: 16px;
  margin: 0 0 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: #a8c1d9;
  transition: color .2s;
  font-size: 14px;
}
.footer-col ul a:hover { color: #2A9D8F; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all .3s;
}
.footer-social a:hover {
  background: #2A9D8F;
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.footer-bottom a { color: #2A9D8F; font-weight: 700; }

/* ===== Floating WhatsApp ===== */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  z-index: 999;
  animation: pulseWA 2s infinite;
  transition: transform .3s;
}
.float-whatsapp:hover {
  transform: scale(1.1);
  animation: none;
}
@keyframes pulseWA {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.4); }
  50% { box-shadow: 0 10px 40px rgba(37,211,102,.7), 0 0 0 10px rgba(37,211,102,.15); }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0; background: #fff; flex-direction: column; padding: 20px; gap: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 36px; }
  .hero-visual { height: 400px; }
  .steps-timeline { grid-template-columns: repeat(2, 1fr); }
  .steps-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 32px; }
  .cta-card h2 { font-size: 28px; }
  .section { padding: 70px 0; }
}
@media (max-width: 540px) {
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 32px; }
  .hero-title { font-size: 30px; }
  .steps-timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar-inner { font-size: 12px; gap: 8px; }
  .top-bar .countdown { font-size: 12px; padding: 3px 10px; }
  .hero-phone { width: 220px; height: 400px; }
}
