:root {
    --olive: #4B5320;
    --black: #1A1A1A;
    --tan: #C19A6B;
    --white: #FFFFFF;
    --gray: #666;
}
.logo { 
    font-size: 24px; 
    color: var(--tan); 
    font-weight: 700; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    white-space: normal; /* Allow wrapping */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background: var(--black); color: var(--white); line-height: 1.6; padding-top: 80px; } /* Offset for fixed header */
h1, h2 { font-family: 'Roboto Condensed', sans-serif; text-transform: uppercase; letter-spacing: 2px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { position: fixed; top: 0; width: 100%; height: 80px; background: var(--black); z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 2px solid var(--olive); }
.logo { font-size: 24px; color: var(--tan); font-weight: 700; }
.cta-btn { background: var(--tan); color: var(--black); padding: 10px 20px; border: none; cursor: pointer; font-weight: 600; transition: background 0.3s; }
.cta-btn:hover { background: var(--olive); }

/* Hero */
.hero { min-height: calc(100vh - 80px); background: url('images/hero.png') center/cover; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; } /* Fills viewport minus header */
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(26,26,26,0.6); }
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { font-size: 48px; margin-bottom: 20px; color: var(--tan); }
.hero p { font-size: 18px; margin-bottom: 30px; }
.highlight { color: var(--tan); font-weight: 600; }
.form { display: flex; gap: 10px; max-width: 400px; margin: 0 auto; }
.form input { flex: 1; padding: 12px; background: var(--black); border: 1px solid var(--olive); color: var(--white); }
.form button { padding: 12px 20px; background: var(--tan); color: var(--black); border: none; cursor: pointer; }

/* Product Teaser */
.teaser { padding: 80px 0; background: var(--black); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.teaser img { width: 100%; height: auto; object-fit: cover; border-radius: 8px; }
.teaser h2 { font-size: 36px; margin-bottom: 20px; color: var(--tan); }
.h2sub {
  font-size: 1.17em !important; /* Default h2 size */
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  text-transform: inherit !important;
  
  /* Enhancements for better SEO/visual flow */
  line-height: 1.4; /* Improves readability */
  color: var(--white) !important; /* Dark text for contrast */
  text-align: left; /* Centers for hero-like sections */
  font-family: 'Open Sans', sans-serif; /* Clean fallback */
}
	
.teaser ul { list-style: none; margin-bottom: 30px; }
.teaser li { padding: 10px 0; position: relative; padding-left: 30px; }
.teaser li::before { content: '✓'; position: absolute; left: 0; color: var(--olive); font-weight: bold; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; background: rgba(75,83,32,0.2); }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid var(--olive); }
th { background: var(--olive); color: var(--tan); }

/* Integration */
.integration { padding: 80px 0; background: var(--olive); text-align: center; }
.integration h2 { font-size: 36px; margin-bottom: 20px; color: var(--black); }
.integration ul { list-style: none; max-width: 600px; margin: 0 auto 40px; }
.integration li { padding: 10px 0; }
.mockup { background: var(--black); border: 2px solid var(--tan); border-radius: 8px; padding: 20px; margin: 20px auto; max-width: 800px; height: 300px; position: relative; overflow: hidden; }
.mockup::before { content: 'Wialon Dashboard Mockup'; position: absolute; top: 10px; left: 10px; color: var(--tan); font-weight: 600; }
.mockup-route { position: absolute; bottom: 20px; left: 20px; right: 20px; height: 40px; background: linear-gradient(90deg, var(--olive), var(--tan)); border-radius: 20px; }
.mockup-alert { position: absolute; top: 50px; right: 20px; background: red; color: white; padding: 10px; border-radius: 4px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* Footer */
footer { padding: 40px 0; background: var(--black); text-align: center; border-top: 2px solid var(--olive); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.faq-wrapper { max-width: 800px; margin: 0 auto; text-align: left; } /* Centers and widths FAQ; left-align text for readability */
.diagnostics-wrapper { max-width: 800px; margin: 0 auto; text-align: left; } 

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .teaser-grid { grid-template-columns: 1fr; gap: 20px; } /* Reduced overall gap */
    .teaser-grid > *:first-child { gap: 5px; } /* Tighten image stack */
    .teaser-grid > *:first-child > div { min-height: 0 !important; } /* Zero spacer on mobile */
    .form { flex-direction: column; }
    .logo { font-size: 20px; } /* Slightly smaller base on small screens */
    .logo span { font-size: 11px; } /* Adjust subtitle if needed */
    body { padding-top: 80px; } /* Ensure on mobile */
    .hero { min-height: calc(100vh - 80px); } /* Adjust for address bar */
}