/* =========================================================
   MyCloudWish Technologies Pvt Ltd — Design System
   ========================================================= */

:root {
  --bg: #070b1a;
  --bg-2: #0b1226;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.10);
  --text: #eef2ff;
  --muted: #9aa6c7;
  --brand: #2f74d0;
  --brand-2: #6cbf34;
  --brand-3: #f7941d;
  --accent: #6cbf34;
  --grad: linear-gradient(120deg, #2f74d0 0%, #6cbf34 55%, #f7941d 100%);
  --grad-soft: linear-gradient(120deg, rgba(47,116,208,.20), rgba(108,191,52,.14), rgba(247,148,29,.14));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  --maxw: 1180px;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ambient background blobs */
body::before, body::after {
  content: "";
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  pointer-events: none;
}
body::before { width: 520px; height: 520px; background: radial-gradient(circle, #2f74d0, transparent 70%); top: -120px; left: -80px; }
body::after  { width: 620px; height: 620px; background: radial-gradient(circle, #6cbf34, transparent 70%); bottom: -180px; right: -120px; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }

/* --- Typography helpers --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  margin-bottom: 20px;
}
h1, h2, h3, h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px -8px rgba(47,116,208,.6); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 45px -10px rgba(47,116,208,.75); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface-2); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* --- Navbar --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 26, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.brand-logo {
  width: 46px; height: 40px; display: grid; place-items: center;
  position: relative;
}
.brand-logo img { width: 46px; height: auto; display: block; }
.brand-logo svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: .96rem; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; bottom: -6px; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--grad);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* --- Hero --- */
.hero { padding: 170px 0 100px; text-align: center; position: relative; }
.hero .lead { max-width: 640px; margin: 24px auto 38px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 54px; color: var(--muted); font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-visual {
  margin: 70px auto 0; max-width: 960px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: var(--grad-soft); padding: 22px;
  box-shadow: var(--shadow); position: relative;
}
.dash {
  border-radius: 16px; background: rgba(6,10,24,.85); border: 1px solid var(--border);
  overflow: hidden;
}
.dash-top { display: flex; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.dash-top i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dash-body { display: grid; grid-template-columns: 200px 1fr; min-height: 320px; }
.dash-side { border-right: 1px solid var(--border); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.dash-side .pill { height: 34px; border-radius: 10px; background: var(--surface); }
.dash-side .pill.on { background: var(--grad-soft); border: 1px solid var(--border); }
.dash-main { padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dash-cards .c { border-radius: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--border); }
.dash-cards .c b { font-size: 1.5rem; display: block; }
.dash-cards .c span { font-size: .75rem; color: var(--muted); }
.dash-chart { flex: 1; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: flex-end; gap: 10px; padding: 18px; min-height: 150px; }
.dash-chart .bar { flex: 1; border-radius: 8px 8px 0 0; background: var(--grad); opacity: .85; }

/* --- Logos strip --- */
.logos { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logos p { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 26px; }
.logos-row { display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap; opacity: .7; }
.logos-row span { font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; color: var(--muted); }

/* --- Cards / features --- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: transform .3s, border-color .3s, background .3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(47,116,208,.5); background: var(--surface-2); }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 20px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .glow { position: absolute; top: -40%; right: -20%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(47,116,208,.35), transparent 70%); opacity: 0; transition: opacity .3s; }
.card:hover .glow { opacity: 1; }

/* --- Stats --- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { font-size: clamp(2rem, 4vw, 3rem); display: block; }
.stat span { color: var(--muted); font-size: .95rem; }

/* --- Split feature --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev .split-text { order: 2; }
.split-media {
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--grad-soft);
  padding: 20px; box-shadow: var(--shadow); aspect-ratio: 4/3; display: grid; place-items: center;
}
.check-list { display: grid; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; margin-top: 2px; }
.check-list .tick svg { width: 14px; height: 14px; color: var(--accent); }

/* --- Pricing --- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px 30px; display: flex; flex-direction: column; position: relative;
}
.price.featured { border-color: rgba(47,116,208,.6); background: var(--grad-soft); box-shadow: var(--shadow); transform: scale(1.03); }
.price .tag { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--grad); }
.price h3 { font-size: 1.15rem; color: var(--muted); font-weight: 700; }
.price .amt { font-size: 3rem; font-weight: 800; margin: 14px 0 4px; }
.price .amt span { font-size: 1rem; color: var(--muted); font-weight: 600; }
.price .desc { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.price ul { display: grid; gap: 13px; margin-bottom: 30px; flex: 1; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.price ul li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.price .btn { width: 100%; justify-content: center; }

/* --- Testimonials --- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.quote p { font-size: 1rem; margin-bottom: 22px; }
.quote .who { display: flex; align-items: center; gap: 14px; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; }
.quote .who b { display: block; font-size: .95rem; }
.quote .who span { color: var(--muted); font-size: .82rem; }
.stars { color: #fbbf24; margin-bottom: 14px; letter-spacing: 3px; }

/* --- CTA band --- */
.cta-band {
  border-radius: var(--radius-lg); padding: 70px 50px; text-align: center;
  background: var(--grad); position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 16px auto 32px; }
.cta-band .btn-primary { background: #fff; color: #1a1140; }
.cta-band .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }

/* --- Team --- */
.team-card { text-align: center; }
.team-card .av { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 18px; background: var(--grad); display: grid; place-items: center; font-size: 2rem; font-weight: 800; box-shadow: var(--shadow); }
.team-card h3 { font-size: 1.15rem; }
.team-card .role { color: var(--brand-2); font-weight: 600; font-size: .9rem; }
.team-card p { color: var(--muted); font-size: .9rem; margin-top: 10px; }

/* --- Timeline --- */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--grad); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -39px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); border: 4px solid var(--bg); box-shadow: 0 0 0 3px rgba(47,116,208,.4); }
.tl-item .yr { color: var(--brand-2); font-weight: 800; }
.tl-item h3 { margin: 4px 0 8px; }
.tl-item p { color: var(--muted); }

/* --- Contact --- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info .row { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .ico { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; }
.contact-info .ico svg { width: 24px; height: 24px; color: var(--brand-2); }
.contact-info b { display: block; }
.contact-info span { color: var(--muted); font-size: .95rem; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(6,10,24,.7);
  border: 1px solid var(--border); color: var(--text); font-family: inherit; font-size: .96rem; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 20px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border); margin-top: 18px; color: var(--accent); font-weight: 600; }

/* --- FAQ --- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; background: var(--surface); overflow: hidden; }
.faq-q { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; }
.faq-q svg { width: 20px; height: 20px; transition: transform .3s; flex: none; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); }

/* --- Page hero (inner pages) --- */
.page-hero { padding: 160px 0 60px; text-align: center; }
.page-hero .lead { max-width: 620px; margin: 20px auto 0; }

/* --- Footer --- */
.footer { border-top: 1px solid var(--border); padding: 70px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand { margin-bottom: 18px; }
.footer-col h4 { font-size: .95rem; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-about p { color: var(--muted); font-size: .92rem; max-width: 300px; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--surface-2); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }

/* --- Reveal animation --- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 940px) {
  .grid-3, .grid-4, .quotes, .price-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-text { order: 0; }
  .price.featured { transform: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(7,11,26,.97); backdrop-filter: blur(18px); padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .grid-3, .grid-4, .grid-2, .quotes, .price-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .dash-cards { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 26px; }
  .hero { padding: 140px 0 70px; }
}
