/*
Theme Name: ScrollMediaTech (IP Link)
Theme URI: https://iplinktest.freepage.cc/
Author: ScrollMediaTech & IP Link Media
Author URI: https://iplinktest.freepage.cc/
Description: A vibrant, responsive five-page digital marketing agency theme matching IP Link / ScrollMediaTech.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: scrollmediatech
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --smt-orange: #ff6a00;
  --smt-yellow: #ffd629;
  --smt-pink: #ff2f92;
  --smt-purple: #7928ca;
  --smt-blue: #2563ff;
  --smt-ink: #171326;
  --smt-muted: #6d6878;
  --smt-bg: #fffaf7;
  --smt-border: #eee7f2;
  --smt-radius: 24px;
  --smt-shadow: 0 18px 55px rgba(40, 20, 70, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--smt-ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

button, input, textarea, select {
  font: inherit;
}

.smt-wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.smt-topbar {
  background: #171326;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 600;
}

.smt-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(238, 231, 242, 0.85);
}

.smt-navrow {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.smt-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.04em;
}

.smt-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--smt-orange), var(--smt-pink) 48%, var(--smt-purple));
  box-shadow: 0 8px 22px rgba(255, 47, 146, 0.28);
  font-size: 22px;
  font-weight: 900;
}

.smt-brand span em {
  font-style: normal;
  background: linear-gradient(90deg, var(--smt-orange), var(--smt-pink), var(--smt-purple), var(--smt-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.smt-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.smt-nav a {
  font-size: 13px;
  font-weight: 750;
  color: #514b5c;
  transition: color .2s;
}

.smt-nav a:hover,
.smt-nav a[aria-current="page"] {
  color: var(--smt-purple);
}

.smt-nav .smt-navcta {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--smt-ink);
  color: #fff;
  transition: transform .2s, background .2s;
}

.smt-nav .smt-navcta:hover {
  transform: translateY(-2px);
  background: var(--smt-purple);
}

.smt-toggle {
  display: none;
  border: 1px solid var(--smt-border);
  background: white;
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 22px;
  cursor: pointer;
}

.smt-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 86px;
  background: radial-gradient(circle at 84% 22%, rgba(255, 214, 41, 0.27), transparent 25%),
              radial-gradient(circle at 10% 80%, rgba(255, 47, 146, 0.1), transparent 27%),
              linear-gradient(180deg, #fffaf7, #fff 85%);
}

.smt-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 60px;
}

.smt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid #f0dced;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #7d3d8b;
}

.smt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--smt-pink);
  box-shadow: 0 0 0 5px rgba(255, 47, 146, 0.15);
}

.smt-hero h1,
.smt-pagehero h1 {
  margin: 22px 0;
  font-size: clamp(44px, 6.3vw, 76px);
  line-height: 1.02;
  letter-spacing: -.065em;
  font-weight: 900;
}

.smt-gradient {
  background: linear-gradient(100deg, var(--smt-orange), var(--smt-pink) 45%, var(--smt-purple) 75%, var(--smt-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.smt-lead {
  max-width: 590px;
  font-size: 18px;
  color: var(--smt-muted);
  line-height: 1.8;
}

.smt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.smt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}

.smt-btn:hover {
  transform: translateY(-3px);
}

.smt-btn-primary {
  background: linear-gradient(110deg, var(--smt-orange), var(--smt-pink) 55%, var(--smt-purple));
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 47, 146, 0.28);
}

.smt-btn-secondary {
  background: #fff;
  border-color: var(--smt-border);
  color: var(--smt-ink);
}

.smt-btn-secondary:hover {
  border-color: var(--smt-purple);
}

.smt-hero-note {
  margin-top: 24px;
  color: var(--smt-muted);
  font-size: 12px;
  font-weight: 500;
}

.smt-art {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}

.smt-orbit {
  position: absolute;
  width: 350px;
  height: 350px;
  border: 1px dashed #d9c8e9;
  border-radius: 50%;
  animation: smt-spin 36s linear infinite;
}

.smt-orbit:before,
.smt-orbit:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--smt-yellow);
  top: 45px;
  left: 32px;
  transform: rotate(18deg);
}

.smt-orbit:after {
  background: var(--smt-blue);
  top: auto;
  left: auto;
  right: 18px;
  bottom: 70px;
}

.smt-art-card {
  position: relative;
  z-index: 2;
  width: min(360px, 90%);
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #f0e8f4;
  box-shadow: var(--smt-shadow);
  transform: rotate(-3deg);
  transition: transform .3s ease;
}

.smt-art-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.smt-art-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
}

.smt-pips {
  display: flex;
  gap: 5px;
}

.smt-pips i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--smt-pink);
}

.smt-pips i:nth-child(2) {
  background: var(--smt-yellow);
}

.smt-pips i:nth-child(3) {
  background: var(--smt-blue);
}

.smt-art-card h3 {
  font-size: 33px;
  line-height: 1.1;
  letter-spacing: -.05em;
  margin: 30px 0 18px;
}

.smt-mini-bars {
  display: flex;
  gap: 8px;
  align-items: end;
  height: 90px;
  padding: 12px;
  background: #fbf7ff;
  border-radius: 18px;
}

.smt-mini-bars span {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--smt-pink), var(--smt-purple));
  height: 50%;
  animation: smt-bar 2.4s ease-in-out infinite alternate;
}

.smt-mini-bars span:nth-child(2) {
  height: 80%;
  background: linear-gradient(180deg, var(--smt-yellow), var(--smt-orange));
  animation-delay: -0.5s;
}

.smt-mini-bars span:nth-child(3) {
  height: 65%;
  background: linear-gradient(180deg, #66b8ff, var(--smt-blue));
  animation-delay: -1s;
}

.smt-mini-bars span:nth-child(4) {
  height: 95%;
  background: linear-gradient(180deg, var(--smt-pink), var(--smt-purple));
  animation-delay: -1.5s;
}

@keyframes smt-bar {
  0% { transform: scaleY(0.7); }
  100% { transform: scaleY(1.05); }
}

.smt-float {
  position: absolute;
  z-index: 3;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--smt-border);
  border-radius: 16px;
  box-shadow: var(--smt-shadow);
  font-weight: 850;
  font-size: 12px;
  animation: smt-float 4s ease-in-out infinite;
}

.smt-float.one {
  left: 0;
  top: 80px;
}

.smt-float.two {
  right: 0;
  bottom: 72px;
  animation-delay: -2s;
}

.smt-float b {
  display: block;
  font-size: 21px;
  color: var(--smt-purple);
}

.smt-marquee {
  overflow: hidden;
  background: var(--smt-ink);
  color: #fff;
  padding: 18px 0;
  white-space: nowrap;
}

.smt-marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: smt-marquee 28s linear infinite;
  font-weight: 850;
  letter-spacing: .12em;
  font-size: 12px;
}

.smt-marquee-track span {
  display: flex;
  gap: 30px;
  align-items: center;
}

.smt-marquee i {
  font-style: normal;
  color: var(--smt-yellow);
  font-size: 18px;
}

.smt-section {
  padding: 88px 0;
}

.smt-section-soft {
  background: var(--smt-bg);
}

.smt-section-head {
  max-width: 720px;
  margin-bottom: 36px;
}

.smt-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--smt-purple);
}

.smt-section h2,
.smt-cta h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.055em;
  margin: 12px 0 16px;
}

.smt-section-head p,
.smt-muted {
  color: var(--smt-muted);
}

.smt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.smt-card {
  padding: 26px;
  border: 1px solid var(--smt-border);
  border-radius: var(--smt-radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(36, 18, 58, 0.03);
  transition: transform .25s, box-shadow .25s;
}

.smt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--smt-shadow);
}

.smt-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff0df, #ffe4f3);
  font-size: 24px;
  margin-bottom: 23px;
}

.smt-card:nth-child(3n+2) .smt-icon {
  background: linear-gradient(135deg, #fff7c9, #ffe7d9);
}

.smt-card:nth-child(3n) .smt-icon {
  background: linear-gradient(135deg, #e6eaff, #f5e3ff);
}

.smt-card h3 {
  font-size: 20px;
  letter-spacing: -.03em;
  margin: 0 0 8px;
}

.smt-card p {
  font-size: 14px;
  color: var(--smt-muted);
  margin: 0 0 18px;
}

.smt-textlink {
  font-size: 13px;
  font-weight: 850;
  color: var(--smt-purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.smt-textlink:hover {
  text-decoration: underline;
}

.smt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.smt-visual-panel {
  min-height: 330px;
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffdfc0, #ffb8dc 42%, #c5b6ff 78%, #a8d8ff);
  overflow: hidden;
}

.smt-visual-panel .bigtype {
  font-size: clamp(40px, 5vw, 65px);
  font-weight: 950;
  letter-spacing: -.07em;
  line-height: .95;
  color: #22142e;
}

.smt-pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.smt-pill {
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 850;
  color: #22142e;
}

.smt-checklist {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.smt-checklist li {
  padding: 9px 0;
  color: #4d4658;
  display: flex;
  align-items: center;
}

.smt-checklist li:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin-right: 12px;
  background: #e9f9ed;
  color: #16843b;
  font-weight: 900;
  flex-shrink: 0;
}

.smt-project {
  padding: 0;
  overflow: hidden;
}

.smt-project-art {
  min-height: 190px;
  padding: 24px;
  display: flex;
  align-items: end;
  background: linear-gradient(135deg, #ffb477, #ff77b6 50%, #8c5aff);
  color: #fff;
}

.smt-project:nth-child(2) .smt-project-art {
  background: linear-gradient(135deg, #b9e6ff, #7188ff, #ad75ed);
}

.smt-project:nth-child(3) .smt-project-art {
  background: linear-gradient(135deg, #fff0a6, #ff9d6b, #ff5b8a);
}

.smt-project-art strong {
  font-size: 32px;
  line-height: 1;
  letter-spacing: -.06em;
}

.smt-project-body {
  padding: 23px;
}

.smt-project-body p {
  margin-bottom: 0;
}

.smt-process-num {
  font-size: 12px;
  font-weight: 900;
  color: var(--smt-pink);
  letter-spacing: .12em;
}

.smt-cta {
  padding: 64px;
  border-radius: 32px;
  background: var(--smt-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.smt-cta:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--smt-orange), var(--smt-pink), var(--smt-purple));
  filter: blur(28px);
  opacity: .55;
  right: -120px;
  top: -180px;
}

.smt-cta > * {
  position: relative;
  z-index: 1;
}

.smt-cta p {
  max-width: 620px;
  color: #d5cedf;
}

.smt-pagehero {
  padding: 82px 0 70px;
  background: radial-gradient(circle at 90% 15%, rgba(255, 214, 41, 0.3), transparent 25%),
              linear-gradient(135deg, #fff8f2, #fff 70%);
}

.smt-pagehero h1 {
  max-width: 850px;
  font-size: clamp(42px, 6vw, 68px);
}

.smt-pagehero p {
  max-width: 690px;
  font-size: 17px;
  color: var(--smt-muted);
}

.smt-contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
}

.smt-contact-box {
  padding: 28px;
  border: 1px solid var(--smt-border);
  border-radius: 24px;
  background: #fff;
}

.smt-form label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 7px;
}

.smt-form input,
.smt-form textarea,
.smt-form select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e7dfec;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #fff;
  transition: border-color .2s, outline .2s;
}

.smt-form textarea {
  min-height: 140px;
  resize: vertical;
}

.smt-form input:focus,
.smt-form textarea:focus,
.smt-form select:focus {
  outline: 2px solid #d9c5ff;
  border-color: var(--smt-purple);
}

.smt-form-note {
  font-size: 12px;
  color: var(--smt-muted);
}

.smt-footer {
  background: #171326;
  color: #fff;
  padding: 50px 0 24px;
}

.smt-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 35px;
}

.smt-footer p,
.smt-footer a {
  color: #c9c2d3;
  font-size: 13px;
}

.smt-footer h4 {
  margin: 0 0 13px;
  font-size: 15px;
  font-weight: 800;
}

.smt-footer-links {
  display: grid;
  gap: 8px;
}

.smt-footer-bottom {
  border-top: 1px solid #393344;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #b6adbf;
  font-size: 12px;
}

.smt-reveal {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease, transform .65s ease;
}

@keyframes smt-spin {
  to { transform: rotate(360deg); }
}

@keyframes smt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes smt-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .smt-hero-grid,
  .smt-split,
  .smt-contact-grid {
    grid-template-columns: 1fr;
  }
  .smt-hero {
    padding: 70px 0;
  }
  .smt-art {
    min-height: 370px;
  }
  .smt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .smt-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .smt-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .smt-cta {
    padding: 42px;
  }
}

@media (max-width: 680px) {
  .smt-wrap {
    width: min(100% - 30px, 1160px);
  }
  .smt-navrow {
    min-height: 72px;
  }
  .smt-toggle {
    display: block;
  }
  .smt-nav {
    display: none;
    position: absolute;
    left: 15px;
    right: 15px;
    top: calc(100% + 8px);
    padding: 16px;
    border: 1px solid var(--smt-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--smt-shadow);
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .smt-nav.is-open {
    display: flex;
  }
  .smt-nav a {
    padding: 12px 10px;
  }
  .smt-nav .smt-navcta {
    text-align: center;
    margin-top: 6px;
  }
  .smt-hero {
    padding: 55px 0 45px;
  }
  .smt-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }
  .smt-lead {
    font-size: 16px;
  }
  .smt-art {
    min-height: 330px;
  }
  .smt-orbit {
    width: 280px;
    height: 280px;
  }
  .smt-float.one {
    left: -2px;
    top: 40px;
  }
  .smt-float.two {
    right: -2px;
    bottom: 30px;
  }
  .smt-section {
    padding: 62px 0;
  }
  .smt-grid {
    grid-template-columns: 1fr;
  }
  .smt-pagehero {
    padding: 55px 0;
  }
  .smt-footer-grid {
    grid-template-columns: 1fr;
  }
  .smt-footer-grid > div:first-child {
    grid-column: auto;
  }
  .smt-footer-bottom {
    flex-direction: column;
  }
  .smt-cta {
    padding: 30px 23px;
  }
  .smt-visual-panel {
    min-height: 280px;
  }
}
