/*
Theme Name: Lotus AI
Theme URI: https://lotusdigitalai.com/
Author: Lotus Digital + AI
Description: A modern, responsive WordPress theme for Lotus Digital + AI.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lotus-ai
*/

:root {
  --ink: #101432;
  --muted: #656b83;
  --paper: #fff;
  --mist: #f7f7ff;
  --line: #e8e8f1;
  --violet: #6635ed;
  --pink: #e13dc9;
  --cyan: #00bfe9;
  --gradient: linear-gradient(115deg, #5c36f2 4%, #b932e2 52%, #ed4eaf 100%);
  --shadow: 0 24px 70px rgba(27, 24, 83, .12);
  --radius: 24px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body, button, input, textarea { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #fff; background: var(--violet); }
.wrap { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--violet);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; background: var(--gradient); content: ""; }
.section-heading { max-width: 700px; margin: 0; font-size: clamp(2.2rem, 5vw, 3.65rem); letter-spacing: -.055em; line-height: 1.08; }
.section-intro { max-width: 630px; margin: 18px 0 0; color: var(--muted); font-size: 1.08rem; }
.gradient-text { color: var(--violet); background: var(--gradient); background-clip: text; -webkit-text-fill-color: transparent; }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--gradient); box-shadow: 0 10px 24px rgba(120, 55, 226, .25); }
.button-primary:hover { box-shadow: 0 15px 32px rgba(120, 55, 226, .34); }
.button-light { color: var(--ink); border-color: var(--line); background: #fff; }
.button-light:hover { border-color: #c9c4fa; box-shadow: 0 10px 25px rgba(34, 30, 90, .08); }
.arrow { font-size: 1.15em; line-height: 1; }
.skip-link {
  position: absolute;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  color: #fff;
  border-radius: 8px;
  background: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

/* Header and navigation */
.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(232, 232, 241, .82); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand img { width: 56px; }
.brand-name { color: var(--ink); font-size: 1.02rem; font-weight: 780; letter-spacing: -.045em; white-space: nowrap; }
.brand-name b { color: var(--violet); background: var(--gradient); background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; align-items: center; gap: 31px; }
.main-nav ul { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.main-nav li { margin: 0; }
.main-nav a:not(.button) { color: #454a63; font-size: .9rem; font-weight: 650; transition: color .18s ease; }
.main-nav a:not(.button):hover, .main-nav .current-menu-item > a { color: var(--violet); }
.main-nav .button { min-height: 46px; padding: 11px 18px; font-size: .86rem; }
.menu-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
.menu-toggle span { margin: 4px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 60px; background: radial-gradient(ellipse at 87% 35%, rgba(114, 77, 255, .09), transparent 34%), radial-gradient(ellipse at 6% 0%, rgba(0, 191, 233, .065), transparent 27%), #fff; }
.hero::after { position: absolute; top: -240px; right: -210px; width: 570px; height: 570px; border: 1px solid rgba(113, 73, 240, .08); border-radius: 50%; content: ""; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; min-height: 565px; align-items: center; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: 34px; }
.hero-copy { position: relative; z-index: 2; padding: 32px 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 21px; padding: 7px 12px; border: 1px solid #e8e4ff; border-radius: 999px; color: #554a89; background: rgba(255,255,255,.8); font-size: .76rem; font-weight: 700; }
.hero-kicker::before { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); content: ""; }
.hero h1 { max-width: 625px; margin: 0; font-size: clamp(3.2rem, 6.1vw, 5.2rem); font-weight: 760; letter-spacing: -.075em; line-height: .99; }
.hero-copy > p { max-width: 560px; margin: 24px 0 28px; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.16rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-assurance { display: flex; flex-wrap: wrap; gap: 19px; margin: 22px 0 0; padding: 0; color: #6d7187; font-size: .78rem; list-style: none; }
.hero-assurance li::before { margin-right: 7px; color: #25a88f; content: "✓"; font-weight: 800; }
.hero-art { position: relative; min-width: 0; }
.hero-art::before { position: absolute; z-index: -1; top: 10%; left: 8%; width: 80%; height: 80%; border-radius: 50%; background: linear-gradient(130deg, rgba(102,53,237,.11), rgba(0,191,233,.1)); filter: blur(48px); content: ""; }
.hero-art img { width: 100%; }
.hero-note { position: absolute; right: -4px; bottom: 10%; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.86); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.hero-note-icon { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; color: var(--violet); background: #f0edff; font-size: 1.2rem; }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { font-size: .88rem; }
.hero-note span { color: var(--muted); font-size: .72rem; }

/* Platforms ticker */
.platform-band { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fbfbff; }
.platform-inner { display: grid; min-height: 101px; align-items: center; grid-template-columns: 190px 1fr; gap: 28px; }
.platform-label { color: #7a7e92; font-size: .76rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.platform-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; margin: 0; padding: 0; color: #484c65; font-size: .84rem; font-weight: 700; list-style: none; }
.platform-list li::before { margin-right: 8px; color: var(--violet); content: "✳"; }

/* Services */
.services-section { background: #fff; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-top .section-intro { max-width: 390px; margin: 0 0 4px; font-size: .98rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card { position: relative; display: flex; min-height: 304px; flex-direction: column; padding: 26px 23px 23px; overflow: hidden; border: 1px solid var(--line); border-radius: 21px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #d7d0ff; box-shadow: 0 18px 42px rgba(41, 34, 102, .09); }
.service-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 28px; border-radius: 15px; color: var(--violet); background: #f0edff; font-size: 1.35rem; }
.service-card:nth-child(2) .service-icon { color: #c02db5; background: #fff0fb; }
.service-card:nth-child(3) .service-icon { color: #008eb7; background: #e8faff; }
.service-card:nth-child(4) .service-icon { color: #8d47d7; background: #f7edff; }
.service-card h3 { margin: 0 0 10px; font-size: 1.14rem; letter-spacing: -.025em; line-height: 1.3; }
.service-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 23px; color: var(--violet); font-size: .83rem; font-weight: 750; }
.card-link .arrow { transition: transform .2s ease; }
.card-link:hover .arrow { transform: translateX(4px); }

/* Feature */
.feature-section { padding-top: 20px; }
.feature-panel { position: relative; display: grid; min-height: 470px; align-items: center; grid-template-columns: .92fr 1.08fr; overflow: hidden; border-radius: 30px; color: #fff; background: #111735; }
.feature-panel::before, .feature-panel::after { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; content: ""; pointer-events: none; }
.feature-panel::before { top: -360px; right: -70px; width: 700px; height: 700px; }
.feature-panel::after { top: -270px; right: 20px; width: 520px; height: 520px; }
.feature-copy { position: relative; z-index: 1; padding: 62px 0 62px 58px; }
.feature-copy .eyebrow { color: #c7b9ff; }
.feature-copy h2 { max-width: 465px; margin: 0; font-size: clamp(2.15rem, 4vw, 3.35rem); letter-spacing: -.055em; line-height: 1.06; }
.feature-copy p:not(.eyebrow) { max-width: 450px; margin: 20px 0 25px; color: #c0c5da; }
.feature-list { display: grid; gap: 11px; margin: 0 0 28px; padding: 0; color: #e6e8f4; font-size: .9rem; list-style: none; }
.feature-list li::before { margin-right: 10px; color: #a895ff; content: "✦"; }
.feature-art { position: relative; z-index: 1; align-self: end; padding: 30px 26px 0 0; }
.feature-art img { width: 100%; }

/* Approach and about */
.approach-section { background: var(--mist); }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 43px; }
.approach-step { padding: 25px 24px 8px 0; border-top: 1px solid #dfe0ef; }
.step-number { color: var(--violet); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.approach-step h3 { margin: 13px 0 8px; font-size: 1.17rem; }
.approach-step p { max-width: 310px; margin: 0; color: var(--muted); font-size: .91rem; }
.about-row { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 70px; }
.about-mark { position: relative; display: grid; min-height: 340px; place-items: center; overflow: hidden; border: 1px solid #ece8ff; border-radius: 28px; background: radial-gradient(circle at 50% 50%, #fff 0 18%, transparent 19%), linear-gradient(145deg, #f8f6ff, #f1fbff); }
.about-mark::before, .about-mark::after { position: absolute; width: 240px; height: 240px; border: 1px solid rgba(102,53,237,.15); border-radius: 50%; content: ""; }
.about-mark::after { width: 320px; height: 320px; }
.about-mark img { position: relative; z-index: 1; width: 205px; filter: drop-shadow(0 16px 22px rgba(76,51,196,.15)); }
.about-copy h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.2rem); letter-spacing: -.055em; line-height: 1.08; }
.about-copy > p:not(.eyebrow) { margin: 18px 0; color: var(--muted); }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 20px; margin: 23px 0 0; padding: 0; list-style: none; }
.about-points li { display: flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 700; }
.about-points li::before { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--violet); background: #f0edff; content: "✓"; font-size: .72rem; }

/* Contact and footer */
.contact-section { padding: 32px 0 90px; }
.contact-panel { position: relative; display: grid; grid-template-columns: 1fr .85fr; gap: 70px; padding: 60px; overflow: hidden; border-radius: 30px; background: #f7f6ff; }
.contact-panel::after { position: absolute; right: -110px; bottom: -240px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(181, 74, 226, .15), transparent 70%); content: ""; pointer-events: none; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact-copy h2 { max-width: 480px; margin: 0; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.06em; line-height: 1.05; }
.contact-copy > p:not(.eyebrow) { max-width: 420px; margin: 17px 0 24px; color: var(--muted); }
.contact-email { color: var(--violet); font-weight: 750; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: center; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #434862; font-size: .78rem; font-weight: 750; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #e1dfef; border-radius: 11px; outline: none; color: var(--ink); background: rgba(255,255,255,.9); font-size: .88rem; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field textarea:focus { border-color: #9a7cf4; box-shadow: 0 0 0 3px rgba(102,53,237,.1); }
.field textarea { min-height: 105px; resize: vertical; }
.contact-form .button { justify-self: start; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 10px 12px; border-radius: 10px; color: #2b5e46; background: #e7f7ef; font-size: .86rem; }
.form-status.is-error { color: #873e4b; background: #fff0f1; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.site-footer { color: #dce0f1; background: #11152f; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 55px; padding: 53px 0 39px; }
.footer-brand img { width: 148px; padding: 8px; border-radius: 12px; background: #fff; }
.footer-brand p { max-width: 315px; margin: 16px 0 0; color: #aeb4ca; font-size: .88rem; }
.footer-column h2 { margin: 0 0 15px; color: #fff; font-size: .83rem; letter-spacing: .04em; }
.footer-column ul { display: grid; gap: 9px; margin: 0; padding: 0; color: #b7bdd2; font-size: .84rem; list-style: none; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 22px; border-top: 1px solid rgba(255,255,255,.12); color: #959bb4; font-size: .77rem; }
.footer-bottom p { margin: 0; }

/* Inner WordPress pages */
.page-content { min-height: 45vh; padding: 75px 0 100px; }
.page-content h1, .page-content h2 { letter-spacing: -.04em; line-height: 1.15; }
.page-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.page-content h2 { margin-top: 2em; }
.page-content p, .page-content li { color: #50556e; }
.page-content a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.entry-list { display: grid; gap: 25px; }
.entry-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; }
.entry-card h2 { margin: 0 0 10px; font-size: 1.5rem; }
.entry-card h2 a { color: var(--ink); text-decoration: none; }
.pagination { margin-top: 30px; }
.pagination .nav-links { display: flex; gap: 10px; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 8px; }

@media (max-width: 1000px) {
  .main-nav { gap: 18px; }
  .main-nav ul { gap: 18px; }
  .hero-grid { min-height: 500px; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero h1 { font-size: clamp(3rem, 6.5vw, 4.5rem); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 275px; }
  .feature-copy { padding-left: 38px; }
  .contact-panel { gap: 35px; padding: 45px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 78px; }
  .wrap { width: min(var(--content), calc(100% - 36px)); }
  .section { padding: 75px 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 52px; }
  .menu-toggle { display: flex; flex-direction: column; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; padding: 15px 18px 20px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 18px 25px rgba(23,24,55,.07); }
  .main-nav.is-open { display: flex; flex-direction: column; }
  .main-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .main-nav li a:not(.button) { display: block; padding: 12px 5px; }
  .main-nav > .button { align-self: flex-start; margin-top: 8px; }
  .hero { padding: 46px 0 39px; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 4px; }
  .hero-copy { padding: 10px 0 0; }
  .hero h1 { max-width: 560px; font-size: clamp(3.1rem, 12vw, 5rem); }
  .hero-copy > p { margin: 19px 0 22px; }
  .hero-art { max-width: 590px; margin: 0 auto; }
  .hero-note { right: 0; bottom: 8%; padding: 11px 13px; }
  .hero-note-icon { width: 32px; height: 32px; }
  .platform-inner { grid-template-columns: 1fr; gap: 8px; padding: 19px 0; }
  .platform-list { justify-content: flex-start; gap: 10px 18px; font-size: .78rem; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 27px; }
  .section-top .section-intro { max-width: 540px; }
  .service-grid { gap: 12px; }
  .service-card { min-height: 270px; padding: 20px 17px; border-radius: 17px; }
  .service-icon { width: 43px; height: 43px; margin-bottom: 22px; }
  .service-card h3 { font-size: 1.04rem; }
  .service-card p { font-size: .83rem; }
  .feature-section { padding-top: 0; }
  .feature-panel { grid-template-columns: 1fr; }
  .feature-copy { padding: 38px 28px 5px; }
  .feature-art { max-width: 600px; margin-left: auto; padding: 18px 15px 0; }
  .approach-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .approach-step { padding: 18px 0 10px; }
  .approach-step h3 { margin-top: 8px; }
  .about-row { grid-template-columns: 1fr; gap: 34px; }
  .about-mark { min-height: 260px; }
  .about-mark img { width: 165px; }
  .contact-section { padding: 0 0 65px; }
  .contact-panel { grid-template-columns: 1fr; gap: 28px; padding: 34px 25px; border-radius: 23px; }
  .contact-form { gap: 11px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 440px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-assurance { gap: 8px 13px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 16px; }
  .card-link { padding-top: 16px; }
  .contact-form { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .contact-form .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
