* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, sans-serif;
  background: #030712;
  color: white;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 140, 255, 0.25), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(168, 85, 247, 0.25), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(14, 165, 233, 0.18), transparent 35%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent);
  z-index: -1;
}

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

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.65);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span {
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 15px;
  color: #cfd6ff;
}

.nav-links a {
  transition: 0.25s;
}

.nav-links a:hover {
  color: #38bdf8;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.8);
}

.nav-btn,
.primary {
  background: linear-gradient(135deg, #38bdf8, #6366f1, #a855f7);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.45);
}

.nav-btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
}

.hero {
  min-height: 100vh;
  max-width: 1200px;
  margin: auto;
  padding: 150px 22px 80px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tag,
.section-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: #7dd3fc;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  font-size: clamp(46px, 8vw, 86px);
  line-height: 0.9;
  margin-bottom: 26px;
  letter-spacing: -4px;
}

.hero h1 {
  background: linear-gradient(135deg, #ffffff, #bfdbfe, #93c5fd);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 650px;
  font-size: 20px;
  line-height: 1.8;
  color: #c7d2fe;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  padding: 16px 26px;
  border-radius: 18px;
  font-weight: 900;
  transition: 0.25s;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.secondary {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
}

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

.stats div,
.card,
.pricing-box,
.step,
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 28px;
  backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}

.stats div {
  padding: 20px;
}

.stats h3 {
  font-size: 25px;
}

.stats p {
  color: #aeb9e8;
  font-size: 14px;
  margin-top: 6px;
}

.hero-card {
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
  filter: blur(35px);
  opacity: 0.55;
  animation: floatGlow 6s ease-in-out infinite;
}

.hero-card::after {
  content: "TRISTAN";
  position: absolute;
  bottom: 30px;
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 8px;
  color: rgba(255,255,255,0.05);
}

.profile-placeholder {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 390px;
  border-radius: 34px;
  border: 2px dashed rgba(255,255,255,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  text-align: center;
  padding: 20px;
  background: rgba(3,7,18,0.35);
}

.section {
  max-width: 1200px;
  margin: auto;
  padding: 100px 22px;
}

.section h2,
.contact h2 {
  font-size: clamp(36px, 5vw, 62px);
  margin-bottom: 38px;
  letter-spacing: -3px;
}

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

.card,
.step,
.pricing-box {
  padding: 30px;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}

.card::before,
.step::before,
.pricing-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(56,189,248,0.18), transparent);
  opacity: 0;
  transition: 0.35s;
}

.card:hover::before,
.step:hover::before,
.pricing-box:hover::before {
  opacity: 1;
}

.card:hover,
.step:hover,
.pricing-box:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(56,189,248,0.55);
  box-shadow: 0 35px 90px rgba(56,189,248,0.16);
}

.card h3,
.step h3,
.pricing-box h3 {
  font-size: 23px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.card p,
.step p,
.pricing-box p,
.contact p {
  color: #b8c2ef;
  line-height: 1.75;
  position: relative;
  z-index: 2;
}

.pricing-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-section .section-tag,
.pricing-section h2 {
  grid-column: 1 / -1;
}

.price {
  font-size: 42px;
  font-weight: 950;
  margin: 18px 0;
  background: linear-gradient(135deg, #7dd3fc, #c4b5fd);
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
  z-index: 2;
}

.featured {
  border-color: rgba(125, 211, 252, 0.55);
}

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

.step span {
  display: inline-block;
  color: #38bdf8;
  font-weight: 950;
  margin-bottom: 18px;
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.contact {
  max-width: 1200px;
  margin: 60px auto;
  padding: 70px 22px;
}

.contact-content {
  padding: 55px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.32), transparent 42%),
    radial-gradient(circle at bottom right, rgba(168,85,247,0.34), transparent 42%),
    rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow: 0 40px 100px rgba(0,0,0,0.38);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.contact-info a {
  padding: 16px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  font-weight: 900;
  transition: 0.25s;
}

.contact-info a:hover {
  background: rgba(56,189,248,0.18);
  transform: translateY(-4px);
}

footer {
  text-align: center;
  padding: 30px;
  color: #8f9ac8;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(45px) scale(0.96);
  transition: 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(-25px) translateX(-20px) scale(1);
  }
  50% {
    transform: translateY(25px) translateX(25px) scale(1.12);
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-btn {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 125px;
  }

  .cards,
  .pricing-section,
  .steps {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 390px;
  }

  .profile-placeholder {
    height: 290px;
  }

  .contact-content {
    padding: 34px;
  }
}
.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 153, 255, 0.38), transparent 30%),
    radial-gradient(circle at 80% 25%, rgba(168, 85, 247, 0.36), transparent 32%),
    radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.22), transparent 36%),
    #020617;
}

