:root {
  color-scheme: dark;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --glass: rgba(0, 0, 0, 0.48);
  --glass-strong: rgba(0, 0, 0, 0.72);
  --stroke: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #000000;
  color: var(--ink);
  overflow-x: hidden;
}

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

.hero {
  position: relative;
  isolation: isolate;
  width: 100vw;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.025) 28%, transparent 65%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.92) 0%, rgba(0, 0, 0, 0.9) 52%, #000000 100%),
    #000000;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  display: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  height: 38vh;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.82) 92%);
}

#globeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#globeCanvas {
  z-index: 2;
  cursor: grab;
  touch-action: none;
}

#globeCanvas:active {
  cursor: grabbing;
}

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 9999;
  display: flex;
  gap: clamp(2px, 0.5vw, 6px);
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(150%);
  transform: translateX(-50%);
  animation: navFloatIn 950ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nav a {
  position: relative;
  min-width: 56px;
  padding: 9px 14px;
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
  border-radius: 999px;
  transition:
    color 220ms ease,
    transform 220ms ease;
  z-index: 2;
}

.nav::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
  border-radius: 999px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  opacity: 0;
}

.nav.has-active::before {
  opacity: 1;
  left: var(--pill-left, 0);
  width: var(--pill-width, 0);
}

.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
  outline: none;
  transform: translateY(-1px);
}

.nav a[aria-current="page"] {
  color: #ffffff;
}

.headline-wrap {
  position: absolute;
  top: clamp(104px, 14vh, 136px);
  left: clamp(22px, 5.3vw, 78px);
  z-index: 4;
  width: min(940px, calc(100vw - 44px));
  pointer-events: none;
}

.headline {
  max-width: 12.5ch;
  margin: 0;
  font-size: clamp(3.3rem, 6.6vw, 6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.72));
  animation: headlineMorph 1400ms cubic-bezier(0.19, 1, 0.22, 1) 180ms both;
}

.headline::after {
  display: block;
  width: min(220px, 54vw);
  height: 2px;
  margin-top: 24px;
  content: "";
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.32), transparent);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.32);
  transform-origin: left center;
  animation: lineGrow 1200ms cubic-bezier(0.19, 1, 0.22, 1) 780ms both;
}

.hero-actions {
  position: absolute;
  right: clamp(22px, 6vw, 96px);
  bottom: clamp(34px, 7vh, 72px);
  z-index: 6;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-end;
  animation: actionsIn 1100ms cubic-bezier(0.19, 1, 0.22, 1) 700ms both;
}

.action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transition:
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.action::before {
  position: absolute;
  inset: -120% -40%;
  content: "";
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.44) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-36%);
  transition:
    opacity 260ms ease,
    transform 620ms ease;
}

.action:hover,
.action:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    0 20px 58px rgba(0, 0, 0, 0.38),
    0 0 34px rgba(255, 255, 255, 0.14);
  outline: none;
  transform: translateY(-3px);
}

.action:hover::before,
.action:focus-visible::before {
  opacity: 1;
  transform: translateX(44%);
}

.action-primary {
  color: #000000;
  background: #ffffff;
}

.action-primary:hover,
.action-primary:focus-visible {
  color: #ffffff;
  background: transparent;
}

.action-secondary {
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025)),
    var(--glass-strong);
  backdrop-filter: blur(20px) saturate(140%);
}

.action-secondary:hover,
.action-secondary:focus-visible {
  color: #000000;
  background: #ffffff;
}

.hero-subtitle {
  margin-top: 24px;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  animation: actionsIn 1400ms cubic-bezier(0.19, 1, 0.22, 1) 380ms both;
}

.hero-right-box {
  position: absolute;
  top: clamp(104px, 14vh, 136px);
  right: clamp(22px, 6vw, 96px);
  z-index: 6;
  width: min(320px, 30vw);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: #000000;
  backdrop-filter: blur(12px) saturate(150%);
  color: #ffffff;
  animation: actionsIn 1100ms cubic-bezier(0.19, 1, 0.22, 1) 900ms both;
}

.hero-right-box p {
  margin: 0;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* About Section */
.about {
  position: relative;
  width: 100vw;
  padding: 120px 0;
  background: #050505; /* monochrome dark */
  color: #ffffff;
  z-index: 10;
}

.about-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5.3vw, 78px);
}

.about-title {
  font-size: clamp(3.8rem, 9vw, 7.8rem);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  text-align: left;
  margin-left: -20px;
}

.about-lead {
  font-size: clamp(1.3rem, 2.7vw, 1.65rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
  width: 100%;
  max-width: 100%;
  margin-left: 20px;
}

.about-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
  .about-text {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text p {
  margin: 4px;
  margin-left: 20px;
}

@keyframes navFloatIn {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translate(-50%, -22px) scale(0.96);
  }
}

@keyframes headlineMorph {
  0% {
    opacity: 0;
    filter: blur(18px) drop-shadow(0 0 0 transparent);
    transform: translateX(-78px) skewX(-8deg) scaleX(0.96);
  }

  54% {
    opacity: 1;
    filter: blur(2px) drop-shadow(0 18px 48px rgba(0, 0, 0, 0.72));
    transform: translateX(8px) skewX(2deg) scaleX(1.015);
  }

  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 18px 48px rgba(0, 0, 0, 0.72));
    transform: translateX(0) skewX(0) scaleX(1);
  }
}

