/* Global Styles */
:root {
    --primary-color: #7b42f5;
    --secondary-color: #4B0082;
    --accent-color: #e6d5ff;
    --text-color: #333;
    --light-text: #fff;
    --background: #fff;
    --secondary-bg: #f7f5fd;
    --card-bg: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

ul {
    list-style-type: none;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Header Styles */
header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    width: 200px;
}

.logo {
    width: 100%;
    height: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background), var(--accent-color) 150%);
}

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

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.hero h1 {
    margin-bottom: 30px;
    font-size: 3rem;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(123, 66, 245, 0.3);
}

.cta-button:hover {
    background: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 66, 245, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

.hero-visual {
    flex: 1;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--secondary-bg);
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.feature-card {
    flex: 1;
    min-width: 250px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Technology Section */
.technology {
    padding: 100px 0;
}

.technology .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tech-content {
    flex: 1;
}

.tech-list {
    margin: 20px 0;
}

.tech-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
}

.tech-visual {
    flex: 1;
}

.tech-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--secondary-bg);
    text-align: center;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

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

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

.footer-logo {
    flex: 1;
}

.logo-small {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

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

.footer-links-column a {
    color: var(--light-text);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-links-column a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero .container,
    .technology .container {
        flex-direction: column;
    }
    
    .hero-content,
    .tech-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .feature-cards {
        flex-direction: column;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-links-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 10px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}
