:root {
  --color-primary: #276ef1;
  --color-accent: #ffd860;
  --color-accent-hover: #ffdf80;
  --color-red: #ff6b6b;
  --color-white: #ffffff;
  --color-gray: #666666;
  --color-border: #b0b0b0;
  --color-border-light: #e5e5e5;
  --color-nav-bg: #f8f9fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-white);
  color: var(--color-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  text-align: center;
  max-width: 1200px;
  padding: 24px 48px;
  margin: 0 auto;
  width: 100%;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--color-primary);
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 32px auto;
}

.note {
  font-size: 0.95rem;
  color: var(--color-primary);
  line-height: 1.6;
}

footer {
  text-align: center;
  margin-top: auto;
  padding: 48px 24px 24px;
  font-size: 0.8rem;
  color: var(--color-gray);
}

/* Navigation */
nav {
  width: 100%;
  margin-bottom: 0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--color-nav-bg);
  z-index: 100;
  border-bottom: 1px solid var(--color-border-light);
}

nav .nav-inner {
  max-width: none;
  padding: 0 48px 0 24px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

nav .nav-links-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
  padding-left: 16px;
  border-left: 2px solid var(--color-primary);
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
  padding: 0 14px;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              color 0.2s ease,
              border-radius 0.2s ease;
}

nav a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  border-radius: 10px;
  color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 216, 96, 0.3);
}

nav a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 216, 96, 0.4);
}

nav .nav-logo-link {
  padding: 0;
  border: none;
  background: transparent;
}

nav .nav-logo-link:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

nav .nav-logo {
  height: 40px;
  width: auto;
  vertical-align: middle;
}

.nav-arrow {
  display: inline-block;
  font-size: 0.65em;
  margin-left: 4px;
  position: relative;
  top: 1px;
}

/* Mobile Menu Toggle */
.nav-mobile-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.2s ease;
}

.nav-mobile-toggle:hover {
  background: var(--color-accent);
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  margin: 4px 0;
  transition: 0.3s;
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--color-white);
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  top: 100%;
  left: 0;
  margin-top: 0;
  padding: 8px 0;
}

.nav-dropdown-content a {
  display: block;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 0;
  border: none;
  background: transparent;
  transition: background 0.2s ease;
}

.nav-dropdown-content a:hover {
  background: var(--color-accent);
  border-radius: 0;
  box-shadow: none;
}

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content {
  display: block;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 0;
  width: 100%;
  margin: 0;
}

.hero-content {
  background: linear-gradient(135deg, rgba(39, 110, 241, 0.08) 0%, rgba(255, 216, 96, 0.12) 50%, rgba(255, 107, 107, 0.08) 100%);
  border: 2px solid transparent;
  border-radius: 0;
  padding: 120px 48px;
  background-clip: padding-box;
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 0;
  padding: 2px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-red) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-demo {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 16px 48px;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 216, 96, 0.3);
}

.btn-demo:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 96, 0.4);
}

/* Content */
.content {
  text-align: left;
  margin: 32px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  scroll-margin-top: 100px;
}

.content h2 {
  font-size: 3.0rem;
  margin-bottom: 16px;
  margin-top: 50px;
  color: var(--color-primary);
}

.content p {
  font-size: 1.35rem;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 16px;
}

h2 {
  font-size: 3.0rem;
  line-height: 1.15;
  margin: 0 0 16px;
}

p {
  font-size: 1.35rem;
  line-height: 1.75;
  margin: 0 0 24px;
}

/* Contact */
.contact-section {
  text-align: center;
  margin: 48px 0;
  padding: 48px 0;
  scroll-margin-top: 100px;
}

