/* ===============================
   FastDrop Merchant Landing Page CSS
   Modern iOS Style | Fully Responsive
   =============================== */

/* 1. IMPORTS & RESET
   ---------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* 2. CSS VARIABLES
   ---------------------------- */
:root {
  --primary: #ff6b35;
  --primary-light: #ff8c5f;
  --primary-dark: #e55a2a;
  --secondary: #1a936f;
  --secondary-light: #2bb58d;
  --accent: #114b5f;
  --accent-light: #1c6a8a;
  --gold: #f5a623;
  --light: #f9f7f3;
  --dark: #2a2d34;
  --ios-bg: #f2f2f7;
  --ios-card-bg: rgba(255, 255, 255, 0.85);
  --ios-gray: #6c6c70;
  --ios-light-gray: #e5e5ea;
  --ios-green: #34c759;
  --ios-blue: #007aff;
  --ios-red: #ff3b30;

  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.3);
  --primary-grad: linear-gradient(135deg, #ff6b35 0%, #ff9f1c 100%);
  --ios-blur: blur(20px);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. BASE
   ---------------------------- */
body.ios-bg {
  background-color: var(--ios-bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 4. NAVBAR (iOS Style)
   ---------------------------- */
.ios-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
  background: transparent;
}

.ios-navbar.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--ios-blur);
  -webkit-backdrop-filter: var(--ios-blur);
  box-shadow: var(--shadow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.ios-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 92%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ios-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.ios-nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.ios-nav-link {
  text-decoration: none;
  color: var(--dark);
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
}

.ios-nav-link:hover {
  opacity: 1;
  color: var(--primary);
}

.ios-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.ios-nav-link:hover::after {
  width: 100%;
}

.ios-nav-auth {
  display: flex;
  gap: 15px;
  align-items: center;
}

.ios-btn-secondary {
  text-decoration: none;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.ios-btn-secondary:hover {
  color: var(--primary);
}

.ios-btn-primary {
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
  transition: var(--transition);
}

.ios-btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.ios-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--dark);
  cursor: pointer;
}

/* 5. HERO SECTION (Merchant)
   ---------------------------- */
.ios-hero-merchant {
  padding: 140px 0 80px;
  background: radial-gradient(circle at top right, rgba(255, 107, 53, 0.05), transparent),
    radial-gradient(circle at bottom left, rgba(26, 147, 111, 0.03), transparent);
  overflow: hidden;
  position: relative;
}

.ios-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 92%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.ios-badge-alt {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: white;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

.ios-hero-title {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.text-primary-gradient {
  color: var(--primary);
  background: var(--primary-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ios-hero-subtitle {
  font-size: 19px;
  color: var(--ios-gray);
  margin-bottom: 40px;
  max-width: 540px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.ios-hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.ios-btn-main-merchant {
  display: inline-block;
  padding: 16px 32px;
  background: var(--dark);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ios-btn-main-merchant:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  background: #000;
}

.ios-btn-link-merchant {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.ios-btn-link-merchant:hover {
  gap: 12px;
  color: var(--primary-dark);
}

.ios-hero-stats-merchant {
  display: flex;
  gap: 40px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.merchant-stat {
  display: flex;
  flex-direction: column;
}

.m-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
}

.m-label {
  font-size: 13px;
  color: var(--ios-gray);
}

.m-divider {
  width: 1px;
  height: 40px;
  background: var(--ios-light-gray);
}

.ios-hero-visual-merchant {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInRight 0.8s ease-out;
}

.ios-phone-wrapper {
  position: relative;
  z-index: 1;
}

.ios-mockup-main {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: var(--ios-blur);
  padding: 15px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.notification-card {
  top: 20%;
  right: -20px;
  width: 240px;
}

.analytics-card {
  bottom: 15%;
  left: -40px;
  background: rgba(26, 147, 111, 0.9);
  color: white;
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* 6. FEATURES SECTION (Merchant)
   ---------------------------- */
.ios-features-merchant {
  padding: 100px 0;
  background: var(--ios-bg);
}

.ios-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.ios-section-badge {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.ios-section-title {
  font-size: 38px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 10px;
}

.ios-section-subtitle {
  font-size: 16px;
  color: var(--ios-gray);
  max-width: 600px;
  margin: 15px auto 0;
}

.ios-features-grid-merchant {
  max-width: 1200px;
  margin: 0 auto;
  width: 92%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.ios-feature-card-merchant {
  background: var(--ios-card-bg);
  backdrop-filter: var(--ios-blur);
  padding: 40px 30px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.ios-feature-card-merchant:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  background: #fff;
}

.m-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
}

.bg-orange-soft {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
}

.bg-green-soft {
  background: rgba(26, 147, 111, 0.1);
  color: var(--secondary);
}

.bg-blue-soft {
  background: rgba(17, 75, 95, 0.1);
  color: var(--accent);
}

.bg-purple-soft {
  background: rgba(156, 39, 176, 0.1);
  color: #9c27b0;
}

.bg-gold-soft {
  background: rgba(245, 166, 35, 0.1);
  color: var(--gold);
}

.bg-red-soft {
  background: rgba(255, 59, 48, 0.1);
  color: var(--ios-red);
}

.m-feature-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.m-feature-text {
  font-size: 15px;
  color: var(--ios-gray);
  line-height: 1.7;
}

/* 7. HOW IT WORKS SECTION (Merchant)
   ---------------------------- */
.ios-steps-merchant {
  padding: 100px 0;
  background: #ffffff;
}

.ios-steps-wrapper {
  max-width: 1100px;
  margin: 60px auto 0;
  width: 92%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.ios-step-card {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 20px;
  min-width: 250px;
}

.step-number-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
  z-index: 2;
}

.step-icon-container {
  width: 90px;
  height: 90px;
  background: var(--ios-bg);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent);
  margin: 0 auto 25px;
  transition: var(--transition);
  border: 1px solid var(--ios-light-gray);
}

.ios-step-card:hover .step-icon-container {
  transform: scale(1.05);
  background: white;
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
  color: var(--primary);
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-description {
  font-size: 15px;
  color: var(--ios-gray);
  line-height: 1.6;
}

.step-connector {
  flex: 0.2;
  height: 2px;
  background: var(--ios-light-gray);
  margin-top: 45px;
  position: relative;
}

.step-connector::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -10px;
  top: -8px;
  color: var(--ios-light-gray);
}

/* 8. PRICING & CALCULATOR SECTION
   ---------------------------- */
.ios-calculator-merchant {
  padding: 100px 0;
  background: var(--ios-bg);
}

.ios-calc-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 92%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.ios-calc-card {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.ios-badge-orange {
  background: var(--primary-light);
  color: white;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.ios-card-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.ios-input-group {
  margin-bottom: 25px;
}

.ios-input-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  margin-bottom: 10px;
}

.ios-count-value {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

.ios-slider-merchant {
  width: 100%;
  height: 6px;
  background: var(--ios-light-gray);
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  margin: 15px 0;
}

.ios-slider-merchant::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--primary);
  border: 4px solid white;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.ios-result-display-merchant {
  background: var(--ios-bg);
  border-radius: 20px;
  padding: 25px;
  margin-top: 30px;
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.result-box {
  flex: 1;
}

.result-label {
  font-size: 14px;
  color: var(--ios-gray);
  display: block;
  margin-bottom: 5px;
}

.result-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
}

.result-value-minus {
  font-size: 22px;
  font-weight: 700;
  color: var(--ios-red);
}

.highlighted-merchant .result-value {
  color: var(--secondary);
  font-size: 28px;
}

.result-divider {
  width: 1px;
  background: var(--ios-light-gray);
}

.ios-calc-disclaimer {
  font-size: 12px;
  color: var(--ios-gray);
  text-align: center;
  margin-top: 20px;
}

.ios-calc-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card-ios {
  background: var(--ios-card-bg);
  backdrop-filter: var(--ios-blur);
  padding: 25px;
  border-radius: 22px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.info-card-ios:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.info-card-ios i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 15px;
}

.info-card-ios h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark);
}

.info-card-ios p {
  font-size: 14px;
  color: var(--ios-gray);
}

/* 9. FAQ SECTION
   ---------------------------- */
.ios-faq-merchant {
  padding: 80px 0;
  background: #fff;
}

.ios-faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  width: 92%;
}

.ios-faq-item {
  background: var(--ios-bg);
  border-radius: 18px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid var(--ios-light-gray);
  transition: var(--transition);
}

.ios-faq-question {
  width: 100%;
  padding: 22px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.ios-faq-question:hover {
  background: rgba(0, 0, 0, 0.02);
}

.ios-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: #fff;
}

.ios-faq-answer p {
  padding: 20px;
  color: var(--ios-gray);
  font-size: 15px;
  line-height: 1.6;
}

.ios-faq-item.active .ios-faq-answer {
  max-height: 300px;
}

.ios-faq-item.active .ios-faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* 10. FOOTER
   ---------------------------- */
.ios-footer-merchant {
  background: var(--dark);
  color: white;
  padding: 80px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 92%;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  height: 35px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-links h4,
.footer-social h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--primary-light);
}

.footer-links a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 22px;
}

.social-icons a {
  color: white;
  transition: 0.3s;
}

.social-icons a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #888;
}

/* 11. ANIMATIONS
   ---------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 12. RESPONSIVE DESIGN
   ---------------------------- */
@media (max-width: 992px) {

  .ios-nav-menu,
  .ios-nav-auth {
    display: none;
  }

  .ios-nav-toggle {
    display: block;
  }

  .ios-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ios-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .ios-hero-actions {
    justify-content: center;
  }

  .ios-hero-stats-merchant {
    justify-content: center;
  }

  .ios-hero-visual-merchant {
    margin-top: 50px;
  }

  .ios-calc-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 850px) {
  .ios-steps-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .step-connector {
    display: none;
  }

  .ios-step-card {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .ios-section-title {
    font-size: 30px;
  }

  .ios-hero-title {
    font-size: 36px;
  }

  .ios-feature-card-merchant {
    padding: 30px 20px;
  }

  .ios-result-display-merchant {
    flex-direction: column;
    gap: 15px;
  }

  .result-divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .ios-btn-main-merchant {
    padding: 12px 24px;
    font-size: 14px;
  }

  .ios-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .floating-card {
    display: none;
  }

  .ios-mockup-main {
    max-width: 280px;
  }

  .ios-calc-card {
    padding: 25px;
  }

  .result-value {
    font-size: 18px;
  }
}

/* Mobile Menu Active State (optional, to be toggled with JS) */
.ios-nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: var(--ios-blur);
  padding: 20px;
  gap: 20px;
  border-bottom: 1px solid var(--glass-border);
  z-index: 999;
}

.ios-nav-menu.active .ios-nav-link {
  padding: 10px;
  width: 100%;
  text-align: center;
}