/*!
Theme Name: Integrity IT Solutions
Theme URI: https://qgn.5ed.myftpupload.com
Author: Integrity IT Solutions
Author URI: https://qgn.5ed.myftpupload.com
Description: Custom theme for Integrity IT Solutions
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: integrity-theme
*/

:root {
  --bg: #0c1221;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --text: #e7edf7;
  --muted: #a7b3c7;
  --accent: #4cc3ff;
  --accent-2: #74f0c4;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(76, 195, 255, 0.08), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(116, 240, 196, 0.08), transparent 30%),
              radial-gradient(circle at 50% 80%, rgba(76, 195, 255, 0.06), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated background orbs */
@keyframes float-1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, 40px); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 50px); }
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
  top: 0;
  left: 0;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 195, 255, 0.25) 0%, transparent 70%);
  top: -100px;
  left: 5%;
  animation: float-1 8s ease-in-out infinite;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(116, 240, 196, 0.20) 0%, transparent 70%);
  top: 40%;
  right: 5%;
  animation: float-2 10s ease-in-out infinite;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(76, 195, 255, 0.15) 0%, transparent 70%);
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: float-3 12s ease-in-out infinite;
}

/* Running character animation - right to left */
.running-character-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 80px;
  z-index: 5;
  pointer-events: none;
}

.running-character {
  position: absolute;
  bottom: 20px;
  left: 100vw;
  font-size: 2rem;
  animation: run 10s linear infinite;
}

.character-body {
  animation: bodyWalk 0.6s ease-in-out infinite;
}

.leg {
  position: absolute;
  width: 3px;
  height: 20px;
  background: #4cc3ff;
  border-radius: 2px;
  bottom: 0;
  left: 8px;
}

.leg-left {
  animation: legWalkLeft 0.6s ease-in-out infinite;
  transform-origin: top center;
}

.leg-right {
  animation: legWalkRight 0.6s ease-in-out infinite;
  transform-origin: top center;
  left: 14px;
}

.running-sign {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(76, 195, 255, 0.15);
  border: 2px solid #4cc3ff;
  border-radius: 12px;
  padding: 12px 24px;
  color: #e7edf7;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  animation: showSign 10s linear infinite;
  backdrop-filter: blur(8px);
}

@keyframes run {
  0% {
    left: 100vw;
  }
  40% {
    left: calc(50vw - 1rem);
  }
  50% {
    left: calc(50vw - 1rem);
  }
  90% {
    left: calc(50vw - 1rem);
  }
  100% {
    left: -100px;
  }
}

@keyframes showSign {
  0% {
    opacity: 0;
  }
  35% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  60% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes bounce {
  0%, 100% {
    bottom: 20px;
  }
  50% {
    bottom: 40px;
  }

}

@keyframes bodyWalk {
  0%, 100% {
    transform: translateY(0) rotateZ(0deg);
  }
  25% {
    transform: translateY(-3px) rotateZ(2deg);
  }
  50% {
    transform: translateY(0) rotateZ(0deg);
  }
  75% {
    transform: translateY(-3px) rotateZ(-2deg);
  }
}

@keyframes legWalkLeft {
  0%, 100% {
    transform: rotateZ(0deg);
  }
  25% {
    transform: rotateZ(45deg);
  }
  50% {
    transform: rotateZ(-10deg);
  }
  75% {
    transform: rotateZ(-45deg);
  }
}

@keyframes legWalkRight {
  0%, 100% {
    transform: rotateZ(0deg);
  }
  25% {
    transform: rotateZ(45deg);
  }
  50% {
    transform: rotateZ(-45deg);
  }
  75% {
    transform: rotateZ(-10deg);
  }
}

  padding-bottom: 64px;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 54px;
  backdrop-filter: blur(16px);
  background: rgba(12, 18, 33, 0.8);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1rem;
}

.brand img {
  height: 60px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--text);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 1.1rem;
}

.nav a { padding: 10px 12px; border-radius: 10px; transition: background 0.2s; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); }

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, 
    #0d1528 0%, 
    #0c1221 50%,
    #0a0e1a 100%);
}

/* Datacenter floor at bottom */
.datacenter-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  perspective: 800px;
  opacity: 0.7;
}

.server-row {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg,
    rgba(26, 35, 50, 0.4) 0%,
    rgba(15, 21, 32, 0.6) 100%);
  border-top: 1px solid rgba(76, 195, 255, 0.3);
  transform: rotateX(60deg);
  transform-origin: bottom center;
}

.server-light {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  bottom: 20px;
  animation: floorBlink 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--accent);
}

@keyframes floorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Data streams rising from datacenter to cloud */
.data-stream-vertical {
  position: absolute;
  width: 2px;
  bottom: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--accent) 20%,
    var(--accent-2) 50%,
    var(--accent) 80%,
    transparent 100%);
  animation: streamRise 6s ease-in infinite;
  z-index: 2;
  filter: blur(1px);
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
}

@keyframes streamRise {
  0% {
    height: 0;
    opacity: 0;
    bottom: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    height: 100vh;
    opacity: 0;
    bottom: 0;
  }
}

/* Data particles ascending */
.rising-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent-2);
  border-radius: 50%;
  bottom: 0;
  opacity: 0;
  animation: particleAscend 8s ease-out infinite;
  z-index: 3;
  box-shadow: 0 0 12px var(--accent-2);
}

@keyframes particleAscend {
  0% {
    bottom: 0;
    opacity: 0;
    transform: scale(0.5);
  }
  10% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: scale(0.3);
  }
}

/* Cloud layer at top */
.cloud-layer-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  z-index: 4;
  pointer-events: none;
}

