/*
Theme Name: Siddhira
Theme URI: https://siddhira.com
Author: Siddhira Limited
Author URI: https://siddhira.com
Description: WordPress theme for Siddhira Limited, a CPaaS platform built around automatic channel fallback (SMS, WhatsApp, RCS, Voice, Email). Upload via Appearance > Themes > Add New > Upload Theme.
Version: 2.0.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: siddhira
*/

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root{
  /* Surfaces — white/cream body, black header & footer, yellow as the signature accent */
  --white:        #ffffff;
  --paper:        #faf8f2;
  --panel:        #fff6d9;
  --navy:         #111111;
  --navy-2:       #000000;
  --line:         #e8e4d8;
  --line-strong:  #d6d1bf;

  /* Text */
  --ink:          #111111;
  --body:         #4a4a46;
  --muted:        #8a8678;
  --on-navy:      #ffffff;
  --on-navy-dim:  #b8b4a8;

  /* Brand accents */
  --blue:         #2454e0;
  --blue-deep:    #14318c;
  --sky:          #3aa0e8;
  --pink:         #ff5ca8;
  --good:         #1c8a5c;
  --warn:         #c0781a;
  --yellow:       #ffe066;
  --yellow-deep:  #a97e00;

  --gradient-accent: linear-gradient(100deg, #ffb020 0%, #ff5ca8 55%, #7c5cff 100%);

  /* Type */
  --font-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --maxw: 1180px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(17,17,17,0.04), 0 16px 40px -20px rgba(17,17,17,0.22);
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0 0 .5em; font-weight:700; letter-spacing:-0.015em; color: var(--ink); }
p{ margin:0 0 1em; color: var(--body); }
button{ font-family: inherit; }
:focus-visible{ outline: 2px solid var(--blue); outline-offset: 3px; }
svg{ display:block; }

.container{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--yellow-deep); margin-bottom:14px;
}
.eyebrow::before{ content:""; width:16px; height:2px; background: var(--yellow-deep); border-radius:2px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 24px; border-radius: 10px; font-weight:600; font-size:14.5px;
  border:1px solid transparent; cursor:pointer; transition: background .15s ease, border-color .15s ease, transform .12s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--navy); color:#fff; }
