/* Base styles and variables */
:root {
  --primary: #03dac6; /* Teal */
  --secondary: #ff7b00; /* Orange */
  --dark: #121212;
  --gray-dark: #212121;
  --gray: #757575;
  --light-gray: #bdbdbd;
  --light: #f5f5f5;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.25);
  --radius: 8px;
  --radius-lg: 15px;
  --transition: all 0.3s ease;
}

/* Reset & Basic Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--light);
  background-color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--primary);
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--light-gray);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  background-color: rgba(18, 18, 18, 0.95);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--dark);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.primary-text {
  color: var(--light);
}

.accent-text {
  color: var(--primary);
}

.domain-text {
  color: var(--secondary);
  font-weight: 400;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--light);
  margin: 6px 0;
  transition: var(--transition);
}

.main-navigation ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: var(--light);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.main-navigation a:hover {
  color: var(--primary);
}

.main-navigation a:hover::after {
  width: 100%;
}

.highlight-btn {
  background: var(--primary);
  color: var(--dark) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 50px;
}

.highlight-btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.highlight-btn::after {
  display: none;
}

/* Buttons */
.primary-button {
  display: inline-block;
  background: var(--primary);
  color: var(--dark);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(3, 218, 198, 0.3);
}

.primary-button:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 123, 0, 0.4);
}

.secondary-button {
  display: inline-block;
  background: transparent;
  color: var(--light);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

.secondary-button:hover {
  background: rgba(3, 218, 198, 0.1);
  color: var(--primary);
}

.glow {
  animation: glow 2s infinite alternate;
}

.large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px rgba(3, 218, 198, 0.3);
  }
  to {
    box-shadow: 0 0 20px rgba(3, 218, 198, 0.7);
  }
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background-color: var(--gray-dark);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(3, 218, 198, 0.1) 0%, rgba(3, 218, 198, 0) 70%);
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(circle, rgba(255, 123, 0, 0.1) 0%, rgba(255, 123, 0, 0) 70%);
  z-index: 0;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--light-gray);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--light);
}

.hero-graphic {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 0;
}

.graphic-element {
  position: relative;
  width: 300px;
  height: 300px;
}

.cube {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(3, 218, 198, 0.1);
  border: 1px solid var(--primary);
  animation: float 6s infinite ease-in-out;
}

.cube:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.cube:nth-child(2) {
  bottom: 0;
  left: 0;
  animation-delay: 2s;
}

.cube:nth-child(3) {
  bottom: 0;
  right: 0;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Gallery Section */
.gallery-section {
  padding: 5rem 0;
  background-color: var(--dark);
}

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

.gallery-item {
  background-color: var(--gray-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.gallery-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-icon {
  font-size: 3rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.5);
}

.gallery-item h3 {
  padding: 1.5rem 1.5rem 0.5rem;
}

.gallery-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--light-gray);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(3, 218, 198, 0.15), rgba(255, 123, 0, 0.15));
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-banner h3 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* Workflow Section */
.workflow-section {
  padding: 5rem 0;
  background-color: var(--gray-dark);
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  counter-reset: step;
}

.workflow-step {
  background-color: var(--dark);
  border-radius: var(--radius);
  padding: 2rem;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.workflow-step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: var(--dark);
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.step-content h3 {
  margin-bottom: 1rem;
}

.step-content p {
  color: var(--light-gray);
}

/* Tech Section */
.tech-section {
  padding: 5rem 0;
  background-color: var(--dark);
}

.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.tech-feature {
  background-color: var(--gray-dark);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.tech-feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.tech-icon {
  width: 70px;
  height: 70px;
  background: var(--dark);
  color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  position: relative;
}

.tech-icon::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 1px dashed var(--primary);
  border-radius: 50%;
  opacity: 0.5;
}

.tech-feature h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.tech-feature p {
  color: var(--light-gray);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(3, 218, 198, 0.2), rgba(255, 123, 0, 0.2));
  text-align: center;
}

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

.cta-section p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--gray-dark);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-links h4 {
  position: relative;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--light-gray);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-legal p {
  color: var(--light-gray);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-graphic {
    display: none;
  }
  
  .workflow-step {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--gray-dark);
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 99;
  }
  
  .main-navigation.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .tag {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
}