.cloud-formation {
  position: absolute;
  background: radial-gradient(ellipse,
    rgba(76, 195, 255, 0.3) 0%,
    rgba(116, 240, 196, 0.15) 40%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: cloudFloat 12s ease-in-out infinite;
}

.cloud-formation:nth-child(1) {
  width: 400px;
  height: 200px;
  top: 20px;
  left: 10%;
  animation-delay: 0s;
}

.cloud-formation:nth-child(2) {
  width: 500px;
  height: 250px;
  top: 0;
  right: 15%;
  animation-delay: 3s;
}

.cloud-formation:nth-child(3) {
  width: 350px;
  height: 180px;
  top: 40px;
  left: 45%;
  animation-delay: 6s;
}

@keyframes cloudFloat {
  0%, 100% {
    transform: translateX(0) translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateX(30px) translateY(-10px);
    opacity: 1;
  }
}

/* Upload indicators */
.upload-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid var(--accent);
  bottom: 150px;
  opacity: 0;
  animation: arrowPulse 4s ease-in-out infinite;
  z-index: 5;
  filter: drop-shadow(0 0 10px var(--accent));
}

@keyframes arrowPulse {
  0%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-30px);
  }
}

/* Data transfer beams */
.transfer-beam {
  position: absolute;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg,
    var(--accent) 0%,
    var(--accent-2) 50%,
    transparent 100%);
  bottom: 180px;
  animation: beamGrow 5s ease-in-out infinite;
  z-index: 2;
  filter: blur(2px);
  box-shadow: 0 0 20px var(--accent);
  opacity: 0;
}

@keyframes beamGrow {
  0%, 100% {
    height: 0;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  50% {
    height: 70vh;
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
}

/* Binary code raining down from cloud */
.binary-digit {
  position: absolute;
  top: 0;
  color: var(--accent);
  font-size: 14px;
  font-family: monospace;
  opacity: 0;
  animation: binaryFall 10s linear infinite;
  z-index: 6;
}

@keyframes binaryFall {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 60px;
  display: grid;
  gap: 24px;
}
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin: 24px 0;
  font-weight: 700;
}

.hero p.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 0 0 16px 0;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--line);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.full {
  width: 100%;
}

.badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--card-strong);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 80px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 16px 0;
}

.section__header p.muted {
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--accent);
  background: var(--card-strong);
}

.card h3 {
  font-size: 1.3rem;
  margin: 0 0 16px 0;
}

.flip-card {
  perspective: 1000px;
  padding: 0;
  height: 100%;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  min-height: 400px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
}

.flip-card-back h3 {
  color: var(--bg);
}

.flip-card-back p, .flip-card-back li {
  color: rgba(12, 18, 33, 0.9);
}

.flip-card-back ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.flip-card-back li {
  margin: 8px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section__content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 16px 0;
}

.list {
  margin-top: 32px;
}

.list__item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.list__item h4 {
  margin: 0 0 8px 0;
  font-size: 1.1rem;
}

.list__item p {
  margin: 0;
  color: var(--muted);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.panel__callout {
  margin-bottom: 40px;
}

.panel__callout h3 {
  font-size: 1.5rem;
  margin: 16px 0;
}

.panel__meta {
  display: grid;
  gap: 24px;
}

.panel__meta > div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.pillar h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.pillar p {
  color: var(--muted);
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-row {
  display: flex;
  gap: 12px;
}

.form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form input:focus {
  outline: none;
  border-color: var(--accent);
}

.form__hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.contact {
  text-align: center;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.contact__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.contact__card h3 {
  margin-top: 0;
}

.contact__card a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

.contact__card a:hover {
  color: var(--accent-2);
}

.site-footer {
  background: rgba(12, 18, 33, 0.6);
  border-top: 1px solid var(--line);
  padding: 40px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer__links a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 350px;
  backdrop-filter: blur(16px);
  z-index: 100;
}

.cookie-text {
  text-align: left;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.cookie-text strong {
  display: block;
  margin-bottom: 8px;
}

.cookie-text span {
  color: var(--muted);
}

@media (max-width: 768px) {
  .site-header {
    padding: 8px 12px;
    flex-direction: row;
    gap: 0;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand img {
    height: 40px;
  }

  .brand-text {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    font-size: 0.8rem;
  }

  .nav a {
    padding: 6px 8px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 0;
  }

  .hero__content {
    padding: 80px 24px;
    max-width: 100%;
  }

  .eyebrow {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lede {
    font-size: 1rem;
  }

  /* Mobile animation adjustments */
  .datacenter-floor {
    height: 120px;
    opacity: 0.5;
  }

  .server-light {
    width: 2px;
    height: 2px;
    bottom: 15px;
  }

  .data-stream-vertical {
    width: 1px;
    opacity: 0;
  }

  .rising-particle {
    width: 3px;
    height: 3px;
    opacity: 0;
  }

  .transfer-beam {
    width: 2px;
    opacity: 0;
  }

  .upload-arrow {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid var(--accent);
    bottom: 100px;
  }

  .cloud-formation {
    filter: blur(30px);
  }

  .cloud-formation:nth-child(1) {
    width: 250px;
    height: 120px;
  }

  .cloud-formation:nth-child(2) {
    width: 280px;
    height: 140px;
  }

  .cloud-formation:nth-child(3) {
    width: 220px;
    height: 110px;
  }

  .binary-digit {
    font-size: 12px;
  }

  .section {
    padding: 40px 20px;
  }

  .section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .input-row {
    flex-direction: column;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .list {
    gap: 20px;
  }
}
