/* Base Styles */
:root {
    --primary: #6C4AB6;
    --secondary: #8D72E1;
    --tertiary: #8D9EFF;
    --light: #B9E0FF;
    --dark: #2D033B;
    --text-dark: #333;
    --text-light: #f8f8f8;
    --background: #f5f5f7;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --box-shadow: 0 8px 20px rgba(108, 74, 182, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(108, 74, 182, 0.1), rgba(141, 114, 225, 0.1));
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

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

h1, h2, h3, h4 {
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

/* Button Styles */
.primary-button, .ghost-button, .action-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.primary-button {
    background: var(--gradient);
    color: white;
    border: none;
    box-shadow: var(--box-shadow);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 74, 182, 0.25);
    color: white;
}

.ghost-button {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.ghost-button:hover {
    background: rgba(108, 74, 182, 0.1);
    transform: translateY(-3px);
}

.action-button {
    background: var(--tertiary);
    color: white;
    border: none;
    padding: 10px 20px;
}

.action-button:hover {
    background: var(--secondary);
    color: white;
}

.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.centered-button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

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

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    color: var(--text-dark);
    font-weight: 500;
}

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

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

/* Main Content Styles */
main {
    padding-top: 70px;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-text {
    max-width: 700px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 74, 182, 0.2);
}

.icon-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 74, 182, 0.1);
    border-radius: 50%;
    padding: 15px;
}

.icon-container svg {
    width: 100%;
    height: 100%;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--background);
    position: relative;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 50px auto 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Call to Action Section */
.call-to-action {
    padding: 80px 0;
    background: var(--gradient);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
}

.cta-content h2::after {
    background: rgba(255, 255, 255, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-content .primary-button {
    background: white;
    color: var(--primary);
}

.cta-content .primary-button:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-links ul li a {
    color: var(--light);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .steps {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background-color: white;
        padding: 50px 20px;
        transition: transform 0.4s ease;
    }
    
    #menu-toggle:checked ~ .nav-links {
        transform: translateX(-100%);
    }
    
    .button-group {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 40px;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
