/* Global Styles */
:root {
    --primary-color: #7500B0; /* Purple - Main Highlight */
    --secondary-color: #3828E7; /* Bright Blue/Violet - Darker Contrast */
    --text-color: #0C0946; /* Dark Navy - Text/Accent */
    --light-bg: #f4f4f9;
    --white: #fff;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Slightly deeper shadow */
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; 
}

/* Added to prevent scrolling when the mobile menu is open */
.no-scroll {
    overflow: hidden;
}

/* --- SPLASH SCREEN START --- */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient); /* Attractive purple gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
}

.splash-logo-container {
    text-align: center;
    animation: bounceIn 1.5s ease-out forwards;
}

.splash-logo {
    height: 120px; /* Larger logo for splash screen */
    width: auto;
    margin-bottom: 20px;
    animation: pulse 1s infinite alternate;
}

.splash-text {
    font-size: 3em;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Keyframe Animations for Splash Screen */
@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}
/* --- SPLASH SCREEN END --- */


/* 1. Fluid Media */
img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block; 
}

/* 2. Enhanced Container Flexibility */
.container {
    width: 90%; 
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Reduced padding on sides for slightly more space */
}

h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

/* Buttons - Enhanced hover/active effects */
.btn-primary {
    display: inline-block;
    background: var(--gradient); /* Use gradient for modern look */
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(117, 0, 176, 0.4); /* Primary color shadow */
}

.btn-primary:hover {
    background-color: #8770B8; 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(117, 0, 176, 0.6);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    margin-left: 15px; /* Increased margin */
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* Header/Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* More defined shadow */
    padding: 10px 0; /* Slightly less padding */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0; 
}

.logo img {
    height: 55px; /* Consistent logo size */
    width: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Desktop Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center; 
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
    padding: 5px 0; /* Adding padding for clickable area */
}

.nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* --- NEW: HAMBURGER MENU STYLES (Mobile-Only) --- */
.hamburger {
    display: none; /* Hidden on desktop */
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

/* Hamburger Menu 'X' Transformation */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* --- END HAMBURGER MENU STYLES --- */


/* Hero Section */
.hero {
    padding: 120px 0;
    /* Updated gradient to be softer */
    background: linear-gradient(135deg, var(--white) 0%, rgba(244, 244, 249, 0.7) 100%);
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 50%;
}

.hero-content h2 {
    font-size: 3.8em; /* Slightly larger heading */
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800; /* Increased font weight */
}

.hero-content p {
    font-size: 1.25em; /* Slightly larger paragraph text */
    margin-bottom: 40px;
}

.hero-image {
    width: 40%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden; 
    transition: transform 0.5s ease-out; /* Added transition */
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
/* Optional subtle hover effect */
.hero-image:hover {
    transform: scale(1.02);
}


/* Section Styling */
.section-padded {
    padding: 100px 0;
}

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

.section-title {
    text-align: center;
    font-size: 3em; /* Larger section title */
    margin-bottom: 70px;
    color: var(--primary-color);
    position: relative;
    font-weight: 800;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px; /* Wider underline */
    height: 5px; /* Thicker underline */
    background: var(--secondary-color); /* Use secondary color for contrast */
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 2em; /* Larger subtitle */
    margin: 60px 0 30px;
    color: var(--text-color);
    font-weight: 700;
}

/* Feature Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px; /* Increased gap */
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px; /* Increased gap */
}

.feature-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Lighter, broader shadow */
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    border-left: 5px solid var(--primary-color); /* Changed from top to left for a modern look */
    border-top: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 4em; /* Larger icons */
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.5em;
    color: var(--secondary-color);
}

/* Content Split - Fluid Layout */
.content-split {
    display: flex;
    align-items: center;
    gap: 80px;
    /* Added subtle transition to children for visual effect */
    opacity: 1; /* Default state for initial load */
    transition: opacity 1s ease-in-out;
}

.content-split.reverse {
    flex-direction: row-reverse;
}

.group-info, .individual-info {
    flex: 1;
    min-width: 50%; 
}

