@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@400;500;600;700;800&display=swap');

:root {
    --clr-primary: #0067b8;
    --clr-primary-dark: #005da6;
    --clr-accent-red: #da291c;    
    --clr-accent-purple: #8661c5;
    --clr-accent-green: #107c10;
    --clr-accent-orange: #d83b01;
    --bg-body: #ffffff;
    --bg-light: #f5f5f5;
    --text-main: #242424;
    --text-muted: #616161;
    --border-light: #e1dfdd;
    --footer-bg: #f2f2f2;
    --footer-text: #616161;
    --container-max: 1600px;
    --header-height: 60px;
    --radius-card: 12px;
    --radius-pill: 50px;
    --transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Red Hat Text', sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* --- HEADER & MEGA MENU (Master Version) --- */
.navbar { background: white; height: var(--header-height); border-bottom: 1px solid var(--border-light); position: sticky; top: 0; z-index: 2000; }
.nav-container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; justify-content: space-between; align-items: center; }
.nav-left { display: flex; align-items: center; height: 100%; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--clr-accent-red); display: flex; align-items: center; gap: 8px; margin-right: 2.5rem; letter-spacing: -0.5px; }
.nav-menu { display: flex; height: 100%; gap: 4px; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link { font-size: 13px; font-weight: 600; color: var(--text-main); padding: 0 12px; height: 100%; display: flex; align-items: center; gap: 6px; border-bottom: 2px solid transparent; }
.nav-link:hover { background-color: #f5f5f5; border-bottom-color: var(--text-main); }
.nav-link i { font-size: 10px; color: #666; margin-top: 2px; }

/* Mega Dropdown */
.mega-dropdown { position: fixed; top: var(--header-height); left: 0; width: 100%; background: white; border-bottom: 1px solid var(--border-light); box-shadow: 0 20px 40px rgba(0,0,0,0.1); padding: 40px 0 50px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s ease-out; z-index: 1999; }
.nav-item:hover .mega-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.mega-col h4 { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); font-weight: 700; letter-spacing: 1px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.mega-col ul li { margin-bottom: 8px; }
.mega-link { font-size: 0.95rem; font-weight: 500; color: var(--text-main); display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.mega-link:hover { color: var(--clr-primary); transform: translateX(4px); }
.mega-link i { width: 20px; text-align: center; font-size: 1.1rem; }
.mega-featured { background: #f0f6ff; padding: 20px; border-radius: 8px; height: 100%; }
.mega-featured h5 { font-size: 1.1rem; margin-bottom: 8px; font-weight: 700; }
.mega-featured p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.4; }
.mega-btn { font-size: 0.85rem; font-weight: 700; color: var(--clr-primary); display: inline-flex; align-items: center; gap: 5px; }
.mega-btn:hover { text-decoration: underline; gap: 8px; }

.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-icon { color: var(--text-main); font-size: 18px; cursor: pointer; padding: 8px; border-radius: 50%; }
.nav-icon:hover { background-color: #f5f5f5; color: var(--clr-primary); }
.nav-text-action { font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; }

/* --- SECTIONS --- */
.hero { text-align: center; padding: 5rem 1rem 3rem; background: radial-gradient(circle at top, #fafafa, #fff); }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 3rem; }
.sub-nav { display: flex; justify-content: center; gap: 30px; border-bottom: 1px solid #eaeaea; padding-bottom: 15px; margin: 0 auto 4rem; max-width: 900px; }
.sub-nav a { font-weight: 600; color: var(--text-muted); padding-bottom: 15px; border-bottom: 2px solid transparent; }
.sub-nav a.active { color: var(--text-main); border-color: var(--text-main); }
.sub-nav a:hover { color: var(--clr-primary); }
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section-title { font-size: 2.2rem; margin-bottom: 3rem; font-weight: 800; text-align: center; }

/* --- BENTO GRID --- */
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 5rem; }
.card { border-radius: var(--radius-card); overflow: hidden; position: relative; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 400px; transition: var(--transition); border: 1px solid #eee; }
.card:hover { transform: scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.08); z-index: 10; border-color: transparent; }
.theme-red { background: var(--clr-accent-red); color: white; border:none; }
.theme-blue { background: #3fa9f5; color: black; border:none; }
.theme-purple { background: var(--clr-accent-purple); color: white; border:none; }
.theme-orange { background: #ff9a00; color: black; border:none; }
.theme-dark { background: var(--clr-accent-dark); color: white; border:none; }
.card-icon { font-size: 3rem; margin-bottom: 1.5rem; display: block; }
.card h3 { font-size: 2rem; font-weight: 800; line-height: 1; margin-bottom: 1rem; }
.card p { font-size: 1.1rem; font-weight: 500; margin-bottom: 2rem; opacity: 0.9; }
.btn-pill { padding: 10px 24px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9rem; text-align: center; width: fit-content; border: none; }
.pill-white { background: white; color: black; }
.pill-dark { background: black; color: white; }
.span-2 { grid-column: span 2; }
.card-img { padding: 0; background: black; border:none;}
.card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: opacity 0.3s; }
.card-img:hover img { opacity: 1; }
.card-overlay { position: absolute; bottom: 30px; left: 30px; color: white; z-index: 2; }

/* --- TRUST BAR --- */
.trust-bar { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 2rem 0; margin-bottom: 4rem; }
.trust-grid { display: flex; justify-content: space-around; align-items: center; opacity: 0.6; filter: grayscale(100%); }
.trust-grid i { font-size: 2.5rem; }

/* --- BUSINESS GRID --- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 5rem; }
.biz-card { background: white; border: 1px solid #eaeaea; transition: var(--transition); display: flex; flex-direction: column; height: 100%; border-radius: 8px; overflow: hidden; }
.biz-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); border-color: transparent; }
.biz-img { width: 100%; height: 220px; object-fit: cover; }
.biz-body { padding: 2rem; }
.biz-body h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.biz-body p { font-size: 0.95rem; color: #666; margin-bottom: 1.5rem; }
.biz-link { color: var(--clr-primary); font-weight: 600; display: flex; align-items: center; gap: 5px; margin-top: auto; }
.biz-link:hover { gap: 8px; }

/* --- STATS & TEAM (For About Us) --- */
.stats-section { background: var(--clr-primary); color: white; padding: 4rem 0; text-align: center; border-radius: 16px; margin-bottom: 4rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item h3 { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.stat-item p { font-size: 0.9rem; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 5rem; }
.team-member { text-align: center; }
.team-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; filter: grayscale(100%); transition: var(--transition); }
.team-member:hover .team-photo { filter: grayscale(0%); }
.team-name { font-weight: 700; font-size: 1.1rem; }
.team-role { color: var(--text-muted); font-size: 0.9rem; }

/* --- PRICING TABLE (For Cloud) --- */
.pricing-section { margin-bottom: 5rem; }
.pricing-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
.price-col { border: 1px solid #eee; border-radius: 16px; padding: 2rem; background: white; position: relative; }
.price-col.featured { border: 2px solid var(--clr-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.price-tag { font-size: 2.5rem; font-weight: 800; margin: 1rem 0; color: var(--text-main); }
.price-btn { display: block; width: 100%; padding: 12px; text-align: center; border-radius: 50px; font-weight: 700; margin: 2rem 0; }
.btn-solid { background: var(--clr-primary); color: white; }
.btn-outline { border: 2px solid #eee; color: var(--text-main); }
.feature-list li { margin-bottom: 10px; font-size: 0.9rem; display: flex; gap: 10px; }
.feature-list i { color: var(--clr-accent-green); }

/* --- FOOTER (Master Version) --- */
footer { background-color: var(--footer-bg); color: var(--footer-text); padding-top: 60px; padding-bottom: 30px; font-size: 13px; margin-top: 6rem; }
.footer-container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.footer-social { display: flex; gap: 24px; margin-bottom: 40px; }
.footer-social a { color: var(--footer-text); font-size: 22px; transition: color 0.2s; }
.footer-social a:hover { color: var(--clr-primary); }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-bottom: 50px; }
.footer-col h4 { color: var(--text-main); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--footer-text); display: block; transition: color 0.2s; }
.footer-col a:hover { text-decoration: underline; color: #000; }
.explore-link { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.explore-link i { width: 16px; text-align: center; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding-top: 20px; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid, .biz-grid, .mega-container, .pricing-table, .stats-grid, .team-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .nav-menu { display: none; } /* Mobile menu placeholder */
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.5rem; }
}