:root {
    --brand-primary: #5c4ee5; /* The vibrant purple/indigo */
    --brand-secondary: #7c3aed;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --hero-gradient: linear-gradient(135deg, #4f46e5 0%, #6d28d9 100%);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: white;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- The Clean Header --- */
.main-header {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .highlight {
    color: var(--brand-primary);
}

/* --- The Underline Tabs --- */
.main-tabs {
    display: flex;
    gap: 2.5rem;
}

.nav-tab {
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}

.nav-tab:hover {
    color: var(--brand-primary);
}

/* The Active State Underline */
.nav-tab.active {
    color: var(--brand-primary);
    font-weight: 600;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand-primary);
    border-radius: 2px;
}

/* --- Buttons --- */
.btn-primary {
    background: var(--brand-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--brand-secondary);
}

/* --- The Hero Section --- */
.hero-section {
    background: var(--hero-gradient);
    color: white;
    padding: 6rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content .text-light {
    color: rgba(255, 255, 255, 0.7);
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-solid-white {
    background: white;
    color: var(--brand-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.illustration-card {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    height: 300px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotate(2deg); /* Slight tilt like the screenshot */
}

/* --- Content Section --- */
.content-section {
    padding: 5rem 5%;
    background: var(--bg-light);
    text-align: center;
    flex: 1;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title .eyebrow {
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.5px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}
/* --- The Sleek SaaS Footer --- */
.site-footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 2rem 5%;
    margin-top: auto; /* Pushes footer to the absolute bottom */
    display: flex;
    justify-content: center;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    padding-right: 80px; /* Prevents the floating chatbot from covering the icons */
}

.social-icons a {
    color: var(--text-gray);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--brand-primary);
    transform: translateY(-3px);
}

/* --- Rahman Sir Floating Chat Button (FAB) --- */
.chat-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(92, 78, 229, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    z-index: 9999;
}

.chat-fab:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(92, 78, 229, 0.6);
    background: var(--brand-secondary);
}

/* --- Rahman Sir Chat Window Interface --- */
#chatbot-container {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 360px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none; /* Hidden until clicked */
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: var(--brand-primary);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chat-controls button {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    margin-left: 10px;
}

.chat-body {
    height: 350px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.bot { background: #e2e8f0; color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.message.user { background: var(--brand-primary); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }

.chat-footer { display: flex; padding: 1rem; background: white; border-top: 1px solid #e2e8f0; gap: 10px; }
.chat-footer input { flex: 1; padding: 12px 15px; border-radius: 20px; border: 1px solid #cbd5e1; outline: none; }
.chat-footer .send-btn { background: var(--brand-primary); color: white; border: none; padding: 0.5rem 1rem; border-radius: 50%; cursor: pointer; }
/* --- Premium SaaS Sliders --- */
.slider-section {
    padding: 4rem 5%;
    background: white;
}

.bg-alternate {
    background: var(--bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.5px;
}

.slider-nav button {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--text-gray);
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-left: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.slider-nav button:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: scale(1.05);
}

/* The Native Scroll Container */
.slider-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 5px 30px 5px; /* Padding for hover shadows */
    scroll-behavior: smooth;
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Base Slider Card */
.slider-card {
    flex: 0 0 calc(33.333% - 1rem); /* Shows 3 cards on desktop */
    scroll-snap-align: start;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    min-width: 300px; /* Forces cards to stay wide on mobile */
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

/* Specific Card Styling */
.video-card .thumbnail {
    background: #e2e8f0;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444; /* YouTube Red */
    font-size: 3rem;
}
.video-card h3 { padding: 1.5rem; margin: 0; font-size: 1.1rem; color: var(--text-dark); }

.blog-card { padding: 2rem; }
.blog-card .tag { background: #e0e7ff; color: var(--brand-primary); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.blog-card h3 { margin: 1rem 0; font-size: 1.2rem; }
.blog-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.5; }

.testimonial-card { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.testimonial-card .stars { color: #f59e0b; margin-bottom: 1rem; font-size: 1.2rem; }
.testimonial-card p { font-size: 1.05rem; font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; line-height: 1.6; }
.testimonial-card h4 { margin: 0; color: var(--brand-primary); }

.gallery-card { height: 250px; background: linear-gradient(to bottom right, #4f46e5, #3b82f6); display: flex; align-items: flex-end; padding: 1.5rem; }
.gallery-card span { color: white; font-weight: 600; font-size: 1.2rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

/* Mobile View adjustments */
@media (max-width: 768px) {
    .slider-card { flex: 0 0 85%; } /* Shows 1 card peeking on mobile */
    .section-header h2 { font-size: 1.5rem; }
    .slider-nav { display: none; } /* Hide buttons on mobile, rely on touch swipe */
}
/* --- Premium Smart Card Styling --- */
.bento-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: left; /* Left align is standard for modern SaaS cards */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hover Effect: Card lifts up, shadow deepens, border turns purple */
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(92, 78, 229, 0.15);
    border-color: var(--brand-primary);
}

/* The Icon Box */
.card-icon-wrapper {
    background: #f1f5f9; /* Light slate gray */
    color: var(--brand-primary);
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover Effect: Icon box fills with purple */
.bento-card:hover .card-icon-wrapper {
    background: var(--brand-primary);
    color: white;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* The "Start" Action Arrow */
.card-action {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease, gap 0.3s ease;
}

/* Hover Effect: Arrow slides to the right */
.bento-card:hover .card-action {
    opacity: 1;
    gap: 10px; 
}