.group-image, .individual-image {
    flex: 0 0 40%;
    text-align: center;
    min-width: 300px; 
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
/* Placeholder styling for icons in the group image section removed, 
   assuming actual images/mockups will be used. */
.group-image img, .individual-image img {
    width: 100%;
    height: auto;
    display: block;
}


.group-info h4, .individual-info h4 {
    font-size: 2em; /* Larger heading */
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.color-indicator {
    background-color: var(--white);
    padding: 25px; /* Increased padding */
    border-radius: 15px;
    border-left: 8px solid var(--primary-color); /* Thicker border */
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.color-indicator h5 {
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1em;
}

.color-indicator ul {
    list-style: none;
    padding: 0;
}

.color-indicator li {
    padding: 8px 0 8px 35px; /* Increased spacing */
    position: relative;
    margin-bottom: 8px;
    font-weight: 500;
}

.color-indicator li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px; /* Larger indicator dot */
    height: 20px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Using distinct colors for indicators */
.green-indicator::before { background-color: #28a745; }
.yellow-indicator::before { background-color: #ffc107; }
.red-indicator::before { background-color: #dc3545; }

.small-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 15px;
}

/* ML Features */
.ml-info ul {
    list-style: none;
    padding: 0;
}

.ml-info li {
    margin-bottom: 25px;
    font-size: 1.15em; /* Slightly larger text */
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-left: 0; 
    line-height: 1.4;
}

.ml-info li i {
    color: var(--primary-color);
    font-size: 1.7em; /* Larger icons */
    flex-shrink: 0;
    margin-top: 5px;
}

.engagement-tools {
    border-left: 2px dashed #ddd; /* Dashed border for unique look */
    padding-left: 50px;
}

.productivity-tools .tool-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}
.productivity-tools .tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tool-card h5 {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-top: 15px;
}

.tool-card i {
    font-size: 3.5em;
    color: var(--primary-color);
}

.tool-card p {
    margin-bottom: 0;
}


/* Related Products */
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    text-align: center;
    padding: 25px; /* Increased padding */
    border-radius: 12px;
    background-color: var(--white);
    border: 1px solid #eee;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-card i {
    font-size: 3em; /* Larger icons */
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-card h5 {
    font-size: 1.2em;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 10px;
}


/* Call to Action */
.cta {
    background: var(--gradient); /* Use gradient for high impact */
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    margin-top: -1px; 
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
}

.cta h2 {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta p {
    font-size: 1.4em;
    margin-bottom: 50px;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
}

.cta .btn-primary:hover {
    background-color: #eee;
    color: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
}

/* Footer */
.footer {
    background-color: var(--text-color); 
    color: #ccc;
    text-align: center;
    padding: 40px 0;
    font-size: 0.95em;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.8em; /* Larger social icons */
    margin: 0 12px;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}


/* --- RESPONSIVE ADJUSTMENTS START --- */

@media (max-width: 992px) {
    /* Main Content Splits and Hero Stack vertically */
    .hero {
        padding: 80px 0;
    }
    .hero .container, .content-split {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        max-width: 100%;
    }
    .hero-content h2 {
        font-size: 3em;
    }
    .hero-image {
        width: 90%; 
        margin-top: 20px;
        min-width: unset;
    }
    .group-image, .individual-image {
        flex: 0 0 auto;
        width: 90%;
        margin-bottom: 10px;
    }
    .content-split.reverse {
        flex-direction: column; /* Ensure it stacks normally, even with reverse class */
    }

    /* Grids stack on tablets */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    /* Related Products grid on medium screens */
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* ML feature split: remove border and padding for vertical stack */
    .engagement-tools {
        border-left: none;
        padding-left: 0;
        border-top: 2px dashed #ddd; /* Maintain dashed style */
        padding-top: 30px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    /* --- MOBILE NAV OVERRIDE (Hamburger Menu) --- */
    .hamburger {
        display: block; /* Show hamburger icon */
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 70%;
        max-width: 300px;
        height: 100%;
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 40px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-links.nav-open {
        right: 0; /* Slide in */
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 20px;
    }
    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1.2em;
    }
    .nav-links a:hover {
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }
    /* Special styling for the 'Get Started' button inside the mobile menu */
    .nav-links li:last-child .btn-primary {
        margin-top: 10px;
        padding: 15px 25px;
        text-align: center;
    }
    /* Hide the button on the main header bar */
    .nav-links li:last-child {
        display: block; /* Show the button link inside the menu */
    }
    /* --- END MOBILE NAV OVERRIDE --- */


    /* General Padding */
    .section-padded {
        padding: 60px 0;
    }
    .hero-content h2 {
        font-size: 2.5em;
    }
    .section-title {
        font-size: 2.2em;
        margin-bottom: 50px;
    }
    .grid-3, .related-products-grid {
        grid-template-columns: 1fr;
    }
    .cta h2 {
        font-size: 2.2em;
    }
    .cta p {
        font-size: 1.1em;
    }
}

@media (max-width: 600px) {
    .logo img {
        height: 45px; 
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .btn-secondary {
        margin-left: 0;
    }
    .feature-card h4 {
        font-size: 1.3em;
    }
}
