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

:root {
  --purple: #8C51A6;
  --teal: #448AA6;
  --cyan: #35F2DF;
  --green: #03A688;
  --bright-green: #5CF266;
  --dark: #1a1a2e;
  --darker: #0f0f1a;
  --card-bg: rgba(255,255,255,0.035);
  --light: #f0f0f5;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--light);
  background: var(--darker);
  overflow-x: hidden;
  line-height: 1.75;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--bright-green));
}

.highlight {
  color: var(--cyan);
}

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

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

.floating {
  animation: float 4.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--cyan), var(--bright-green), var(--purple), var(--cyan));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 24px rgba(53,242,223,0.18); }
  50% { box-shadow: 0 0 48px rgba(53,242,223,0.42); }
}

@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(-100vh) translateX(40px); opacity: 0; }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(13, 13, 26, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 2px 32px rgba(0,0,0,0.35);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  letter-spacing: 0.3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--bright-green));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@keyframes orb-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1;   }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(140,81,166,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(53,242,223,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(3,166,136,0.04) 0%, transparent 60%),
    var(--darker);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,81,166,0.22), transparent 65%);
  pointer-events: none;
  animation: orb-pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -6%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53,242,223,0.14), transparent 65%);
  pointer-events: none;
  animation: orb-pulse 10s ease-in-out infinite reverse;
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(3,166,136,0.07), transparent 68%);
  pointer-events: none;
  animation: orb-pulse 12s ease-in-out infinite 2s;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-text .subtitle {
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-text .subtitle::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--cyan);
  display: inline-block;
}

.hero-text h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 22px;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 1.05rem;
  color: rgba(240,240,245,0.68);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-image {
  flex: 0 0 380px;
  position: relative;
}

.hero-image .img-wrapper {
  width: 340px;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
  border: 1.5px solid rgba(53,242,223,0.18);
  animation: pulse-glow 3.5s ease-in-out infinite;
}

.hero-image .img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image .decor-circle {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  top: -18px;
  right: -18px;
  opacity: 0.25;
  animation: float 5.5s ease-in-out infinite;
}

.hero-image .decor-dots {
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(var(--purple) 1.5px, transparent 1.5px);
  background-size: 11px 11px;
  opacity: 0.35;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.35s ease;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: var(--white);
  box-shadow: 0 6px 28px rgba(3,166,136,0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(3,166,136,0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid rgba(53,242,223,0.5);
}

.btn-outline:hover {
  background: rgba(53,242,223,0.08);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-3px);
}

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.book-section {
  padding: 110px 0;
  position: relative;
}

.book-section .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.book-cover {
  flex: 0 0 320px;
  position: relative;
}

.book-cover img {
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.45);
  transition: transform 0.5s ease;
  display: block;
}

.book-cover:hover img {
  transform: rotate(-2deg) scale(1.03);
}

.book-cover .book-glow {
  position: absolute;
  inset: -24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(140,81,166,0.18), rgba(53,242,223,0.12));
  z-index: -1;
  filter: blur(24px);
}

.book-info {
  flex: 1;
}

.book-info h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.28;
  letter-spacing: -0.3px;
}

.book-info p {
  color: rgba(240,240,245,0.65);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.book-quote {
  font-style: italic;
  color: rgba(240,240,245,0.9);
  font-size: 1.1rem;
  border-left: 3px solid var(--cyan);
  padding: 14px 20px;
  margin: 28px 0;
  background: rgba(53,242,223,0.04);
  border-radius: 0 10px 10px 0;
  line-height: 1.7;
}

.invitations {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--darker) 0%, rgba(20,20,38,0.6) 50%, var(--darker) 100%);
  position: relative;
}

.invitations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53,242,223,0.15), transparent);
}

.invitations::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53,242,223,0.15), transparent);
}

.invitations .section-header {
  text-align: center;
  margin-bottom: 56px;
}

.invitations .section-header .section-title {
  display: block;
  text-align: center;
}

.invitations .section-header .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.book-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(240,240,245,0.45);
  letter-spacing: 0.2px;
}

.book-soon svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.book-soon--dark {
  color: rgba(240,240,245,0.4);
  display: block;
  margin-top: 16px;
}

.invitations .section-header p {
  color: rgba(240,240,245,0.55);
  max-width: 520px;
  margin: 20px auto 0;
  font-size: 1rem;
}

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

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 22px;
  padding: 40px 28px 32px;
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--bright-green));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(53,242,223,0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(53,242,223,0.12);
  box-shadow: 0 24px 64px rgba(0,0,0,0.32);
}

.card:hover::before,
.card:hover::after {
  opacity: 1;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s ease;
}

.card:hover .card-icon {
  transform: scale(1.08);
}

.card:nth-child(1) .card-icon {
  background: linear-gradient(135deg, rgba(140,81,166,0.2), rgba(140,81,166,0.04));
  color: #c27ee0;
}

