:root{
  --red:#9b222b;
  --red-soft:#e47f87;
  --dark:#070b14;
  --dark-2:#0f1624;
  --panel:#111827;
  --panel-2:#0b1220;
  --border:#263244;
  --text:#ffffff;
  --muted:#c2cad8;
  --muted-2:#95a2b5;
  --radius:20px;
  --shadow:0 24px 60px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  background:var(--dark);
  color:var(--text);
  line-height:1.6;
}
img{display:block;max-width:100%}
a{text-decoration:none}
.container{width:min(1240px,92%);margin:0 auto}
.site-header{
  position:sticky;top:0;z-index:999;
  background:rgba(7,11,20,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav-wrap{
  min-height:84px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.brand-logo{height:58px;width:auto}
.nav-links{display:flex;align-items:center;gap:26px}
.nav-links a{color:#fff;font-size:15px;font-weight:600;transition:color .25s ease}
.nav-links a:hover{color:var(--red-soft)}
.menu-toggle{
  display:none;background:none;border:none;color:#fff;
  font-size:28px;cursor:pointer
}
.section{padding:96px 0}
.hero{
  background:
    radial-gradient(circle at 12% 20%, rgba(155,34,43,.14), transparent 30%),
    linear-gradient(180deg,#060a12 0%, #0b121e 55%, #090f18 100%);
  padding:76px 0 92px;
}
.hero-grid,
.split-grid,
.contact-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:48px;
  align-items:center;
}
.reverse-mobile{grid-template-columns:.96fr 1.04fr}
.eyebrow{
  color:var(--red-soft);
  font-weight:700;
  letter-spacing:1.7px;
  font-size:13px;
  margin:0 0 14px
}
h1,h2,h3,h4{margin:0 0 16px;line-height:1.12}
h1{font-size:58px;max-width:760px}
h1 span{color:#fff}
h2{font-size:42px}
h3{font-size:24px}
h4{font-size:18px}
p{margin:0 0 16px;color:var(--muted);font-size:18px}
.hero-main-logo{height:92px;width:auto;margin-bottom:14px}
.hero-text{max-width:690px}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin:30px 0 24px}
.button{
  display:inline-flex;align-items:center;justify-content:center;
  padding:15px 28px;border-radius:999px;font-weight:700;
  transition:transform .2s ease, box-shadow .25s ease
}
.button:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,0,0,.25)}
.primary{background:var(--red);color:#fff;border:none}
.secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.18)}
.trust-row{
  display:flex;flex-wrap:wrap;gap:12px;margin-top:6px
}
.centered-trust{justify-content:center}
.trust-pill{
  padding:10px 14px;border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;font-size:14px
}
.hero-visual img,
.founder-visual img,
.challenge-visual img,
.workflow-visual img,
.governance-visual img,
.integration-visual img,
.ecosystem-visual img,
.product-card img{
  border-radius:18px;box-shadow:var(--shadow)
}
.section-heading{max-width:820px;margin:0 auto 42px}
.centered{text-align:center}
.credibility-grid{
  display:grid;grid-template-columns:1fr;gap:18px;margin-top:22px
}
.info-card{
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  border:1px solid var(--border);
  border-radius:18px;padding:24px
}
.dark{background:linear-gradient(180deg,#0c1220 0%, #0a1018 100%)}
.platform-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:26px
}
.product-card{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));
  border:1px solid var(--border);border-radius:20px;overflow:hidden;
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease
}
.product-card:hover{
  transform:translateY(-8px);
  border-color:var(--red);
  box-shadow:0 22px 46px rgba(0,0,0,.32)
}
.logo-band{
  padding:18px 20px 8px;
  border-bottom:1px solid rgba(255,255,255,.04);
  background:rgba(255,255,255,.02)
}
.module-logo{height:60px;width:auto;object-fit:contain}
.rom-logo{height:74px}
.plain-module-title{
  font-size:20px;margin:0;color:#fff
}
.product-copy{padding:20px 22px 26px}
.product-card-wide{grid-column:span 1}
.integration-logo-row{
  display:flex;align-items:center;gap:14px;margin:10px 0 18px
}
.vigilince-logo{height:64px;width:auto}
.integration-rom-logo{height:70px;width:auto}
.integration-plus{font-size:28px;font-weight:700;color:var(--red-soft)}
.flow-bar{
  display:flex;flex-wrap:wrap;gap:12px;margin-top:24px
}
.flow-bar span,
.step{
  background:var(--red);color:#fff;border-radius:999px;
  padding:13px 20px;font-weight:700;font-size:15px
}
.workflow-steps{
  display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:28px
}
.quote-box{
  margin-top:24px;padding:22px;border-left:4px solid var(--red);
  background:rgba(255,255,255,.04);border-radius:0 14px 14px 0
}
.small-gallery .product-card img{aspect-ratio:16/9;object-fit:cover}
.demo-section{background:linear-gradient(180deg,#090f18 0%, #111827 100%)}
.cta-panel{
  margin-top:34px;padding:28px 30px;border-radius:20px;
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));
  border:1px solid var(--border)
}
.contact-form{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.018));
  border:1px solid var(--border);
  border-radius:20px;padding:30px;display:grid;gap:8px;
  box-shadow:var(--shadow)
}
.contact-form label{font-size:14px;font-weight:700;color:#fff;margin-top:6px}
.contact-form input,
.contact-form textarea{
  width:100%;padding:15px 16px;
  border-radius:12px;border:1px solid #334155;
  background:#0f1726;color:#fff;font-size:15px;outline:none;
  transition:border-color .2s ease, box-shadow .2s ease
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color:var(--red-soft);
  box-shadow:0 0 0 4px rgba(228,127,135,.12)
}
.contact-form textarea{min-height:150px;resize:vertical}
.contact-points{display:grid;gap:12px;margin-top:20px;color:var(--muted)}
.site-footer{
  background:#060a12;border-top:1px solid rgba(255,255,255,.08)
}
.footer-grid{
  padding:56px 0 34px;
  display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:28px
}
.footer-logo{height:70px;width:auto}
.footer-text{max-width:360px;color:var(--muted-2)}
.site-footer h4{margin-bottom:14px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:10px 0;color:var(--muted-2)}
.site-footer a{color:var(--muted-2);transition:color .2s ease}
.site-footer a:hover{color:#fff}
.footer-bottom{
  padding:18px 14px 28px;
  text-align:center;color:var(--muted-2);
  border-top:1px solid rgba(255,255,255,.05);font-size:14px
}

/* white tracing for logos */
.logo-trace{
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.95))
    drop-shadow(0 0 3px rgba(255,255,255,.78))
    drop-shadow(0 0 8px rgba(255,255,255,.22));
}

