/* CSS Variables */
:root {
    --color-dark-blue-1: #000A30; /* Top gradient */
    --color-dark-blue-2: #000040; /* Slightly lighter for lower sections/footer */
    --color-lighter-blue: #000055; /* Even lighter for some section backgrounds */
    --color-white: #FFFFFF;
    --color-light-gray: #D0D5DD;
    --color-medium-gray: #CCCCCC;
    --color-dark-card: #101828;
    --gradient-blue-1: #3D4EFF; /* Button/headline gradient start */
    --gradient-blue-2: #5A6BFF; /* Button/headline gradient end */
    --gradient-text-start: #56A0FF; /* Text gradient start */
    --gradient-text-end: #90BFFF; /* Text gradient end */

    --font-family-primary: 'Inter', sans-serif;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-pill: 9999px; /* For fully rounded buttons */
}

/* Base Styles & Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size for rem units */
}

body {
    font-family: var(--font-family-primary);
    color: var(--color-white);
    background: linear-gradient(180deg, var(--color-dark-blue-1) 0%, var(--color-dark-blue-2) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

a {
    text-decoration: none;
    color: var(--color-white);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Default padding for all containers */
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1.25rem; /* ~20px */
}

p {
    line-height: 1.6;
    margin-bottom: 1rem; /* ~16px */
    color: var(--color-light-gray);
}

.section-title {
    text-align: center;
    font-size: 1.75rem; /* ~28px */
    font-weight: 700;
    margin-bottom: 2.5rem; /* ~40px */
    color: var(--color-white);
}

.sub-headline {
    color: var(--color-light-gray);
    font-size: 1rem; /* ~16px */
    font-weight: 400;
    margin-top: -0.625rem; /* ~-10px */
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(90deg, var(--gradient-text-start), var(--gradient-text-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block; /* Essential for background-clip to work */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem; /* ~10px 20px */
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem; /* ~16px */
}

.btn-primary {
    background: linear-gradient(90deg, var(--gradient-blue-1), var(--gradient-blue-2));
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.3125rem 0.9375rem rgba(61, 78, 255, 0.4); /* ~5px 15px */
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--gradient-blue-1);
    padding: 0.625rem 1rem; /* ~10px 16px */
}

.btn-secondary:hover {
    background-color: rgba(61, 78, 255, 0.1);
    border-color: var(--gradient-blue-2);
}

.btn-detail {
    background: linear-gradient(90deg, var(--gradient-blue-1), var(--gradient-blue-2));
    color: var(--color-white);
    padding: 0.5rem 1rem; /* ~8px 16px */
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem; /* ~14px */
}
.btn-detail:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.1875rem 0.625rem rgba(61, 78, 255, 0.3); /* ~3px 10px */
}

.btn-large-primary {
    display: block;
    width: fit-content;
    margin: 2.5rem auto; /* ~40px */
    padding: 0.875rem 1.75rem; /* ~14px 28px */
    border-radius: var(--border-radius-pill);
    background: linear-gradient(90deg, var(--gradient-blue-1), var(--gradient-blue-2));
    color: var(--color-white);
    font-size: 1.125rem; /* ~18px */
    font-weight: 700;
}

.btn-large-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.25rem rgba(61, 78, 255, 0.5); /* ~8px 20px */
}

/* Header Section */
.main-header {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.25rem 0; /* ~20px */
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.logo {
    font-size: 1.5rem; /* ~24px */
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 1.5rem; /* ~24px */
    height: 1.5rem; /* ~24px */
    background-color: var(--color-white);
    border-radius: 50%;
    margin-right: 0.5rem; /* ~8px */
    display: inline-block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.875rem; /* ~30px */
    margin-right: 1.875rem; /* ~30px */
}

.main-nav ul li a {
    font-weight: 500;
    font-size: 1rem; /* ~16px */
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.3125rem; /* ~-5px */
    width: 0;
    height: 2px;
    background: var(--gradient-text-start);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap */
}

.header-btn {
    padding: 0.625rem 1.25rem; /* ~10px 20px */
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 0; /* ~80px */
}

.hero-content h1 {
    font-size: 3rem; /* ~48px */
    font-weight: 700;
    margin-bottom: 1.25rem; /* ~20px */
}
.hero-content h1 span.gradient-text {
    font-size: 3.25rem; /* ~52px */
    margin-left: 0.625rem; /* ~10px */
}


.hero-content .sub-headline {
    font-size: 1.125rem; /* ~18px */
    max-width: 700px;
    margin: 0 auto 2.5rem auto; /* ~40px */
}

.hero-content .btn {
    margin-bottom: 3.75rem; /* ~60px */
}

.trusted-logos {
    margin-top: 3.125rem; /* ~50px */
    padding-top: 2.5rem; /* ~40px */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trusted-logos p {
    font-size: 0.875rem; /* ~14px */
    color: var(--color-light-gray);
    margin-bottom: 1.875rem; /* ~30px */
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.875rem; /* ~30px */
    justify-items: center;
    align-items: center;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    font-size: 0.875rem; /* ~14px */
    font-weight: 500;
    text-align: center;
}

.logo-item .icon-placeholder {
    width: 2.5rem; /* ~40px */
    height: 2.5rem; /* ~40px */
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 0.625rem; /* ~10px */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-item:hover .icon-placeholder {
    background-color: var(--gradient-blue-1);
    box-shadow: 0 0 0.9375rem rgba(61, 78, 255, 0.5); /* ~15px */
    border-color: var(--gradient-blue-2);
}

/* What is Manusia.AI Section */
.what-is-manusiaai {
    padding: 6.25rem 0; /* ~100px */
    background-color: var(--color-dark-blue-2);
}

.what-is-manusiaai h2 {
    text-align: center;
    font-size: 2.25rem; /* ~36px */
    font-weight: 700;
    margin-bottom: 3.75rem; /* ~60px */
    color: var(--color-white);
}

.what-is-manusiaai .content-flex {
    display: flex;
    align-items: center;
    gap: 3.75rem; /* ~60px */
}

.what-is-manusiaai .text-block {
    flex: 1;
    color: var(--color-medium-gray);
    font-size: 1rem; /* ~16px */
}

.visual-globe-model {
    flex: 1;
    min-height: 25rem; /* ~400px */
    background: radial-gradient(circle at center, rgba(61, 78, 255, 0.2) 0%, rgba(0,0,0,0) 70%),
                rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 3.125rem rgba(61, 78, 255, 0.3); /* ~50px */
    border: 1px solid rgba(61, 78, 255, 0.4);
}

.globe-inner {
    width: 80%;
    height: 80%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.globe-inner .label {
    position: absolute;
    color: var(--color-white);
    font-size: 0.875rem; /* ~14px */
    font-weight: 600;
    text-shadow: 0 0 0.625rem var(--gradient-blue-1); /* ~10px */
}

.globe-inner .label.top { top: 20%; left: 50%; transform: translateX(-50%); }
.globe-inner .label.left { bottom: 25%; left: 10%; }
.globe-inner .label.right { bottom: 25%; right: 10%; }


/* Brillian.AI Section */
.brillianai-section {
    padding: 5rem 0; /* ~80px */
    text-align: center;
    background-color: var(--color-dark-blue-2);
}

.brillianai-section h2.gradient-text {
    font-size: 2.5rem; /* ~40px */
    margin-bottom: 0.625rem; /* ~10px */
}

.brillianai-section .sub-headline {
    font-size: 1.125rem; /* ~18px */
    margin-bottom: 2.5rem; /* ~40px */
}

.brillianai-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.125rem; /* ~50px */
    max-width: 900px;
    margin: 0 auto;
}

.brillianai-content p {
    flex: 1;
    text-align: left;
    color: var(--color-medium-gray);
    font-size: 1rem; /* ~16px */
}

.ai-brain-graphic {
    flex-shrink: 0;
    width: 12.5rem; /* ~200px */
    height: 12.5rem; /* ~200px */
    background: radial-gradient(circle, rgba(61, 78, 255, 0.4) 0%, rgba(0,0,0,0) 70%),
                rgba(61, 78, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 1.875rem rgba(61, 78, 255, 0.7); /* ~30px */
    border: 2px solid var(--gradient-blue-1);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 1.25rem rgba(61, 78, 255, 0.7); } /* ~20px */
    to { box-shadow: 0 0 2.5rem rgba(61, 78, 255, 1); } /* ~40px */
}


/* AI-Powered Knowledge Management Platform Cards */
.platform-cards {
    padding: 6.25rem 0; /* ~100px */
    background-color: var(--color-lighter-blue);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Keep minmax for larger screens */
    gap: 1.875rem; /* ~30px */
    justify-content: center;
}

.card {
    background-color: var(--color-dark-card);
    border-radius: var(--border-radius-lg);
    padding: 1.875rem; /* ~30px */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, rgba(61, 78, 255, 0.5) 0deg, rgba(61, 78, 255, 0) 100deg, rgba(61, 78, 255, 0) 260deg, rgba(61, 78, 255, 0.5) 360deg);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 0.15;
    animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.9375rem 1.875rem rgba(61, 78, 255, 0.2); /* ~15px 30px */
    border-color: var(--gradient-blue-1);
}

.card h3 {
    font-size: 1.125rem; /* ~18px */
    font-weight: 700;
    color: var(--color-white);
    margin-top: 1.25rem; /* ~20px */
    margin-bottom: 0.625rem; /* ~10px */
    z-index: 1;
}

.card p {
    font-size: 0.875rem; /* ~14px */
    color: var(--color-medium-gray);
    flex-grow: 1;
    z-index: 1;
}

.card .btn-detail {
    align-self: flex-start;
    margin-top: 1.25rem; /* ~20px */
    z-index: 1;
}

.card-image-placeholder {
    width: 3.75rem; /* ~60px */
    height: 3.75rem; /* ~60px */
    background-color: rgba(61, 78, 255, 0.2);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gradient-blue-1);
    z-index: 1;
}

/* Rangkum.AI Section */
.rangkumai-section {
    padding: 6.25rem 0; /* ~100px */
    text-align: center;
    background-color: var(--color-dark-blue-2);
}

.rangkumai-section h2.gradient-text {
    font-size: 2.5rem; /* ~40px */
    margin-bottom: 0.625rem; /* ~10px */
}

.rangkumai-section .sub-headline {
    font-size: 1.125rem; /* ~18px */
    max-width: 800px;
    margin: 0 auto 3.75rem auto; /* ~60px */
}

.rangkumai-cards {
    display: flex;
    justify-content: center;
    gap: 1.875rem; /* ~30px */
    flex-wrap: wrap;
}

.rangkumai-card {
    background-color: var(--color-dark-card);
    border-radius: var(--border-radius-lg);
    padding: 1.875rem; /* ~30px */
    flex: 1;
    min-width: 17.5rem; /* ~280px */
    max-width: 21.875rem; /* ~350px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.rangkumai-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius-lg);
    padding: 2px;
    background: linear-gradient(45deg, var(--gradient-blue-1), var(--gradient-blue-2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rangkumai-card:hover::before {
    opacity: 1;
}

.rangkumai-card:hover {
    box-shadow: 0 0 1.25rem rgba(61, 78, 255, 0.5); /* ~20px */
    transform: translateY(-5px);
}


.rangkumai-graphic {
    width: 6.25rem; /* ~100px */
    height: 6.25rem; /* ~100px */
    background-color: rgba(61, 78, 255, 0.1);
    border-radius: 0.9375rem; /* ~15px */
    border: 1px solid var(--gradient-blue-1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem; /* ~20px */
    box-shadow: 0 0 0.9375rem rgba(61, 78, 255, 0.3); /* ~15px */
}
/* Specific graphic styles */
.rangkumai-graphic.graphic-llm {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233D4EFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2L2 7l10 5 10-5-10-5z"/><path d="M2 17l10 5 10-5M2 12l10 5 10-5"/></svg>') no-repeat center center / 50%;
    background-color: rgba(61, 78, 255, 0.1);
}
.rangkumai-graphic.graphic-api {
     background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%233D4EFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14"/><path d="M12 5l7 7-7 7"/></svg>') no-repeat center center / 50%;
    background-color: rgba(61, 78, 255, 0.1);
}


.rangkumai-card h3 {
    font-size: 1.125rem; /* ~18px */
    font-weight: 600;
    color: var(--color-white);
}

/* Demo CTA Section */
.demo-cta-section {
    padding: 5rem 0; /* ~80px */
    text-align: center;
    background-color: var(--color-dark-blue-1);
}


/* Blog & Case Studies Section */
.blog-casestudies {
    padding: 6.25rem 0; /* ~100px */
    background-color: var(--color-lighter-blue);
}

.blog-casestudies h2 {
    text-align: center;
    font-size: 2.25rem; /* ~36px */
    font-weight: 700;
    margin-bottom: 3.75rem; /* ~60px */
}

.blog-cards-flex {
    display: flex;
    justify-content: center;
    gap: 1.875rem; /* ~30px */
    flex-wrap: wrap;
}

.blog-card {
    background-color: var(--color-dark-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    flex: 1;
    min-width: 18.75rem; /* ~300px */
    max-width: 31.25rem; /* ~500px */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.9375rem 1.875rem rgba(61, 78, 255, 0.2); /* ~15px 30px */
    border-color: var(--gradient-blue-1);
}

.blog-image {
    width: 100%;
    height: 15.625rem; /* ~250px */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.25rem; /* ~20px */
    position: relative;
}

/* Specific blog image placeholders - you'd replace with actual images */
.blog-image-1 {
    background-image: url('https://via.placeholder.com/500x250/333333/888888?text=BLOG+IMAGE+1');
    filter: grayscale(100%) brightness(0.8);
}
.blog-image-2 {
    background-image: url('https://via.placeholder.com/500x250/444444/999999?text=BLOG+IMAGE+2');
    filter: grayscale(100%) brightness(0.8);
}


.blog-overlay-text {
    background: rgba(0, 0, 0, 0.5);
    padding: 0.625rem 0.9375rem; /* ~10px 15px */
    border-radius: var(--border-radius-sm);
    color: var(--color-white);
    font-size: 0.875rem; /* ~14px */
    backdrop-filter: blur(3px);
}
.blog-overlay-text p {
    margin-bottom: 0.3125rem; /* ~5px */
    font-weight: 600;
    color: var(--color-white);
}
.blog-overlay-text span {
    font-size: 0.75rem; /* ~12px */
    color: var(--color-light-gray);
}

.blog-card h4 {
    padding: 1.25rem; /* ~20px */
    font-size: 1.25rem; /* ~20px */
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0;
}

/* Footer Section */
.main-footer {
    background-color: var(--color-dark-blue-1);
    padding: 3.75rem 0 1.25rem 0; /* ~60px 0 ~20px 0 */
    font-size: 0.875rem; /* ~14px */
    color: var(--color-light-gray);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* ~40px */
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem; /* ~20px */
}

.footer-top .logo {
    font-size: 1.75rem; /* ~28px */
}

.social-icons {
    display: flex;
    gap: 0.9375rem; /* ~15px */
}

.social-icon {
    width: 2.5rem; /* ~40px */
    height: 2.5rem; /* ~40px */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem; /* ~18px */
    font-weight: bold;
    color: var(--color-white);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gradient-blue-1);
    box-shadow: 0 0 0.625rem rgba(61, 78, 255, 0.5); /* ~10px */
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.875rem; /* ~30px */
}

.footer-column {
    flex: 1;
    min-width: 9.375rem; /* ~150px */
}

.footer-column h3 {
    font-size: 1rem; /* ~16px */
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.9375rem; /* ~15px */
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem; /* ~8px */
}

.footer-column ul li a {
    color: var(--color-medium-gray);
    font-size: 0.875rem; /* ~14px */
}

.footer-column ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem; /* ~40px */
    padding-top: 1.25rem; /* ~20px */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive Design Enhancements --- */

/* Adjusting base font size for smaller screens to make everything a bit smaller */
@media (max-width: 1024px) {
    html {
        font-size: 15px; /* Slightly reduce base font size */
    }
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px; /* Reduce container padding */
    }

    .main-header {
        padding: 15px 0;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    .main-nav ul {
        gap: 10px;
        margin-right: 0;
        justify-content: center;
        flex-wrap: wrap; /* Ensure links wrap */
    }
    .header-btn {
        margin-top: 10px; /* Space between nav and button */
    }

    .hero-section {
        padding: 60px 0; /* Reduce hero padding */
    }

    .hero-content h1 {
        font-size: 2.5rem; /* ~40px */
    }
    .hero-content h1 span.gradient-text {
        font-size: 2.75rem; /* ~44px */
        display: block; /* Stack gradient text on new line */
        margin-left: 0;
        margin-top: 5px;
    }
    .hero-content .sub-headline {
        font-size: 1rem; /* ~16px */
        margin-bottom: 30px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }

    .what-is-manusiaai .content-flex,
    .brillianai-content {
        flex-direction: column; /* Stack content vertically */
        text-align: center;
        gap: 30px; /* Reduce gap */
    }
    .what-is-manusiaai .text-block,
    .brillianai-content p {
        text-align: center; /* Center text when stacked */
        max-width: 600px; /* Limit width of text block */
        margin: 0 auto;
    }
    .visual-globe-model {
        min-height: 250px; /* Smaller globe on tablet */
        width: 100%;
        max-width: 350px; /* Max width for globe */
        margin-top: 30px;
    }
    .ai-brain-graphic {
        margin-top: 30px;
        width: 150px; /* Smaller brain graphic */
        height: 150px;
    }

    .platform-cards .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Allow slight shrinking */
        gap: 20px; /* Reduce card gap */
    }

    .rangkumai-cards {
        flex-direction: column; /* Stack cards vertically */
        align-items: center;
        gap: 20px;
    }
    .rangkumai-card {
        max-width: 400px; /* Limit width when stacked */
        min-width: unset; /* Remove min-width to allow full flexibility */
        width: 100%;
    }

    .blog-cards-flex {
        flex-direction: column; /* Stack blog cards vertically */
        align-items: center;
        gap: 20px;
    }
    .blog-card {
        max-width: 450px; /* Limit width when stacked */
        min-width: unset;
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .social-icons {
        margin-top: 15px;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-column {
        text-align: center;
        min-width: unset;
        width: 100%; /* Take full width when stacked */
    }
    .footer-column ul {
        padding-left: 0; /* Remove default ul padding */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px; /* Further reduce base font size for smaller devices */
    }

    .hero-content h1 {
        font-size: 2rem; /* ~32px */
    }
    .hero-content h1 span.gradient-text {
        font-size: 2.25rem; /* ~36px */
    }
    .hero-content .sub-headline {
        font-size: 0.95rem; /* Slightly smaller sub-headline */
    }

    .trusted-logos {
        padding-top: 30px;
    }
    .logo-grid {
        grid-template-columns: repeat(2, 1fr); /* Keep 2 columns if appropriate */
        gap: 15px;
    }

    .what-is-manusiaai h2,
    .brillianai-section h2,
    .blog-casestudies h2,
    .section-title {
        font-size: 1.8rem; /* ~28.8px */
    }

    .rangkumai-section h2.gradient-text {
        font-size: 2rem; /* ~32px */
    }

    .demo-cta-section .btn-large-primary {
        font-size: 1rem; /* Smaller button text */
        padding: 12px 24px;
        margin: 30px auto;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px; /* Smallest base font size */
    }
    .container {
        padding: 0 10px; /* Minimal padding on very small screens */
    }

    .main-header {
        padding: 10px 0;
    }
    .logo {
        font-size: 1.25rem; /* ~20px */
    }
    .logo-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    .main-nav ul {
        flex-direction: column; /* Ensure full stacking */
        width: 100%;
        text-align: center;
        gap: 5px;
    }
    .main-nav ul li a {
        font-size: 0.95rem;
        padding: 5px 0; /* Add some padding for touch targets */
    }
    .header-btn {
        margin-top: 10px;
        width: 100%; /* Full width button */
        padding: 10px;
    }

    .hero-section {
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 1.8rem; /* ~23.4px */
    }
    .hero-content h1 span.gradient-text {
        font-size: 2rem; /* ~26px */
        margin-top: 0; /* Less space when stacked */
    }
    .hero-content .sub-headline {
        font-size: 0.9rem; /* Smaller text */
    }

    .trusted-logos {
        padding-top: 20px;
        margin-top: 30px;
    }
    .logo-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 10px;
    }
    .logo-item .icon-placeholder {
        width: 30px;
        height: 30px;
    }
    .logo-item span {
        font-size: 0.8rem;
    }

    .what-is-manusiaai, .brillianai-section, .platform-cards,
    .rangkumai-section, .blog-casestudies, .demo-cta-section {
        padding: 50px 0; /* Reduce section padding */
    }

    .what-is-manusiaai h2,
    .brillianai-section h2,
    .blog-casestudies h2,
    .section-title {
        font-size: 1.5rem; /* ~19.5px */
        margin-bottom: 30px;
    }

    .rangkumai-section h2.gradient-text {
        font-size: 1.8rem; /* ~23.4px */
    }

    .brillianai-content p {
        font-size: 0.9rem;
    }

    .platform-cards .cards-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
    .card {
        padding: 20px;
    }

    .rangkumai-card, .blog-card {
        width: calc(100% - 20px); /* Account for container padding */
        margin: 0 auto; /* Center single card */
    }
    .rangkumai-card h3, .blog-card h4 {
        font-size: 1rem;
    }

    .main-footer {
        padding: 40px 0 15px 0;
    }
    .footer-top .logo {
        font-size: 1.5rem;
    }
    .social-icons {
        gap: 10px;
    }
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .footer-column h3 {
        font-size: 0.95rem;
    }
    .footer-column ul li a {
        font-size: 0.8rem;
    }
}