.contact-section h2 {
  font-size: 3.0rem;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.contact-section .note {
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Forms */
form {
  text-align: left;
  margin: 32px auto;
  max-width: 800px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--color-primary);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"] {
  background: var(--color-accent);
  color: var(--color-primary);
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button[type="submit"]:hover {
  background: var(--color-accent-hover);
}

.login-footer {
  margin-top: 24px;
  font-size: 1rem;
}

.login-link {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Login message */
.login-message {
  margin-top: 16px;
  padding: 12px;
  background: rgba(39, 110, 241, 0.08);
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--color-primary);
}

/* Showcase page */
.design-section {
  margin-bottom: 60px;
  background: var(--color-white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.design-label {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 4px;
}

.design-meta {
  font-size: 1rem;
  margin-bottom: 20px;
  padding: 10px;
  color: var(--color-gray);
}

.design-section .hero {
  margin-bottom: 0;
}

.showcase-hint {
  text-align: center;
  padding: 40px;
  color: var(--color-gray);
}

/* ===================================
   HERO DESIGN VARIATIONS
   To use a design, add the class to the hero-content div:
   - (default) Original - Gradient with colorful border
   - hero-design-2: Bold & Modern - Dark with bright accents
   - hero-design-3: Minimal & Clean - White with subtle shadows
   - hero-design-4: Vibrant & Playful - Colorful solid background
   - hero-design-5: Professional & Elegant - Blue tones with serif fonts
   =================================== */

/* Design 2: Bold & Modern - Dark background with bright accents */
.hero-content.hero-design-2 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 3px solid var(--color-accent);
  border-radius: 16px;
}

.hero-content.hero-design-2::before {
  display: none;
}

.hero-content.hero-design-2 .hero-title {
  font-family: 'Montserrat', 'Helvetica Neue', 'Helvetica', sans-serif;
  font-weight: 400;
  font-size: 5rem;
  letter-spacing: 1px;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: none;
}

.hero-content.hero-design-2 .hero-description {
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content.hero-design-2 .btn-demo {
  background: linear-gradient(135deg, var(--color-red) 0%, var(--color-accent) 100%);
  color: #1a1a2e;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Design 3: Minimal & Clean - White with subtle shadows */
.hero-content.hero-design-3 {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.hero-content.hero-design-3::before {
  display: none;
}

.hero-content.hero-design-3 .hero-title {
  font-family: 'Georgia', 'Times New Roman', 'Times', serif;
  font-weight: 300;
  font-size: 4.8rem;
  letter-spacing: -1px;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: #1a1a1a;
}

.hero-content.hero-design-3 .hero-description {
  color: #555555;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-content.hero-design-3 .btn-demo {
  background: #1a1a1a;
  color: var(--color-white);
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-content.hero-design-3 .btn-demo:hover {
  background: #333333;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

/* Design 4: Vibrant & Playful - Colorful solid background */
.hero-content.hero-design-4 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.hero-content.hero-design-4::before {
  display: none;
}

.hero-content.hero-design-4 .hero-title {
  font-family: 'Trebuchet MS', 'Verdana', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
  color: var(--color-white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-content.hero-design-4 .hero-description {
  color: var(--color-white);
  font-size: 1.4rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-content.hero-design-4 .btn-demo {
  background: var(--color-white);
  color: #667eea;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.hero-content.hero-design-4 .btn-demo:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.4);
}

/* Design 5: Professional & Elegant - Blue tones with serif fonts */
.hero-content.hero-design-5 {
  background: linear-gradient(160deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  border: 2px solid #4a90a4;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(15, 32, 39, 0.5);
}

.hero-content.hero-design-5::before {
  display: none;
}

.hero-content.hero-design-5 .hero-title {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  font-size: 5.2rem;
  font-style: italic;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content.hero-design-5 .hero-description {
  color: #e0e0e0;
  font-family: 'Lora', 'Georgia', 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.9;
  font-style: italic;
}

.hero-content.hero-design-5 .btn-demo {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: #0f2027;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(79, 172, 254, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-content.hero-design-5 .btn-demo:hover {
  background: linear-gradient(135deg, #5fbdff 0%, #1affff 100%);
  box-shadow: 0 6px 24px rgba(79, 172, 254, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    max-width: 900px;
    padding: 24px 32px;
  }

  .hero {
    padding: 0;
  }

  .hero-content {
    padding: 90px 32px;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-content.hero-design-2 .hero-title,
  .hero-content.hero-design-4 .hero-title {
    font-size: 3.8rem;
  }

  .hero-content.hero-design-3 .hero-title,
  .hero-content.hero-design-5 .hero-title {
    font-size: 3.5rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
    padding: 24px;
  }

  h1 {
    font-size: 2rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }

  /* Mobile Navigation */
  nav {
    padding: 16px 0;
  }

  nav .nav-inner {
    padding: 0 16px;
    gap: 16px;
    flex-wrap: nowrap;
  }

  nav .nav-logo {
    height: 32px;
  }

  .nav-mobile-toggle {
    display: block;
  }

  nav .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-nav-bg);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-top: 1px solid var(--color-border-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  nav .nav-links.active {
    display: flex;
  }

  nav .nav-links a,
  nav .nav-links-right a {
    font-size: 1.2rem;
    padding: 16px 20px;
    width: 100%;
    justify-content: flex-start;
    border-radius: 0;
  }

  nav .nav-links-right {
    display: block;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--color-border-light);
    padding-left: 0;
    padding-top: 8px;
    margin-left: 0;
    margin-top: 8px;
  }

  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown > a {
    width: 100%;
    display: flex;
  }

  .nav-dropdown-content {
    display: block;
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: rgba(39, 110, 241, 0.05);
    margin: 0;
  }

  .nav-dropdown-content a {
    font-size: 1.1rem;
    padding: 12px 20px 12px 40px;
  }

  .hero {
    padding: 0;
  }

  .hero-content {
    padding: 72px 24px;
    border-radius: 0;
  }

  .hero-content::before {
    border-radius: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-content.hero-design-2 .hero-title,
  .hero-content.hero-design-4 .hero-title {
    font-size: 2.8rem;
  }

  .hero-content.hero-design-3 .hero-title,
  .hero-content.hero-design-5 .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .btn-demo {
    padding: 14px 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 16px;
  }

  h1 {
    font-size: 1.75rem;
  }

  nav {
    padding: 12px 0;
  }

  nav .nav-inner {
    padding: 0 12px;
  }

  nav .nav-logo {
    height: 28px;
  }

  .hero {
    padding: 0;
  }

  .hero-content {
    padding: 60px 16px;
    border-radius: 0;
  }

  .hero-content::before {
    border-radius: 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-content.hero-design-2 .hero-title,
  .hero-content.hero-design-4 .hero-title {
    font-size: 2.2rem;
  }

  .hero-content.hero-design-3 .hero-title,
  .hero-content.hero-design-5 .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-demo {
    padding: 12px 32px;
    font-size: 0.95rem;
  }
}