.btn-primary:hover{ background: var(--yellow); color: var(--navy); }
.btn-outline{ background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover{ border-color: var(--navy); }
.btn-sm{ padding: 9px 16px; font-size:13.5px; }

.on-navy .btn-outline{ border-color: rgba(255,255,255,.35); color:#fff; }
.on-navy .btn-outline:hover{ border-color:#fff; }
.on-navy .btn-primary{ background: var(--yellow); color: var(--navy); }
.on-navy .btn-primary:hover{ background:#fff; color: var(--navy); }
.site-header .btn-primary{ background: var(--yellow); color: var(--navy); }
.site-header .btn-primary:hover{ background:#fff; }

/* Icon chip used throughout instead of emoji */
.icon-chip{
  width:44px; height:44px; border-radius: 11px; display:flex; align-items:center; justify-content:center;
  background: var(--panel); color: var(--yellow-deep); flex: 0 0 auto;
}
.icon-chip svg{ width:22px; height:22px; }

/* ============================================
   TOP UTILITY + HEADER (solid black bar, white body)
   ============================================ */
.site-header{
  background: var(--navy);
  position: sticky; top:0; z-index: 50;
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between; height:72px; gap:24px;
}
.site-logo{ display:inline-flex; align-items:center; }
.site-logo img{ height:26px; width:auto; }
.primary-nav ul{ display:flex; align-items:center; gap:8px; }
.primary-nav > ul > li{ position:relative; }
.primary-nav a{
  display:block; padding: 10px 14px; border-radius:8px;
  font-size:14px; color: var(--on-navy-dim); font-weight:500; transition: background .15s ease, color .15s ease;
}
.primary-nav > ul > li > a:hover{ background: rgba(255,255,255,.08); color:#fff; }

.has-dropdown .dropdown{
  position:absolute; top: calc(100% + 10px); left:0; min-width:260px;
  background: #fff; border-radius: var(--r-md); box-shadow: 0 24px 48px -12px rgba(17,17,17,.35);
  padding: 10px; display:none;
}
.has-dropdown:hover .dropdown{ display:block; }
.dropdown a{ color: var(--ink); padding:10px 12px; border-radius:8px; }
.dropdown a:hover{ background: var(--paper); }
.dropdown .dd-title{ display:block; font-size:14px; font-weight:600; }
.dropdown .dd-desc{ display:block; font-size:12.5px; color: var(--muted); margin-top:2px; }

.header-actions{ display:flex; align-items:center; gap:10px; }
.header-actions a.link{ font-size:14px; color: var(--on-navy-dim); padding: 8px 10px; }
.header-actions a.link:hover{ color:#fff; }
.menu-toggle{ display:none; background:none; border:1px solid rgba(255,255,255,.25); border-radius:8px; color:#fff; padding:8px 10px; }

@media (max-width: 960px){
  .primary-nav{ display:none; }
  .header-actions .link{ display:none; }
  .menu-toggle{ display:inline-flex; }
}

/* ============================================
   HERO — asymmetric: copy left, product panel right
   ============================================ */
.hero{ background: var(--white); padding: 76px 0 0; position:relative; overflow:hidden; }
.hero .container{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap:56px; align-items:center;
  position: relative;
}
@media (max-width: 960px){ .hero .container{ grid-template-columns:1fr; } }

.hero::before{
  content:""; position:absolute; top:-220px; left:40%; width:820px; height:640px; transform:translateX(-50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,224,102,.55), rgba(255,224,102,0) 42%),
    radial-gradient(circle at 65% 45%, rgba(255,92,168,.35), rgba(255,92,168,0) 45%),
    radial-gradient(circle at 50% 70%, rgba(124,92,255,.28), rgba(124,92,255,0) 45%);
  filter: blur(20px); pointer-events:none; z-index:0;
}
.hero .container{ z-index:1; }

.hero h1{ font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height:1.1; margin-bottom:18px; letter-spacing:-0.02em; font-weight:800; }
.hero h1 em{
  font-style: italic; font-weight:800;
  background: var(--gradient-accent); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero .lede{ font-size: 17px; color: var(--body); max-width: 480px; margin-bottom:28px; }
.hero-cta{ display:flex; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.hero-note{ font-size:13px; color: var(--muted); }

/* Product panel: a believable "delivery log" mockup instead of a neon diagram */
.status-panel{
  background: var(--paper); border:1.5px solid var(--navy); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow);
}
.status-panel .sp-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;
}
.status-panel .sp-head span{ font-size:13px; font-weight:600; color: var(--ink); }
.status-panel .sp-head small{ font-size:11.5px; color: var(--muted); }
.sp-row{
  display:flex; align-items:center; gap:12px; background: #fff; border:1px solid var(--line);
  border-radius: var(--r-sm); padding:12px 14px; margin-bottom:10px;
}
.sp-row:last-child{ margin-bottom:0; }
.sp-row .sp-icon{ width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:var(--panel); color:var(--yellow-deep); flex:0 0 auto; }
.sp-row .sp-icon svg{ width:16px; height:16px; }
.sp-row .sp-main{ flex:1; min-width:0; }
.sp-row .sp-main b{ font-size:13.5px; color: var(--ink); display:block; }
.sp-row .sp-main span{ font-size:12px; color: var(--muted); }
.sp-status{ font-size:12px; font-weight:600; padding:4px 10px; border-radius:999px; white-space:nowrap; }
.sp-status.ok{ background:#e6f6ee; color: var(--good); }
.sp-status.retry{ background:#fdf1e2; color: var(--warn); }
.sp-status.wait{ background:#f0efe8; color: var(--muted); }
.sp-arrow{ text-align:center; color: var(--line-strong); font-size:14px; margin: -4px 0; }

/* stat strip */
.stat-line{ padding: 44px 0 60px; }
.tag-row{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.tag-chip{
  display:inline-flex; align-items:center; gap:10px; background:#fff; border:1.5px solid var(--navy);
  border-radius:999px; padding:11px 20px 11px 12px;
}
.tag-chip .tag-dot{
  width:26px; height:26px; border-radius:50%; background: var(--yellow); flex:0 0 auto;
  display:flex; align-items:center; justify-content:center; color: var(--navy); font-size:12px; font-weight:800;
}
.tag-chip b{ font-family: var(--font-display); font-weight:800; font-size:15px; color: var(--ink); }
.tag-chip span{ font-size:13px; color: var(--body); margin-left:2px; }

/* ============================================
   SECTIONS
   ============================================ */
.section{ padding: 96px 0; }
.section-head{ max-width: 620px; margin: 0 0 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 2.8vw, 2.25rem); }
.section-head p{ font-size:16px; }
.alt-bg{ background: var(--paper); }

.grid{ display:grid; gap:20px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .grid-3{ grid-template-columns: 1fr; } }

.card{
  background: #fff; border:1.5px solid var(--navy); border-radius: var(--r-lg);
  padding: 28px 26px; transition: transform .15s ease, box-shadow .18s ease;
}
.card:hover{ box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3{ font-size:17.5px; margin: 14px 0 8px; }
.card p{ font-size:14.5px; margin-bottom:0; }

/* Split section */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:center; }
.split.reverse .split-media{ order:2; }
@media (max-width: 900px){ .split{ grid-template-columns:1fr; gap:34px; } .split.reverse .split-media{ order:0; } }
.split-media{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding: 8px; }
.split-copy h3{ font-size: 24px; margin-bottom:12px; }
.split-copy p{ font-size:15.5px; }
.check-list li{ display:flex; gap:10px; margin-bottom:11px; font-size:14.5px; color: var(--body); align-items:flex-start; }
.check-list li svg{ width:18px; height:18px; flex:0 0 auto; margin-top:2px; color: var(--good); }

/* Steps — genuine sequence */
.steps{ counter-reset: step; display:grid; grid-template-columns: repeat(3,1fr); gap:0; border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; }
@media (max-width: 900px){ .steps{ grid-template-columns:1fr; } }
.step{ counter-increment: step; padding: 30px 28px; background: var(--paper); position:relative; }
.step + .step{ border-left:1px solid var(--line); }
@media (max-width: 900px){ .step + .step{ border-left:none; border-top:1px solid var(--line); } }
.step::before{
  content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size:12.5px;
  color: var(--muted); display:block; margin-bottom:14px;
}
.step h4{ font-size:16.5px; margin-bottom:8px; }
.step p{ font-size:14px; margin-bottom:0; }

/* Code panel */
.code-panel{ background: #0a0b0f; border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg); overflow:hidden; }
.code-panel .code-head{ display:flex; align-items:center; gap:8px; padding:13px 16px; border-bottom:1px solid rgba(255,255,255,.08); }
.code-panel .code-head .dotx{ width:9px; height:9px; border-radius:50%; background: rgba(255,255,255,.18); }
.code-panel .code-head span{ font-family: var(--font-mono); font-size:11.5px; color: var(--on-navy-dim); margin-left:6px; }
.code-panel pre{ margin:0; padding: 22px; overflow-x:auto; font-family: var(--font-mono); font-size:12.8px; line-height:1.75; color:#dbe4f5; }
.code-panel .tok-key{ color: var(--sky); }
.code-panel .tok-str{ color: #ffce8a; }
.code-panel .tok-com{ color: var(--on-navy-dim); }

/* Differentiators */
.diff-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 900px){ .diff-grid{ grid-template-columns:1fr; } }
.diff-item h4{ font-size:16.5px; margin: 14px 0 8px; }
.diff-item p{ font-size:14px; margin-bottom:0; }

/* CTA band */
.cta-band{ background: var(--yellow); }
.cta-band .container{ padding: 64px 28px; text-align:center; }
.cta-band h2{ color: var(--navy); font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom:12px; }
.cta-band p{ color: #4a3f14; max-width:460px; margin:0 auto 26px; }
.cta-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.cta-band .btn-primary{ background: var(--navy); color:#fff; }
.cta-band .btn-primary:hover{ background:#000; }
.cta-band .btn-outline{ border-color: rgba(17,17,17,.3); color: var(--navy); }
.cta-band .btn-outline:hover{ border-color: var(--navy); }

/* ============================================
   FOOTER (navy, matches header)
   ============================================ */
.site-footer{ background: var(--navy-2); padding: 60px 0 26px; }
.footer-top{ display:grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; margin-bottom: 46px; }
@media (max-width: 900px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
.footer-brand img{ height:24px; margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color: var(--on-navy-dim); max-width:250px; }
.footer-col h5{ font-size:12.5px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; color: var(--on-navy-dim); margin-bottom:14px; }
.footer-col li{ margin-bottom:9px; }
.footer-col a{ font-size:13.5px; color: var(--on-navy); }
.footer-col a:hover{ color:#fff; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  border-top:1px solid rgba(255,255,255,.1); padding-top: 22px;
  font-size:12.5px; color: var(--on-navy-dim);
}
.footer-social{ display:flex; gap:14px; }
.footer-social a{ color: var(--on-navy-dim); }
.footer-social a:hover{ color:#fff; }

@media (max-width: 640px){
  .section{ padding: 64px 0; }
  .hero{ padding: 48px 0 0; }
}

/* ============================================
   ADDITIONAL PAGE COMPONENTS (Platform / Pricing / About / Contact / Developers)
   ============================================ */

/* Page header banner (used on inner pages) */
.page-banner{ background: var(--navy); padding: 56px 0 44px; position:relative; overflow:hidden; }
.page-banner::before{
  content:""; position:absolute; top:-200px; left:8%; width:640px; height:480px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,224,102,.22), rgba(255,224,102,0) 45%),
    radial-gradient(circle at 65% 55%, rgba(255,92,168,.20), rgba(255,92,168,0) 50%);
  filter: blur(16px); pointer-events:none;
}
.page-banner .container{ position:relative; z-index:1; }
.page-banner .eyebrow{ color: var(--yellow); }
.page-banner .eyebrow::before{ background: var(--yellow); }
.page-banner h1{ color:#fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom:12px; }
.page-banner p{ color: var(--on-navy-dim); max-width:560px; font-size:16px; margin-bottom:0; }

/* Anchor offset so in-page jumps clear the sticky header */
.anchor-target{ scroll-margin-top: 88px; }

/* Solution row (Platform page) */
.solution-row{ padding: 84px 0; }
.solution-row + .solution-row{ border-top:1px solid var(--line); }

/* Pricing */
.pricing-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; align-items:stretch; }
@media (max-width: 900px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display:flex; flex-direction:column; }
.price-card.featured{ border-color: var(--navy); border-width:2px; box-shadow: 0 20px 40px -24px rgba(17,17,17,.35); position:relative; }
.price-card.featured::before{ content:"Most popular"; position:absolute; top:-12px; left:26px; background: var(--yellow); color: var(--navy); font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:999px; }
.price-card h3{ font-size:18px; margin-bottom:6px; }
.price-card .price{ font-family: var(--font-display); font-size: 34px; font-weight:800; color: var(--ink); margin: 6px 0 4px; }
.price-card .price span{ font-size:14px; font-weight:500; color: var(--muted); }
.price-card .price-note{ font-size:13px; color: var(--muted); margin-bottom:22px; }
.price-features{ flex:1; margin-bottom:24px; }
.price-features li{ display:flex; gap:10px; font-size:14px; color: var(--body); margin-bottom:10px; align-items:flex-start; }
.price-features li svg{ width:17px; height:17px; flex:0 0 auto; margin-top:2px; color: var(--good); }

/* Forms (Contact page) */
.form-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; }
@media (max-width: 900px){ .form-grid{ grid-template-columns:1fr; } }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:600; color: var(--ink); margin-bottom:7px; }
.field input, .field textarea, .field select{
  width:100%; padding:12px 14px; border:1.5px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size:14.5px; color: var(--ink); background:#fff;
}
.field input::placeholder, .field textarea::placeholder{ color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus{ outline:none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(255,224,102,.5); }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width: 560px){ .field-row{ grid-template-columns:1fr; } }

.checkbox-group{ display:flex; flex-wrap:wrap; gap:8px; }
.checkbox-group label{
  display:flex; align-items:center; gap:7px; font-size:13.5px; font-weight:500; color: var(--body);
  background:#fff; border:1px solid var(--line-strong); padding:8px 13px; border-radius:999px; cursor:pointer;
  transition: border-color .15s ease, background .15s ease;
}
.checkbox-group label:has(input:checked){ border-color: var(--navy); background: var(--panel); color: var(--ink); }
.checkbox-group input[type="checkbox"]{ accent-color: var(--navy); width:15px; height:15px; }

.contact-info-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding:28px; }
.contact-info-card h4{ font-size:15px; margin-bottom:6px; }
.contact-info-card p{ font-size:14px; margin-bottom:18px; }
.contact-info-card .divider{ height:1px; background: var(--line); margin: 18px 0; }

/* About page */
.value-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
@media (max-width: 900px){ .value-grid{ grid-template-columns:1fr; } }
.about-stats{ display:grid; grid-template-columns: repeat(4,1fr); gap:20px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding: 34px 0; }
@media (max-width: 700px){ .about-stats{ grid-template-columns: repeat(2,1fr); } }
.about-stats .num{ font-family: var(--font-display); font-size:28px; font-weight:800; color: var(--ink); }
.about-stats .label{ font-size:13px; color: var(--muted); }

/* Simple breadcrumb-ish tab nav used at top of Platform page */
.tab-nav{ display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--line); margin-bottom: 0; }
.tab-nav a{ padding:14px 4px; margin-right:26px; font-size:14.5px; font-weight:600; color: var(--muted); border-bottom:2px solid transparent; }
.tab-nav a:hover{ color: var(--ink); }

/* Offices */
.office-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:22px; }
@media (max-width: 700px){ .office-grid{ grid-template-columns:1fr; } }
.office-card{ background: var(--paper); border:1px solid var(--line); border-radius: var(--r-lg); padding:26px 26px 24px; }
.office-card .office-tag{ font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--yellow-deep); margin-bottom:10px; display:block; }
.office-card h4{ font-size:17px; margin-bottom:6px; }
.office-card address{ font-style:normal; font-size:14px; color: var(--body); line-height:1.6; margin-bottom:10px; }
.office-card .office-meta{ font-size:13px; color: var(--muted); }

/* Timeline */
.timeline{ position:relative; padding-left:28px; }
.timeline::before{ content:""; position:absolute; left:5px; top:6px; bottom:6px; width:2px; background: var(--line-strong); }
.timeline-item{ position:relative; padding-bottom:28px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{ content:""; position:absolute; left:-28px; top:3px; width:12px; height:12px; border-radius:50%; background: var(--white); border:2px solid var(--navy); }
.timeline-item .tl-year{ font-family: var(--font-mono); font-size:12.5px; color: var(--yellow-deep); font-weight:600; display:block; margin-bottom:4px; }
.timeline-item h4{ font-size:15.5px; margin-bottom:4px; }
.timeline-item p{ font-size:14px; margin-bottom:0; }

/* Trust line under hero stats */
.trust-line{ text-align:center; padding: 22px 0; font-size:13.5px; color: var(--muted); border-bottom:1px solid var(--line); }
.trust-line b{ color: var(--ink); font-weight:600; }