@keyframes lineGrow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
}

@keyframes actionsIn {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translate(20px, 18px);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  body {
    overflow-x: hidden;
  }

  .headline-wrap {
    top: 92px;
    left: 20px;
    width: calc(100vw - 40px);
  }

  .hero-right-box {
    display: none; /* Hide on small screens to avoid clutter */
  }

  .headline {
    max-width: 10.5ch;
    font-size: clamp(2.85rem, 12vw, 4.35rem);
  }

  .hero-actions {
    right: 18px;
    bottom: 24px;
    left: 18px;
    gap: 10px;
  }

  .action {
    flex: 1;
    min-height: 50px;
    padding: 0 14px;
    font-size: clamp(0.78rem, 3.6vw, 0.94rem);
  }

  .interactive-lines-section {
    padding: 80px 0;
  }

  .lines-content {
    height: 400px;
  }

  .lines-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-right-box {
    width: min(280px, 28vw);
    padding: 20px;
  }

  .section-container {
    padding: 100px clamp(22px, 4vw, 60px);
  }
}

@media (max-width: 420px) {
  .headline {
    font-size: clamp(2.45rem, 12.5vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Generic Sections */
.section-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px clamp(22px, 5.3vw, 78px);
}

.section-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  margin-bottom: 64px;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.text-right {
  text-align: right;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px 32px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Blog Cards */
.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.blog-card:hover .blog-image {
  transform: scale(1.05);
}
.blog-image-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.blog-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.blog-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.blog-card:hover .blog-tag {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}
.blog-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}
.blog-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #ffffff;
  transition: all 0.3s ease;
}
.blog-card:hover .blog-title {
  background: linear-gradient(90deg, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.blog-excerpt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.blog-read-more {
  margin-top: auto;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}
.blog-card:hover .blog-read-more {
  gap: 12px;
}

.glass-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.glass-card p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Projects */
.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.action-link {
  display: inline-block;
  margin-top: 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: border-color 0.3s ease;
}

.action-link:hover {
  border-color: #ffffff;
}

.tilted-card-caption {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 0, 0, 0.85);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transform-origin: top left;
  z-index: 10;
  white-space: nowrap;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.process-step {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.step-num {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-family: monospace;
}

.process-step h3 {
  font-size: 1.5rem;
  margin: 0 0 12px 0;
}

.process-step p {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px 0;
}

.contact-item a,
.contact-item p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Form */
.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.custom-form input[type="text"],
.custom-form input[type="email"],
.custom-form input[type="tel"],
.custom-form input[type="number"],
.custom-form select,
.custom-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.custom-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 16px top 50%;
  background-size: 10px auto;
}

.custom-form select option {
  background: #050505;
  color: #ffffff;
}

.custom-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #ffffff;
  width: 16px;
  height: 16px;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
}

.footer .section-container {
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-content h3 {
  font-size: 1.2rem;
  margin: 0 0 8px 0;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  text-align: center;
}

/* Interactive Lines Section */
.interactive-lines-section {
  position: relative;
  width: 100vw;
  padding: 120px 0;
  background: #000000;
  z-index: 10;
  overflow: hidden;
}

.lines-content {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lines-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
  max-width: 90%;
  pointer-events: none;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
}

.floating-lines-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .interactive-lines-section {
    padding: 80px 0;
  }

  .lines-content {
    height: 400px;
  }

  .lines-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }
}

/* Custom Styles for Simple Book Button */
.action.action-secondary.book-btn-simple:hover,
.action.action-secondary.book-btn-simple:focus-visible {
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025)),
    var(--glass-strong);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  transform: none;
}
.action.action-secondary.book-btn-simple::before {
  display: none;
}

/* Hide desktop pill nav on screens <= 1024px */
@media (max-width: 1024px) {
  .nav {
    display: none !important;
  }
}

/* Glassmorphic Modal & Notification System */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 48px 32px;
  width: min(500px, calc(100% - 32px));
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(24px) saturate(140%);
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-icon-wrap.success {
  background: rgba(46, 213, 115, 0.08);
  border-color: rgba(46, 213, 115, 0.25);
  color: #2ed573;
}

.modal-icon-wrap.error {
  background: rgba(255, 71, 87, 0.08);
  border-color: rgba(255, 71, 87, 0.25);
  color: #ff4757;
}

.modal-icon-wrap i {
  font-size: 2.2rem;
}

.modal-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.modal-message {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  font-weight: 300;
}

.modal-btn {
  width: 100%;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-btn:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.05);
}

