/* Basic Reset and Body Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color Palette (Inspired by screenshot and techy feel) */
    --color-primary: #6a5acd; /* A vibrant purple/blue */
    --color-secondary: #e0c3fc; /* Lighter gradient start */
    --color-accent: #ff6b6b; /* A bright pink/red accent */
    --color-text: #333;
    --color-text-light: #555;
    --color-background-light: #f4f7f6;
    --color-background-dark: #2c2c2c; /* Darker background for contrast */
    --color-white: #fff;

    /* Typography */
    --font-body: 'Inter', sans-serif; /* Modern sans-serif font */
    --font-heading: 'Poppins', sans-serif; /* Bolder font for headings */

    /* Spacing */
    --spacing-sm: 15px;
    --spacing-md: 30px;
    --spacing-lg: 60px;
    --spacing-xl: 80px;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@600;700&display=swap');


body {
    font-family: var(--font-body);
    line-height: 1.7; /* Slightly increased line height */
    color: var(--color-text);
    background-color: var(--color-background-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
}

/* Container for centering content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm); /* Add padding on smaller screens */
}

/* Header */
header {
    background-color: var(--color-white);
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* More pronounced shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700; /* Poppins bold */
    color: var(--color-primary);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500; /* Inter medium */
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--color-primary);
}

/* Hero Section - Adjusted Layout */
#hero {
    background: linear-gradient(to right, var(--color-secondary), #8ec5fc); /* Matching the screenshot gradient */
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    display: flex; /* Use flexbox to center content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 60vh; /* Ensure a minimum height */
}

#hero .container {
     /* Remove flex properties for side-by-side layout */
    display: block; /* Revert to block display */
    text-align: center; /* Center text content */
}

.hero-content {
    max-width: 800px; /* Allow content to take more width */
    margin: 0 auto; /* Center the content block */
    text-align: center; /* Ensure text within the block is centered */
    z-index: 1;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white); /* White heading */
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    font-weight: 400; /* Inter regular */
}

/* Removed hero-visual img styling */


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px; /* Slightly more padding */
    border-radius: 30px; /* Pill shape */
    text-decoration: none;
    font-weight: 600; /* Poppins semibold */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add transform transition */
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 5px 15px rgba(var(--color-accent), 0.3); /* Shadow matching button color */
}

.btn-primary:hover {
    background-color: #ff5252; /* Slightly darker accent */
    transform: translateY(-2px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(var(--color-accent), 0.4);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary); /* More visible border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-light {
    background-color: var(--color-white);
    color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-light:hover {
    background-color: #f0f0f0;
     color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.btn-large {
    padding: 15px 35px; /* Larger padding */
    font-size: 1.2rem;
}

.cta-group .btn {
    margin-top: var(--spacing-md); /* Space above buttons */
    /* Remove side margins as there's usually only one button here now */
    margin-right: 0;
    margin-left: 0;
    margin-bottom: var(--spacing-md); /* Space below buttons on small screens */
}


/* General Section Styling */
section {
    padding: var(--spacing-lg) 0; /* Vertical padding for sections */
}

section:nth-of-type(odd) {
     background-color: var(--color-background-light); /* Stripe effect */
}

section:nth-of-type(even) {
     background-color: var(--color-white);
}


h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    font-weight: 600;
}

/* Features Section */
#features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Adjusted min width */
    gap: var(--spacing-md);
    text-align: center;
}

.feature-item {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
     transform: translateY(-5px); /* Lift effect */
     box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.feature-item img {
     width: 50px; /* Icon size */
     height: 50px;
     margin-bottom: var(--spacing-sm);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}


/* How It Works Section */
#how-it-works .steps {
    display: flex;
    flex-direction: column; /* Stack on small screens */
    gap: var(--spacing-lg);
}

.step {
    text-align: center;
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-accent); /* Accent color for steps */
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    box-shadow: 0 4px 10px rgba(var(--color-accent), 0.3);
}

.step h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.step img {
    max-width: 150px; /* Max width for step SVGs */
    height: auto;
    margin-top: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/* Gallery Section (Simplified Bento-like Grid) */
#gallery {
    background-color: var(--color-background-light);
    padding-bottom: var(--spacing-lg);
}

#gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Auto-fill to create columns */
    grid-auto-rows: minmax(100px, auto); /* Set minimum row height, auto grow */
    grid-auto-flow: dense; /* Tries to fill gaps */
    gap: 10px; /* Smaller gap for grid */
    margin-bottom: var(--spacing-md);
}

.gallery-grid img {
    width: 100%;
    height: 100%; /* Make images fill grid item */
    object-fit: cover; /* Crop image to cover */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.gallery-grid img:hover {
    transform: scale(1.03); /* Slightly enlarge on hover */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 5; /* Bring hovered image slightly forward */
}

/* Optional: Examples of making certain images span multiple rows/columns */
/* You would add classes to specific <img> tags in your HTML */
/*
.gallery-grid img.span-2-col { grid-column: span 2; }
.gallery-grid img.span-2-row { grid-row: span 2; }
.gallery-grid img.span-2x2 { grid-column: span 2; grid-row: span 2; }
*/


/* Use Cases Section */
#use-cases .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.use-case-item {
     background-color: var(--color-white);
     padding: var(--spacing-md);
     border-radius: 12px;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.use-case-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.use-case-item img {
     width: 45px; /* Icon size */
     height: 45px;
     margin-bottom: var(--spacing-sm);
}
.use-case-item h3 {
    color: var(--color-primary);
     margin-bottom: 10px;
}
.use-case-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}


/* CTA Section (Repeat CTA) */
#cta-section {
    padding: var(--spacing-xl) 0;
    color: var(--color-white);
    background: linear-gradient(to right, var(--color-primary), #8e44ad); /* Deeper purple gradient */
    text-align: center;
}

#cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

#cta-section .subtitle {
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Testimonials Section - Removed as per request for Coming Soon page */
/* FAQ Section - Adjusted for Coming Soon */
#faq {
     background-color: var(--color-background-light); /* Light background for FAQ */
     padding-bottom: var(--spacing-lg);
}

.faq-items {
     max-width: 800px; /* Constrain width for readability */
     margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    margin-top: 0;
    color: var(--color-text); /* Darker color for FAQ questions */
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it might be collapsible (if JS added later) */
}

.faq-item p {
    margin-bottom: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}


/* Footer */
footer {
    background-color: var(--color-background-dark); /* Dark footer */
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: var(--spacing-md);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-nav ul li a {
    text-decoration: none;
    color: var(--color-white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

.footer-nav ul li a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .container {
         padding: 0 var(--spacing-md);
    }
    section {
        padding: var(--spacing-xl) 0;
    }

     /* Adjusted Hero Layout for larger screens */
    #hero .container {
        text-align: center; /* Keep text centered */
        display: block;
    }

    .hero-content {
        padding-right: 0; /* Remove right padding */
        max-width: 900px; /* Allow more width on larger screens */
    }

     .cta-group .btn {
         margin-bottom: 0; /* Remove bottom margin on desktop */
         margin: 0 10px; /* Add horizontal margin for centered buttons */
     }


    #how-it-works .steps {
        flex-direction: row; /* Row layout on larger screens */
        justify-content: space-between;
    }

     .step {
          flex: 1; /* Distribute space equally */
          padding: var(--spacing-md);
          margin: 0 10px; /* Add some horizontal margin between steps */
     }
     .step:first-child { margin-left: 0; }
     .step:last-child { margin-right: 0; }

    .testimonial-item {
         flex: 0 0 45%; /* Make items wider in slider on medium screens */
         max-width: 450px; /* Max width per testimonial */
    }

     .footer-nav ul {
          flex-direction: row; /* Back to row on larger screens */
     }
}

@media (min-width: 1024px) {
     h1 {
          font-size: 4.5rem; /* Larger font on large screens */
     }
     h2 {
         font-size: 3rem;
     }

     .subtitle {
          font-size: 1.3rem;
     }

     #hero {
         min-height: 70vh; /* Slightly taller hero section on large screens */
     }

     .hero-content {
          max-width: 1000px; /* Allow even more width */
     }


     .testimonial-item {
         flex: 0 0 30%; /* Make items wider in slider on larger screens */
    }
}

@media (min-width: 1400px) {
    .container {
        padding: 0; /* Remove padding on very large screens where max-width takes over */
    }
}