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

body {
  font-family: "Space Grotesk", sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Layout */
.content {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  column-gap: 24px;
  row-gap: 0;
  align-items: flex-start;
  flex-wrap: wrap;
}

.hero-card {
  flex: 1 0 100%;
}

.main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.sidebar {
  width: 400px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}

.sidebar .content-card {
  margin-bottom: 0;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .content {
    flex-direction: column;
    row-gap: 0;
    column-gap: 0;
    align-items: stretch;
  }

  .hero-card {
    flex: none;
  }

  .sidebar {
    width: 100%;
    position: static;
    margin-top: 24px;
  }

  .sidebar .content-card {
    margin-bottom: 24px;
    margin-top: 0;
  }

  .sidebar .content-card:last-child {
    margin-bottom: 0;
  }

  .main-content {
    width: 100%;
  }
}

/* Cards */
.content-card {
  background: rgba(20, 20, 30, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.main-content .content-card:last-child {
  margin-bottom: 0;
}

/* Typography */
h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 3em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #46b8ff 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

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

h2 {
  color: #46b8ff;
  margin-bottom: 15px;
  margin-top: 25px;
  font-size: 1.8em;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  color: #46b8ff;
  margin-bottom: 15px;
  margin-top: 20px;
  font-size: 1.5em;
}

h3:first-of-type {
  margin-top: 0;
}

h4 {
  color: #46b8ff;
  margin-bottom: 10px;
}

p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #dddddd;
}

.post-content ol,
.post-content ul {
  margin-bottom: 10px;
  padding-left: 20px;
}

.post-content ol li,
.post-content ul li {
  margin-bottom: 5px;
}

/* Color Variations */
.text-primary {
  color: #46b8ff;
}

.text-secondary {
  color: #9d4eff;
}

.text-muted {
  color: #ccc;
}

/* Intro Section */

.intro-layout {
  display: flex;
  align-items: center;
  gap: 40px;
}
.intro-image {
  flex: 0 1 50%;
  max-width: 50%;
  min-width: 320px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: filter 0.3s ease;
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.intro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(70, 184, 255, 0.25),
    rgba(157, 78, 255, 0.25)
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.intro-image:hover {
  filter: brightness(1.08);
}

.intro-copy {
  flex: 1 1 50%;
  min-width: 320px;
  text-align: left;
}

.intro-copy .section-title {
  text-align: left;
}

@media (max-width: 1024px) {
  .intro-layout {
    flex-wrap: wrap;
    gap: 32px;
  }

  .intro-image,
  .intro-copy {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .hero-card h1 {
    font-size: 2.25rem;
    letter-spacing: 2px;
    text-align: center;
  }

  .hero-card p,
  .hero-card nav {
    text-align: center;
  }

  .intro-image {
    flex: 0 1 auto;
    max-width: 420px;
    min-width: 0;
    margin-inline: auto;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .hero-card h1 {
    font-size: 2.35rem;
    letter-spacing: 1px;
  }

  .intro-image {
    max-width: 320px;
  }

  .intro-image img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 600px) {
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 220px;
    text-align: center;
  }
}

.mr-15 {
  margin-right: 15px;
}

@media (max-width: 600px) {
  .mr-15 {
    margin-right: 0;
  }
}

.text-light {
  color: #ccc;
}

h2.text-secondary,
h3.text-secondary,
h4.text-secondary {
  color: #9d4eff;
}

/* Links */
a {
  color: #46b8ff;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

.link-muted {
  color: #ccc;
  text-decoration: none;
}

.link-muted:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

/* Navigation */
nav {
  margin-top: 20px;
}

nav a {
  color: #46b8ff;
  margin-right: 15px;
  text-decoration: none;
}

nav a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #46b8ff 0%, #9d4eff 100%);
  color: white;
}

.btn-primary:hover {
  color: white;
  box-shadow: 0 4px 12px rgba(70, 184, 255, 0.3);
}

.btn-outline {
  border: 2px solid #46b8ff;
  color: #46b8ff;
  padding: 13px 40px;
}

.btn-outline:hover {
  background: rgba(70, 184, 255, 0.1);
  color: #46b8ff;
}

.btn-link {
  color: #46b8ff;
  text-decoration: none;
  font-weight: 600;
  padding: 0;
  transition: color 0.2s, text-shadow 0.2s;
}

.btn-link:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-25 {
  margin-bottom: 25px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-50 {
  margin-bottom: 50px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.mt-50 {
  margin-top: 50px;
}

.mr-5 {
  margin-right: 5px;
}

.mr-8 {
  margin-right: 8px;
}

.pt-20 {
  padding-top: 20px;
}

.separator {
  margin: 0 10px;
}

/* Grids */
.grid {
  display: grid;
  gap: 25px;
}

.grid-auto-fit-250 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-auto-fit-300 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-gap-30 {
  gap: 30px;
}

@media (max-width: 600px) {
  .grid-auto-fit-250,
  .grid-auto-fit-300 {
    grid-template-columns: 1fr;
  }
}

/* Feature Cards */
.feature-card {
  padding: 20px;
}

.feature-card-border-primary {
  border-left: 3px solid #46b8ff;
}

.feature-card-border-secondary {
  border-left: 3px solid #9d4eff;
}

.feature-box {
  padding: 25px;
  border-radius: 8px;
}

.feature-box-primary {
  background: rgba(70, 184, 255, 0.05);
}

.feature-box-secondary {
  background: rgba(157, 78, 255, 0.05);
}

/* Value Cards */
.value-card {
  padding: 20px;
  border-radius: 8px;
}

.value-card-primary {
  background: rgba(70, 184, 255, 0.05);
}

.value-card-secondary {
  background: rgba(157, 78, 255, 0.05);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 40px;
}

.hero-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #46b8ff 0%, #9d4eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2em;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-buttons {
  margin-top: 30px;
}

@media (max-width: 600px) {
  .cta-section .btn {
    display: block;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
    margin-right: 0;
  }

  .cta-section .btn + .btn {
    margin-top: 12px;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 40px;
  background: linear-gradient(
    135deg,
    rgba(70, 184, 255, 0.1) 0%,
    rgba(157, 78, 255, 0.1) 100%
  );
  border-radius: 8px;
}

.cta-large {
  padding: 50px 40px;
}

/* Section Titles */
.section-title {
  color: #46b8ff;
  margin-bottom: 30px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1em;
  color: #ccc;
  margin-bottom: 40px;
}

/* Blog Styles */
.post-meta {
  color: #ccc;
  font-size: 0.9em;
  margin-bottom: 20px;
}

.post-meta span {
  display: inline;
}

.post-excerpt {
  font-size: 1.1em;
  color: #46b8ff;
  margin-bottom: 20px;
  font-style: italic;
}

.post-content {
  line-height: 1.8;
  color: #ddd;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  margin: 20px 0;
}

.post-list-item .btn-link {
  display: inline-block;
  margin-top: 18px;
}

.post-image {
  margin-bottom: 20px;
}

.post-image img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-navigation-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.post-navigation .nav-item {
  flex: 1;
  min-width: 0;
}

.post-navigation .nav-item.text-right {
  text-align: right;
  margin-left: auto;
}

.post-navigation .nav-label {
  display: block;
  font-size: 0.85em;
  color: #8dd6ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.post-navigation .btn-link {
  font-size: 1.05em;
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag {
  display: inline-block;
  background: rgba(70, 184, 255, 0.2);
  color: #46b8ff;
  padding: 4px 12px;
  margin-right: 5px;
  margin-top: 5px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.85em;
}

.tag:hover {
  background: rgba(70, 184, 255, 0.3);
  color: #46b8ff;
}

/* Post List */
.post-list-item {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.post-list-content {
  flex: 1;
  min-width: 0;
}

.post-list-image {
  flex: 0 0 180px;
  max-width: 180px;
}

.post-list-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.post-list-image img:hover {
  opacity: 1;
  box-shadow: 0 0 15px rgba(141, 214, 255, 0.5);
}

@media (max-width: 768px) {
  .post-list-item {
    flex-direction: column-reverse;
  }

  .post-list-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

.post-list-item:last-child {
  border-bottom: none;
}

.post-list-title {
  color: #46b8ff;
  margin-bottom: 10px;
}

.post-list-title a {
  color: #46b8ff;
  text-decoration: none;
}

.post-list-title a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

.post-list-meta {
  color: #ccc;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.post-list-meta a {
  color: #ccc;
  text-decoration: none;
}

.post-list-meta a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

/* Featured Image Float */
.post-featured-image-float {
  float: right;
  width: 320px;
  margin-left: 24px;
  margin-bottom: 16px;
  border-radius: 5px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.post-featured-image-float:hover {
  opacity: 1;
  box-shadow: 0 0 15px rgba(141, 214, 255, 0.5);
}

@media (max-width: 768px) {
  .post-featured-image-float {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 24px;
  }
}

/* Related Posts */
.related-post {
  margin-bottom: 15px;
}

.related-post h4 {
  margin-bottom: 5px;
}

.related-post a {
  color: #46b8ff;
  text-decoration: none;
}

.related-post a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

.related-post-date {
  color: #ccc;
  font-size: 0.9em;
  margin-bottom: 5px;
}

.related-post-excerpt {
  font-size: 0.95em;
}

/* Search Form Styles */
.search-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: stretch;
}

.search-input {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(70, 184, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px 15px;
  border-radius: 3px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1em;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
  outline: none;
  border-color: #46b8ff;
  background: rgba(70, 184, 255, 0.2);
  box-shadow: 0 0 15px rgba(141, 214, 255, 0.5);
}

.search-button {
  background: linear-gradient(135deg, #46b8ff 0%, #764ba2 100%);
  border: none;
  color: #fff;
  padding: 12px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1em;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  opacity: 0.8;
}

.search-button:hover {
  transform: none;
  box-shadow: 0 0 15px rgba(141, 214, 255, 0.5);
  opacity: 1;
}

.search-button:active {
  transform: translateY(0);
}

@media (max-width: 600px) {
  .search-form {
    flex-direction: column;
    gap: 12px;
  }

  .search-input,
  .search-button {
    width: 100%;
  }
}

/* Archives List Styles */
.archives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archives-list li {
  margin-bottom: 12px;
}

.archives-list a {
  color: #46b8ff;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
  font-size: 1em;
}

.archives-list a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

.archives-list .post-count {
  color: #ccc;
  font-size: 0.9em;
  margin-left: 5px;
}

/* Pagination */
.pagination {
  margin-top: 30px;
  text-align: center;
}

.pagination a {
  color: #46b8ff;
  text-decoration: none;
  margin: 0 10px;
}

.pagination a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

.pagination-info {
  color: #ccc;
}

/* Service/Solution Sections */
.service-section {
  margin-bottom: 50px;
}

.service-title {
  color: #9d4eff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(157, 78, 255, 0.3);
}

.service-description {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 15px;
}

.service-list {
  list-style: none;
  padding-left: 0;
  color: #ccc;
}

.service-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.service-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #46b8ff;
}

/* Solution Cards */
.solution-card {
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #46b8ff;
}

.solution-card-primary {
  background: linear-gradient(
    135deg,
    rgba(70, 184, 255, 0.1) 0%,
    rgba(157, 78, 255, 0.05) 100%
  );
  border-left-color: #46b8ff;
}

.solution-card-secondary {
  background: linear-gradient(
    135deg,
    rgba(157, 78, 255, 0.1) 0%,
    rgba(70, 184, 255, 0.05) 100%
  );
  border-left-color: #9d4eff;
}

.solution-title {
  margin-bottom: 15px;
}

.solution-description {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 15px;
}

.solution-benefits {
  color: #ccc;
  margin-top: 20px;
}

.solution-benefits strong {
  color: #46b8ff;
}

.solution-card-secondary .solution-benefits strong {
  color: #9d4eff;
}

/* Project Cards */
.project-card {
  background: linear-gradient(
    135deg,
    rgba(70, 184, 255, 0.05) 0%,
    rgba(157, 78, 255, 0.05) 100%
  );
  padding: 35px;
  border-radius: 8px;
  border: 1px solid rgba(70, 184, 255, 0.2);
  margin-bottom: 40px;
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-category {
  font-size: 0.9em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-category-primary {
  color: #46b8ff;
}

.project-category-secondary {
  color: #9d4eff;
}

.project-title {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.project-description {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.project-tags {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-tag {
  display: inline-block;
  padding: 6px 14px;
  margin-right: 8px;
  margin-bottom: 8px;
  border-radius: 3px;
  font-size: 0.85em;
}

.project-tag-primary {
  background: rgba(70, 184, 255, 0.2);
  color: #46b8ff;
}

.project-tag-secondary {
  background: rgba(157, 78, 255, 0.2);
  color: #9d4eff;
}

/* Footer Styles */
.footer {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer .content-card {
  margin: 4px 0 40px 0;
  padding: 32px 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-bottom: 16px;
  font-size: 0.9em;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.footer-nav a:hover {
  color: #8dd6ff;
  text-shadow: 0 0 10px rgba(141, 214, 255, 0.7);
}

@media (max-width: 600px) {
  .footer-nav {
    width: 100%;
    gap: 12px 20px;
  }

  .footer-nav a {
    flex: 0 1 calc(33.33% - 20px);
    text-align: center;
  }

  .footer-nav a:nth-child(4) {
    flex-basis: calc(33.33% - 20px);
  }
}

.footer p {
  margin: 0;
  color: #ccc;
  font-size: 0.9em;
}