/* reveal animations */
.reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .8s ease, transform .8s ease
}
.reveal.in-view{opacity:1;transform:translateY(0)}
.delay-1{transition-delay:.12s}
.delay-2{transition-delay:.22s}

@media (max-width: 1080px){
  h1{font-size:48px}
  h2{font-size:36px}
  .platform-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 900px){
  .menu-toggle{display:block}
  .nav-links{
    display:none;position:absolute;top:84px;left:4%;right:4%;
    background:#0a101a;border:1px solid rgba(255,255,255,.08);
    border-radius:16px;padding:18px;flex-direction:column;align-items:flex-start;gap:14px
  }
  .nav-links.open{display:flex}
  .hero-grid,.split-grid,.contact-grid,.platform-grid,.footer-grid{grid-template-columns:1fr}
  .product-card-wide{grid-column:span 1}
  .cta-panel{flex-direction:column;align-items:flex-start}
  h1{font-size:40px}
  h2{font-size:32px}
  p{font-size:17px}
}
@media (max-width:560px){
  .section{padding:74px 0}
  .brand-logo{height:50px}
  .hero-main-logo{height:78px}
  .hero-actions{flex-direction:column;align-items:flex-start}
}

/* Pass 6 Card Alignment Refinement */
.product-card > img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}

.product-card .logo-band{
  min-height:86px;
  display:flex;
  align-items:center;
}

.product-card .product-copy{
  min-height:190px;
}

@media(max-width:900px){
  .product-card .product-copy{
    min-height:auto;
  }
}


/* Pass 8 Final Production Image Optimization */

.product-card{
    display:flex;
    flex-direction:column;
    height:100%;
}

.product-card > img{
    width:100%;
    height:240px;
    object-fit:contain;
    background:#080d16;
    padding:12px;
}

.logo-band{
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:18px;
}

.module-logo{
    max-height:62px;
    width:auto;
    object-fit:contain;
}

.rom-logo{
    max-height:72px;
}

.product-copy{
    flex:1;
    display:flex;
    flex-direction:column;
}

.product-copy p{
    margin-bottom:0;
}

.hero-visual img{
    width:100%;
    height:560px;
    object-fit:contain;
}

.integration-visual img{
    width:100%;
    height:520px;
    object-fit:contain;
}

.ecosystem-visual img{
    width:100%;
    height:auto;
    object-fit:contain;
}

.workflow-visual img,
.governance-visual img,
.founder-visual img,
.challenge-visual img{
    width:100%;
    object-fit:contain;
}

.section-heading h2{
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
}

.hero h1{
    letter-spacing:-1px;
}

.hero-text{
    font-size:20px;
    line-height:1.7;
}

.cta-panel{
    margin-top:45px;
}

