/* Reset and Base Styles */
html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
  font-family: 'Inter', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #3b82f6;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* Header Styles */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1rem 1rem 1rem;
  text-align: left;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #eee;
}

.logo {
  font-weight: 700;
  text-decoration: none;
}

.ai-color {
  background: linear-gradient(90deg, #569ef7, #3b82f6, #2966ea);  
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: brightness(1.1) saturate(1.15);
}

.bad-color {
  color: #666e79;
  opacity: 0.6;
}

.bt1 {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color:#3b82f6;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 1.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transform-origin: center;
  transition: background-color 0.2s, transform 0.2s;
}

.bt1:hover {
  transform: scale(1.04);
  background-color: #2966ea;
}

/* Navigation Styles */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  background: linear-gradient(90deg, #569ef7, #3b82f6, #2966ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta-header {
border: 1px solid #3b82f6;
padding: 0.4rem 0.8rem;
border-radius: 1.2rem;
cursor: pointer;
}

/* MAIN */
main {
  flex: 1;
}

/* Hero Section */

.hero-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 5rem 8rem 2.5rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-picture,
.hero-text {
  flex: 1 1 40%;
}

.hero-picture {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-avatar {
  width: 90%;
  border-radius: 1.2rem;
  object-fit: cover;
  z-index: 1;
}

.hero-halo {
  position: absolute;
  width: 45%;
  top: -8%;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.hero-picture:hover .hero-halo {
  transform: scale(1.05);
}




.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.hero-text p {
  font-size: 1.1rem;
  margin: 0 0 1rem 0;
  color: #4b5563;
}

/* VP Section */
.vp-section {
  padding: 3rem 1rem;
  max-width: 1050px;
  margin: 0 auto;
}

.vp-link-container{
  margin: 1.5rem auto 3.5rem auto;
  padding: 0.55rem 1.4rem;
  border-radius: 1.4rem;
  border: 2px solid #3b82f6;
  background: rgba(255, 255, 255, 0.75);
  color: #111827;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  width: 20%;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

#rotating-username {
  display: inline-block;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.vp-section h2, .demo-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.vp-feature {
  background: #fff;
  border-radius: 1.4rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateZ(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.vp-feature:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6), 
  0 0 8px rgba(90, 165, 255, 0.4); 
}




.vp-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: #1f2937;
}

.vp-feature h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.vp-feature p {
  margin: 0;
  color: #4b5563;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Demo Section */
.demo-section {
  padding: 3rem 1rem;
  max-width: 1050px;
  margin: 0 auto;
}

.profile-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 0 auto 2rem auto;
}

.profile-option {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.profile-option:hover {
  color: #1f2937;
  background-color: #f3f4f6;
}

.profile-option.active {
  background-color: #569ef7;
  color: #fff;
  font-weight: 600;
}

.profile-option.active:hover {
  background-color: #3b82f6;
  color: #fff;
}

.demo-iframe-container {
  background-color: #eee;
  width: 100%;
  max-width: 1000px;
  min-height: 600px;
  margin: 0 auto;
  border-radius: 16px;
}

.demo-section p {
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
}

.demo-cta {
  text-align: center;
  margin-top: 2rem;
}

.demo-cta a {
  display: inline-block;
  transition: transform 0.2s ease;
  font-weight: 600;
  cursor: pointer;
}

.demo-cta a:hover {
  transform: scale(1.02);
}




/*CTA Section */
.cta-section {
  padding: 3rem 1rem;
  max-width: 1050px;
  margin: 0 auto;
}

.cta-section-container {
  padding: 3rem 1.5rem;
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-section-container:hover {
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6), 
  0 0 8px rgba(90, 165, 255, 0.4); 
}



.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 0;
  color: #1f2937;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.15rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  max-width: 400px;
  margin: 0 auto;
}

.username-input-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cta-input-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 1.2rem;
  padding: 1rem 1.25rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cta-input-wrapper:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15), 
              0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.cta-prefix {
  color: #4b5563;
  font-weight: 500;
  font-size: 1.05rem;
}

.cta-input {
  flex: 1;
  border: none;
  outline: none;
  color: #4b5563;
  font-weight: 500;
  background: transparent;
  padding: 0;
  font-size: 1.05rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-input::placeholder {
  color: #9ca3af;
}

.cta-input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

.cta-input:valid:not(:placeholder-shown) {
  border-color: #10b981;
}

/* Username status indicator */
.username-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.username-status svg {
  width: 100%;
  height: 100%;
}

.status-loading {
  color: #3b82f6;
}

.status-loading .spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.status-valid {
  color: #2966ea;
}

.status-invalid {
  color: #6b7280;
}

/* Update input wrapper border color based on status */
.cta-input-wrapper.status-valid {
  border-color: #2966ea;
}

.cta-input-wrapper.status-invalid,
.cta-input-wrapper.status-taken {
  border-color: #6b7280;
}

.cta-input-wrapper.status-loading {
  border-color: #3b82f6;
}

/* Username message */
.username-message {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.2rem 1.25rem 0 1.25rem;
  font-size: 0.75rem;
  line-height: 1.3;
  min-height: 1rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-3px);
}

.username-message.message-loading {
  opacity: 1;
  transform: translateY(0);
  color: #3b82f6;
}

.username-message.message-valid {
  opacity: 1;
  transform: translateY(0);
  color: #2966ea;
  font-weight: 500;
}

.username-message.message-invalid {
  opacity: 1;
  transform: translateY(0);
  color: #6b7280;
}

.username-message.message-taken {
  opacity: 1;
  transform: translateY(0);
  color: #6b7280;
  font-weight: 500;
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta-button:disabled:hover {
  transform: none;
  background-color: #3b82f6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color:#3b82f6;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 1.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 500;
  transform-origin: center;
  transition: background-color 0.2s, transform 0.2s;
  max-width: 400px;
  margin: 2rem auto;
}

.cta-button:hover {
  transform: scale(1.04);
  background-color: #2966ea;
}


.cta-button i {
  font-size: 1.2rem;
  color: inherit;
}



/* FOOTER */
footer {
  margin-top: 2rem;
  padding: 2.5rem 1.5rem 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #3b82f6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b82f6;
}

.footer-badge {
  margin-bottom: 1.5rem;
}

.footer-badge span {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-copyright {
  padding-top: 1.25rem;

}

.footer-copyright p {
  margin: 0;
  color: #6b7280;
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 820px) {
  /* Header */
  header {
    padding: 1.5rem 1rem 0.75rem 1rem;
    font-size: 1.5rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  /* Hero Section */
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    gap: 2rem;
  }

  .hero-picture {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-avatar {
    width: 80%;
    max-width: 300px;
  }

  .hero-halo {
    width: 40%;
    top: -4%;
  }

  .hero-text h1 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .bt1 {
    font-size: 1rem;
    padding: 0.7rem 1.4rem;
    margin-top: 0.75rem;
  }

  /* Demo Section */
  .demo-section {
    padding: 2.5rem 1rem;
  }

  .demo-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .demo-section p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .profile-selector {
    max-width: 100%;
    margin-bottom: 1.5rem;
    padding: 0.4rem;
  }

  .profile-option {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .demo-iframe-container {
    margin: 0 auto;
    min-height: 500px;
  }

  .demo-cta {
    margin-top: 1.25rem;
  }

  .demo-cta p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* VP Section */
  .vp-section {
    padding: 2.5rem 1rem;
  }

  .vp-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .vp-link-container {
    width: 50%;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    margin-bottom: 2.5rem;
  }

  .vp-feature {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }

  .vp-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .vp-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
  }

  .vp-feature p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* CTA Section */
  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-section-container {
    padding: 2.5rem 1.5rem;
    border-radius: 2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .cta-section p {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .cta-form {
    max-width: 85%;
    padding-right: 1.2rem;
  }

  .cta-input-wrapper {
    padding: 1.2rem 0.75rem; 
  }

  .cta-input {
    font-size: max(16px, 1rem);
    min-width: 0; 
  }

  .cta-prefix {
    font-size: 0.9rem;  
    white-space: nowrap; 
    flex-shrink: 0; 

  .cta-button {
    font-size: 1rem;
    padding: 0.75rem 1.4rem;
    margin-top: 1rem;
  }

  .username-message {
    padding: 0.15rem 1.25rem 0 1.25rem;
    font-size: 0.70rem;
    line-height: 1.2;
    min-height: 1rem;
  }

  /* Footer */
  footer {
    margin-top: 1.5rem;
    padding: 2rem 1rem 1rem 1rem;
  }

  .footer-nav {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }

  .footer-links {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-badge {
    margin-bottom: 1.25rem;
  }

  .footer-badge span {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
  }

  .footer-copyright p {
    font-size: 0.8rem;
  }
}
}

