/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(0, 0%, 7%);
  --foreground: hsl(45, 100%, 95%);
  --card: hsl(0, 0%, 10%);
  --card-foreground: hsl(45, 100%, 95%);
  --primary: hsl(45, 100%, 55%);
  --primary-foreground: hsl(0, 0%, 10%);
  --secondary: hsl(0, 85%, 55%);
  --secondary-foreground: hsl(45, 100%, 95%);
  --muted: hsl(0, 0%, 20%);
  --muted-foreground: hsl(45, 20%, 70%);
  --accent: hsl(45, 100%, 55%);
  --accent-foreground: hsl(0, 0%, 10%);
  --destructive: hsl(0, 85%, 55%);
  --destructive-foreground: hsl(45, 100%, 95%);
  --border: hsl(0, 0%, 20%);
  --input: hsl(0, 0%, 20%);
  --ring: hsl(45, 100%, 55%);
  --radius: 0.5rem;
  --cinema-gold: hsl(45, 100%, 55%);
  --cinema-red: hsl(0, 85%, 55%);
  --cinema-dark: hsl(0, 0%, 7%);
  --cinema-gray: hsl(0, 0%, 20%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background-color: rgba(0, 0, 7%, 0.95);
  backdrop-filter: blur(10px);
}

nav {
  padding: 0 1rem;
}

nav .nav-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: hsl(45, 100%, 45%);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-size: 0.875rem;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--primary);
}

/* Main Content */
main {
  padding-top: 6rem;
  padding-bottom: 5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  min-height: calc(100vh - 200px);
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

@media (min-width: 768px) {
  .text-7xl {
    font-size: 4.5rem;
  }
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-foreground {
  color: var(--foreground);
}

.text-muted-foreground {
  color: var(--muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(45, 100%, 45%);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: hsl(0, 85%, 45%);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--primary);
}

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.card-content {
  color: var(--muted-foreground);
}

/* Sections */
section {
  padding: 5rem 1rem;
}

.bg-card {
  background-color: var(--card);
}

.bg-card-50 {
  background-color: rgba(0, 0, 10%, 0.5);
}

/* Hero Section */
.hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(to right, var(--primary), var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-in;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s ease-in 0.1s both;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s ease-in 0.2s both;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: fadeIn 1s ease-in 0.3s both;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* Features Grid - 1 coluna mobile, 4 colunas desktop */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
}

/* Blog Card Image */
.blog-card-image {
  overflow: hidden;
  border-radius: var(--radius);
}

.blog-card-image img {
  transition: transform 0.3s ease;
}

a:hover .blog-card-image img {
  transform: scale(1.05);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted-foreground);
  margin-bottom: 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  background-color: var(--card);
  margin-top: 5rem;
  padding: 2rem 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-info {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-info {
    text-align: left;
  }
}

.footer-info h3 {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.footer-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--foreground);
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-social svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-copyright {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Utilities */
.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.leading-relaxed {
  line-height: 1.75;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:justify-between {
    justify-content: space-between;
  }
}

/* Text Utilities */
.font-bold {
  font-weight: bold;
}

.font-semibold {
  font-weight: 600;
}

.underline {
  text-decoration: underline;
}

/* Min Height */
.min-h-screen {
  min-height: 100vh;
}

/* Background */
.bg-background {
  background-color: var(--background);
}

.bg-background\/50 {
  background-color: rgba(0, 0, 7%, 0.5);
}

/* Border */
.border {
  border: 1px solid var(--border);
}

.border-border {
  border-color: var(--border);
}

.rounded {
  border-radius: var(--radius);
}

.rounded-lg {
  border-radius: var(--radius);
}

/* List */
ul {
  list-style: none;
}

/* Active Link */
.nav-desktop a.active,
.mobile-nav a.active {
  color: var(--primary);
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-lg {
  width: 3rem;
  height: 3rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

/* Prose */
.prose {
  max-width: none;
}

.prose-invert {
  color: var(--foreground);
}

/* Contact Cards */
.contact-card {
  padding: 2rem;
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.contact-card:hover {
  border-color: var(--primary);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* 404 Page */
.error-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
  text-align: center;
}

.error-404 h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.error-404 a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.error-404 a:hover {
  color: hsl(45, 100%, 45%);
}

