@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Updated Custom Color Palette based on new logo */
  --brand-red: #A31D24; /* Deep Crimson from the roof/hammer */
  --brand-dark: #1C232E; /* Dark Charcoal from background/trim */
  --off-white: #F8FAFC;
  --white: #ffffff;
  
  /* Text & Utilities */
  --text-main: #1C232E;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
}

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

/* =========================================
   GLOBAL & SHARED STYLES
   ========================================= */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--off-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.logo {
  font-weight: 800;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span {
  color: var(--brand-red);
}

.btn-primary {
  background-color: var(--brand-red);
  color: var(--white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover {
  background-color: #85161c; /* Slightly darker crimson for hover */
}
.btn-primary:active {
  transform: scale(0.98);
}

/* =========================================
   INDEX PAGE (LANDING) STYLES
   ========================================= */
/* Top Promo Banner */
.top-banner {
  background-color: var(--brand-red);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
}
.top-banner a {
  color: var(--white);
  text-decoration: underline;
  font-weight: 600;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-left { display: flex; align-items: center; gap: 3rem; }
.navbar .logo { font-size: 1.5rem; display: flex; 
  align-items: center; 
  gap: 12px;}
.navbar .logo img {
  max-height: 80px; /* You can change this number to make it bigger or smaller */
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links li a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.nav-links li a:hover { color: var(--brand-red); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }

/* Button Sizing for Main Site */
.navbar .btn-primary, .hero-text .btn-primary, .footer .btn-primary {
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  background-color: var(--brand-dark);
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-accent {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--off-white);
  clip-path: polygon(0 0, 75% 0, 55% 100%, 0% 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}
.hero-text { flex: 1; padding-right: 5%; color: var(--brand-dark); }
.hero-text h1 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 600; letter-spacing: -1px; }
.hero-text p { font-size: 1.15rem; margin-bottom: 2rem; max-width: 500px; font-weight: 500; color: var(--text-muted); }

.hero-image-container {
  flex: 1; position: relative; display: flex; justify-content: flex-end;
}
.hero-image-container img {
  width: 100%; max-width: 700px; height: auto; object-fit: cover;
  border-radius: 8px; box-shadow: 0 25px 50px rgba(0,0,0,0.4);
  background-color: #cbd5e1; min-height: 400px;
}
.floating-ui {
  position: absolute; bottom: -15px; left: -30px; background: var(--white);
  padding: 15px 25px; border-radius: 50px; box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 15px; font-weight: 600; font-size: 0.9rem; color: var(--text-main);
}
.floating-icon {
  width: 30px; height: 30px; background-color: var(--brand-red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white);
}

/* Sections */
.section { padding: 6rem 5%; max-width: 1400px; margin: 0 auto; }
.split-layout { display: flex; align-items: center; gap: 5rem; margin-bottom: 7rem; }
.split-layout.reverse { flex-direction: row-reverse; }
.split-text { flex: 1; }
.split-text h2 { font-size: 2.5rem; color: var(--brand-dark); margin-bottom: 1rem; font-weight: 600; letter-spacing: -0.5px; }
.split-text p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.feature-list { list-style: none; margin-bottom: 2rem; }
.feature-list li { font-size: 1.05rem; margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 12px; color: var(--text-main); }
.feature-list li::before { content: "✓"; color: var(--brand-red); font-weight: bold; font-size: 1.2rem; line-height: 1.2; }
.app-link { color: var(--brand-red); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: opacity 0.2s; }
.app-link:hover { opacity: 0.8; }
.split-image { flex: 1; position: relative; }
.split-image img { width: 100%; box-shadow: 0 15px 35px rgba(28, 35, 46, 0.1); background-color: #cbd5e1; min-height: 400px; object-fit: cover; }
.cut-image { clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%); }
.cut-image-reverse { clip-path: polygon(0 0, 95% 0, 100% 100%, 0 100%); }

/* Footer */
.footer { background-color: var(--brand-dark); color: var(--off-white); text-align: center; padding: 4rem 5%; margin-top: 2rem; }

/* Responsive */
@media (max-width: 968px) {
  .hero-content, .split-layout, .split-layout.reverse { flex-direction: column; gap: 3rem; }
  .hero-bg-accent { clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 90%); }
  .hero-text { padding: 4rem 0 2rem 0; }
  .hero-text h1 { font-size: 3rem; }
  .hero-image-container { width: 100%; justify-content: center; padding-bottom: 4rem; }
  .floating-ui { left: 20px; bottom: 20px; }
  .nav-links { display: none; }
  .cut-image, .cut-image-reverse { clip-path: none; }
}

/* =========================================
   VERIFY PAGE STYLES
   ========================================= */
body.verify-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.verify-container {
  background-color: var(--white);
  width: 100%;
  max-width: 480px;
  padding: 3rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(28, 35, 46, 0.08);
  text-align: center;
  border: 1px solid var(--border-color);
}

.verify-container .logo {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.verify-container h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.verify-container p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.verify-container .btn-primary {
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1.1rem;
  width: 100%;
}

.verify-container .btn-primary:disabled {
  background-color: #cbd5e1;
  cursor: not-allowed;
  transform: none;
}

.status-message {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}

.status-success { color: #10b981; }
.status-error { color: #ef4444; }