body { margin:0; font-family: Arial, sans-serif; color:#111; }
.container { width:90%; max-width:1100px; margin:auto; }
.site-header { background:#0a1f44; padding:20px 0; }
.site-header a { color:white; margin-right:20px; text-decoration:none; }
.section { padding:20px 0; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.card { border:1px solid #eee; padding:20px; border-radius:8px; }
.footer { background:#f4f4f4; padding:20px; text-align:center; }
.btn { background:#0052ff; color:white; padding:12px 20px; text-decoration:none; border-radius:5px; }
.btn-primary { background:#0052ff; color:white; padding:12px 20px; text-decoration:none; border-radius:5px; }

/* Header */

.site-header {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 65px;
  width: auto;
}

.main-nav a {
  margin-left: 24px;
  text-decoration: none;
  font-weight: 600;
  color: #222;
}

.main-nav a:hover {
  color: #0066cc;
}

/* Dropdown Menu */

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 10px 0;
  z-index: 1000;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #222;
}

.dropdown-content a:hover {
  background-color: #f4f6f8;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Team Section */

.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: center;
  margin: 50px 0;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.team-photo img {
  width: 100%;
  max-width: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.team-info h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.team-info p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .team-member {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .team-photo {
    margin-bottom: 20px;
  }
}

/* Contact Layout */

.contact-hero {
  max-width: 800px;
  margin-bottom: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-form label {
  display: block;
  margin-top: 20px;
  margin-bottom: 6px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.form-actions {
  margin-top: 20px;
}

.contact-right ul {
  padding-left: 18px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.diagram {
  text-align: center;
  font-family: monospace;
  white-space: pre;
}

/* ============================= */
/* HOME PAGE — Executive Theme */
/* ============================= */

.home-landing {
  background: linear-gradient(180deg, #0c0f14 0%, #111827 100%);
  padding: 80px 10%;
  color: #e5e7eb;
  animation: fadeInPage 0.8s ease-in-out;
}

/* Header */

.home-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px auto;
}

.home-header h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.home-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Grid Section */

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-bottom: 80px;
}

.home-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 35px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.home-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.home-card h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.home-card p,
.home-card li {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

.home-card ul {
  padding-left: 18px;
}

/* Footer CTA */

.home-footer {
  margin-top: 90px;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-footer h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #ffffff;
}

.home-footer p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #cbd5e1;
}

/* Button Polish */

.home-footer .btn {
  padding: 12px 28px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.home-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Animations */

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger Animation */

.home-card:nth-child(1) { animation-delay: 0.1s; }
.home-card:nth-child(2) { animation-delay: 0.2s; }
.home-card:nth-child(3) { animation-delay: 0.3s; }

.team-member { animation-delay: 0.4s; }

/* Responsive */

@media (max-width: 900px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-photo img {
    width: 140px;
    height: 140px;
  }

  .home-landing {
    padding: 60px 6%;
  }
}
/* Products landing */

.products-landing {
    background-color: #0f172a;
    padding: 80px 40px;
    color: #f8fafc;
    min-height: 100vh;
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-header h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.products-header p {
    font-size: 18px;
    opacity: 0.8;
}

.products-architecture {
    text-align: center;
    margin-bottom: 80px;
}

.products-arch-image {
    max-width: 60%;
    margin-top: 30px;
    border-radius: 8px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.products-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.products-card:hover {
    transform: translateY(-5px);
}

.products-card h2 {
    margin-bottom: 15px;
}

.products-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.products-card li {
    margin-bottom: 8px;
}

.products-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.products-block {
    background-color: #16213e;
    padding: 30px;
    border-radius: 8px;
}

.products-footer {
    margin-top: 80px;
    text-align: center;
    opacity: 0.85;
}

/* Industries-landing */

.industries-landing {
    background-color: #0f172a;
    padding: 80px 40px;
    color: #f8fafc;
    min-height: 100vh;
}

.industries-header {
    text-align: center;
    margin-bottom: 60px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}


.industry-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 10px;
}

.industries-footer {
    margin-top: 80px;
    text-align: center;
    opacity: 0.85;
}

/* industry-landing */

.industry-landing {
    background-color: #111827;
    padding: 80px 40px;
    color: #f9fafb;
    min-height: 100vh;
}

.industry-header {
    text-align: center;
    margin-bottom: 70px;
}

.industry-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.industry-block {
    background-color: #1f2937;
    padding: 30px;
    border-radius: 10px;
}

.industry-footer {
    margin-top: 80px;
    text-align: center;
    opacity: 0.85;
}

.services-landing {
    background-color: #0f172a;
    padding: 80px 40px;
    color: #f8fafc;
    min-height: 100vh;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #1e293b;
    padding: 30px;
    border-radius: 10px;
}

.service-landing {
    background-color: #111827;
    padding: 80px 40px;
    color: #f9fafb;
    min-height: 100vh;
}

.service-header {
    text-align: center;
    margin-bottom: 70px;
}

.service-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-block {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 10px;
}

.service-diagram {
    max-width: 100%;
    margin-top: 20px;
    border-radius: 8px;
}

.services-footer {
    margin-top: 80px;
    text-align: center;
    opacity: 0.85;
}

.service-architecture {
    margin: 100px 0;
    text-align: center;
}

.service-architecture h2 {
    margin-bottom: 30px;
}

.service-diagram-large {
    width: 60%;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    display: block;
}

.service-architecture p {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.85;
}

.home-arch-image {
    max-width: 40%;
    margin-top: 30px;
    border-radius: 8px;
}

/* ============================= */
/* ABOUT PAGE — Executive Theme */
/* ============================= */

.about-landing {
  background: linear-gradient(180deg, #0c0f14 0%, #111827 100%);
  padding: 80px 10%;
  color: #e5e7eb;
  animation: fadeInPage 0.8s ease-in-out;
}

/* Header */

.about-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 70px auto;
}

.about-header h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Grid Section */

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  margin-bottom: 80px;
}

.about-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 35px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.about-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.about-card h2 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.about-card p,
.about-card li {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
}

.about-card ul {
  padding-left: 18px;
}

/* Leadership Section */

.about-leadership {
  margin-top: 60px;
}

.about-leadership h2 {
  font-size: 28px;
  margin-bottom: 40px;
  text-align: center;
  color: #ffffff;
}

.team-member {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.team-member:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.team-photo img {
  width: 160px;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
}

.team-info h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ffffff;
}

.team-info p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #cbd5e1;
}

.team-info strong {
  color: #ffffff;
  font-weight: 600;
}

/* Footer CTA */

.about-footer {
  margin-top: 90px;
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.about-footer h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #ffffff;
}

.about-footer p {
  font-size: 16px;
  margin-bottom: 25px;
  color: #cbd5e1;
}

/* Button Polish */

.about-footer .btn {
  padding: 12px 28px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Animations */

@keyframes fadeInPage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger Animation */

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.team-member { animation-delay: 0.4s; }

/* Responsive */

@media (max-width: 900px) {
  .team-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-photo img {
    width: 140px;
    height: 140px;
  }

  .about-landing {
    padding: 60px 6%;
  }
}

/* ============================= */
/* BLOG PAGE — Executive Theme */
/* ============================= */

.blog-landing {
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  padding: 80px 10%;
  color: #e5e7eb;
}

.blog-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 70px auto;
}

.blog-header h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.blog-header p {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
}

/* Blog Grid */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
  margin-bottom: 80px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px;
  border-radius: 14px;
  transition: all 0.3s ease;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blog-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #ffffff;
}

.blog-meta {
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 15px;
}

.blog-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* Footer */

.blog-footer {
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-footer h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.blog-footer p {
  font-size: 16px;
  color: #cbd5e1;
}

/* Stagger animation */

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive */

@media (max-width: 900px) {
  .blog-landing {
    padding: 60px 6%;
  }
}

/* =====================================================
   CONTACT PAGE — Aligned with Products Theme
   Executive mid-tone enterprise styling
===================================================== */

/* -----------------------------------------------------
   Page Background (Matches Products Tone)
----------------------------------------------------- */

body.page-contact {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3f9 100%);
  color: #1e293b;
}


/* =====================================================
   LANDING SECTION
===================================================== */

.contact-landing {
  padding: 110px 8% 90px;
  text-align: center;
}

.contact-landing-inner {
  max-width: 880px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.contact-landing h1 {
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin-bottom: 22px;
  color: #0f172a;
}

.contact-landing p {
  font-size: 18px;
  line-height: 1.7;
  color: #475569;
}


/* =====================================================
   MAIN GRID
===================================================== */

.contact-main {
  padding: 80px 8% 100px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}


/* =====================================================
   FORM CARD (Light Executive Surface)
===================================================== */

.contact-card {
  background: #ffffff;
  padding: 50px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.contact-card h2 {
  font-size: 26px;
  margin-bottom: 35px;
  font-weight: 600;
  color: #0f172a;
}


/* =====================================================
   FORM ELEMENTS
===================================================== */

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 26px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #64748b;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: #0f172a;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

textarea {
  resize: vertical;
}


/* =====================================================
   BUTTONS (Match Products CTA)
===================================================== */

.btn.primary {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border: none;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #ffffff;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.25);
}

.btn.alt {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 10px 20px;
  border-radius: 8px;
  color: #334155;
  transition: 0.2s ease;
}

.btn.alt:hover {
  background: #e2e8f0;
}


/* =====================================================
   RIGHT SIDE CARDS
===================================================== */

.contact-info-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  animation: fadeUp 1.1s ease forwards;
  opacity: 0;
}

.contact-info-card.secondary {
  background: #f8fafc;
}

.contact-info-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #0f172a;
}

.contact-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-card li {
  margin-bottom: 12px;
  color: #475569;
  font-size: 15px;
}

.contact-info-card p {
  color: #475569;
  margin-bottom: 8px;
}


/* =====================================================
   CTA SECTION
===================================================== */

.contact-cta {
  padding: 100px 8%;
  background: linear-gradient(135deg, #e8f0fb, #f1f5fb);
  text-align: center;
}

.contact-cta-inner {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1.3s ease forwards;
  opacity: 0;
}

.contact-cta h2 {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #0f172a;
}

.contact-cta p {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
}


/* =====================================================
   DEMO SECTION
===================================================== */

.contact-demo {
  padding: 60px 8%;
  font-size: 14px;
  color: #64748b;
}


/* =====================================================
   ANIMATION
===================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 980px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 35px;
  }

  .contact-landing h1 {
    font-size: 32px;
  }

  .contact-cta h2 {
    font-size: 24px;
  }
}

/* =====================================================
   HOME PAGE ANIMATION SYSTEM
   Matches About page motion discipline
===================================================== */

/* ---------- HERO SECTION ---------- */

.hero .container {
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
}

.home-arch-image {
  display: block;
  max-width: 60%;
  margin: 0 auto 40px;
  animation: fadeInScale 1.2s ease forwards;
  opacity: 0;
}


/* ---------- SECTION HEADINGS ---------- */

.section h2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.15s;
}


/* ---------- GRID CARDS ---------- */

.grid-3 .card {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease forwards;
}

/* stagger effect */
.grid-3 .card:nth-child(1) {
  animation-delay: 0.2s;
}

.grid-3 .card:nth-child(2) {
  animation-delay: 0.35s;
}

.grid-3 .card:nth-child(3) {
  animation-delay: 0.5s;
}


/* subtle hover elevation */
.grid-3 .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-3 .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}


/* ---------- INDUSTRY SECTION TEXT ---------- */

.section p {
  animation: fadeUp 0.9s ease forwards;
  opacity: 0;
  animation-delay: 0.25s;
}


/* ---------- CTA SECTION ---------- */

.section.cta .container {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

.section.cta .btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section.cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}


/* =====================================================
   KEYFRAMES
===================================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================
   TECHNICAL WHITEPAPER FORMAT (PRODUCTION)
========================================== */

.paper {
  max-width: 820px;
  margin: 60px auto;
  padding: 50px 55px;
  background: #ffffff;
  color: #1e293b;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

/* ------------------------------------------
   Header
------------------------------------------ */

.paper-header {
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e7eb;
}

.paper-title {
  font-size: 1.95rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin: 0 0 10px 0;
}

.paper-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 10px;
}

.paper-subtitle {
  font-size: 1rem;
  color: #475569;
  margin-top: 6px;
}

/* ------------------------------------------
   Body Typography
------------------------------------------ */

.paper-body {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
}

.paper-body p {
  margin: 0 0 14px 0;
}

/* ------------------------------------------
   Section Headings
------------------------------------------ */

.paper-body h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 32px 0 14px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e7eb;
}

.paper-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 10px 0;
}

/* ------------------------------------------
   Lists
------------------------------------------ */

.paper-body ul,
.paper-body ol {
  margin: 10px 0 16px 22px;
  padding: 0;
}

.paper-body li {
  margin-bottom: 6px;
}

/* ------------------------------------------
   Abstract Block
------------------------------------------ */

.paper-body h2:first-of-type + p {
  background: #f8fafc;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  font-style: italic;
  margin-bottom: 18px;
}

/* ------------------------------------------
   Diagrams (Structured Block)
------------------------------------------ */

.diagram {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px 18px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 18px 0;
  white-space: pre;
  overflow-x: auto;
}

/* ------------------------------------------
   Horizontal Rule
------------------------------------------ */

.paper-body hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 28px 0;
}

/* ------------------------------------------
   Improve Readability on Large Screens
------------------------------------------ */

@media (min-width: 1400px) {
  .paper {
    max-width: 860px;
  }
}

/* ------------------------------------------
   Whitepaper Images
------------------------------------------ */

.paper-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 28px auto;
  border-radius: 6px;
}

/* ------------------------------------------
   Whitepaper Tables
------------------------------------------ */

.paper-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 36px 0;
  font-size: 0.96rem;
  line-height: 1.6;
  display: block;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}

.paper-body th,
.paper-body td {
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}

.paper-body th {
  background-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.paper-body tr:nth-child(even) {
  background-color: #f8fafc;
}

/* hero section */

.hero {
  position: relative;
  padding: 20px 0 10px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #0b1120 50%,
    #0a0f1d 100%
  );
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(59, 130, 246, 0.08),
    transparent 60%
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 12px auto;
}
