@charset "utf-8";
/* Clausal AI - main.css */

:root {
  --accent: #1e40af;
  --accent-hover: #1e3a8a;
  --accent-light: rgba(30,64,175,0.1);
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1a202c;
  --text-muted: #64748b;
  --border: rgba(30,64,175,0.15);
  --nav-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px !important;
  line-height: 1.9;
  color: var(--text);
  overflow-x: hidden;
  background: var(--bg);
}

h1 { font-size: 61px !important; line-height: 1.1; font-weight: 700; }
h2 { font-size: 43px !important; line-height: 1.2; font-weight: 700; }
h3 { font-size: 28px !important; line-height: 1.3; font-weight: 600; }
nav a { font-size: 15px !important; }

a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.page-top { padding-top: var(--nav-height, 72px); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* FUNDING BAR */
#funding-bar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--accent);
  color: #fff;
  padding: 10px 5%;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 14px;
  font-weight: 500;
}
#funding-bar a { color: #fff; font-weight: 700; text-decoration: underline; }
#funding-bar a:hover { opacity: 0.85; }
.funding-close {
  position: absolute; right: 1rem;
  background: none; border: none; color: #fff;
  font-size: 20px; cursor: pointer; line-height: 1; padding: 0 4px;
}

/* NAVBAR */
#site-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: #ffffff;
  border-bottom: 1px solid rgba(30,64,175,0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  height: var(--nav-height);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; font-weight: 700;
  font-size: 1.3rem !important; color: var(--text);
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-links { display: flex; list-style: none; gap: 2.5rem; }
.nav-links a {
  font-size: 15px !important;
  text-decoration: none; color: var(--text);
  font-weight: 500; transition: color 0.3s;
  position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ""; position: absolute;
  width: 0; height: 2px;
  bottom: 0; left: 50%; transform: translateX(-50%);
  background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links li.active a::after { width: 100%; }
.nav-links li.active a { color: var(--accent); font-weight: 600; }
.mobile-menu {
  display: none; flex-direction: column; cursor: pointer; gap: 5px;
}
.mobile-menu span {
  display: block; width: 26px; height: 3px;
  background: var(--accent); border-radius: 2px; transition: 0.3s;
}

/* HERO (INDEX) */
#hero {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('../images/hero-main.jpg');
  background-size: cover; background-position: center;
  min-height: 620px; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; padding: 0 5%; }
#hero h1 { font-size: 61px !important; color: #fff; margin-bottom: 1.5rem; }
#hero p { font-size: 20px; opacity: 0.92; margin-bottom: 2.5rem; }

.btn-primary {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 0.85rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  transition: all 0.3s; border: 2px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30,64,175,0.3); }
.btn-secondary {
  display: inline-block; background: transparent; color: #fff;
  padding: 0.85rem 2.2rem; border-radius: 50px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.7); transition: all 0.3s; margin-left: 1rem;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