.animated-bg::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 180deg, transparent, rgba(56, 189, 248, 0.18), transparent, rgba(168, 85, 247, 0.22), transparent);
  animation: spinBg 18s linear infinite;
  filter: blur(25px);
}

.animated-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.85)),
    radial-gradient(circle at center, transparent 20%, rgba(2, 6, 23, 0.75) 78%);
}

.blob {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 40% 60% 55% 45%;
  filter: blur(20px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: blobMove 9s ease-in-out infinite;
}

.blob1 {
  background: #00d5ff;
  top: 10%;
  left: 8%;
}

.blob2 {
  background: #8b5cf6;
  top: 18%;
  right: 8%;
  animation-delay: 2s;
}

.blob3 {
  background: #ec4899;
  bottom: 5%;
  left: 25%;
  animation-delay: 4s;
}

.blob4 {
  background: #2563eb;
  bottom: 12%;
  right: 18%;
  animation-delay: 6s;
}

.laser {
  position: absolute;
  width: 520px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
  box-shadow: 0 0 28px #38bdf8;
  opacity: 0.55;
  transform: rotate(-18deg);
  animation: laserMove 6s linear infinite;
}

.laser {
  position: absolute;
  width: 540px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, #a855f7, transparent);
  box-shadow: 0 0 28px #38bdf8;
  opacity: 0.55;
}

.laser-left {
  left: -600px;
  transform: rotate(-18deg);
  animation: laserMoveLeft 6s linear infinite;
}

.laser-right {
  right: -600px;
  transform: rotate(18deg);
  animation: laserMoveRight 6s linear infinite;
}

.laser1 { top: 18%; }
.laser2 { top: 52%; animation-delay: 2s; }
.laser3 { top: 82%; animation-delay: 4s; }

.laser4 { top: 28%; animation-delay: 1s; }
.laser5 { top: 63%; animation-delay: 3s; }
.laser6 { top: 72%; animation-delay: 5s; }

@keyframes laserMoveLeft {
  0% {
    transform: translateX(0) rotate(-18deg);
    opacity: 0;
  }
  20% { opacity: 0.75; }
  100% {
    transform: translateX(170vw) rotate(-18deg);
    opacity: 0;
  }
}

@keyframes laserMoveRight {
  0% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  20% { opacity: 0.75; }
  100% {
    transform: translateX(-170vw) rotate(18deg);
    opacity: 0;
  }
}
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background:
    radial-gradient(circle at 30% 30%, rgba(56,189,248,0.25), transparent 35%),
    radial-gradient(circle at 70% 70%, rgba(168,85,247,0.25), transparent 35%),
    #020617;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -1px;
  margin-bottom: 18px;
  animation: loaderPulse 1.1s ease-in-out infinite;
}

.loader-logo span {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  -webkit-background-clip: text;
  color: transparent;
}

.loader-line {
  width: 230px;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  position: relative;
}

.loader-line::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, #38bdf8, #a855f7);
  box-shadow: 0 0 25px rgba(56,189,248,0.8);
  animation: loaderMove 1s ease-in-out infinite;
}

