/* --- GLOBAL & FONT STYLES --- */
body, h1, h2, h3, h4, h5, h6, p, span, div {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-y: hidden; /* ADD THIS RULE to prevent scrollbar flash on load */
}

body {
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    color: #1e293b;
    background: #ffffff;
}

:root {
    --primary: #8b5cf6;
    --primary-dark: #7c3aed;
    --secondary: #6366f1;
    --background: #ffffff;
    --surface: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img { height: 50px; }
.nav-menu { display: flex; list-style: none; align-items: center; gap: 2rem; }
.nav-link { text-decoration: none; color: #1e293b; font-weight: 500; padding: 0.5rem 1rem; border-radius: 8px; transition: all 0.3s ease; }
.nav-link:hover { color: #8b5cf6; background: rgba(139, 92, 246, 0.1); }
.nav-cta { background: linear-gradient(135deg, #8b5cf6, #a855f7); color: white; padding: 0.75rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4); }
.mobile-menu-btn { display: none; /* Handled in responsive section */ }


/* --- HERO SECTION --- */
.smartitm-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);
    padding: 8rem 2rem 6rem;
    margin-top: 72px;
}

.smartitm-animated-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.smartitm-gradient-wave { position: absolute; width: 150%; height: 150%; top: -25%; left: -25%; background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.8) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(106, 13, 173, 0.15) 0%, transparent 50%); animation: itmWaveRotate 30s ease-in-out infinite; }
@keyframes itmWaveRotate { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(4%, 4%) rotate(180deg); } }

.smartitm-white-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.4); animation: itmFloatWhite 15s ease-in-out infinite; }
.itm-white-circle-1 { width: 300px; height: 300px; top: 5%; left: 10%; animation-delay: 0s; }
.itm-white-circle-2 { width: 200px; height: 200px; bottom: 10%; right: 15%; animation-delay: -7s; }
@keyframes itmFloatWhite { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; } 50% { transform: translate(30px, -30px) scale(1.2); opacity: 0.6; } }

.smartitm-purple-orb { position: absolute; border-radius: 50%; filter: blur(60px); animation: itmPurpleGlow 10s ease-in-out infinite; }
.itm-purple-orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(106, 13, 173, 0.3), transparent 70%); top: 0%; left: 10%; }
.itm-purple-orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(75, 0, 130, 0.25), transparent 70%); bottom: 5%; right: 5%; animation-delay: -5s; }
@keyframes itmPurpleGlow { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.4); opacity: 0.8; } }

