@font-face {
  font-family: 'Fieldwork Geo';
  src: url('./public/fieldwork-geo-regular-web.ca246d945c5a4441fea6b9fb472ee785.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #131429;
  --color-bg-light: #1c1d3d;
  --color-text: #f0f0f5;
  --color-text-muted: #a0a0b0;
  --color-primary: #ff2a5f;
  --color-primary-glow: rgba(255, 42, 95, 0.4);
  --color-secondary: #6528f7;
  --color-secondary-glow: rgba(101, 40, 247, 0.4);
  --font-heading: 'Fieldwork Geo', sans-serif;
  --font-body: 'Fieldwork Geo', sans-serif;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(20, 20, 30, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(to bottom, var(--color-bg), var(--color-bg-light));
  background-attachment: fixed;
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Background Noise Texture */
#noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 { font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; }
p { font-size: 1.1rem; color: var(--color-text-muted); }

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.mt-l { margin-top: 1.5rem; }
.mb-l { margin-bottom: 1.5rem; }
.p-xl { padding: 3rem; }

/* Components */
.social-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.social-links a {
  color: var(--color-text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  color: var(--color-primary);
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.footer-socials {
  justify-content: center;
  margin-bottom: 2rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px var(--color-primary-glow);
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: var(--color-bg-light);
  color: var(--color-text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Layout */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(19, 20, 41, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
}

.logo {
  font-family: "Fieldwork Geo", var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 1.2px currentColor;
  text-shadow: 0 0 2px currentColor;
}

main {
  padding: 0 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Marquee Strip */
.marquee-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: rgba(19, 20, 41, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 50;
  padding: 1.2rem 0;
}

.marquee-content {
  display: inline-flex;
  width: max-content;
  animation: scroll-left 100s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.quote-item {
  display: inline-block;
  padding: 0 3rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.quote-text {
  font-style: italic;
}

.quote-author {
  font-style: normal;
  font-weight: 600;
  color: #04bfb6;
  margin-left: 0.5rem;
  font-family: var(--font-heading);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-top: 10rem;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: var(--color-bg-light);
  border: 1px solid var(--glass-border);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
}

.hero-title {
  font-family: "Fieldwork Geo", var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #04bfb6;
  -webkit-text-stroke: 1.5px currentColor;
  text-shadow: 0 0 3px currentColor;
}

.hero-subtitle {
  font-family: "Fieldwork Geo", var(--font-heading);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: #d686a1;
  margin-bottom: 1.5rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0.75;
  letter-spacing: 0px;
  -webkit-text-stroke: 0.8px rgba(19, 20, 41, 0.8);
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Visuals */
.hero-visual {
  flex: 1;
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--color-primary);
  filter: blur(80px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  background: var(--color-secondary);
  width: 250px;
  height: 250px;
  right: 0;
  bottom: 10%;
  animation-delay: -4s;
}

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

.mockup {
  position: relative;
  z-index: 10;
  width: 320px;
  height: 480px;
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.mockup-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 1;
}

.mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

/* Fallback for earlier mockup content styles, no longer strongly needed but kept safe to avoid deleting too much if structure varied */

.mockup-content {
  margin-top: auto;
}

.mockup-content h3 {
  font-size: 3rem;
  margin-bottom: 0.2rem;
  line-height: 1;
}

.mockup-content p {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 4rem;
}

.author-name {
  font-size: 0.85rem !important;
  color: var(--color-text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0 !important;
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stars {
  color: #ffb800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlight-card {
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* Italian Success Banner */
.success-banner {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  border-left: 4px solid #ffb800;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.success-text {
  flex: 1;
}

.success-desc {
  font-size: 1.05rem;
  margin-bottom: 0;
  line-height: 1.4;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .success-banner {
    border-left: none;
    border-top: 4px solid #ffb800;
    padding: 1.5rem;
  }
  .success-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* Author Section */
.author-box {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  text-align: left;
  max-width: 900px;
  padding: 3rem;
  margin: 0 auto;
}

.author-avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 50%;
  animation: breathe 6s ease-in-out infinite;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

@keyframes breathe {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-bg-light);
}

.credentials {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.bio {
  font-size: 1.2rem;
}

/* Press Section Marquee */
.logo-marquee-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: rgba(19, 20, 41, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 3rem 0;
}

.logo-marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 5rem;
  padding-right: 5rem;
  width: max-content;
  animation: scroll-left-logo 40s linear infinite;
}

.logo-marquee-content img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1) opacity(0.8);
}

.logo-marquee-content img:hover {
  transform: scale(1.15);
  filter: brightness(0) invert(1) opacity(1);
}

.logo-marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll-left-logo {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Book Details Section */
.specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.spec-card {
  flex: 1 1 220px;
  max-width: calc(33.333% - 1rem);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.spec-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.spec-card:hover::after {
  transform: scaleX(1);
}

.spec-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.15));
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.spec-card:hover .spec-icon {
  transform: scale(1.15) translateY(-5px);
}

.spec-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0;
}

/* CTA Section */
.cta-card {
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 42, 95, 0.4); }
  70% { box-shadow: 0 0 0 25px rgba(255, 42, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 42, 95, 0); }
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 2rem;
  color: var(--color-text-muted);
}

/* Footer Webdesign */
.webdesign-credit {
  margin-top: 1rem;
  font-size: 0.85rem;
}

.webdesign-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.webdesign-link:hover {
  color: #04bfb6;
}

.webdesign-logo-container {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
}

.webdesign-logo-link {
  display: inline-block;
  color: inherit;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  opacity: 0.6;
}

.webdesign-logo-link:hover {
  color: #04bfb6;
  opacity: 1;
  transform: scale(1.05);
}

.webdesign-logo-link svg {
  width: 50px;
  height: auto;
  fill: currentColor;
}

/* Animations */
.observe {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.observe.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero-desc {
    margin: 0 auto 3rem auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    width: 100%;
    height: 400px;
  }
  
  .logo-marquee-content img {
    height: 40px;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .author-avatar-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
  }
  
  .navbar .logo {
    display: none;
  }
  
  .header-socials {
    margin: 0 !important;
    justify-content: flex-start !important;
  }
  
  .about-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 3rem;
  }
  
  .about-text p {
    text-align: center !important;
  }
  
  .spec-card {
    flex: 1 1 150px;
    max-width: calc(50% - 0.75rem);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .mockup {
    width: 280px;
    height: 400px;
  }
  
  .mockup-content h3 {
    font-size: 2.5rem;
  }
  
  .p-xl {
    padding: 2rem;
  }

  .spec-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
