/* SamEvent Landing Page Styles */

/* CSS Variables */
:root {
  --primary: #d60000;
  --primary-dark: #b50000;
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --text-primary: #333333;
  --text-secondary: #666666;
  --max-width: 1200px;
  --section-padding: 80px;
  --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: 2.5rem;
}

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

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

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

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--black);
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.875rem;
}

.app-badge:hover {
  background: var(--gray-800);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--black);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/landing/imgs/photo-1619794555233-e563edf91173.avif');  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--section-padding) 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.hero-app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.hero-app-link svg {
  width: 16px;
  height: 16px;
}

/* Section Styles */
section {
  padding: var(--section-padding) 0;
}

.section-gray {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Problem/Solution Section */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.problem-solution-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.problem-solution-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.problem-solution-card h3 svg {
  width: 28px;
  height: 28px;
}

.problem-card h3 {
  color: var(--gray-700);
}

.solution-card h3 {
  color: var(--primary);
}

.problem-solution-card ul {
  list-style: none;
}

.problem-solution-card li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.problem-solution-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.problem-card li::before {
  background: var(--gray-400);
}

.solution-card li::before {
  background: var(--primary);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.features-column {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.features-column h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.features-column h3 svg {
  width: 32px;
  height: 32px;
}

.feature-list {
  list-style: none;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
}

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

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--black);
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

.comparison-table th:first-child {
  width: 35%;
}

.comparison-table td {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table .highlight-col {
  background: rgba(214, 0, 0, 0.03);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--black);
}

.check-icon {
  color: green;
}

.cross-icon {
  color: var(--gray-400);
}

/* Form Section */
.form-section {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.form-section > p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--black);
}

.form-group label .required {
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(214, 0, 0, 0.1);
}

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

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

.form-submit {
  width: 100%;
  margin-top: 1rem;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  font-family: inherit;
  transition: background-color var(--transition);
}

.faq-question:hover {
  background: var(--gray-100);
}

.faq-question span {
  flex: 1;
  padding-right: 16px;
}

.faq-icon {
  flex-shrink: 0;
  transition: transform var(--transition);
  stroke: var(--gray-500);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

.faq-answer a {
  color: var(--primary);
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 0.5rem;
}

.footer-contact h5,
.footer-links h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-contact p,
.footer-links ul {
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--gray-300);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--gray-400);
  display: block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--gray-700);
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Secondary Pages */
.page-header {
  background: var(--gray-100);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
}

.page-content {
  padding: 60px 0;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.page-content ul {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
  color: var(--primary);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

.mobile-menu{
  display:none;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }

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

  .features-grid,
  .problem-solution {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  h1 {
    font-size: 1.875rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 30px 20px;
    flex-direction: column;
    gap: 0;
    animation: slideDown 0.3s ease;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--gray-200);
  }

  .mobile-menu a:hover {
    color: var(--primary);
  }

  .mobile-menu .app-badge {
    margin-top: 20px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
    color: white;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-menu-btn.active svg {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .form-section {
    padding: 30px 20px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 0.875rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-ctas,
  .form-section,
  .nav-links,
  .app-badge {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-bg {
    display: none;
  }

  .hero-overlay {
    display: none;
  }

  section {
    padding: 40px 0;
  }

  .problem-solution-card,
  .features-column {
    box-shadow: none;
    border: 1px solid var(--gray-200);
  }
}
