/*
Theme Name: SkulpIT
Theme URI: https://skulpit.ee
Author: SkulpIT
Description: SkulpIT landing page theme.
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600&display=swap");

:root {
  --background: #0f0f0f;
  --foreground: #f5f5f5;
  --card: rgba(255, 255, 255, 0.06);
  --primary: #2dd4bf;
  --border: rgba(255, 255, 255, 0.2);
  --muted: rgba(255, 255, 255, 0.12);
  --muted-foreground: rgba(255, 255, 255, 0.55);
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

p.slogan-text {
  margin-bottom: 0;
  margin-top: 0;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.container {
  width: 100%;
  max-width: 720px;
}

.logo-section {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.logo-wrap {
  position: relative;
  transition: transform 0.7s ease;
}

/*
.logo-wrap {
  display: inline-block;
  padding: 18px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 8px 30px rgba(0,0,0,0.45);
}
*/

.logo-wrap:hover {
  transform: scale(1.05);
}

.logo-img {
  width: 16rem;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)) brightness(1.05)
    contrast(0%);
  transition: filter 0.7s ease;
}

.logo-wrap:hover .logo-img {
  filter: drop-shadow(0 0 35px rgba(45, 212, 191, 0.7)) brightness(1.1)
    contrast(100%);
}

.logo-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1rem;
  height: 2px;
  overflow: hidden;
}

.logo-line-base {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
}

.logo-line-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 6rem;
  left: -10%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.6);
  animation: laser-sweep 4s cubic-bezier(0.2, 0, 0.2, 1) infinite;
}

.slogan {
  text-align: center;
  margin-bottom: 2rem;
}

.slogan-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0;
  margin-top: 0;
}

.slogan-line {
  height: 1px;
  width: 3rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
}

.slogan-line.small {
  width: 2rem;
}

.slogan-row .slogan-line:last-child {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent);
}

.slogan-text {
  font-size: 0.875rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  transition: color 0.7s ease, text-shadow 0.7s ease;
  cursor: default;
}

.slogan:hover .slogan-text {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
}

.services {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.5s ease;
  cursor: default;
  animation: tag-fade 1s ease both;
}

.service-tag:hover {
  border-color: var(--primary);
  background: rgba(45, 212, 191, 0.1);
  box-shadow: 0 0 25px rgba(45, 212, 191, 0.4);
  transform: scale(1.05);
}

.service-icon {
  display: inline-flex;
  color: var(--muted-foreground);
  transition: transform 0.5s ease, color 0.5s ease;
}

.service-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-tag:hover .service-icon {
  color: var(--primary);
  transform: rotate(12deg) scale(1.1);
}

.service-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.5s ease;
}

.service-tag:hover .service-label {
  color: var(--primary);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.divider-line {
  height: 1px;
  width: 4rem;
  background: linear-gradient(90deg, transparent, var(--border));
}

.divider-line:last-child {
  background: linear-gradient(90deg, var(--border), transparent);
}

.divider-diamond {
  width: 0.5rem;
  height: 0.5rem;
  transform: rotate(45deg);
  border: 1px solid rgba(45, 212, 191, 0.5);
  background: rgba(45, 212, 191, 0.2);
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.5s ease;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.5s ease;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted-foreground);
  transition: transform 0.5s ease, color 0.5s ease;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--foreground);
  transition: color 0.5s ease, transform 0.5s ease;
}

.contact-item:hover .contact-icon {
  border-color: var(--primary);
  background: rgba(45, 212, 191, 0.2);
  box-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
  transform: scale(1.1);
}

.contact-item:hover .contact-icon svg {
  color: var(--primary);
  transform: scale(1.1);
}

.contact-item:hover .contact-value {
  color: var(--primary);
  transform: translateX(4px);
}

.footer {
  margin-top: 4rem;
  text-align: center;
}

.footer-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.corner {
  position: fixed;
  width: 4rem;
  height: 4rem;
  border-color: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.corner-top-left {
  top: 1.5rem;
  left: 1.5rem;
  border-top: 1px solid;
  border-left: 1px solid;
}

.corner-top-right {
  top: 1.5rem;
  right: 1.5rem;
  border-top: 1px solid;
  border-right: 1px solid;
}

.corner-bottom-left {
  bottom: 1.5rem;
  left: 1.5rem;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.corner-bottom-right {
  bottom: 1.5rem;
  right: 1.5rem;
  border-bottom: 1px solid;
  border-right: 1px solid;
}

.interaction-hint {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

@keyframes laser-sweep {
  0% {
    left: -10%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    left: 60%;
    opacity: 0;
  }
}

@keyframes tag-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .logo-img {
    width: 20rem;
  }

  .slogan-text {
    font-size: 1rem;
  }

  .slogan-line {
    width: 5rem;
  }

  .slogan-line.small {
    width: 4rem;
  }
}

@media (max-width: 540px) {
  .interaction-hint {
    width: 80%;
    text-align: center;
  }
}