@media(max-width:900px){
    .product-card > img{
        height:220px;
    }

    .hero-visual img,
    .integration-visual img{
        height:auto;
    }
}


/* Pass 9 - Environment Gallery Image Optimization */
.small-gallery .product-card{
    overflow:hidden;
    display:flex;
    flex-direction:column;
}

.small-gallery .product-card > img{
    width:100%;
    height:300px;
    object-fit:contain;
    background:#060a12;
    padding:18px;
    border-radius:18px 18px 0 0;
}

.small-gallery .product-copy{
    min-height:170px;
}

.small-gallery .product-copy h3{
    margin-bottom:10px;
}

@media(max-width:900px){
    .small-gallery .product-card > img{
        height:240px;
    }
}


/* Pass 10 - Restore background images across the website */
.background-section{
    position:relative;
    overflow:hidden;
}
.background-section::before{
    content:"";
    position:absolute;
    inset:0;
    background-position:center;
    background-repeat:no-repeat;
    background-size:cover;
    opacity:.10;
    transform:scale(1.03);
    pointer-events:none;
}
.background-section::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(7,11,20,.72), rgba(7,11,20,.84));
    pointer-events:none;
}
.background-section > .container{
    position:relative;
    z-index:2;
}

.hero-section::before{
    background-image:url('tm_connected_property_platform.png');
    opacity:.18;
}
.hero-section::after{
    background:
      linear-gradient(90deg, rgba(6,10,18,.88) 15%, rgba(6,10,18,.78) 48%, rgba(6,10,18,.62) 100%);
}
.credibility-section::before{
    background-image:url('tm_cloud_platform_showcase.png');
    background-position:top center;
    opacity:.08;
}
.challenge-section::before{
    background-image:url('tm_connected_workflow_dashboard.png');
    opacity:.08;
}
.ecosystem-section::before{
    background-image:url('tm_ecosystem.webp');
    opacity:.12;
}
.integration-section::before{
    background-image:url('tm_rom_showcase.png');
    opacity:.10;
}
.governance-section::before{
    background-image:url('tm_agreements_govern_dashboard.png');
    opacity:.08;
}
.demo-bg-section::before{
    background-image:url('tm_connected_property_platform.png');
    opacity:.10;
}
.contact-section::before{
    background-image:url('tm_cloud_platform_showcase.png');
    opacity:.06;
}

.hero{
    padding:88px 0 104px;
}
.hero-kicker{
    color:#ffffff;
    font-size:16px;
    font-weight:600;
    letter-spacing:.2px;
    margin:0 0 18px;
    max-width:620px;
}
.hero-copy,
.challenge-copy,
.credibility-copy,
.integration-copy,
.governance-copy,
.contact-copy{
    position:relative;
    z-index:2;
}

.section-heading,
.hero-copy h1,
.hero-copy p,
.contact-copy p,
.challenge-copy p{
    text-shadow:0 1px 1px rgba(0,0,0,.18);
}

.info-card,
.product-card,
.cta-panel,
.contact-form{
    backdrop-filter:blur(2px);
}

.ecosystem-visual img,
.hero-visual img,
.challenge-visual img,
.integration-visual img{
    background:rgba(8,13,22,.68);
}

@media(max-width:900px){
    .background-section::before{
        opacity:.08;
    }
    .hero-section::before{
        opacity:.13;
    }
}


/* Pass 11 Device Optimization */
html, body {
    overflow-x:hidden;
}

.container {
    width:min(1240px, 92%);
}

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

.product-card,
.info-card,
.cta-panel,
.contact-form {
    min-width:0;
}

.product-card img {
    object-position:center;
}

.hero-grid,
.split-grid,
.contact-grid {
    min-width:0;
}

@media (max-width:1200px){
    h1 {
        font-size:48px;
    }

    .platform-grid {
        gap:20px;
    }
}

@media (max-width:768px){

    .section {
        padding:65px 0;
    }

    .hero {
        padding:55px 0 70px;
    }

    h1 {
        font-size:36px;
        line-height:1.15;
    }

    h2 {
        font-size:30px;
    }

    .hero-main-logo {
        height:70px;
    }

    .hero-actions .button {
        width:100%;
    }

    .trust-row {
        flex-direction:column;
        align-items:flex-start;
    }

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

    .product-card > img {
        height:auto;
        max-height:260px;
    }

    .integration-logo-row {
        flex-wrap:wrap;
    }

    .flow-bar {
        flex-direction:column;
        align-items:flex-start;
    }

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

@media (max-width:480px){

    .container {
        width:90%;
    }

    .brand-logo {
        height:44px;
    }

    .hero-text,
    p {
        font-size:16px;
    }

    .module-logo {
        max-width:100%;
    }

    .contact-form {
        padding:20px;
    }
}
