/* ---------------- GLOBAL ---------------- */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

body{
background:#f8fafc;
color:#1f2937;
line-height:1.6;
}

img{
max-width:100%;
height:auto;
display:block;
}

a{
text-decoration:none;
color:inherit;
}


/* ---------------- HEADER ---------------- */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 60px;
background:white;
border-bottom:1px solid #e5e7eb;
position:sticky;
top:0;
z-index:1000;
}

.logo-area{
display:flex;
align-items:center;
gap:10px;
}

.logo{
width:38px;
height:38px;
object-fit:contain;
}

header h1{
font-size:20px;
font-weight:700;
}

nav a{
margin-left:30px;
font-weight:500;
color:#374151;
transition:0.3s;
}

nav a:hover{
color:#2563eb;
}


/* ---------------- HERO ---------------- */

.hero{
padding:120px 20px;
text-align:center;
background:linear-gradient(135deg,#2563eb,#4f46e5);
color:white;
}

.hero h2{
font-size:46px;
font-weight:700;
margin-bottom:20px;
}

.hero p{
font-size:18px;
max-width:750px;
margin:auto;
margin-bottom:40px;
opacity:0.95;
}

.hero button{
background:#fbbf24;
border:none;
padding:16px 34px;
border-radius:8px;
font-weight:600;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

.hero button:hover{
background:#f59e0b;
transform:translateY(-2px);
}


/* ---------------- FEATURES ---------------- */

.features{
padding:90px 20px;
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:30px;
max-width:1200px;
margin:auto;
}

.feature-card{
background:white;
border-radius:12px;
padding:25px;
width:260px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,0.06);
transition:all 0.3s ease;
}

.feature-card:hover{
transform:translateY(-8px);
box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

.feature-card img{
width:100%;
height:160px;
object-fit:cover;
border-radius:8px;
margin-bottom:18px;
}

.feature-card h3{
font-size:20px;
margin-bottom:10px;
}

.feature-card p{
font-size:14px;
color:#6b7280;
}


/* ---------------- DASHBOARDS ---------------- */

.dashboards{
background:#eef2ff;
padding:100px 20px;
text-align:center;
}

.dashboards h2{
font-size:36px;
margin-bottom:50px;
}

.dashboard-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
max-width:1100px;
margin:auto;
}

.dashboard-card{
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.dashboard-card:hover{
transform:scale(1.03);
box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

.dashboard-card img{
width:100%;
height:200px;
object-fit:cover;
}

.dashboard-card h3{
padding:20px;
font-size:18px;
}


/* ---------------- CTA ---------------- */

.cta{
padding:100px 20px;
text-align:center;
background:#1e3a8a;
color:white;
}

.cta h2{
font-size:36px;
margin-bottom:15px;
}

.cta p{
max-width:600px;
margin:auto;
margin-bottom:35px;
}

.cta button{
background:#fbbf24;
border:none;
padding:16px 36px;
border-radius:8px;
font-weight:600;
cursor:pointer;
transition:0.3s;
}

.cta button:hover{
background:#f59e0b;
}


/* ---------------- MODAL ---------------- */

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
justify-content:center;
align-items:center;
z-index:2000;
}

.modal-content{
background:white;
padding:30px;
border-radius:12px;
width:90%;
max-width:500px;
position:relative;
box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

.close{
position:absolute;
top:15px;
right:20px;
font-size:20px;
cursor:pointer;
}

.modal-content input,
.modal-content textarea{
width:100%;
padding:12px;
margin:6px 0 16px 0;
border-radius:6px;
border:1px solid #d1d5db;
}

.modal-content button{
background:#2563eb;
color:white;
border:none;
padding:12px 25px;
border-radius:6px;
font-weight:600;
cursor:pointer;
}

.modal-content button:hover{
background:#1d4ed8;
}

.form-status{
margin-top:10px;
color:green;
font-weight:500;
}


/* ---------------- FOOTER ---------------- */

footer{
background:#111827;
color:#9ca3af;
padding:40px;
text-align:center;
font-size:14px;
}

footer a{
color:#60a5fa;
margin:0 8px;
}

footer a:hover{
color:#fbbf24;
}


/* ---------------- MOBILE ---------------- */

@media (max-width:768px){

.hero h2{
font-size:34px;
}

.hero p{
font-size:16px;
}

header{
padding:15px 20px;
}

nav a{
margin-left:15px;
font-size:14px;
}
.architecture-preview{
text-align:center;
padding:80px 20px;
background:#f8fafc;
}

.architecture-cta{
display:inline-block;
margin-top:20px;
background:#6366f1;
color:white;
padding:12px 24px;
border-radius:10px;
text-decoration:none;
font-weight:600;
}
/* Additional Features Layer Gradient */
.layer:last-of-type {
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
}
.layer:last-of-type .component {
  background: #fde68a;
}
.layer:last-of-type .component:hover {
  background: #f59e0b;
  color: white;
}
/* Horizontal Feature Cards Section */
.feature-cards-horizontal {
  display: flex;
  flex-wrap: wrap;   /* Wrap to next line on smaller screens */
  gap: 20px;         /* Space between cards */
  justify-content: center;
  margin-top: 25px;
}

.feature-cards-horizontal .feature-card {
  background: #ffffff;
  border-radius: 20px;
  width: 200px;        /* Adjust width as needed */
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-cards-horizontal .feature-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 35px rgba(0,0,0,0.15);
}

.feature-cards-horizontal .feature-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  border-radius: 12px;
  object-fit: cover;
}

.feature-cards-horizontal .feature-card h3 {
  font-size: 1.1rem;
  margin: 8px 0 5px 0;
}

.feature-cards-horizontal .feature-card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.4;
}
}
/* Architecture Strip */
.architecture-strip {
  background: #6366f1; /* Gradient or solid color */
  color: white;
  border-radius: 12px;
  margin: 50px 20px;
  padding: 25px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.architecture-strip:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.architecture-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  display: flex;
  justify-content: center;
}

.architecture-content {
  max-width: 900px;
  text-align: center;
}

.architecture-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.architecture-content p {
  margin: 0 0 15px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.architecture-content .explore-link {
  font-weight: 600;
  color: #fef3c7; /* lighter accent color */
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}

.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 500px;
}