/* Universal Box-Sizing and Base Font */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif; /* Added Inter for a modern touch */
}

/* Body Styles */
body {
    background: #f0f2f5; /* Slightly softer background */
    color: #333;
    line-height: 1.6; /* Improved readability */
}

/* Header Styles — do not target the shared site header ([data-site-header]);
   marketing pages also load this file and Tailwind's h-16 + this padding
   would clip logo/nav against the bottom edge. */
header:not([data-site-header]) {
    background: #ffffff; /* White background for header */
    padding: 1rem 2.5rem; /* Increased padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo-title img {
    height: 38px; /* Slightly adjusted logo size */
    margin-right: 12px;
}

header:not([data-site-header]) h1 {
    font-size: 1.7rem; /* Slightly larger logo text */
    color: #333; /* Darker color for brand name */
    font-weight: 700; /* Bolder */
}

header:not([data-site-header]) button {
    padding: 0.7rem 1.4rem; /* Slightly more padding */
    background: #abe96e; /* A more distinct, friendly purple for login */
    color: white;
    border: none;
    border-radius: 6px; /* Slightly more rounded */
    cursor: pointer;
    font-weight: 600; /* Semi-bold */
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

header:not([data-site-header]) button:hover {
    background: #76e00c; /* Darker purple on hover */
    transform: translateY(-1px); /* Slight lift */
}


/* Hero Section Styles */
.hero {
    padding: 6rem 2rem; /* More vertical padding */
    text-align: center;
    background: linear-gradient(135deg, #007bff, #00c7ff); /* Engaging gradient */
    position: relative;
    overflow: hidden; /* For potential background patterns/illustrations */
    color: #fff; /* Ensure text is white for contrast */
}

/* Subtle background pattern/illustration placeholder */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2V6h4V4H6zm30 30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2V6h4V4H6zM36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2V6h4V4H6z"%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E'); /* Subtle dot pattern */
    opacity: 0.2;
    z-index: 1; /* Below text */
}

.hero h2 {
    font-size: 2.8rem; /* Larger, more impactful headline */
    margin-bottom: 0.8rem;
    color: #ffffff; /* White text for contrast on blue */
    font-weight: 800; /* Extra bold */
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem; /* Slightly larger, more readable supporting text */
    color: rgba(255, 255, 255, 0.9); /* Soft white */
    max-width: 700px; /* Constrain width for readability */
    margin: 0 auto 2rem auto; /* Center and add bottom margin */
    position: relative;
    z-index: 2;
}

/* Book Demo Button */
.book-demo {
    text-align: center;
    margin: -3rem 0 3rem 0; /* Pulls button slightly up into hero, more margin below */
    position: relative;
    z-index: 10; /* Ensures button is above hero background */
}

.book-demo button {
    padding: 1.1rem 2.5rem; /* More generous padding */
    font-size: 1.25rem; /* Larger font */
    background-color: #ffffff; /* White button */
    color: #007bff; /* Primary blue as text color */
    border: none;
    border-radius: 8px;
    font-weight: 700; /* Bold */
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    transition: all 0.3s ease;
    display: inline-flex; /* Align icon and text */
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.book-demo button:hover {
    background-color: #f0f0f0; /* Slight gray on hover */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    color: #0056b3; /* Darker blue on hover */
}

.book-demo button .icon {
    font-size: 1.5rem; /* Size for the icon if using an icon font/svg */
}


/* Product Carousel */
.carousel-container {
    margin: 4rem auto; /* More vertical margin */
    max-width: 1100px; /* Slightly wider container */
    overflow: hidden;
    position: relative;
    padding: 0 1rem; /* Padding for mobile view */
}

.carousel {
    display: flex;
    gap: 2rem; /* Increased gap between products */
    transition: transform 0.5s ease-in-out;
    justify-content: center;
}

.product {
    flex-shrink: 0;
    width: 320px; /* Slightly wider product cards */
    background: #ffffff; /* White background */
    padding: 1.5rem; /* Increased padding */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* Softer, slightly larger shadow */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions for hover */
}

.product:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* More pronounced shadow on hover */
}

.product img {
    width: 100%;
    height: 180px; /* Fixed height for product images */
    object-fit: cover; /* Ensures images cover the area without distortion */
    border-radius: 8px;
    margin-bottom: 1rem; /* Space below image */
}

.product h3 {
    font-size: 1.4rem; /* Slightly larger heading */
    margin: 0.75rem 0 0.5rem 0; /* Adjusted margins */
    color: #444; /* Slightly darker product title */
}

.product .find-out-more { /* New class for the 'find out more' link */
    display: inline-block; /* Allows padding and margin */
    margin-top: 1rem;
    font-size: 1rem;
    color: #007bff; /* Blue color for link */
    text-decoration: none; /* Remove default underline */
    font-weight: 600; /* Semi-bold */
    transition: color 0.3s ease, transform 0.3s ease;
}

.product .find-out-more:hover {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline; /* Underline on hover */
    transform: translateX(3px); /* Small slide effect */
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .carousel {
        justify-content: flex-start; /* Allow scrolling on smaller screens if items don't fit */
        padding: 0 1rem; /* Add padding to carousel itself for scroll */
    }
    .product {
        width: 300px; /* Slightly smaller width */
        margin: 0 0.75rem; /* Smaller margin between cards */
    }
}

@media (max-width: 768px) {
    header:not([data-site-header]) {
        padding: 1rem 1.5rem;
    }

    header:not([data-site-header]) h1 {
        font-size: 1.3rem;
    }

    header:not([data-site-header]) button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .book-demo {
        margin: -2rem 0 2rem 0;
    }

    .book-demo button {
        padding: 0.9rem 2rem;
        font-size: 1.1rem;
    }

    .carousel-container {
        padding: 0; /* Remove container padding, let carousel handle it */
    }

    .carousel {
        overflow-x: auto; /* Enable horizontal scrolling */
        scroll-snap-type: x mandatory; /* For smoother snapping */
        -webkit-overflow-scrolling: touch; /* For iOS momentum scrolling */
        justify-content: flex-start; /* Align items to start for scroll */
        padding: 0 1rem; /* Add padding to the scrollable carousel itself */
    }

    .product {
        min-width: 85%; /* Make product cards wider on small screens */
        margin: 0 0.75rem; /* Ensure spacing */
        scroll-snap-align: start; /* Snap to start of each card */
    }

    .product:last-child {
        margin-right: 1rem; /* Ensure last item has padding to scroll */
    }

    .product img {
        height: 150px; /* Adjust image height for smaller screens */
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .book-demo button {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }
    .product {
        min-width: 90%;
    }

/* Dropdown (shared styling) */
.dropdown { position: relative; }
.dropbtn {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  color: inherit;
}
.dropdown-menu {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-radius: 8px;
  display: none;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  color: #111827;
  text-decoration: none;
}
.dropdown-menu li a:hover { background: #f3f4f6; }
.dropdown.open .dropdown-menu { display: block; }
}
