/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

a {
    text-decoration: none;
    color: #3498db;
    transition: all 0.3s ease;
}

a:hover {
    color: #8e44ad;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.8rem;
    background: linear-gradient(to right, #8e44ad, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    color: #34495e;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #8e44ad, #3498db);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

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

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

.logo-svg {
    height: 45px;
    width: auto;
}

.main-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: #34495e;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #8e44ad, #3498db);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #34495e;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, rgba(142,68,173,0.05) 0%, rgba(52,152,219,0.05) 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(142,68,173,0.1) 0%, rgba(52,152,219,0.1) 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(52,152,219,0.1) 0%, rgba(142,68,173,0.1) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-svg {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-large {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, #8e44ad, #3498db);
    color: #fff;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    border: none;
}

.btn-secondary {
    background: #fff;
    color: #3498db;
    border: 2px solid #3498db;
}

.btn-large {
    background: linear-gradient(to right, #8e44ad, #3498db);
    color: #fff;
    padding: 16px 36px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    border: none;
}

.btn-primary:hover, .btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4);
    color: #fff;
}

.btn-secondary:hover {
    background: #3498db;
    color: #fff;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(142,68,173,0.05) 0%, rgba(52,152,219,0.05) 100%);
    border-radius: 50%;
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-bottom: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #8e44ad;
}

.feature-icon {
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(142,68,173,0.05) 0%, rgba(52,152,219,0.05) 100%);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-placeholder {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-info {
    padding: 25px;
}

.gallery-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.gallery-item p {
    margin-bottom: 20px;
}

/* How It Works Section */
.how-section {
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.how-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 50px;
}

.how-info {
    flex: 1;
}

.how-info h2 {
    text-align: left;
}

.how-info h2:after {
    margin-left: 0;
}

.how-steps {
    margin-top: 40px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.step-number {
    background: linear-gradient(to right, #8e44ad, #3498db);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.how-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.how-svg {
    max-width: 100%;
    height: auto;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8e44ad 0%, #3498db 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
    color: #fff;
}

.cta-section h2:after {
    background: #fff;
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta {
    background: #fff;
    color: #8e44ad;
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    display: inline-block;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #3498db;
}

/* Footer */
footer {
    background: #252a41;
    color: #fff;
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-info {
    flex: 2;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 380px;
}

.footer-links {
    flex: 3;
    display: flex;
    justify-content: space-between;
    padding-left: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #8e44ad, #3498db);
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: #3498db;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .feature-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .how-content {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .how-image {
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero .container {
        flex-direction: column-reverse;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 40px;
        margin-top: 40px;
        padding-left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav li {
        margin: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    .feature-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-large,
    .btn-cta {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .features-section,
    .gallery-section,
    .how-section,
    .cta-section {
        padding: 70px 0;
    }
}
