/* ==========================================================================
   Twin Tech Labs — site.css
   Bootstrap 5 overrides and custom styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --ttl-teal:       #1387b1;
  --ttl-teal-light: #18a5d6;
  --ttl-teal-dark:  #0f6d90;
  --ttl-dark:       #0d1117;
  --ttl-dark-2:     #111827;
  --ttl-dark-3:     #1c2333;
  --ttl-gray:       #6b7280;
  --ttl-gray-light: #9ca3af;
  --ttl-border:     rgba(255,255,255,0.08);
  --ttl-light:      #f9fafb;
  --ttl-white:      #ffffff;
  --bs-primary:     #1387b1;
  --bs-primary-rgb: 19, 135, 177;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1f2937;
  background: #fff;
}

a {
  color: var(--ttl-teal);
  text-decoration: none;
}

a:hover {
  color: var(--ttl-teal-light);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.text-teal   { color: var(--ttl-teal) !important; }
.bg-ttl-dark { background-color: var(--ttl-dark) !important; }
.bg-ttl-dark-2 { background-color: var(--ttl-dark-2) !important; }
.bg-ttl-dark-3 { background-color: var(--ttl-dark-3) !important; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ttl-teal);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.section-title-lg {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .section-title    { font-size: 1.6rem; }
  .section-title-lg { font-size: 1.9rem; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  background-color: var(--ttl-teal);
  border-color: var(--ttl-teal);
  font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--ttl-teal-dark);
  border-color: var(--ttl-teal-dark);
}

.btn-outline-primary {
  color: var(--ttl-teal);
  border-color: var(--ttl-teal);
  font-weight: 500;
}

.btn-outline-primary:hover {
  background-color: var(--ttl-teal);
  border-color: var(--ttl-teal);
}

.btn-outline-light {
  font-weight: 500;
}

.btn-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.ttl-nav {
  background-color: var(--ttl-dark) !important;
  border-bottom: 1px solid var(--ttl-border);
  padding: 0.9rem 0;
}

.ttl-nav .navbar-brand img {
  height: 38px;
}

.ttl-nav .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem !important;
  transition: color 0.15s;
}

.ttl-nav .nav-link:hover,
.ttl-nav .nav-link.active {
  color: #fff !important;
}

.ttl-nav .dropdown-menu {
  background-color: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 230px;
  margin-top: 4px;
}

.ttl-nav .dropdown-item {
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  transition: background 0.12s, color 0.12s;
}

.ttl-nav .dropdown-item:hover {
  background-color: rgba(19,135,177,0.15);
  color: #fff;
}

.ttl-nav .dropdown-divider {
  border-color: var(--ttl-border);
}

.ttl-nav .dropdown-item.fw-semibold {
  color: var(--ttl-teal-light);
}

.ttl-nav .btn-nav-cta {
  background-color: var(--ttl-teal);
  color: #fff !important;
  border-radius: 6px;
  padding: 0.4rem 1rem !important;
  margin-left: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.ttl-nav .btn-nav-cta:hover {
  background-color: var(--ttl-teal-dark);
  color: #fff !important;
}

.ttl-nav .navbar-toggler {
  border-color: var(--ttl-border);
}

.ttl-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Hero Sections
   -------------------------------------------------------------------------- */
.ttl-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--ttl-dark);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ttl-hero-home {
  min-height: 680px;
  background-image: url('../images/hero_home.jpg');
}

.ttl-hero-inner {
  background-image: url('../images/arca-hero.jpg');
  min-height: 360px;
}

.ttl-hero-services {
  background-image: url('../images/services-hero.jpg');
  min-height: 360px;
}

.ttl-hero-compliance {
  background-image: url('../images/compliance-hero.jpg');
  min-height: 360px;
}

.ttl-hero-about {
  background-image: url('../images/about-hero.jpg');
  min-height: 360px;
}

.ttl-hero-articles {
  background-image: url('../images/articles-hero.jpg');
  min-height: 360px;
}

.ttl-hero-contact {
  background-image: url('../images/contact-hero.jpg');
  min-height: 360px;
}

.ttl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13,17,23,0.76);
}

.ttl-hero-home::before {
  background: linear-gradient(135deg, rgba(13,17,23,0.88) 50%, rgba(19,135,177,0.18) 100%);
}

.ttl-hero .container {
  position: relative;
  z-index: 1;
}

.ttl-hero .hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ttl-teal-light);
  margin-bottom: 1rem;
}

.ttl-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.ttl-hero .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 2rem;
}

.ttl-hero-inner h1 {
  font-size: 2.25rem;
}

