/* ===== PREMIUM SMS - Main Stylesheet (Teal Theme) ===== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #00b8d9;
  --primary-dark: #0097b2;
  --primary-light: #33d1ec;
  --teal-deep: #006b7a;
  --accent: #0052cc;
  --dark: #1a2744;
  --dark-2: #0d1b3e;
  --text: #2c3e50;
  --text-light: #5a7184;
  --text-muted: #8fa5b8;
  --bg: #ffffff;
  --bg-light: #f4f8fb;
  --bg-grey: #eef3f8;
  --border: #d8e6ef;
  --shadow: 0 4px 20px rgba(0,90,120,0.08);
  --shadow-md: 0 8px 30px rgba(0,90,120,0.13);
  --shadow-lg: 0 16px 48px rgba(0,90,120,0.18);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,184,217,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}
.btn-white-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,90,120,0.1);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--dark);
}
.navbar-brand i { font-size: 24px; color: var(--primary); }
.navbar-brand span { color: var(--primary); }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.navbar-nav a:hover { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-actions .btn-signin {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.navbar-actions .btn-signin:hover { border-color: var(--primary); color: var(--primary); }
.hamburger { display: none; cursor: pointer; font-size: 22px; color: var(--dark); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #00b8d9 0%, #0097b2 40%, #005f73 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 5% 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,30,80,0.15) 0%, transparent 70%);
  bottom: 0; left: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-content { max-width: 700px; position: relative; z-index: 1; margin-bottom: 40px; }
.hero h1 {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Hero mockup dashboard */
.hero-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  padding: 0;
}
.hero-mockup-bar {
  background: #f0f4f8;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e0e8ef;
}
.hero-mockup-bar span {
  width: 12px; height: 12px; border-radius: 50%;
  display: inline-block;
}
.hero-mockup-bar span:nth-child(1) { background: #ff5f57; }
.hero-mockup-bar span:nth-child(2) { background: #ffbd2e; }
.hero-mockup-bar span:nth-child(3) { background: #28c840; }
.hero-mockup-inner {
  display: flex;
  min-height: 280px;
}
.hero-mockup-sidebar {
  width: 60px;
  background: #1a2744;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}
.hero-mockup-sidebar i { color: rgba(255,255,255,0.5); font-size: 16px; }
.hero-mockup-sidebar i.active-icon { color: var(--primary); }
.hero-mockup-body { flex: 1; padding: 20px 24px; background: #f8fafd; }
.hero-mock-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.hero-mock-stats { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.hero-mock-stat {
  background: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  flex: 1;
  min-width: 90px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero-mock-stat .ms-val { font-size: 18px; font-weight: 800; color: var(--primary); }
.hero-mock-stat .ms-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }
.hero-mock-chart {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 8px; }
.chart-bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  opacity: 0.8;
}

/* ===== SECTIONS ===== */
section { padding: 80px 5%; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(0,184,217,0.1);
  color: var(--primary-dark);
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.section-header h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.feature-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0,184,217,0.12), rgba(0,150,178,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== PHONE MOCKUP + FEATURES SPLIT ===== */
.phone-features-section {
  background: #fff;
  padding: 80px 5%;
}
.phone-features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup {
  width: 220px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(0,80,120,0.2);
  border: 8px solid #1a2744;
  padding: 20px 14px;
  position: relative;
}
.phone-mockup::before {
  content: '';
  display: block;
  width: 60px; height: 6px;
  background: #1a2744;
  border-radius: 3px;
  margin: 0 auto 16px;
}
.phone-screen { font-size: 11px; }
.phone-msg {
  background: #f0f4f8;
  border-radius: 12px 12px 12px 2px;
  padding: 8px 10px;
  margin-bottom: 8px;
  color: var(--dark);
  font-size: 11px;
  line-height: 1.5;
}
.phone-msg.sent {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 12px 12px 2px 12px;
  margin-left: 20px;
}
.features-list { display: flex; flex-direction: column; gap: 24px; }
.feature-list-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-list-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,184,217,0.12), rgba(0,184,217,0.05));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--primary);
}
.feature-list-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-list-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ===== SMS FEATURES GRID ===== */
.sms-features-section { background: var(--bg-light); }
.sms-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.sms-feature-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.sms-feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.sms-feature-item .icon-wrap {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
  color: #fff;
}
.sms-feature-item h4 { font-size: 14px; font-weight: 600; color: var(--dark); }

/* ===== SPLIT SECTION ===== */
.split-section {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 5%;
}
.split-section.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-text h2 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.split-text p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; line-height: 1.8; }
.split-visual {
  flex: 1;
  background: linear-gradient(135deg, #00b8d9, #005f73);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.split-visual-inner { text-align: center; color: #fff; }
.split-visual-inner i { font-size: 72px; color: rgba(255,255,255,0.9); margin-bottom: 18px; display: block; }
.split-visual-inner h3 { font-size: 20px; font-weight: 700; }
.split-visual-inner p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 14px; }
.check-list { margin-top: 20px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
  margin-bottom: 10px;
}
.check-list li i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

/* ===== PRICING ===== */
.pricing-section { background: var(--bg-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.pricing-card.popular {
  border-color: var(--primary);
  background: linear-gradient(160deg, #fff 75%, rgba(0,184,217,0.05));
}
.popular-badge {
  position: absolute;
  top: 14px; right: -28px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
}
.pricing-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.pricing-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.pricing-sms {
  font-size: 14px;
  color: var(--text-light);
  margin: 8px 0 22px;
  font-weight: 500;
}
.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li i { color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #005f73 0%, #00b8d9 100%);
  text-align: center;
  padding: 80px 5%;
}
.cta-section h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.cta-section p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ===== SENDER ID FEE SECTION ===== */
.sender-fee-section { background: #fff; }
.sender-fee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.sender-fee-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.sender-fee-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-3px); }
.sender-fee-card .fee-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px; color: #fff;
}
.sender-fee-card h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.sender-fee-card .fee { font-size: 32px; font-weight: 800; color: var(--primary); margin: 8px 0 6px; }
.sender-fee-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.sender-fee-card .fee-network {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(0,184,217,0.1);
  color: var(--primary-dark);
  margin-bottom: 8px;
}
/* highlight variant for "All Networks" */
.sender-fee-card.sender-fee-highlight {
  border-color: var(--primary);
  background: linear-gradient(160deg, #fff 75%, rgba(0,184,217,0.06));
  box-shadow: var(--shadow);
}
.sender-fee-card.sender-fee-highlight .fee-icon,
.sender-fee-card .fee-icon-primary {
  background: linear-gradient(135deg, #00b8d9, #005f73);
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: var(--bg-light);
  padding: 80px 5%;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.partner-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 20px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.partner-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.partner-logo {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.partner-logo-badge {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .3px;
  white-space: nowrap;
}
.partner-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.partner-type {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--bg-light);
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid var(--border);
}
@media (max-width: 900px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 5% 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-brand i { color: var(--primary); }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: var(--transition); font-size: 13px;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #00b8d9 0%, #006b7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.auth-bg-dots {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.auth-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
}
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo .logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.auth-logo .logo-text i { font-size: 26px; }
.auth-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  text-align: center;
}
.auth-subtitle { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.input-wrap { position: relative; }
.input-wrap i {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 15px;
}
.input-wrap .toggle-pw { left: auto; right: 14px; cursor: pointer; transition: color 0.2s; }
.input-wrap .toggle-pw:hover { color: var(--primary); }
.input-wrap input, .input-wrap select, .input-wrap textarea {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-wrap input:focus, .input-wrap select:focus, .input-wrap textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,184,217,0.15);
  background: #fff;
}
.auth-footer-links { text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-muted); }
.auth-footer-links a { color: var(--primary); font-weight: 600; }
.auth-copyright { text-align: center; font-size: 12px; color: var(--text-muted); margin-top: 28px; }
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-danger { background: #fff0f0; border-left: 3px solid #e74c3c; color: #c0392b; }
.alert-success { background: #f0fff4; border-left: 3px solid #27ae60; color: #1e8449; }
.btn-full { width: 100%; justify-content: center; }

/* ===== DASHBOARD ===== */
.dashboard-layout { display: flex; min-height: 100vh; }

/* Sidebar */
.sidebar {
  width: 255px;
  min-height: 100vh;
  background: var(--dark);
  position: fixed;
  left: 0; top: 0;
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: var(--transition);
}
.sidebar-logo {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.sidebar-logo i { color: var(--primary); font-size: 20px; }
.sidebar-nav { flex: 1; padding: 16px 0; overflow-y: auto; }
.sidebar-label {
  padding: 4px 22px 8px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.25);
  margin-top: 10px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  position: relative;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: #fff;
  background: rgba(0,184,217,0.12);
}
.sidebar-nav a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 0 3px 3px 0;
}
.sidebar-nav a i { font-size: 15px; width: 18px; text-align: center; }
.sidebar-nav a.nav-logout { color: rgba(255,100,80,0.75); margin-top: 6px; }
.sidebar-nav a.nav-logout:hover { color: #ff6450; background: rgba(255,100,80,0.1); }
.sidebar-footer {
  padding: 16px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* Main content */
.main-content {
  margin-left: 255px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-grey);
}

/* Top bar */
.topbar {
  background: #fff;
  padding: 0 28px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,90,120,0.07);
  position: sticky;
  top: 0; z-index: 50;
}
.topbar-title { font-size: 17px; font-weight: 700; color: var(--dark); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-bell {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  color: var(--text-light);
  transition: var(--transition);
}
.topbar-bell:hover { background: rgba(0,184,217,0.1); color: var(--primary); }
.topbar-bell .notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.topbar-user { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
}
.topbar-user .user-name { font-size: 13px; font-weight: 600; color: var(--dark); }
.topbar-user .user-role { font-size: 11px; color: var(--text-muted); }

/* Page content */
.page-content { padding: 28px; flex: 1; }
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 20px; font-weight: 700; color: var(--dark); }
.page-header p { font-size: 13px; color: var(--text-muted); margin-top: 3px; }

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.stat-icon.orange { background: rgba(0,184,217,0.1); color: var(--primary); }
.stat-icon.blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.stat-icon.green { background: rgba(34,197,94,0.1); color: #22c55e; }
.stat-icon.purple { background: rgba(168,85,247,0.1); color: #a855f7; }
.stat-info .stat-value { font-size: 24px; font-weight: 800; color: var(--dark); line-height: 1; }
.stat-info .stat-label { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* Cards */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-header h3 { font-size: 15px; font-weight: 700; color: var(--dark); }
.card-body { padding: 22px; }

/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg-light);
  padding: 8px 10px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  white-space: nowrap;
}
td { 
  padding: 10px; 
  font-size: 12px; 
  color: var(--text); 
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-light); }

/* Responsive table styling */
.sid-table {
  font-size: 11px;
  font-family: 'Nunito', sans-serif;
  width: 100%;
  border-collapse: collapse;
}
.sid-table th {
  padding: 8px 6px;
  font-size: 10px;
  font-weight: 700;
  background: #f8fafc;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.sid-table td {
  padding: 8px 6px;
  font-size: 11px;
  line-height: 1.3;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.sid-table .compact-cell {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sid-table .action-cell {
  min-width: 120px;
  white-space: nowrap;
}

/* Desktop layout */
@media (min-width: 769px) {
  .sid-table {
    table-layout: fixed;
    max-width: 100%;
  }
  .sid-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
  }
  .sid-table tbody tr:hover {
    background: rgba(0,184,217,0.03);
  }
}

/* Force responsive behavior on smaller screens */
@media (max-width: 768px) {
  /* Force table to stack as cards */
  .responsive-table {
    overflow: visible !important;
  }
  
  .responsive-table .sid-table,
  .responsive-table .sid-table thead,
  .responsive-table .sid-table tbody,
  .responsive-table .sid-table th,
  .responsive-table .sid-table td,
  .responsive-table .sid-table tr {
    display: block !important;
    width: 100% !important;
  }
  
  .responsive-table .sid-table {
    border: none !important;
  }
  
  .responsive-table .sid-table thead tr {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    visibility: hidden !important;
  }
  
  .responsive-table .sid-table tbody tr {
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    padding: 16px !important;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    display: block !important;
    width: 100% !important;
  }
  
  .responsive-table .sid-table td {
    border: none !important;
    position: relative !important;
    padding: 10px 0 10px 120px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    display: block !important;
    width: 100% !important;
    word-wrap: break-word !important;
  }
  
  .responsive-table .sid-table td:before {
    content: attr(data-label) ": " !important;
    position: absolute !important;
    left: 0 !important;
    width: 110px !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
    font-weight: bold !important;
    color: var(--text-muted) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    top: 10px !important;
  }
  
  /* Special styling for first cell (Sender ID) */
  .responsive-table .sid-table td:first-child {
    font-weight: 700 !important;
    color: var(--dark) !important;
    font-size: 16px !important;
    background: var(--bg-light) !important;
    margin: -16px -16px 12px -16px !important;
    padding: 16px 16px 16px 120px !important;
    border-radius: 8px 8px 0 0 !important;
  }
  
  .responsive-table .sid-table td:first-child:before {
    content: "Sender ID" !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
  }
  
  /* Action buttons in mobile */
  .responsive-table .sid-table td:last-child {
    padding-left: 0 !important;
  }
  
  .responsive-table .sid-table td:last-child:before {
    display: none !important;
  }
  
  .responsive-table .sid-table td:last-child > div {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
  }
}

/* Additional mobile table fix - Alternative approach */
@media screen and (max-width: 768px) {
  .responsive-table table, 
  .responsive-table thead, 
  .responsive-table tbody, 
  .responsive-table th, 
  .responsive-table td, 
  .responsive-table tr {
    display: block !important;
  }
  
  .responsive-table thead tr {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
  }
  
  .responsive-table tr {
    border: 1px solid #ccc !important;
    margin-bottom: 10px !important;
    padding: 10px !important;
    border-radius: 8px !important;
    background: white !important;
  }
  
  .responsive-table td {
    border: none !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
    padding-left: 50% !important;
    text-align: left !important;
  }
  
  .responsive-table td:before {
    content: attr(data-label) !important;
    position: absolute !important;
    left: 6px !important;
    width: 45% !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
    font-weight: bold !important;
    color: #666 !important;
  }
}

/* Emergency mobile override */
@media (max-width: 768px) {
  body.mobile-view .sid-table table,
  body.mobile-view .sid-table thead,
  body.mobile-view .sid-table tbody,
  body.mobile-view .sid-table th,
  body.mobile-view .sid-table td,
  body.mobile-view .sid-table tr {
    display: block !important;
  }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
}
.badge-success { background: #f0fff4; color: #16a34a; }
.badge-warning { background: #fffbeb; color: #d97706; }
.badge-danger  { background: #fff0f0; color: #dc2626; }
.badge-info    { background: #eff6ff; color: #2563eb; }
.badge-grey    { background: var(--bg-grey); color: var(--text-muted); }

/* ===== DASH FORMS ===== */
.dash-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dash-form .form-group { margin-bottom: 18px; }
.dash-form label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.dash-form input,
.dash-form select,
.dash-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.dash-form input:focus, .dash-form select:focus, .dash-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,184,217,0.12);
  background: #fff;
}
.dash-form textarea { resize: vertical; min-height: 110px; }
.char-counter { font-size: 11px; color: var(--text-muted); text-align: right; margin-top: 3px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* Quick actions */
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quick-action-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 7px;
  padding: 18px 22px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
  min-width: 100px;
}
.quick-action-btn i { font-size: 20px; color: var(--primary); }
.quick-action-btn span { font-size: 11px; font-weight: 600; }
.quick-action-btn:hover { border-color: var(--primary); background: rgba(0,184,217,0.05); transform: translateY(-3px); }

/* Sender ID cards */
.sender-ids-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.sender-id-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.sender-id-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.sender-id-name { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.sender-id-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

/* Modal */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,20,40,0.55);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 510px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 15px; font-weight: 700; color: var(--dark); }
.modal-close {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 17px;
  color: var(--text-muted);
  transition: var(--transition);
  border: none; background: var(--bg-light);
}
.modal-close:hover { background: var(--bg-grey); color: var(--primary); }
.modal-body { padding: 22px; }

/* Simplified Modal Styles */
.simple-modal {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  overflow: hidden;
}
.simple-modal-header {
  background: var(--primary);
  padding: 16px 20px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.simple-modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.simple-modal-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.simple-modal-close:hover {
  background: rgba(255,255,255,0.3);
}
.simple-modal-body {
  padding: 20px;
}

/* ===== RESPONSIVE - ENHANCED MOBILE SUPPORT ===== */

/* Mobile menu hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  padding: 5px;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-menu-toggle:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Responsive sidebar for dashboard */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.show {
  display: block;
  opacity: 1;
}

.dashboard-mobile-header {
  display: none;
  background: var(--dark);
  color: white;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
}
.dashboard-mobile-header .logo {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-mobile-header .logo i {
  color: var(--primary);
}
.dashboard-mobile-header .menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

/* Phone input specific styles */
.phone-prefix {
  position: absolute;
  left: 42px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  pointer-events: none;
  z-index: 1;
}
.has-prefix {
  padding-left: 85px !important;
}

/* Enhanced modal responsiveness */
.modal {
  margin: 10px;
  max-height: calc(100vh - 20px);
}

/* Better form layouts on mobile */
.dash-form .form-row {
  display: grid;
  gap: 18px;
}

/* Responsive tables */
.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Card responsive spacing */
.card {
  margin-bottom: 16px;
}

/* Better button stacking */
.btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== TABLET STYLES (768px - 1024px) ===== */
@media (max-width: 1024px) {
  /* Navigation adjustments */
  .navbar { padding: 0 3%; }
  .navbar-nav { gap: 20px; }
  
  /* Hero adjustments */
  .hero { padding: 90px 3% 0; }
  .hero-actions { gap: 12px; }
  
  /* Grid adjustments */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section { flex-direction: column; gap: 40px; text-align: center; }
  .split-section.reverse { flex-direction: column; }
  .phone-features-inner { grid-template-columns: 1fr; text-align: center; }
  .features-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .sender-fee-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  
  /* Dashboard adjustments */
  .stats-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .topbar { padding: 0 20px; }
  .page-content { padding: 20px; }
  
  /* Form adjustments */
  .auth-container { padding: 36px 28px; max-width: 380px; }
}

/* ===== MOBILE STYLES (Max 768px) ===== */
@media (max-width: 768px) {
  /* Navigation - Mobile menu */
  .navbar { padding: 0 16px; height: 60px; }
  .navbar-nav, .navbar-actions .btn-signin { display: none; }
  .mobile-menu-toggle { display: block; }
  .hamburger { display: block; }
  
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    gap: 16px;
    z-index: 1000;
  }
  
  /* Hero mobile optimizations */
  .hero {
    padding: 80px 16px 40px;
    min-height: auto;
    text-align: center;
  }
  .hero h1 { font-size: 28px; line-height: 1.3; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  
  /* Hero mockup mobile */
  .hero-mockup {
    max-width: 100%;
    margin-top: 30px;
  }
  .hero-mockup-inner {
    min-height: 200px;
  }
  .hero-mockup-sidebar {
    width: 45px;
    padding: 12px 0;
    gap: 15px;
  }
  .hero-mockup-sidebar i {
    font-size: 14px;
  }
  .hero-mockup-body {
    padding: 16px 18px;
  }
  .hero-mock-stats {
    flex-direction: column;
    gap: 8px;
  }
  .hero-mock-stat {
    padding: 10px 12px;
  }
  .hero-mock-stat .ms-val {
    font-size: 16px;
  }
  
  /* Sections mobile spacing */
  section { padding: 50px 16px; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 24px; }
  .section-header p { font-size: 15px; }
  
  /* Feature cards mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
    text-align: center;
  }
  
  /* Phone mockup section mobile */
  .phone-features-section { padding: 50px 16px; }
  .phone-features-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .phone-mockup-wrap {
    order: 2;
  }
  .features-list {
    order: 1;
    gap: 20px;
  }
  
  /* SMS features mobile */
  .sms-features-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
  }
  .sms-feature-item {
    padding: 20px 16px;
  }
  
  /* Pricing mobile */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-card {
    padding: 28px 24px;
  }
  
  /* CTA section mobile */
  .cta-section { padding: 60px 16px; }
  .cta-section h2 { font-size: 26px; }
  .cta-section p { font-size: 15px; }
  
  /* Sender fee section mobile */
  .sender-fee-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sender-fee-card {
    padding: 24px 20px;
  }
  
  /* Footer mobile */
  .footer { padding: 40px 16px 20px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  /* Auth pages mobile */
  .auth-page { padding: 20px 16px; }
  .auth-container {
    padding: 28px 20px;
    max-width: 100%;
    margin: 0;
  }
  .auth-title { font-size: 20px; }
  .auth-subtitle { font-size: 14px; }
  
  /* Dashboard mobile */
  .dashboard-layout {
    flex-direction: column;
  }
  
  .sidebar {
    position: fixed;
    transform: translateX(-100%);
    width: 280px;
    z-index: 100;
    transition: transform 0.3s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  
  .dashboard-mobile-header {
    display: flex;
    padding-top: 50px; /* Account for mobile browser UI */
  }
  
  .main-content {
    margin-left: 0;
    padding-top: 60px; /* Space for mobile header */
  }
  
  .topbar {
    padding: 0 16px;
    height: 56px;
  }
  .topbar-title { font-size: 16px; }
  .topbar-right { gap: 10px; }
  .user-avatar { width: 32px; height: 32px; }
  .topbar-user .user-name { display: none; }
  
  .page-content { padding: 16px; }
  .page-header { margin-bottom: 20px; }
  .page-header h1 { font-size: 18px; }
  
  /* Stats grid mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 18px;
    flex-direction: row;
  }
  .stat-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .stat-info .stat-value { font-size: 20px; }
  
  /* Cards mobile */
  .card-header { padding: 16px 18px; }
  .card-body { padding: 18px; }
  
  /* Forms mobile */
  .dash-form .form-row { grid-template-columns: 1fr; }
  .dash-form .form-group { margin-bottom: 16px; }
  
  /* Tables mobile - horizontal scroll */
  .table-wrap {
    margin: -18px;
    padding: 18px;
  }
  table {
    min-width: 600px; /* Ensure table doesn't get too cramped */
  }
  th, td {
    padding: 10px 8px;
    font-size: 12px;
  }
  
  /* Modal mobile */
  .modal-overlay { padding: 10px; }
  .modal {
    margin: 0;
    max-width: 100%;
    max-height: calc(100vh - 20px);
  }
  .modal-header { padding: 16px 18px; }
  .modal-body { padding: 18px; }
  
  /* Quick actions mobile */
  .quick-actions {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
  .quick-action-btn {
    padding: 16px 12px;
    min-width: auto;
  }
  
  /* Button groups mobile */
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== SMALL MOBILE STYLES (Max 480px) ===== */
@media (max-width: 480px) {
  /* Navigation */
  .navbar { height: 56px; }
  .navbar-brand { font-size: 18px; }
  .navbar-nav.open { top: 56px; }
  
  /* Hero very small screens */
  .hero {
    padding: 70px 12px 30px;
  }
  .hero h1 { font-size: 24px; }
  .hero-mockup { display: none; } /* Hide complex mockup on very small screens */
  
  /* Sections */
  section { padding: 40px 12px; }
  
  /* Features */
  .sms-features-grid {
    grid-template-columns: 1fr;
  }
  .sender-fee-grid {
    grid-template-columns: 1fr;
  }
  
  /* Auth */
  .auth-container {
    padding: 24px 16px;
  }
  
  /* Dashboard */
  .sidebar {
    width: 100vw; /* Full width on very small screens */
  }
  .page-content { padding: 12px; }
  
  /* Tables - more aggressive mobile optimization */
  th, td {
    padding: 8px 6px;
    font-size: 11px;
  }
  
  /* Hide less important table columns on very small screens */
  .hide-mobile {
    display: none !important;
  }
}

/* ===== LANDSCAPE MOBILE (Max 896px height) ===== */
@media (max-height: 896px) and (orientation: landscape) {
  .hero {
    min-height: 70vh;
    padding: 60px 16px 20px;
  }
  .auth-page {
    padding: 10px 16px;
  }
  .auth-container {
    padding: 20px;
  }
  .modal {
    max-height: calc(100vh - 10px);
  }
}

/* ===== MOBILE-SPECIFIC ENHANCEMENTS ===== */

/* OTP Input Styling - Enhanced for mobile */
input[name="otp"] {
  font-family: 'Courier New', monospace !important;
  text-align: center !important;
  font-size: 24px !important;
  letter-spacing: 6px !important;
  font-weight: bold !important;
}

/* Better mobile form inputs */
@media (max-width: 768px) {
  .input-wrap input,
  .input-wrap select,
  .input-wrap textarea,
  .dash-form input,
  .dash-form select,
  .dash-form textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 16px;
    border-radius: 12px;
  }
  
  .input-wrap input {
    padding-left: 48px;
  }
  
  .has-prefix {
    padding-left: 95px !important;
  }
  
  .phone-prefix {
    left: 48px;
    font-size: 16px;
  }
  
  /* OTP Input - Mobile specific */
  input[name="otp"] {
    font-size: 28px !important;
    padding: 16px 12px !important;
    letter-spacing: 8px !important;
    text-align: center !important;
  }
}

/* Mobile Table Improvements */
@media (max-width: 768px) {
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
  }
  
  /* Stack table data on very small screens */
  @media (max-width: 480px) {
    .mobile-stack table,
    .mobile-stack thead,
    .mobile-stack tbody,
    .mobile-stack th,
    .mobile-stack td,
    .mobile-stack tr {
      display: block;
    }
    
    .mobile-stack thead tr {
      position: absolute;
      top: -9999px;
      left: -9999px;
    }
    
    .mobile-stack tr {
      border: 1px solid var(--border);
      border-radius: 8px;
      margin-bottom: 10px;
      padding: 12px;
      background: white;
    }
    
    .mobile-stack td {
      border: none !important;
      position: relative;
      padding-left: 40% !important;
      padding-top: 8px;
      padding-bottom: 8px;
    }
    
    .mobile-stack td:before {
      content: attr(data-label) ": ";
      position: absolute;
      left: 6px;
      width: 35%;
      padding-right: 10px;
      white-space: nowrap;
      font-weight: bold;
      color: var(--text-muted);
      font-size: 11px;
    }
  }
}

/* Improved button layouts for mobile */
@media (max-width: 768px) {
  .btn-group-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  
  .btn-group-mobile .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  
  /* Mobile action buttons */
  .mobile-action-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }
  
  .mobile-action-row .btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 16px;
  }
}

/* Enhanced modal responsiveness */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 5px;
  }
  
  .modal {
    margin: 5px;
    max-height: calc(100vh - 10px);
    border-radius: 16px;
  }
  
  .modal-header {
    padding: 20px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    border-radius: 16px 16px 0 0;
  }
  
  .modal-body {
    padding: 20px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

/* Loading states for mobile */
.mobile-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.mobile-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced touch feedback */
@media (max-width: 768px) {
  .btn:active {
    transform: scale(0.98);
  }
  
  .sidebar-nav a:active,
  .quick-action-btn:active {
    background: rgba(0,184,217,0.2);
  }
}

/* Notification improvements for mobile */
@media (max-width: 768px) {
  .alert {
    margin: 0 -16px 16px;
    border-radius: 0;
    border-left: none;
    border-top: 3px solid;
    font-size: 14px;
    padding: 16px 20px;
  }
  
  .alert-success {
    border-top-color: #27ae60;
  }
  
  .alert-danger {
    border-top-color: #e74c3c;
  }
}

/* Enhanced registration flow mobile */
@media (max-width: 768px) {
  .auth-container {
    border-radius: 20px 20px 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    animation: slideUp 0.3s ease-out;
  }
  
  @keyframes slideUp {
    from {
      transform: translateY(100%);
    }
    to {
      transform: translateY(0);
    }
  }
  
  .auth-page {
    align-items: flex-end;
    padding: 0;
  }
}

/* Step indicator for registration */
.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-indicator .step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid var(--border);
  color: var(--text-muted);
  position: relative;
}

.step-indicator .step.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.step-indicator .step.completed {
  background: #27ae60;
  border-color: #27ae60;
  color: white;
}

.step-indicator .step-line {
  width: 30px;
  height: 2px;
  background: var(--border);
}

.step-indicator .step-line.completed {
  background: #27ae60;
}

/* Success state improvements */
.success-icon {
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== ACCESSIBILITY & TOUCH IMPROVEMENTS ===== */
@media (max-width: 768px) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  /* Better form controls */
  .dash-form input,
  .dash-form select,
  .dash-form textarea {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .input-wrap input {
    padding-left: 44px;
  }
  
  .has-prefix {
    padding-left: 90px !important;
  }
  
  /* Better sidebar touch targets */
  .sidebar-nav a {
    padding: 14px 22px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  
  /* Better topbar touch targets */
  .topbar-bell {
    width: 44px;
    height: 44px;
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section { background: var(--bg-light); padding: 80px 5%; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.contact-info-card:hover { border-color: var(--primary); transform: translateX(4px); }
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}
.ci-label { font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: 3px; }
.ci-val { font-size: 14px; font-weight: 600; color: var(--dark); }

.contact-form-col {}
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: var(--shadow-md);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { margin-bottom: 18px; }
.cf-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 6px;
}
.cf-group label span { color: var(--primary); }
.cf-group input, .cf-group textarea, .cf-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-light);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.cf-group input:focus, .cf-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,184,217,.12);
  background: #fff;
}
.cf-submit { font-size: 15px; padding: 13px; margin-top: 4px; justify-content: center; }
.contact-alert {
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.ca-success { background: #f0fff4; border-left: 3px solid #22c55e; color: #15803d; }
.ca-error   { background: #fff0f0; border-left: 3px solid #ef4444; color: #dc2626; }
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px 20px; }
}

/* ===== CHATBOT WIDGET ===== */
.chatbot-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #005f73);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,184,217,.45);
  z-index: 9000;
  border: none;
  transition: transform .25s, box-shadow .25s;
}
.chatbot-fab:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(0,184,217,.55); }
.chatbot-fab .cb-badge {
  position: absolute; top: 3px; right: 2px;
  background: #ef4444; color: #fff; border-radius: 50%;
  width: 18px; height: 18px; font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.chatbot-window {
  position: fixed; bottom: 100px; right: 28px;
  width: 360px; max-height: 520px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  z-index: 8999; display: none;
  flex-direction: column; overflow: hidden;
  border: 1px solid var(--border);
}
.chatbot-window.open { display: flex; animation: cbSlideUp .25s ease; }
@keyframes cbSlideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.cb-header {
  background: linear-gradient(135deg, #005f73, var(--primary));
  padding: 16px 20px;
  color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.cb-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.cb-header-info .cb-name { font-size: 14px; font-weight: 700; }
.cb-header-info .cb-status { font-size: 11px; opacity: .8; display: flex; align-items: center; gap: 4px; }
.cb-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
.cb-close-btn { margin-left: auto; background: rgba(255,255,255,.2); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 8px; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center; }
.cb-close-btn:hover { background: rgba(255,255,255,.35); }
.cb-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cb-msg { display: flex; gap: 8px; align-items: flex-end; max-width: 85%; }
.cb-msg.bot { align-self: flex-start; }
.cb-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.cb-bubble {
  padding: 10px 14px; border-radius: 16px;
  font-size: 13px; line-height: 1.5; word-break: break-word;
}
.cb-msg.bot .cb-bubble { background: var(--bg-light); color: var(--text); border-radius: 4px 16px 16px 16px; }
.cb-msg.user .cb-bubble { background: var(--primary); color: #fff; border-radius: 16px 4px 16px 16px; }
.cb-msg-time { font-size: 10px; color: var(--text-muted); margin-top: 3px; text-align: right; }
.cb-typing { display: flex; gap: 4px; padding: 10px 14px; background: var(--bg-light); border-radius: 4px 16px 16px 16px; width: fit-content; }
.cb-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); animation: cbDot 1.2s infinite; display: inline-block; }
.cb-typing span:nth-child(2) { animation-delay: .2s; }
.cb-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes cbDot { 0%,80%,100% { transform: scale(0); opacity:.4; } 40% { transform: scale(1); opacity:1; } }
.cb-quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.cb-quick-reply {
  padding: 6px 13px; border-radius: 50px; font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--primary); color: var(--primary);
  background: #fff; cursor: pointer; transition: .2s; font-family: 'Nunito',sans-serif;
}
.cb-quick-reply:hover { background: var(--primary); color: #fff; }
.cb-input-bar {
  padding: 12px 14px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: center;
}
.cb-input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 50px; font-family: 'Nunito',sans-serif;
  font-size: 13px; outline: none; transition: .2s;
}
.cb-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,184,217,.1); }
.cb-send-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; flex-shrink: 0; transition: .2s;
}
.cb-send-btn:hover { background: var(--primary-dark); }

/* Mobile adjustments */
@media (max-width: 480px) {
  .chatbot-window { width: calc(100vw - 28px); right: 14px; bottom: 90px; }
  .chatbot-fab { right: 18px; bottom: 18px; }
}

/* ===== MOBILE NAV ===== */
.mobile-menu-toggle {
  display: none;
  background: none; border: none; font-size: 22px;
  color: var(--dark); cursor: pointer; padding: 4px;
}
@media (max-width: 768px) {
  .navbar-nav { display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
    flex-direction: column; gap: 0; padding: 10px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: 12px 5%; font-size: 15px; border-bottom: 1px solid var(--border); }
  .mobile-menu-toggle { display: block; }
  .navbar-actions .btn-signin { display: none; }
}