.card:nth-child(2) .card-icon {
  background: linear-gradient(135deg, rgba(68,138,166,0.2), rgba(68,138,166,0.04));
  color: #74c0e0;
}

.card:nth-child(3) .card-icon {
  background: linear-gradient(135deg, rgba(3,166,136,0.2), rgba(3,166,136,0.04));
  color: #2addb5;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.card p {
  color: rgba(240,240,245,0.55);
  font-size: 0.92rem;
  line-height: 1.75;
}

.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cyan);
  transition: gap 0.3s ease, opacity 0.3s ease;
  letter-spacing: 0.2px;
}

.card:hover .card-link {
  gap: 13px;
}

.about {
  padding: 110px 0;
  position: relative;
}

.about .container {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.about-image {
  flex: 0 0 360px;
  position: relative;
}

.about-image .img-frame {
  border-radius: 22px;
  overflow: hidden;
}

.about-image .img-frame img {
  width: 100%;
  display: block;
}

.about-image .frame-border {
  position: absolute;
  inset: -8px;
  border: 1.5px solid rgba(53,242,223,0.12);
  border-radius: 28px;
  pointer-events: none;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.about-content p {
  color: rgba(240,240,245,0.65);
  font-size: 0.98rem;
  margin-bottom: 14px;
  line-height: 1.8;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.about-tags span {
  padding: 7px 17px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(240,240,245,0.6);
  transition: all 0.3s ease;
  cursor: default;
}

.about-tags span:hover {
  border-color: rgba(53,242,223,0.4);
  color: var(--cyan);
  background: rgba(53,242,223,0.05);
}

.book-gallery {
  padding: 80px 0 100px;
}

.book-gallery .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.055);
  transition: all 0.45s ease;
  cursor: pointer;
  background: var(--card-bg);
}

.gallery-item:hover {
  transform: scale(1.025);
  box-shadow: 0 20px 56px rgba(0,0,0,0.4);
  border-color: rgba(53,242,223,0.18);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.contact {
  padding: 100px 0 90px;
  text-align: center;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53,242,223,0.18), transparent);
}

.contact h2 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  letter-spacing: -0.8px;
  font-weight: 800;
}

.contact .contact-desc {
  color: rgba(240,240,245,0.55);
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.8;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cyan);
  padding: 18px 40px;
  border-radius: 60px;
  background: rgba(53,242,223,0.055);
  border: 1px solid rgba(53,242,223,0.15);
  transition: all 0.38s ease;
}

.contact-email:hover {
  background: rgba(53,242,223,0.1);
  border-color: rgba(53,242,223,0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(53,242,223,0.12);
}

.contact-email svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer {
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
  color: rgba(240,240,245,0.3);
  font-size: 0.88rem;
  letter-spacing: 0.2px;
}

.footer a {
  color: rgba(53,242,223,0.7);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--cyan);
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0;
  animation: particle-drift linear infinite;
}

.particle:nth-child(1)  { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2)  { left: 25%; animation-duration: 16s; animation-delay: 2s;  background: var(--purple); }
.particle:nth-child(3)  { left: 40%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4)  { left: 55%; animation-duration: 14s; animation-delay: 1s;  background: var(--bright-green); }
.particle:nth-child(5)  { left: 70%; animation-duration: 18s; animation-delay: 3s; }
.particle:nth-child(6)  { left: 85%; animation-duration: 11s; animation-delay: 5s;  background: var(--purple); }
.particle:nth-child(7)  { left: 15%; animation-duration: 15s; animation-delay: 6s;  background: var(--bright-green); }
.particle:nth-child(8)  { left: 60%; animation-duration: 13s; animation-delay: 7s; }
.particle:nth-child(9)  { left: 90%; animation-duration: 17s; animation-delay: 8s;  background: var(--green); }
.particle:nth-child(10) { left: 35%; animation-duration: 19s; animation-delay: 9s; }

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero-text .subtitle {
    justify-content: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-image {
    flex: none;
  }

  .hero-image .img-wrapper {
    width: 280px;
    height: 340px;
    margin: 0 auto;
  }

  .btn-group {
    justify-content: center;
  }

  .book-section .container {
    flex-direction: column;
    text-align: center;
  }

  .book-cover {
    flex: none;
    max-width: 280px;
    margin: 0 auto;
  }

  .book-quote {
    text-align: left;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    flex: none;
    max-width: 300px;
    margin: 0 auto;
  }

  .about-tags {
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(13,13,26,0.98);
    backdrop-filter: blur(20px);
    gap: 30px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .contact h2 {
    font-size: 1.9rem;
  }

  .contact-email {
    font-size: 0.9rem;
    padding: 14px 26px;
    gap: 10px;
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.88rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .card {
    padding: 32px 22px 26px;
  }
}
