:root {
  --bg-color: #121212;
  --text-color: #f5f5f5;
  --accent-color: #ef0bc1;
  --accent-light: #ef0bc1;
  --secondary-color: #09c486;
  --border-color: #2a2a2a;
  --card-bg: #1e1e1e;
  --code-bg: #1a1a1a;
  --container-width: 1200px;
  --section-spacing: 5rem;
  --header-height: 70px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Header Styles */
body > header {
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: var(--header-height);
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  visibility: visible !important;
  opacity: 1 !important;
}

header .logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header h1 img {
  height: 40px;
  width: auto;
}

header p {
  display: none;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent-light);
  text-decoration: none;
}

nav a:hover:after {
  width: 100%;
}

/* Main Content */
main {
  padding-top: var(--header-height);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 1.5rem 0 1rem;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(239, 11, 193, 0.1) 0%, rgba(18, 18, 18, 0) 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-logo {
  margin-bottom: 1.5rem;
  max-width: 120px;
}

.hero-text {
  max-width: 500px;
}

.hero-tagline {
  font-size: 1.5rem;
  margin: 1.5rem 0 2.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Feature Section */
.features-section {
  padding: var(--section-spacing) 0;
}

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

.section-title {
  margin-bottom: 1rem;
  position: relative;
  font-size: 3rem;
  margin-top: 5rem;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
}

/* Feature Hero Sections */
.feature-hero {
  margin-bottom: 20rem;
}

.feature-hero:last-child {
  margin-bottom: 0;
}

.feature-hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.feature-hero-content.reverse {
  flex-direction: row-reverse;
}

.feature-hero-text {
  flex: 1;
  text-align: center;
  margin-bottom: 2rem;
}

.feature-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-screenshot {
  max-width: 100%;
  max-height: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-screenshot:hover {
  transform: translateY(-10px);
}

.feature-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.feature-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.post-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}


.feature-description {
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-vertical {
  display: flex;
  flex-direction: column;
}

/* Responsive styles for feature heroes */
@media (max-width: 768px) {
  .feature-hero-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .feature-hero-content.reverse {
    flex-direction: column;
  }
  
  .feature-hero {
    margin-bottom: 3rem;
  }
}

/* Blog Section */
.blog-section {
  padding: var(--section-spacing) 0;
  background-color: rgba(26, 26, 26, 0.3);
}

.post-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.post-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.post-title {
  margin-top: 5rem;
  position: relative;
}

.post-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.post-card h3 {
  font-size: 1.5rem;
  margin-top: 0;
}

.post-card p:last-child {
  margin-top: auto;
  padding-top: 1rem;
}

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--section-spacing) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* CTA Section */
.cta {
  padding: var(--section-spacing) 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(196, 9, 126, 0.1) 0%, rgba(239, 11, 193, 0.1) 100%);
  border-radius: 12px;
  margin: 0 2rem var(--section-spacing);
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(239, 11, 193, 0.3);
  text-decoration: none;
}

.button-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.button-outline:hover {
  background-color: var(--accent-color);
  color: white;
}

/* Code Blocks */
pre, code {
  background-color: var(--code-bg);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.875rem;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

pre code {
  padding: 0;
}

blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #bbb;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Footer */
footer {
  padding: 3rem 0;
  margin-top: 5rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

footer img {
  max-width: 150px;
  margin-bottom: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

footer img:hover {
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 768px) {
  :root {
    --section-spacing: 3rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  header {
    padding: 0 1.5rem;
  }
  
  header h1 {
    font-size: 1.25rem;
  }
  
  nav {
    gap: 1rem;
  }
  
  .hero {
    min-height: 80vh;
    padding: 2rem 1rem;
  }
  
  .hero-tagline {
    font-size: 1.25rem;
  }
  
  .features-grid, 
  .post-list,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  header {
    height: auto;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav {
    margin-top: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-logo {
    max-width: 80px;
  }
  
  .hero-text {
    max-width: 300px;
  }
  
  .feature-card,
  .post-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}