.loader p {
  margin-top: 16px;
  color: #c7d2fe;
  font-weight: 700;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes loaderMove {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}
.hero-image{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    height:520px;
}

.my-photo{
    width:100%;
    max-width:420px;
    display:block;
    margin:0 auto;
    object-fit:contain;
    filter:drop-shadow(0 0 35px rgba(77,140,255,.55));
}

.photo-card{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    padding:30px 20px 0;
    background:
      radial-gradient(circle at 50% 45%, rgba(92,95,255,.55), transparent 45%),
      linear-gradient(135deg, rgba(20,40,80,.85), rgba(90,30,120,.55));
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 25px 70px rgba(0,0,0,.45);
}

.photo-card::after{
    content:"TRISTAN";
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    font-size:54px;
    font-weight:900;
    letter-spacing:12px;
    color:rgba(255,255,255,.08);
    z-index:0;
}

.photo-card img{
    position:relative;
    z-index:2;
}
.profile-placeholder{
  display:none !important;
}

.clean-photo-card{
  position:relative;
  border-radius:34px;
  padding:25px 20px 0;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(79, 116, 255, .55), transparent 45%),
    linear-gradient(135deg, rgba(10, 25, 65, .95), rgba(91, 35, 145, .75));
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 25px 80px rgba(0,0,0,.55);
}

.clean-photo-card::after{
  content:"TRISTAN";
  position:absolute;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  font-size:56px;
  font-weight:900;
  letter-spacing:12px;
  color:rgba(255,255,255,.08);
  z-index:1;
}

.my-photo{
  position:relative;
  z-index:2;
  width:100%;
  max-width:420px;
  display:block;
  margin:0 auto;
  object-fit:contain;
  filter:drop-shadow(0 0 35px rgba(77,140,255,.5));
}
.contact-form{
  display:grid;
  gap:14px;
  margin-top:28px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.08);
  color:white;
  outline:none;
}

.contact-form textarea{
  min-height:140px;
  resize:none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color:rgba(255,255,255,.55);
}

.contact-form button{
  padding:16px;
  border:none;
  border-radius:18px;
  background:#4d8cff;
  color:white;
  font-weight:800;
}
/* === HINNAD LÕPLIK FIX === */

.price-section{
  display:block !important;
  max-width:1200px !important;
  margin:0 auto !important;
  padding:100px 22px !important;
}

.price-section h2,
.price-section .section-tag{
  text-align:center !important;
}

.price-cards{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:24px !important;
  margin-top:45px !important;
}

.price-card{
  padding:30px !important;
  border-radius:28px !important;
  background:linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05)) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:0 28px 80px rgba(0,0,0,.35) !important;
}

.price-card .price{
  font-size:42px !important;
  font-weight:950 !important;
  margin:18px 0 !important;
}

@media(max-width:900px){
  .price-cards{
    grid-template-columns:1fr !important;
  }
}
@keyframes logoGlow{

0%,100%{

text-shadow:
0 0 8px rgba(77,140,255,.25),
0 0 18px rgba(139,92,246,.18);

}

50%{

text-shadow:
0 0 15px #4d8cff,
0 0 30px #4d8cff,
0 0 55px #8b5cf6;

}

}
.logo span{

color:#4d8cff;

text-shadow:
0 0 12px #4d8cff,
0 0 30px #8b5cf6;

}
#topBtn{
position:fixed;
bottom:35px;
right:35px;

width:58px;
height:58px;

border:none;
border-radius:50%;

font-size:24px;
font-weight:bold;

background:linear-gradient(135deg,#4d8cff,#8b5cf6);
color:white;

cursor:pointer;

opacity:0;
pointer-events:none;

transition:.35s;

box-shadow:0 0 35px rgba(77,140,255,.45);

z-index:999;
}

#topBtn.show{
opacity:1;
pointer-events:auto;
}

#topBtn:hover{
transform:translateY(-5px) scale(1.08);

box-shadow:
0 0 45px #4d8cff,
0 0 70px #8b5cf6;
}
.cursor-glow{
    position:fixed;
    width:220px;
    height:220px;
    border-radius:50%;
    background:radial-gradient(circle,
    rgba(77,140,255,.28),
    rgba(139,92,246,.18),
    transparent 70%);
    pointer-events:none;
    transform:translate(-50%,-50%);
    z-index:9999;
    filter:blur(35px);
    transition:
    left .05s linear,
    top .05s linear;
}