:root {
  --teal: #00796B;
  --burnt-orange: #D87A56;
  --mustard-yellow: #F9C74F;
  --dark-obsidian: #0B0C10;
  
  /* Light Theme Palette */
  --creme: #FCF9F2; 
  --surface-light: #F5F2EA;
  --surface-container: #EEEDE7;
  --on-surface-variant: #5B5D61;
  --text-primary: #0B0C10; 
  
  --font-primary: 'Inter', sans-serif;
  
  --radius-xl: 1.5rem; /* 24px */
  --blur-nav: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--creme);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--on-surface-variant);
}

/* Glassmorphism Navbar - Light Mode */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(252, 249, 242, 0.7);
  backdrop-filter: blur(var(--blur-nav));
  -webkit-backdrop-filter: blur(var(--blur-nav));
  transition: all 0.3s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container img {
  height: 48px;
}

.logo-text {
  font-weight: 700;
  font-size: 24px;
  color: var(--dark-obsidian);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: var(--on-surface-variant);
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}

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

/* Organic Background Elements */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.blob-1 { top: -10%; right: -5%; width: 500px; height: 500px; background: var(--teal); }
.blob-2 { bottom: 10%; left: -5%; width: 400px; height: 400px; background: var(--burnt-orange); }
.blob-3 { top: 40%; left: 20%; width: 300px; height: 300px; background: var(--mustard-yellow); }

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 10%;
  padding-top: 100px;
  background: transparent;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: url('./img/banner-obsidian.jpeg') no-repeat center center;
  background-size: cover;
  mask-image: linear-gradient(to left, black 40%, transparent);
  -webkit-mask-image: linear-gradient(to left, black 40%, transparent);
  opacity: 0.9;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
}

.slogan {
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  margin-bottom: 32px;
  font-weight: 900;
  color: var(--dark-obsidian);
}

.hero p {
  margin-bottom: 48px;
  max-width: 520px;
  font-size: 22px;
}

.btn-primary {
  display: inline-block;
  background: var(--burnt-orange);
  color: white;
  padding: 22px 52px;
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 12px 30px rgba(216, 122, 86, 0.25);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(216, 122, 86, 0.4);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--dark-obsidian);
  padding: 20px 48px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  margin-left: 20px;
  border: 2px solid rgba(11, 12, 16, 0.1);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: var(--dark-obsidian);
}

/* Thesis Section */
.thesis {
  padding: 140px 10%;
  background: var(--surface-light);
  text-align: center;
  position: relative;
}

.section-tag {
  color: var(--teal);
  font-weight: 800;
  text-align: center;
  display: block;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  font-size: 14px;
}

.thesis h2 {
  font-size: 52px;
  margin-bottom: 80px;
  line-height: 1.2;
}

.thesis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.thesis-image {
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 60px 120px rgba(0, 121, 107, 0.08);
}

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

/* Features Section */
.features {
  padding: 140px 10%;
  background: var(--creme);
}

.features h2 {
  font-size: 52px;
  text-align: center;
  margin-bottom: 100px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
}

.feature-card {
  background: var(--surface-light);
  padding: 56px;
  border-radius: 48px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  transform: translateY(-16px);
  background: white;
  box-shadow: 0 40px 80px rgba(0, 121, 107, 0.06);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 121, 107, 0.08);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  color: var(--teal);
}

.feature-card h3 {
  font-size: 28px;
  margin-bottom: 24px;
}

/* Showcase Section */
.showcase {
  padding: 140px 10%;
  background: var(--surface-container);
  text-align: center;
}

.app-screen {
  max-width: 340px;
  border-radius: 48px;
  overflow: hidden; /* Garante que a imagem respeite o border-radius */
  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.12),
              0 0 30px rgba(0, 121, 107, 0.05);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  background: var(--surface-light);
}

.app-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
}

.app-screen:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Status Section */
#status .thesis-grid {
  align-items: center;
}

/* Footer */
footer {
  padding: 120px 10% 60px;
  background: var(--dark-obsidian);
  text-align: center;
  color: white;
}

footer h2, footer .nav-links a, footer .copyright {
  color: white;
}

footer .nav-links a:hover {
  color: var(--mustard-yellow);
}

.footer-logo {
  height: 90px;
  margin-bottom: 48px;
  filter: brightness(0) invert(1);
}

.copyright {
  opacity: 0.5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 80px;
  padding-top: 40px;
}

@media (max-width: 1024px) {
  .hero h1 { font-size: 56px; }
  .hero::after { display: none; }
  .hero { text-align: center; align-items: center; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 42px; }
  .thesis h2, .features h2 { font-size: 36px; }
  .btn-primary, .btn-secondary { width: 100%; margin: 10px 0; }
}
