* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Instrument Sans', sans-serif;
}

body {
    background: linear-gradient(to bottom, #f5f0ff, #ffffff, #f5f0ff);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

/* Header Styles */
header {
    padding: 20px 0;
    position: relative; /* Needed for absolute positioning of mobile menu */
    /*background-color: rgba(255, 255, 255, 0.9); */
    z-index: 100; /* Ensure header is above hero elements */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on very small screens if needed */
    gap: 15px; /* Add gap for spacing */
}

h1 {
    font-size: 40px;
    font-weight: 500;
}

h2 {
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 50px;
}

h3 {
    font-size: 24px;
    font-weight: 400;
}

p {
    font-size: 16px;
    line-height: 1.6;
}


.logo {
    display: flex;
    align-items: center;
    color: #7a29ff;
    font-weight: bold;
    font-size: 1.5rem;
    /* order: 1; Default order */
}

.logo-icon {
    color: #7a29ff;
    margin-right: 10px;
}

/*
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none; 
    transition: max-height 0.3s ease-out; 
}*/
.nav-links {
    display: flex;
    gap: 15px; /* Reduced gap for a tighter look inside the pill */
    list-style: none;

    /* --- Add these lines for the pill effect --- */
    background-color: white;
    padding: 12px 30px; /* Vertical and horizontal padding */
    border-radius: 50px; /* This is the key to the pill shape */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06); /* Adds a subtle shadow */

    /* This transition is for the mobile menu and can be kept */
    transition: max-height 0.3s ease-out;
}

.nav-links a {
    color: #333;
}

.btn-header {
     /* order: 3; Default order */
}


.hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
}


.mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    font-size: 1.8rem; /* Slightly larger */
    cursor: pointer;
    color: #7a29ff;
    /* order: 2; Will be set in media query */
    padding: 5px; /* Easier to tap */
    line-height: 1; /* Prevent extra space */
}

