/* Srisan AI Solutions — 2026 modern SaaS design system */
:root {
  --navy: #081426;
  --navy-2: #0d2138;
  --navy-3: #123152;
  --teal: #0ea487;
  --teal-dark: #0a7c66;
  --teal-bright: #2dd4bf;
  --cyan: #38bdf8;
  --ink: #0e1c2e;
  --muted: #52667d;
  --line: #e3eaf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(8,20,38,.05), 0 10px 30px -14px rgba(8,20,38,.14);
  --shadow-lg: 0 2px 4px rgba(8,20,38,.05), 0 28px 56px -20px rgba(8,20,38,.28);
  --ease: cubic-bezier(.22,.61,.21,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(45,212,191,.35); }
h1, h2, h3, .serif { font-family: 'Sora', 'Inter', Arial, sans-serif; letter-spacing: -0.025em; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Header — sticky, blurred, minimal */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(227,234,242,.9);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 15px; padding-bottom: 15px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal) 0%, #0e7f8f 55%, #155e8a 100%);
  color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(14,164,135,.55);
}
.brand-name { font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.1; letter-spacing: -0.02em; }
.brand-name small { display: block; font-size: 10px; letter-spacing: 3.5px; color: var(--teal-dark); font-weight: 700; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink); padding: 8px 2px; transition: color .2s var(--ease); }
.nav a:hover { color: var(--teal-dark); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
  background: linear-gradient(135deg, var(--teal) 0%, #0d8a9e 100%);
  color: #fff !important;
  padding: 14px 30px; min-height: 50px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: none; font-family: inherit;
  box-shadow: 0 10px 26px -10px rgba(13,138,158,.65), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(13,138,158,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent; color: var(--navy) !important;
  border: 1.5px solid var(--line); box-shadow: none;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark) !important; box-shadow: 0 12px 26px -14px rgba(8,20,38,.25); }
.nav .btn { padding: 11px 24px; min-height: 44px; }

/* Hero — oversized type, gradient glow on deep navy */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(720px 420px at 88% -10%, rgba(45,212,191,.28), rgba(45,212,191,0) 62%),
    radial-gradient(640px 480px at -12% 108%, rgba(56,189,248,.20), rgba(56,189,248,0) 60%),
    radial-gradient(900px 600px at 55% 130%, rgba(18,49,82,.9), rgba(18,49,82,0) 70%),
    linear-gradient(180deg, #081426 0%, #0b1e36 58%, #0d2440 100%);
  padding: 132px 0 118px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(760px 480px at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(760px 480px at 50% 0%, #000 30%, transparent 78%);
}
.hero .wrap { position: relative; }
.hero .kicker {
  display: inline-block; color: #8ce8d8; font-size: 12px; letter-spacing: 2.6px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 26px;
  border: 1px solid rgba(140,232,216,.32); border-radius: 999px; padding: 8px 18px;
  background: rgba(45,212,191,.08);
}
.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 4.8rem); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 800; max-width: 900px; margin-bottom: 26px;
}
.hero h1 .accent {
  background: linear-gradient(92deg, var(--teal-bright) 10%, var(--cyan) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19.5px; line-height: 1.6; color: #b9c9dc; max-width: 660px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn { padding: 16px 34px; font-size: 15.5px; }
.hero-ctas .btn-outline { color: #fff !important; border-color: rgba(255,255,255,.32); }
.hero-ctas .btn-outline:hover { border-color: #8ce8d8; color: #8ce8d8 !important; box-shadow: none; }
/* Hero entrance (load) */
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero .wrap > * { animation: heroUp .9s var(--ease) both; }
.hero .wrap > *:nth-child(2) { animation-delay: .08s; }
.hero .wrap > *:nth-child(3) { animation-delay: .16s; }
.hero .wrap > *:nth-child(4) { animation-delay: .24s; }
.hero .wrap > *:nth-child(5) { animation-delay: .32s; }

/* Sections */
.section { padding: 112px 0; }
.section.soft { background: linear-gradient(180deg, #f7fafc 0%, #eff4f9 100%); }
.kicker {
  color: var(--teal-dark); font-size: 12px; letter-spacing: 2.8px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--cyan)); border-radius: 2px; }
.section h2 { font-size: clamp(2.05rem, 4.2vw, 2.9rem); line-height: 1.12; color: var(--navy); margin-bottom: 14px; }
.section .sub { color: var(--muted); font-size: 17.5px; max-width: 700px; margin-bottom: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid rgba(14,28,46,.06); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 18.5px; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.015em; }
.card p { font-size: 15px; color: var(--muted); }

/* Vertical tiles */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tile {
  background: #fff; border: 1px solid rgba(14,28,46,.06); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.045); }
.tile-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tile .cat {
  font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--teal-dark); font-weight: 700; margin-bottom: 7px;
}
.tile h3 { font-size: 20px; color: var(--navy); margin-bottom: 9px; letter-spacing: -0.02em; }
.tile .help { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.5; margin-bottom: 15px; }
.tile ul { list-style: none; margin-bottom: 20px; }
.tile ul li { padding: 5px 0 5px 27px; position: relative; font-size: 14.5px; color: var(--muted); }
.tile ul li::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  width: 19px; height: 19px; border-radius: 50%;
  background: #e4f7f2; color: var(--teal-dark);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.tile .solutions {
  margin-top: auto; border-top: 1px solid var(--line); padding-top: 15px;
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
}
.tile .solutions b { color: var(--navy); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 6px; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #0e7f8f 100%);
  color: #fff; box-shadow: 0 10px 22px -8px rgba(14,164,135,.6);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin-bottom: 18px;
}
.step h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* Split + check list */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: 32px; color: var(--navy); margin-bottom: 16px; }
.split p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.check-list { list-style: none; margin: 20px 0 28px; }
.check-list li { padding: 9px 0 9px 34px; position: relative; font-size: 15.5px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px;
  width: 23px; height: 23px; border-radius: 50%;
  background: #e4f7f2; color: var(--teal-dark);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* CTA band — dark, glowing */
.band {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 96px 0;
  background:
    radial-gradient(620px 340px at 50% -30%, rgba(45,212,191,.30), rgba(45,212,191,0) 65%),
    linear-gradient(180deg, #0b1e36, #081426);
}
.band h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); letter-spacing: -0.025em; margin-bottom: 14px; }
.band p { color: #b9c9dc; font-size: 17px; max-width: 640px; margin: 0 auto 32px; }

/* Name story (About) */
.name-story {
  background: linear-gradient(180deg, #f7fafc, #eef4f9);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 42px; margin-top: 48px; box-shadow: var(--shadow-sm);
}
.name-story .kicker { margin-bottom: 10px; }
.name-story h3 { font-size: 23px; color: var(--navy); margin-bottom: 12px; }
.name-story p { color: var(--muted); font-size: 16.5px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact-card { background: linear-gradient(180deg, #f7fafc, #eff4f9); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.contact-card h3 { color: var(--navy); margin-bottom: 6px; font-size: 19px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.contact-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.contact-row:first-of-type { border-top: none; }
.contact-row .lbl { min-width: 78px; font-weight: 700; color: var(--navy); font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; }
.form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin: 18px 0 7px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; font-size: 15.5px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14,164,135,.16);
}
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { margin-top: 24px; width: 100%; }

/* Footer */
footer { background: var(--navy); color: #8ea3ba; padding: 64px 0 36px; font-size: 14.5px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 16px; letter-spacing: 1.6px; text-transform: uppercase; }
footer a { color: #8ea3ba; text-decoration: none; display: block; padding: 5px 0; transition: color .2s var(--ease); }
footer a:hover { color: var(--teal-bright); }
footer .fine { border-top: 1px solid rgba(255,255,255,.09); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }

/* Scroll-in reveal — pure CSS scroll-driven animation where supported.
   Animates the independent `translate` property so hover transforms still work. */
@keyframes riseIn { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@supports (animation-timeline: view()) {
  .card, .tile, .step, .name-story, .contact-card, .check-list li {
    animation: riseIn 1ms linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

@media (max-width: 1080px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .split, .contact-grid, footer .cols { grid-template-columns: 1fr; }
  .hero { padding: 96px 0 88px; }
  .band { padding: 76px 0; }
}
@media (max-width: 680px) {
  .tile-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 22px; }
  .nav { display: none; }
  .hero-ctas .btn { width: 100%; }
  .name-story { padding: 30px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
