:root {
  --bg-dark: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.03);
  --primary: #ff4500; /* Orange Red */
  --secondary: #ff8c00; /* Dark Orange */
  --accent: #ff0055; /* Pinkish Red */
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
  --primary-gradient: linear-gradient(135deg, var(--secondary), var(--primary), var(--accent));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

body.loaded {
    opacity: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: white;
  box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

.btn-outline {
  border-color: var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

/* Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 69, 0, 0.15),
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  mix-blend-mode: screen;
}

/* Header */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(10, 10, 12, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
}

.logo img {
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--text-main);
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    min-width: 150px;
    width: auto;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    gap: 0.5rem;
}

.custom-select__trigger:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before, .arrow::after {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.3s;
}

.arrow::before {
    left: -2px;
    transform: rotate(-45deg);
    background-color: var(--text-muted);
}

.arrow::after {
    left: 2px;
    transform: rotate(45deg);
    background-color: var(--text-muted);
}

.open .arrow::before {
    left: -2px;
    transform: rotate(45deg);
}

.open .arrow::after {
    left: 2px;
    transform: rotate(-45deg);
}

.custom-select__options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s;
    max-height: 300px;
    overflow-y: auto;
}

/* Custom Scrollbar for Select */
.custom-select__options::-webkit-scrollbar {
    width: 6px;
}

.custom-select__options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

.custom-select__options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

.custom-select__options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.custom-select.open .custom-select__options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(5px);
}

.custom-option {
    position: relative;
    display: block;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.custom-option:hover,
.custom-option.selected {
    color: var(--text-main);
    background: rgba(138, 43, 226, 0.2);
}

.custom-option.selected::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

.image-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.app-ui-image {
    width: auto;
    max-height: 550px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.app-ui-image:hover {
    transform: scale(1.02);
}



.glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 60%);
  z-index: -1;
}

/* Features Section */
.features {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Showcase Section */
.showcase {
  padding: 100px 0;
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.specs-list {
  margin-top: 2rem;
}

.specs-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.specs-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(138, 43, 226, 0.1),
    rgba(0, 255, 255, 0.1)
  );
  z-index: -1;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* Contact Page Styles */
.contact-section {
    padding: 160px 0 100px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  background: rgba(0, 0, 0, 0.5);
}

.footer-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  max-width: 100%;
  text-align: center;
}

.footer-logo {
  height: 30px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h4 {
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.link-group a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.link-group a:hover {
  color: var(--secondary);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Themes Section */
.theme-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    border: 1px solid var(--glass-border);
}

.theme-card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.theme-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.theme-card:hover img {
    transform: scale(1.1);
}

/* Showcase Image */
.image-wrapper-showcase {
    display: flex;
    justify-content: center;
}

.showcase-image {
    width: auto;
    max-height: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.showcase-image:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content,
  .showcase-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
  
  .contact-form {
      padding: 2rem;
  }
}
