:root {
    --primary: #6B46C1;
    --secondary: #38B2AC;
    --accent: #F56565;
    --text: #2D3748;
    --background: #FFFFFF;
    --dark: #1A202C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    line-height: 1.5;
}

/* Navigation */
.nav {
    position: fixed;
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo a {
    display: block;
    text-decoration: none;
}


.logo img {
    display: block;
    height: 100px;  /* adjust this value as needed */
    width: auto;   /* maintains aspect ratio */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.geometric-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    opacity: 0.8;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    background: var(--primary);
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
}

.circle-2 {
    background: var(--secondary);
    width: 200px;
    height: 200px;
    top: 40%;
    right: 30%;
}

.circle-3 {
    background: var(--accent);
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
}

/* Features Section */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
}

.features {
    padding: 6rem 2rem;
    background: var(--dark);
    color: white;
}

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

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Value Proposition Section */
.value-prop {
    padding: 6rem 2rem;
    background: var(--background);
    overflow: hidden;
}
.value-item {
    max-width: 1200px;
    margin: 0 auto 8rem auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
}

.value-item:last-child {
    margin-bottom: 0;
}

/* Middle section treatment */
.value-item:nth-child(2) {
    background: rgba(247, 250, 252, 0.5);
    padding: 4rem 2rem;
    border-radius: 1rem;
    margin: 8rem auto; /* Maintaining your existing margin pattern */
    width: 100%; /* Ensures the background spans properly */
}
.value-text {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.value-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.value-text p {
    font-size: 1.25rem;
    color: var(--text);
    max-width: 500px;
}

.value-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.value-decoration .shape {
    position: absolute;
    opacity: 0.15;
}

.value-decoration .circle {
    border-radius: 50%;
}

.value-decoration .square {
    width: 80px;
    height: 80px;
    transform: rotate(45deg);
}

.value-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
}

.value-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}

.value-item:nth-child(even) .value-text p {
    margin-left: auto;
}
/* Partners Section */
.partners {
    padding: 6rem 2rem;
    background: #f7fafc;
}

.partners-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem;
}

.partner-logo {
    padding: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.25);  /* This is already good for the size increase */
}

.partner-logo a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.partner-logo img {
    max-width: 100px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;  /* Only transition the transform property */
    /* Removed grayscale filter and opacity */
}

/* Removed the img:hover styles since we're handling hover on the container */
/* Signup Section */
.signup-section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.signup-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.signup-form {
    margin-top: 2rem;
}

.input-group {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 0.5rem;
    font-size: 1rem;
}

button {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: var(--secondary);
}

.signup-note {
    color: #888;  /* Softer grey */
    margin-top: 2rem;  /* Increased from 2rem to 4rem for more spacing */
    font-size: 0.9em;
}
.login-link {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.login-link a {
    color: var(--text);
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.login-link a:hover {
    opacity: 1;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo img {
    height: 75px;
    width: auto;
}

.footer-brand p {
    color: #A0AEC0;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: #A0AEC0;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary);
}

/* Legal pages styles */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem 2rem;
    color: var(--text);
}

.legal-content h1 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.legal-content .last-updated {
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: var(--secondary);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    color: var(--text);
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 1rem;
    }

    .legal-content h1 {
        font-size: 2rem;
    }
}

/* New footer bottom styles */
.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #A0AEC0;
    font-size: 0.875rem;
}

.footer-legal {
    font-size: 0.875rem;
}

.footer-legal a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
/* Decorative Elements */
.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
}

.dots-left {
    left: 0;
    bottom: 0;
}

.dots-right {
    right: 0;
    top: 0;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .geometric-shapes {
        opacity: 0.3;
    }

    .input-group {
        flex-direction: column;
    }

    .value-item {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 4rem;
    }

    .value-text p {
        margin: 0 auto !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand, .footer-links {
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

}