/* Button Styles */
.btn {
    background-color: #7a29ff;
    color: white;
    padding: 10px 20px; /* Slightly larger padding */
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    display: inline-block; /* Ensure proper block behavior */
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

.btn-ghost {
    background-color: transparent;
    color: #7a29ff;
    border: 1px solid #7a29ff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0 80px; /* Adjusted padding */
    position: relative;
    overflow: hidden; /* Contain floating docs if they become too wide */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 32px; /* Increased margin */
    line-height: 1.3;
}
.hero h3 {
    max-width: 700px; /* Keeps the text readable on wide screens */
    margin: 0 auto 48px; /* Centers it and adds 48px space below */
    font-weight: 400; /* Ensures it's not bold */
    line-height: 1.5;
}

.hero p {
    font-size: 1.1rem; /* Slightly adjusted */
    max-width: 600px;
    margin: 0 auto 30px;
    color: #555;
}

.hero .btn {
    padding: 14px 62px;
    font-size: 18px;    
    font-weight: 600;   
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 24px; /* Increased margin */
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.trusted-by {
    font-size: 0.9rem; /* Slightly larger */
    color: #777;
    margin-top: 40px; /* Increased margin */
}

/* Floating Documents Animation */
.floating-docs {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 200px; /* Adjust as needed */
    pointer-events: none;
    z-index: 1; /* Behind content */
}

.doc {
    position: absolute;
    width: 40px; /* Smaller */
    height: 50px; /* Smaller */
    background-color: rgba(240, 240, 240, 0.7); /* Slightly more transparent */
    border-radius: 4px; /* Adjusted */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

.purple-box {
    position: absolute;
    width: 60px; /* Smaller */
    height: 60px; /* Smaller */
    background-color: rgba(122, 41, 255, 0.8); /* Slightly transparent */
    border-radius: 8px; /* Adjusted */
    transform: perspective(500px) rotateY(30deg);
    box-shadow: 0 8px 16px rgba(122, 41, 255, 0.25); /* Adjusted */
    top: 50%;
    left: 50%;
    margin-left: -30px; /* Adjusted */
    margin-top: -30px; /* Adjusted */
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px; /* Add gap for spacing */
}

 /* Alternate layout for even features */
.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    min-width: 0; /* Allow flex items to shrink */
}

.feature-image img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove bottom space */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 20px; /* Add some padding */
    min-width: 0; /* Allow flex items to shrink */
    gap: 16px;
}

.feature-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.feature-content p {
    color: #555;
    margin-bottom: 15px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing h1 {
    margin-bottom: 50px; /* Increased margin */
    max-width: 500px;
    text-align: center;
    margin: 0 auto 50px;
    line-height: 1.1;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px; /* Increased gap */
    margin-top: 30px;
    flex-wrap: wrap; /* Allow cards to wrap */
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1; /* Allow growing */
    min-width: 280px; /* Minimum width before wrapping */
    max-width: 320px; /* Maximum width */
    text-align: left;
    display: flex; /* Use flex for better internal alignment */
    flex-direction: column; /* Stack content vertically */
}

.pricing-card h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
}

.pricing-card .price span {
    font-size: 0.9rem;
    color: #777;
    font-weight: normal;
}
 /* Make text span full line if needed */
.pricing-card .price span:only-child {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

.pricing-card p {
     margin-bottom: 15px;
     flex-grow: 1; /* Allow description to push button down */
}

.pricing-card ul {
    margin: 20px 0;
    list-style-type: none;
    padding-left: 0; /* Remove default padding */
    flex-grow: 1; /* Allow list to push button down */
}

.pricing-card ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #555; /* Style list item text */
}

.pricing-card ul li::before { /* Use ::before for pseudo-element */
    content: "✓";
    color: #7a29ff;
    margin-right: 10px;
    font-weight: bold; /* Make checkmark bolder */
}

.pricing-card .btn {
    margin-top: auto; /* Push button to bottom */
    width: 100%; /* Make button full width */
    font-size: 18px;  
    font-weight: 600;
}


/* Stats Section */
/*
.stats {
    background-color: rgba(245, 240, 255, 0.6); 
    padding: 80px 0;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px; 
}

.stats-content {
    flex: 1;
    min-width: 300px;
}

.stats-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.stats-content p {
    color: #555;
    margin-bottom: 15px;
    max-width: 500px;
}

.stats-numbers {
    flex: 1.2; 
    display: flex;
    flex-wrap: wrap;
    min-width: 300px; 
    gap: 20px; 
}

.stat-box {
    flex: 1;
    min-width: 150px; 
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5); 
    border-radius: 8px;
    text-align: center; 
}

.stat-percentage {
    font-size: 2.5rem;
    font-weight: bold;
    color: #7a29ff;
    margin-bottom: 10px;
}

.stat-description {
    color: #555;
    font-size: 0.9rem;
}
*/

/*new stats section */
/* Stats Section */
.stats {
    background-color: rgba(245, 240, 255, 0.6); 
    padding: 80px 0;
    text-align: center;
}

.stats h2 {
    margin-bottom: 60px; /* Adds space between the title and the stats */
}

.stats-grid {
    display: flex;
    justify-content: space-around; /* Spreads the items out evenly */
    align-items: flex-start; /* Aligns items to the top */
    flex-wrap: wrap; /* Allows items to stack on smaller screens */
    gap: 30px; /* Creates space between items when they wrap */
}

.stat-item {
    flex-basis: 200px; /* Sets a base width for each item */
    flex-grow: 1; /* Allows items to grow and fill space */
    max-width: 250px; /* Prevents items from becoming too wide */
    text-align: center;
}

.stat-number {
    font-size: 4.5rem; /* Large font size for the percentage */
    font-weight: 600; /* Semibold weight */
    color: #333;
    line-height: 1.1;
    margin-bottom: 15px;
}

.stat-description {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.stat-description a {
    color: #7a29ff; /* Your site's primary purple color */
    text-decoration: underline;
    font-weight: 500;
}
/* Testimonials Section */
.testimonials {
    padding: 40px 0;
    text-align: center;
}

.testimonials h1 {
    font-size: 2rem;
    margin-bottom: 16px; /* Increased margin */
}

.testimonials-grid {
    display: grid;
    /* Responsive grid: columns adjust automatically */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px; /* Increased margin */
    text-align: left; /* Reset text align for cards */
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px; /* Increased margin */
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f0f0; /* Placeholder background */
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0; /* Prevent avatar shrinking */
    /* Add background image if available */
    /* background-image: url('...'); */
    background-size: cover;
    background-position: center;
}
/* Example placeholder avatars */
.testimonial-card:nth-of-type(1) .testimonial-avatar { background-color: #e0e7ff; }
.testimonial-card:nth-of-type(2) .testimonial-avatar { background-color: #d1fae5; }
.testimonial-card:nth-of-type(3) .testimonial-avatar { background-color: #fef3c7; }
.testimonial-card:nth-of-type(4) .testimonial-avatar { background-color: #fee2e2; }
.testimonial-card:nth-of-type(5) .testimonial-avatar { background-color: #f3e8ff; }
.testimonial-card:nth-of-type(6) .testimonial-avatar { background-color: #dfefff; }


.testimonial-name h3 {
    font-size: 1.1rem;
    margin-bottom: 3px; /* Reduced margin */
}

.testimonial-position {
    font-size: 0.9rem;
    color: #777;
}

.testimonial-content p { /* Target p inside content */
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6; /* Ensure good readability */
}

.ratings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap; /* Allow ratings to wrap */
}

.rating {
    text-align: center;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.rating-source {
    font-size: 0.8rem;
    color: #777;
}

/* CTA Section */
/* style.css */

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.cta h3 {
    font-size: 1.1rem;
    color: #555;
    max-width: 550px;
    margin: 0 auto 16px; 
    line-height: 1.7; 
    font-weight: 400;
}

/* Add a larger space after the final paragraph, before the button */
.cta h3:last-of-type {
    margin-bottom: 50px; 
}

/* Updated styles for the CTA button */
.cta .btn {
    background: linear-gradient(to right, #8a63ff, #6d5bff);
    border: none;
    border-radius: 10px;
    padding: 16px 40px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(122, 41, 255, 0.3);
    transition: all 0.3s ease;
}

.cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(122, 41, 255, 0.4);
    opacity: 1; 
}

/* Footer */
/* style.css */

/* Footer */
footer {
    background-color: #1a102b; /* Dark purple background from screenshot */
    color: #ccc; /* Lighter default text color for the footer */
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #7a29ff; /* Keep brand color for the logo text */
}

.footer-logo .logo-icon {
    margin-right: 10px;
}

.footer-links {
    display: flex;
    justify-content: flex-end; /* Align link columns to the right */
    gap: 60px; /* Space between the two link columns */
    flex-grow: 1; /* Allow the container to take up space */
}

.footer-links ul {
    list-style-type: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: #ccc; /* Light grey color for links */
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff; /* White on hover */
}

.footer-bottom {
    border-top: 1px solid #3c2d52; /* A subtle border color that fits the background */
    padding-top: 30px;
    font-size: 0.85rem;
    color: #8a7fac; /* A muted light purple/grey for copyright */
    text-align: left; /* Align copyright to the left */
}


/* -------------------- */
/* Responsive Adjustments */
/* -------------------- */

@media (max-width: 768px) {
    html {
	font-size: 15px; /* Adjust base font size for mobile */
    }

    /* Header */
    nav {
	gap: 10px; /* Reduce gap */
    }
    .mobile-menu-btn {
	display: block; /* Show hamburger */
	order: 3; /* Move to the right */
    }
    .btn-header {
	 order: 2; /* Move Sign Up button before hamburger */
	 padding: 8px 16px; /* Slightly smaller button */
    }
    .nav-links {
	order: 4; /* Place menu below everything else */
	width: 100%;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	background-color: white; /* Ensure background */
	position: absolute; /* Position relative to header */
	top: 100%; /* Position below header */
	left: 0;
	right: 0;
	padding: 0; /* Remove padding when closed */
	max-height: 0; /* Collapse menu */
	overflow: hidden; /* Hide content */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
    }
    .nav-links.active {
	max-height: 300px; /* Allow menu to expand */
	padding: 20px 0; /* Add padding when open */
    }
    .nav-links a {
	 padding: 10px 0; /* Add padding to links for easier tapping */
	 width: 100%; /* Make links full width */
	 text-align: center; /* Center text */
    }

    /* Hero */
    .hero {
	padding: 60px 0 50px;
    }
    .hero h1 {
	font-size: 2rem;
    }
    .hero p {
	font-size: 1rem;
	padding: 0 15px; /* Add horizontal padding to text */
    }
    .hero-buttons {
	flex-direction: column; /* Stack buttons */
	align-items: center; /* Center stack */
	gap: 12px; /* Adjust gap */
    }
    .btn { /* Adjust button size for mobile */
	width: 80%;
	max-width: 300px; /* Max width for buttons */
	padding: 12px 20px;
	font-size: 1rem;
    }
    .floating-docs {
	 display: none; /* Hide complex animation on mobile */
    }

    /* Features */
    .features {
	padding: 60px 0;
    }
    .feature {
	flex-direction: column !important; /* Force column layout, override nth-child */
	gap: 20px; /* Reduce gap */
	margin-bottom: 50px; /* Reduce margin */
	text-align: center; /* Center content */
    }
    .feature-content {
	padding: 0; /* Reset padding */
    }
     .feature-image {
	 order: 1; /* Image first */
     }
     .feature-content {
	 order: 2; /* Content second */
     }
     /* Ensure even features stack correctly */
    .feature:nth-child(even) .feature-image { order: 1; }
    .feature:nth-child(even) .feature-content { order: 2; }


    /* Pricing */
    .pricing {
	padding: 30px 0;
    }
    .pricing h1 {
	margin-bottom: 40px;
    }
    .pricing-cards {
	flex-direction: column; /* Stack cards */
	align-items: center; /* Center stack */
	gap: 20px; /* Adjust gap */
    }
    .pricing-card {
	width: 90%; /* Make cards wider */
	max-width: 350px; /* Limit max width */
	min-width: unset; /* Remove min-width */
    }

    /* Stats */
    /*.stats {
	padding: 60px 0;
    }
    .stats-container {
	flex-direction: column; 
	gap: 30px;
    }
    .stats-content {
	text-align: center; 
    }
    .stats-content h2 {
	font-size: 1.6rem;
    }
    .stats-content p {
	margin-left: auto; 
	margin-right: auto;
    }
    .stats-numbers {
	justify-content: center; 
    }
     .stat-box {
	 min-width: 130px; 
     }
     */
     .stats-grid {
        flex-direction: column; /* Stack the items vertically */
        align-items: center; /* Center the stacked items */
        gap: 50px; /* Increase gap for vertical stacking */
    }

    /* Testimonials */
    .testimonials {
	padding: 60px 0;
    }
    .testimonials h2 {
	font-size: 1.8rem;
	margin-bottom: 40px;
    }
    .testimonials-grid {
	 grid-template-columns: 1fr; /* Single column grid */
	 gap: 20px; /* Reduce gap */
	 margin-bottom: 40px;
    }
    .ratings {
	flex-direction: column; /* Stack ratings */
	gap: 30px; /* Adjust gap */
	margin-top: 40px;
    }

    /* CTA */
    .cta {
	padding: 60px 0;
    }
    .cta h1 {
	font-size: 1.7rem;
	padding: 0 10px; /* add padding */
    }
    .cta h3 {
	padding: 0 15px; /* add padding */
	font-size: 1rem;
    }
    .cta .btn {
        padding: 14px 62px;
	width: 80%;
	max-width: 300px;
        font-size: 18px;
        font-weight: 600;

    }

    /* Footer */
    .footer-container {
        flex-direction: column; /* Stack logo and links vertically */
        align-items: center; /* Center them in the column */
        text-align: center;
    }
    .footer-links {
        justify-content: center; /* Center the link columns */
        margin-top: 20px;
    }
    .footer-bottom {
        text-align: center; /* Center copyright text on mobile */
    }
}

/* Minor adjustments for very small screens */
@media (max-width: 360px) {
    html {
	font-size: 14px;
    }
    .hero h1 {
	font-size: 1.8rem;
    }
    .btn {
	width: 90%;
    }
    .pricing-card {
	width: 95%;
    }
     .stat-box {
	 min-width: 120px;
     }
}
.google-logo {
    width: 14px;
    height: 14px;
    margin-right: 8px;
}




/* Styling for Legal & Privacy Content Pages */
.legal-content {
    padding: 80px 0;
    background-color: #ffffff; /* Give it a simple white background */
}

.legal-content .container {
    max-width: 800px; /* Use a narrower width for readability */
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: left; /* Override global center align for h2 */
}

.legal-content p,
.legal-content li {
    color: #333;
    line-height: 1.7;
    margin-bottom: 15px;
}
