/* Brain Pages - Global Stylesheet */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #000;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  color: #111;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #222;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #545b62;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

.btn-success:hover {
  background-color: #218838;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: #f8f9fa;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #007bff;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.hero h1 {
  color: white;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Video Container */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 2rem 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* Offer Stack */
.offer-stack {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid #007bff;
}

.offer-stack h3 {
  color: #007bff;
  margin-bottom: 1rem;
}

.offer-stack ul {
  list-style: none;
  padding-left: 0;
}

.offer-stack li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.offer-stack li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

/* Price Section */
.price-section {
  text-align: center;
  padding: 2rem;
  background-color: #f0f7ff;
  border-radius: 12px;
  margin: 2rem 0;
}

.price-section .price {
  font-size: 3rem;
  font-weight: 700;
  color: #007bff;
  margin: 1rem 0;
}

/* Confirmation Section */
.confirmation {
  text-align: center;
  padding: 3rem;
  background-color: #f0f7ff;
  border-radius: 12px;
  border: 2px solid #28a745;
}

.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.confirmation h2 {
  color: #28a745;
  margin-bottom: 1rem;
}

/* Assessment/Quiz Styles */
.quiz-container {
  max-width: 600px;
  margin: 2rem auto;
}

.quiz-question {
  background-color: #f8f9fa;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.quiz-question h4 {
  margin-bottom: 1rem;
  color: #333;
}

.quiz-option {
  margin-bottom: 0.75rem;
}

.quiz-option input[type="radio"] {
  margin-right: 0.5rem;
}

.quiz-option label {
  display: inline;
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.quiz-result {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.quiz-result.pass {
  background-color: #d4edda;
  border: 2px solid #28a745;
  color: #155724;
}

.quiz-result.fail {
  background-color: #f8d7da;
  border: 2px solid #dc3545;
  color: #721c24;
}

/* Certificate Styles */
.certificate {
  background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certificate h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.certificate-message {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid #e9ecef;
  text-align: center;
  color: #666;
}

footer p {
  margin-bottom: 0.5rem;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero {
    padding: 2rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .price-section .price {
    font-size: 2.5rem;
  }

  .certificate {
    padding: 2rem;
  }

  .certificate h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 1.5rem 0;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .price-section .price {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}