@media (max-width: 768px) {
  .ttl-hero h1       { font-size: 2rem; }
  .ttl-hero-inner h1 { font-size: 1.75rem; }
  .ttl-hero .hero-sub { font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Beta Banner
   -------------------------------------------------------------------------- */
.beta-banner {
  background: linear-gradient(90deg, rgba(19,135,177,0.12), rgba(19,135,177,0.06));
  border: 1px solid rgba(19,135,177,0.3);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.beta-badge {
  background: var(--ttl-teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Feature Cards
   -------------------------------------------------------------------------- */
.ttl-card {
  background: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-radius: 10px;
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.2s, transform 0.2s;
}

.ttl-card:hover {
  border-color: rgba(19,135,177,0.4);
  transform: translateY(-2px);
}

.ttl-card .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(19,135,177,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--ttl-teal-light);
}

.ttl-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.ttl-card p {
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
  margin: 0;
  line-height: 1.6;
}

/* Light variant */
.ttl-card-light {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.75rem;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ttl-card-light:hover {
  border-color: var(--ttl-teal);
  box-shadow: 0 4px 20px rgba(19,135,177,0.1);
}

.ttl-card-light .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(19,135,177,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--ttl-teal);
}

.ttl-card-light h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.ttl-card-light p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section-dark {
  background-color: var(--ttl-dark);
  color: #fff;
  padding: 5rem 0;
}

.section-dark-2 {
  background-color: var(--ttl-dark-2);
  color: #fff;
  padding: 5rem 0;
}

.section-light {
  background-color: var(--ttl-light);
  padding: 5rem 0;
}

.section-white {
  background-color: #fff;
  padding: 5rem 0;
}

.section-dark h2,
.section-dark-2 h2 {
  color: #fff;
}

/* --------------------------------------------------------------------------
   How It Works Steps
   -------------------------------------------------------------------------- */
.step-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--ttl-teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 2px;
}

.step-content h5 {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.35rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--ttl-gray-light);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Compliance Tiles
   -------------------------------------------------------------------------- */
.compliance-tile {
  background: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-left: 3px solid var(--ttl-teal);
  border-radius: 8px;
  padding: 1.75rem;
  height: 100%;
}

.compliance-tile h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
}

.compliance-tile p {
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
  margin: 0;
  line-height: 1.65;
}

.compliance-tile ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
}

.compliance-tile ul li {
  font-size: 0.85rem;
  color: var(--ttl-gray-light);
  margin-bottom: 0.3rem;
}

/* --------------------------------------------------------------------------
   Testimonial
   -------------------------------------------------------------------------- */
.testimonial-block {
  background: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-radius: 10px;
  padding: 2.5rem;
  position: relative;
}

.testimonial-block::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--ttl-teal);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.75rem;
  opacity: 0.6;
}

.testimonial-block blockquote {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  padding-left: 0.5rem;
  margin: 0;
  font-style: italic;
}

.testimonial-block .attribution {
  margin-top: 1.25rem;
  padding-left: 0.5rem;
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
}

.testimonial-block .attribution strong {
  color: #fff;
  display: block;
}

/* --------------------------------------------------------------------------
   CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ttl-teal-dark), var(--ttl-teal));
  padding: 4rem 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.05rem;
  opacity: 0.88;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   Agent List (Arca page)
   -------------------------------------------------------------------------- */
.agent-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin: 0.25rem;
}

.agent-chip i {
  color: var(--ttl-teal-light);
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Pricing / Beta Tier Cards
   -------------------------------------------------------------------------- */
.tier-card {
  background: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  position: relative;
}

.tier-card.featured {
  border-color: var(--ttl-teal);
  background: linear-gradient(180deg, rgba(19,135,177,0.1) 0%, var(--ttl-dark-3) 60%);
}

.tier-card .tier-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ttl-teal-light);
  margin-bottom: 0.5rem;
}

.tier-card .tier-price {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.tier-card .tier-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ttl-gray-light);
}

.tier-card .tier-desc {
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.tier-card ul li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  padding: 0.35rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.tier-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ttl-teal-light);
  font-weight: 600;
}

.featured-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--ttl-teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 0 0 6px 6px;
}

/* --------------------------------------------------------------------------
   About / Bio
   -------------------------------------------------------------------------- */
.founder-bio {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.founder-bio img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ttl-teal);
  flex-shrink: 0;
}

.founder-bio h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.founder-bio .founder-title {
  font-size: 0.875rem;
  color: var(--ttl-teal-light);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.founder-bio p {
  font-size: 0.9rem;
  color: var(--ttl-gray-light);
  line-height: 1.7;
}

@media (max-width: 576px) {
  .founder-bio { flex-direction: column; }
  .founder-bio img { width: 90px; height: 90px; }
}

/* --------------------------------------------------------------------------
   Contact Form
   -------------------------------------------------------------------------- */
.contact-form-wrap {
  background: var(--ttl-dark-3);
  border: 1px solid var(--ttl-border);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form-wrap .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.4rem;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  background: var(--ttl-dark-2);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 0.6rem 0.9rem;
}

.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  background: var(--ttl-dark-2);
  border-color: var(--ttl-teal);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(19,135,177,0.2);
}

.contact-form-wrap .form-control::placeholder {
  color: rgba(255,255,255,0.3);
}

.contact-form-wrap .form-select option {
  background: var(--ttl-dark-2);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.ttl-footer {
  background-color: var(--ttl-dark);
  border-top: 1px solid var(--ttl-border);
  padding: 3.5rem 0 1.5rem;
}

.ttl-footer .footer-brand img {
  height: 34px;
  margin-bottom: 1rem;
}

.ttl-footer .footer-tagline {
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
  line-height: 1.65;
  max-width: 260px;
}

.ttl-footer h6 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.ttl-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ttl-footer ul li {
  margin-bottom: 0.5rem;
}

.ttl-footer ul li a {
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
  text-decoration: none;
  transition: color 0.15s;
}

.ttl-footer ul li a:hover {
  color: #fff;
}

.ttl-footer .footer-bottom {
  border-top: 1px solid var(--ttl-border);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ttl-footer .footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.ttl-footer .footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.ttl-footer .footer-bottom a:hover {
  color: rgba(255,255,255,0.7);
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
.divider-teal {
  width: 48px;
  height: 3px;
  background: var(--ttl-teal);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

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

.stat-block .stat-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ttl-teal-light);
  line-height: 1;
}

.stat-block .stat-label {
  font-size: 0.875rem;
  color: var(--ttl-gray-light);
  margin-top: 0.35rem;
}

.coming-soon-pill {
  display: inline-block;
  background: rgba(19,135,177,0.12);
  border: 1px solid rgba(19,135,177,0.3);
  color: var(--ttl-teal-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.placeholder-image {
  background: var(--ttl-dark-3);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}
