/* General Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f8;
  color: #1e1e2f;
  line-height: 1.6;
}

/* Sticky Header with Dark Background */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1f2937;
  padding: 1rem 2rem;
  color: white;
  display: flex;
  space-between;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  width: 100vw;
  max-width: 100%;
  box-sizing: border-box;
}

nav a {
  color: white;
  text-decoration: none;
  margin-right: 2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3b82f6;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 2rem 2rem;
  background: linear-gradient(145deg, #3b82f6, #9333ea);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: .5rem;
}

.hero-logo {
  width: 300px;
  margin: 0 auto 1rem auto;
}

/* CTA Buttons */
.cta-button {
  display: inline-block;
  background: #1f2937;
  color: white;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button:hover {
  background: white;
  color: #1f2937;
  border: 2px solid #1f2937;
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}

.feature {
  flex: 1 1 30%;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

/* Glass Style Chat and Cards */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.glass * {
  white-space: pre-wrap;
}

/* Responsive Typography */
h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1e1e2f;
}

p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Mobile Menu */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav a {
    margin: 0.75rem 0;
    font-size: 1.1rem;
  }

  .features {
    flex-direction: column;
  }
}

/* Feather icon style */
.feather {
  width: 1.1em;
  height: 1.1em;
}

.cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

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

/* Redesigned Clean Form Layout */
.form-clean {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 2rem auto;
}

.ticket-list-box {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 2rem auto;
}

.form-clean label {
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
  color: #1e1e2f;
}

.form-clean input,
.form-clean select,
.form-clean textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-clean input:focus,
.form-clean select:focus,
.form-clean textarea:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-clean button {
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: #1f2937;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-clean button:hover {
  background-color: #3b82f6;
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.header-logo-left {
  justify-self: start;
}

.header-menu-center {
  justify-self: center;
}

.header-logo-right {
  justify-self: end;
  margin-right: 0.5rem;
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
}

@media (min-width: 769px) {
  .header-logo-right {
    position: static;
    right: auto;
    bottom: auto;
  }
}
