/* ============================================================
   accounting.css — IceCode Solutions | Accounting Page Styles
   NOTE: navbar styles are in navbar.css — do NOT add them here
   ============================================================ */

:root {
  --ice-blue:      #38bdf8;
  --ice-blue-dark: #0284c7;
  --ice-navy:      #0f172a;
  --ice-navy-2:    #1e293b;
  --ice-soft:      #f0f9ff;
  --ice-border:    #e0f2fe;
  --text-main:     #0f172a;
  --text-muted:    #64748b;
}

/* ── Base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Cairo', sans-serif;
  color: var(--text-main);
  background: #fff;
  overflow-x: hidden;
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--ice-navy) 0%, var(--ice-navy-2) 60%, #0c2340 100%);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite 0.5s;
}
.page-hero-badge {
  display: inline-block;
  background: rgba(56,189,248,0.15);
  color: var(--ice-blue);
  border: 1px solid rgba(56,189,248,0.3);
  border-radius: 99px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.page-hero-title {
  color: #fff;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.page-hero-title span { color: var(--ice-blue); }
.page-hero-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: clamp(14px, 2vw, 17px);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.9;
  position: relative;
  z-index: 2;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--ice-blue);
  display: block;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ── Section Titles ── */
.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 10px;
}
.section-title span { color: var(--ice-blue); }
.section-sub {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 550px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.section-line {
  width: 48px; height: 4px;
  background: var(--ice-blue);
  border-radius: 99px;
  margin: 12px auto 16px;
}
.bg-soft { background: var(--ice-soft); }

/* ── Software Cards ── */
.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.software-card {
  background: #fff;
  border: 1.5px solid var(--ice-border);
  border-radius: 20px;
  padding: 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.software-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  border-radius: 0 20px 0 80px;
}
.software-card:hover {
  border-color: var(--ice-blue);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(56,189,248,0.12);
}
.software-card.featured {
  border-color: var(--ice-blue);
  background: linear-gradient(135deg, #f0f9ff, #fff);
}
.software-card.featured .featured-badge { display: inline-block; }
.featured-badge {
  display: none;
  background: var(--ice-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.software-logo {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
}
.logo-odoo  { background: #714B67; color: #fff; }
.logo-qb    { background: #2CA01C; color: #fff; }
.logo-zoho  { background: #E42527; color: #fff; }
.logo-sap   { background: #0070F2; color: #fff; }
.logo-ms    { background: #00A4EF; color: #fff; }
.logo-xero  { background: #13B5EA; color: #fff; }
.logo-ameen {
  background: linear-gradient(135deg, #0066cc, #004999);
  color: #fff;
}

.logo-bayan {
  background: linear-gradient(135deg, #00a86b, #007c50);
  color: #fff;
}
.software-name {
  font-size: 18px; font-weight: 800;
  margin-bottom: 6px; color: var(--text-main);
}
.software-type {
  font-size: 12px; color: var(--ice-blue);
  font-weight: 700; margin-bottom: 12px; letter-spacing: 0.5px;
}
.software-desc {
  color: var(--text-muted); font-size: 14px;
  line-height: 1.8; margin-bottom: 16px;
}

.software-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.software-tag {
  background: var(--ice-soft);
  color: var(--ice-blue-dark);
  border: 1px solid var(--ice-border);
  border-radius: 99px;
  font-size: 11px; font-weight: 600; padding: 3px 10px;
}
.software-card.featured .software-tag { background: rgba(56,189,248,0.1); }

/* ── Choose Steps ── */
.choose-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.choose-step {
  background: #fff;
  border: 1.5px solid var(--ice-border);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: all .3s;
  position: relative;
}
.choose-step:hover {
  border-color: var(--ice-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(56,189,248,0.1);
}
.step-icon {
  width: 56px; height: 56px;
  background: var(--ice-soft);
  border: 2px solid var(--ice-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--ice-blue);
  margin: 0 auto 16px;
}
.step-num-badge {
  position: absolute; top: 16px; left: 16px;
  width: 26px; height: 26px;
  background: var(--ice-blue); color: #fff;
  border-radius: 50%; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.choose-step h6 { font-size: 15px; font-weight: 800; margin-bottom: 8px; color: var(--text-main); }
.choose-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── Services Grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-item {
  background: #fff;
  border: 1.5px solid var(--ice-border);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all .3s;
}
.service-item:hover {
  border-color: var(--ice-blue);
  box-shadow: 0 8px 24px rgba(56,189,248,0.08);
}
.service-icon {
  width: 44px; height: 44px;
  background: var(--ice-soft);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--ice-blue); flex-shrink: 0;
}
.service-item h6 { font-size: 15px; font-weight: 800; margin-bottom: 5px; }
.service-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ── Work Steps ── */
.work-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0; position: relative;
}
.work-steps::before {
  content: '';
  position: absolute;
  top: 36px; right: 12.5%; left: 12.5%;
  height: 2px; background: var(--ice-border); z-index: 0;
}
.work-step { text-align: center; padding: 20px 16px; position: relative; z-index: 1; }
.work-step-num {
  width: 56px; height: 56px;
  background: var(--ice-blue); color: #fff;
  border-radius: 50%; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--ice-blue);
}
.work-step h6 { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.work-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── Comparison Table ── */
.compare-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid var(--ice-border); font-size: 14px;
}
.compare-table th {
  background: var(--ice-navy); color: #fff;
  padding: 14px 18px; font-weight: 700; text-align: center;
}
.compare-table th:first-child { text-align: right; }
.compare-table td {
  padding: 13px 18px;
  border-top: 1px solid var(--ice-border);
  text-align: center; color: var(--text-muted);
}
.compare-table td:first-child { text-align: right; font-weight: 700; color: var(--text-main); }
.compare-table tr:nth-child(even) td { background: var(--ice-soft); }
.compare-table .check   { color: #22c55e; font-size: 18px; }
.compare-table .cross   { color: #ef4444; font-size: 18px; }
.compare-table .partial { color: #f59e0b; font-size: 14px; font-weight: 600; }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, var(--ice-navy), #0c2340);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(56,189,248,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-section h2 {
  color: #fff; font-size: clamp(22px, 4vw, 36px);
  font-weight: 900; margin-bottom: 14px;
  position: relative; z-index: 2;
}
.cta-section p {
  color: rgba(255,255,255,0.6); font-size: 16px;
  margin-bottom: 32px; position: relative; z-index: 2;
}
.cta-section .btn-ice {
  padding: 14px 36px; font-size: 16px;
  border-radius: 14px; position: relative; z-index: 2;
}
.cta-consult {
  display: inline-block; margin-top: 16px;
  color: rgba(255,255,255,0.5); font-size: 13px;
  position: relative; z-index: 2;
}

/* ── Animation ── */
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.04); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .work-steps::before { display: none; }
  .hero-stats { gap: 24px; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 10px; }
}