.smartitm-hero-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; position: relative; z-index: 1; }
.smartitm-hero-content { flex: 1; min-width: 300px; text-align: left; }
.smartitm-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #6a0dad; margin-bottom: 1rem; padding: 0.5rem 1rem; background: rgba(106, 13, 173, 0.1); border-radius: 30px; font-size: 0.95rem; }
.smartitm-hero-content h1 { font-size: 3.5rem; font-weight: 700; color: #1f2937; margin-bottom: 1.5rem; line-height: 1.2; }
.smartitm-hero-content p { font-size: 1.1rem; color: #555; margin-bottom: 2rem; line-height: 1.7; }
.smartitm-btn-primary { background: linear-gradient(135deg, #6a0dad 0%, #8b0dad 100%); color: #fff; padding: 1rem 2rem; border-radius: 12px; display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(106, 13, 173, 0.3); border: none; cursor: pointer; }
.smartitm-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(106, 13, 173, 0.4); }

.smartitm-visual-container { flex: 1; min-width: 350px; position: relative; height: 500px; display: flex; justify-content: center; align-items: center; }
.hero-video-wrapper { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 5px solid #8b5cf6; z-index: 10; }
.hero-video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.itm-nodes-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; }
.itm-node { position: absolute; width: 90px; height: 90px; background: #fff; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; animation: itmNodeFloat 4s ease-in-out infinite; }
.itm-node:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(106, 13, 173, 0.3); }
.itm-node i { font-size: 1.8rem; margin-bottom: 0.3rem; }
.itm-node span { font-weight: 600; font-size: 0.85rem; color: #333; }
.itm-node-1 { top: 0; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.itm-node-2 { top: 13%; left: 87%; animation-delay: -0.5s; }
.itm-node-3 { top: 50%; left: 100%; animation-delay: -1s; }
.itm-node-4 { top: 87%; left: 87%; animation-delay: -1.5s; }
.itm-node-5 { top: 100%; left: 50%; animation-delay: -2s; }
.itm-node-6 { top: 87%; left: 13%; animation-delay: -2.5s; }
.itm-node-7 { top: 50%; left: 0%; animation-delay: -3s; }
.itm-node-8 { top: 13%; left: 13%; animation-delay: -3.5s; }
@keyframes itmNodeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- WHY SMARTITM SECTION --- */
.why-smartitm { background:#ffffff; padding:6rem 2rem; }
.why-smartitm .section-header { margin-bottom: 5rem; text-align: center; }
.why-smartitm .section-header p { font-size:1.1rem; color:#555; max-width:800px; margin:0 auto 1.5rem; }
.highlight-box { background:#f0f0ff; display:inline-block; padding:1rem 2rem; border-radius:12px; font-weight:600; color:#4b0082; }
.benefits-grid { display:flex; justify-content:center; gap:2rem; flex-wrap:wrap; align-items:stretch; }
.benefit-card { flex:1; min-width:250px; max-width:320px; padding:2rem; border-radius:16px; box-shadow:0 8px 20px rgba(0,0,0,0.05); text-align:center; display:flex; flex-direction:column; justify-content:flex-start; transition: all 0.35s ease; cursor:pointer; }
.benefit-card:hover { transform:translateY(-8px) scale(1.03); }
.benefit-card.style-1 { background:#f9faff; border:3px solid #6a0dad; }
.benefit-card.style-1:hover { box-shadow:0 20px 40px rgba(106,13,218,0.3); border-color:#9b30ff; }
.benefit-card.style-2 { background:#f0fff0; border:3px solid #1e90ff; }
.benefit-card.style-2:hover { box-shadow:0 20px 40px rgba(30,144,255,0.3); border-color:#63b3ed; }
.benefit-card.style-3 { background:#fff0f5; border:3px solid #ff4500; }
.benefit-card.style-3:hover { box-shadow:0 20px 40px rgba(255,69,0,0.3); border-color:#ff7f50; }
.benefit-icon { font-size:2.5rem; margin-bottom:1rem; }
.benefit-card h4 { font-size:1.25rem; font-weight:700; color:#222; margin-bottom:0.5rem; }
.benefit-card p { font-size:0.95rem; color:#555; line-height:1.5; flex-grow:1; }


/* --- EXPERIENCE SECTION (FIX APPLIED) --- */
.experience { 
    padding: 6rem 0; 
    background: var(--surface); 
    overflow: hidden; /* This prevents children from causing a scrollbar */
}
.experience-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.experience-text h3 { font-size: 2.5rem; font-weight: 800; margin-bottom: 2rem; color: var(--text-primary); }
.experience-text p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.experience-highlight { background: white; padding: 2rem; border-radius: 12px; border-left: 4px solid var(--primary); box-shadow: var(--shadow-sm); }
.scenario-visual { position:relative; padding:2px; border-radius:12px; overflow:hidden; background: linear-gradient(270deg, #7c3aed, #c084fc, #7c3aed); background-size: 600% 600%; animation: borderMove 4s linear infinite; }
.scenario-content { position:relative; background:white; border-radius:10px; padding:1.5rem; z-index:1; }
.scenario-content h4 { margin-bottom:1rem; color:#7c3aed; text-align:center; }
.scenario-step { background:#f3f4f6; padding:1.5rem; border-radius:8px; margin-bottom:1rem; }
.scenario-result { background:#7c3aed; color:white; padding:1.5rem; border-radius:8px; }
@keyframes borderMove { 0% { background-position:0% 50%; } 50% { background-position:100% 50%; } 100% { background-position:0% 50%; } }

/* --- KEY CAPABILITIES (PLATFORM FEATURES) (FIX APPLIED) --- */
.key-capabilities { 
    padding: 6rem 0; 
    background: white; 
    overflow: hidden; /* This prevents children from causing a scrollbar */
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-badge { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--primary); color: white; padding: 1rem 2.5rem; border-radius: 60px; font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; }
.section-header h2 { font-size: clamp(2.5rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1rem; color: var(--text-primary); }
.section-subtitle { font-size: 1.2rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.capabilities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2.5rem; }
.capability-card { background: var(--surface); border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); transition: all 0.3s ease; }
.capability-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--primary); }
.capability-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.capability-icon { width: 50px; height: 50px; background: linear-gradient(135deg, #8b5cf6, #a78bfa); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; flex-shrink: 0; }
.capability-header h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); }
.capability-description { color: var(--text-secondary); line-height: 1.7; font-size: 1.05rem; }

/* --- HUMAN IMPACT SECTION --- */
.human-impact { background:#fff; padding:4rem 2rem; }
.impact-intro { text-align:center; margin-bottom:2rem; }
.impact-intro h2 { font-size: 2.5rem; }
.impact-intro p { font-size:1.1rem; color:#555; }
.impact-layout { display:flex; align-items:flex-start; gap:3rem; flex-wrap:wrap; }
.impact-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:1.5rem; flex:2; }
.impact-card { padding:1.5rem; border-radius:12px; box-shadow:0 6px 16px rgba(0,0,0,0.08); }
.impact-card i { font-size:1.8rem; margin-bottom:0.75rem; }
.impact-card h4 { font-size:1.2rem; font-weight:600; margin-bottom:0.5rem; color:#222; }
.impact-card p { font-size:0.95rem; color:#555; line-height:1.5; }
.impact-card.color-1 { background:#ffe6f0; } .impact-card.color-1 i { color: #ff69b4; }
.metrics-showcase { display:flex; flex-direction:column; gap:1.5rem; flex:1; min-width:200px; }
.metric-box { border-radius:12px; padding:1.5rem; text-align:center; box-shadow:0 6px 20px rgba(0,0,0,0.08); color:#fff; }
.metric-box span { font-size:2rem; font-weight:700; display:block; margin-bottom:0.5rem; }
.metric-box div { font-size:1rem; }
.metric-box.color-1 { background:linear-gradient(135deg,#ff69b4,#ffb6c1); }
.metric-box.color-2 { background:linear-gradient(135deg,#1e90ff,#87cefa); }
.metric-box.color-3 { background:linear-gradient(135deg,#32cd32,#90ee90); }


/* --- HOW IT WORKS SECTION --- */
.how-it-works { background:#f5f5ff; padding:4rem 2rem; }
.how-it-works .section-header { margin-bottom: 3rem; text-align: center; }
.how-it-works p { font-size:1.1rem; color:#555; }
.steps-container { display:flex; align-items:flex-start; justify-content:space-between; position:relative; flex-wrap:wrap; gap:1rem; }
.steps-line { position:absolute; top:30px; left:5%; width:90%; height:4px; background:#d0d0d0; z-index:0; }
.step { position:relative; z-index:1; flex:1; min-width:120px; text-align:center; }
.step-icon { width:60px; height:60px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 0.5rem; font-size:1.5rem; }
.step h4 { font-size:1rem; font-weight:600; color:#222; margin-bottom:0.25rem; }
.step p { font-size:0.85rem; color:#555; line-height:1.3; }
.step-icon.color-1 { background:#ffe6f0; color:#ff69b4; }

/* --- CTA SECTION --- */
.cta-section-wrapper { padding-top: 20px; margin-top: 0; }
.cta-section { background: linear-gradient(135deg, #6a0dad 0%, #8b0dad 100%); padding: 4rem 2rem; border-radius: 16px; text-align: center; color: white; }
.cta-section h2 { font-size: 2.5rem; }
.cta-buttons { margin-top: 1.5rem; }
.cta-button { background-color: #a5b4fc; color: white; padding: 12px 25px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; transition: transform 0.3s, box-shadow 0.3s; }
.cta-button:hover { transform:scale(1.05); box-shadow:0 8px 20px rgba(165,180,252,0.5); }

/* --- FOOTER --- */
.footer { background: white; color: var(--text-primary); padding: 3rem 0 2rem; border-top: 1px solid var(--border); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-description { color: var(--text-secondary); line-height: 1.6; }
.footer-section h4 { margin-bottom: 1rem; font-weight: 600; color: var(--text-primary); }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; text-align: center; color: var(--text-muted); }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 991px) {
    .nav-menu { display: none; /* Mobile menu is controlled by JS */ }
    .mobile-menu-btn { display: block; background: none; border: none; font-size: 2rem; cursor: pointer; }
    /* Add active mobile menu styles here if needed */
}

@media (max-width: 768px) {
    .experience-content, .impact-content { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .smartitm-hero-content h1 { font-size: 2.5rem; }
    .smartitm-visual-container { height: 400px; }
    .itm-nodes-container { width: 320px; height: 320px; }
    .itm-node { width: 70px; height: 70px; }
    .itm-node i { font-size: 1.3rem; }
    .hero-video-wrapper { width: 100px; height: 100px; }
    .steps-container { flex-direction: column; align-items: center; }
    .steps-line { display: none; }
}

/* --- ANIMATION CLASSES --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}