/* PAGE HERO (inner pages) */
.page-hero {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('../images/about-hero.jpg');
  background-size: cover; background-position: center;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 60px 5%;
}
.page-hero h1 { font-size: 61px !important; color: #fff; margin-bottom: 1rem; }
.page-hero p { font-size: 20px; opacity: 0.88; }

/* SECTION COMMON */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--text); margin-bottom: 1rem; }
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.section-tag {
  display: inline-block; background: var(--accent-light); color: var(--accent);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 14px; border-radius: 20px; margin-bottom: 1rem;
}
section.pad { padding: 80px 0; }
section.pad-lg { padding: 100px 0; }
.bg-light { background: var(--bg); }
.bg-white { background: #fff; }
.bg-dark { background: #0f172a; color: #fff; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
  background: #fff; border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(30,64,175,0.08); transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,0.12); }
.feature-card-icon {
  width: 52px; height: 52px; background: var(--accent-light);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 20px !important; margin-bottom: 0.8rem; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 16px; line-height: 1.7; }

/* STATS BAR */
.stats-bar { background: var(--accent); color: #fff; padding: 48px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-num { font-size: 48px; font-weight: 800; display: block; }
.stat-label { font-size: 15px; opacity: 0.85; margin-top: 0.3rem; }

/* PLATFORM FEATURES */
.platform-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.platform-feature.reverse { direction: rtl; }
.platform-feature.reverse > * { direction: ltr; }
.platform-feature-image img { width: 100%; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.8rem; padding: 0.5rem 0; font-size: 16px; color: var(--text-muted); }
.feature-list li::before { content: "\2713"; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* SOLUTIONS */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.solution-card { background: #fff; border-radius: 16px; padding: 2.5rem; border: 1px solid rgba(30,64,175,0.08); transition: all 0.3s; }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,0.1); }
.solution-card h3 { font-size: 22px !important; margin-bottom: 1rem; color: var(--text); }
.solution-card p { color: var(--text-muted); font-size: 16px; }

/* TEAM CARDS */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.team-card {
  background: #fff; border-radius: 20px; padding: 2.5rem; text-align: center;
  width: 300px; border: 1px solid rgba(30,64,175,0.08); transition: all 0.3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(30,64,175,0.1); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 1.2rem; border: 3px solid var(--accent-light); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.initial-avatar {
  width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 2.5rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.team-card h3 { font-size: 22px !important; margin-bottom: 0.3rem; color: var(--text); }
.team-card .role { color: var(--accent); font-weight: 600; font-size: 15px; margin-bottom: 1rem; }
.team-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(30,64,175,0.08); transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,64,175,0.1); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-img-placeholder { width: 100%; height: 200px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; }
.blog-card-body { padding: 1.5rem; }
.blog-cat { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.blog-card-body h3 { font-size: 18px !important; margin-bottom: 0.8rem; color: var(--text); }
.blog-card-body p { font-size: 15px; color: var(--text-muted); margin-bottom: 1rem; }
.blog-card-meta { font-size: 13px; color: var(--text-muted); }
.read-more { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 14px; }
.read-more:hover { text-decoration: underline; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.contact-info h3 { font-size: 24px !important; margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-detail-icon {
  width: 44px; height: 44px; background: var(--accent-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail-text h4 { font-size: 16px !important; font-weight: 600; margin-bottom: 0.2rem; }
.contact-detail-text p { font-size: 15px; color: var(--text-muted); }
.contact-form { background: #fff; border-radius: 20px; padding: 2.5rem; border: 1px solid rgba(30,64,175,0.08); }
.contact-form h3 { font-size: 24px !important; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group label { font-size: 14px; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem; border: 1px solid rgba(30,64,175,0.2);
  border-radius: 8px; font-size: 15px; font-family: inherit;
  transition: border-color 0.3s; background: #fff; color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,64,175,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-full { grid-column: 1 / -1; }
.form-submit {
  width: 100%; padding: 0.9rem; background: var(--accent); color: #fff;
  border: none; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.3s;
}
.form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* COOKIE BANNER BUTTONS */
#cookie-accept, .cookie-btn {
  background: var(--accent); color: #fff; border: none;
  border-radius: 6px; padding: 10px 24px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.cookie-btn.decline, #cookie-decline {
  background: transparent; border: 1px solid var(--border); color: var(--text-muted);
}

/* FOOTER */
.site-footer { background: #0f172a; color: #fff; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand .nav-logo-icon { background: var(--accent); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.8; }
.footer-col h4 { font-size: 15px !important; font-weight: 700; margin-bottom: 1.2rem; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 15px; transition: color 0.3s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 14px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ABOUT */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-split img { width: 100%; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.value-card { background: #fff; border-radius: 12px; padding: 1.5rem; border: 1px solid rgba(30,64,175,0.08); }
.value-card h4 { font-size: 17px !important; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.value-card p { font-size: 14px; color: var(--text-muted); }

/* CTA SECTION */
.cta-section { background: var(--accent); color: #fff; text-align: center; padding: 80px 0; }
.cta-section h2 { font-size: 43px !important; color: #fff; margin-bottom: 1rem; }
.cta-section p { font-size: 20px; opacity: 0.9; margin-bottom: 2rem; }
.btn-white {
  display: inline-block; background: #fff; color: var(--accent);
  padding: 0.85rem 2.2rem; border-radius: 50px;
  font-weight: 700; font-size: 16px; text-decoration: none; transition: all 0.3s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card { background: #fff; border-radius: 16px; padding: 2rem; border: 1px solid rgba(30,64,175,0.08); position: relative; }
.testimonial-card::before { content: "\201C"; font-size: 5rem; color: var(--accent-light); position: absolute; top: -10px; left: 20px; line-height: 1; }
.testimonial-text { font-style: italic; color: var(--text); margin-bottom: 1.5rem; font-size: 16px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-initials {
  width: 48px; height: 48px; border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.author-name { font-weight: 700; font-size: 15px; color: var(--text); }
.author-title { font-size: 13px; color: var(--text-muted); }

/* LEGAL PAGES */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 28px !important; margin-top: 3rem; margin-bottom: 1rem; color: var(--text); }
.legal-content h3 { font-size: 22px !important; margin-top: 2rem; margin-bottom: 0.8rem; color: var(--text); }
.legal-content p { font-size: 16px; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; color: var(--text-muted); font-size: 16px; margin-bottom: 1.2rem; }
.legal-content ul li { margin-bottom: 0.5rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  h1 { font-size: 48px !important; }
  h2 { font-size: 36px !important; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 38px !important; }
  h2 { font-size: 30px !important; }
  h3 { font-size: 22px !important; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: #fff; padding: 1.5rem 5%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); gap: 1rem;
  }
  .nav-links.active { display: flex; }
  .mobile-menu { display: flex; }
  #hero h1 { font-size: 38px !important; }
  .hero-btns { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
  .btn-secondary { margin-left: 0; }
  .features-grid, .solutions-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .platform-feature { grid-template-columns: 1fr; }
  .platform-feature.reverse { direction: ltr; }
  .about-split { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { flex-direction: column; align-items: center; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-inner { grid-column: 1fr; }
}

/* PAGE HERO BACKGROUNDS */
.page-hero-about {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-platform {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('../images/platform-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-generic {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('../images/about-hero.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero-legal {
  background-color: #0f172a;
  background-image: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)), url('../../assets/images/about-hero.jpg');
  background-size: cover;
  background-position: center;
}
/* Dark bg section */
.bg-investors {
  background: #0f172a;
  color: #fff;
}
