/* Base Styles */
:root {
    --primary: #7E22CE;
    --primary-light: #C084FC;
    --primary-dark: #6B21A8;
    --secondary: #C026D3;
    --dark: #0f0f1a;
    --light: #f5f5f5;
    --white: #ffffff;
    --gray: #94a3b8;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --transition: all 0.3s ease-in-out;
    --radius: 10px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

h1 span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

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

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

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

section {
    padding: 90px 0;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(126, 34, 206, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(126, 34, 206, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

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

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

.logo a {
    display: flex;
    align-items: center;
}

.logo-svg {
    width: 150px;
    height: 40px;
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

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

.menu-toggle span:nth-child(2) {
    top: 9px;
}

.menu-toggle span:nth-child(3) {
    top: 18px;
}

/* Hero Section */
.hero {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%237E22CE' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

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

.hero-text {
    max-width: 550px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark);
    opacity: 0.7;
}

.hero-visual svg {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin-left: auto;
}

/* Tech Section */
.tech-section {
    background-color: var(--light);
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.tech-card:hover {
    transform: translateY(-10px);
}

.tech-icon {
    margin-bottom: 20px;
}

.tech-icon svg {
    width: 60px;
    height: 60px;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.benefit-item {
    display: flex;
    margin-bottom: 25px;
}

.check-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.check-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-text h3 {
    margin-bottom: 5px;
}

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

/* CTA Section */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section h2::after {
    background-color: var(--white);
}

.cta-section p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: var(--light);
}

/* Testimonials */
.testimonials {
    background-color: var(--light);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author p {
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 70px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 15px;
    color: var(--gray);
}

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

.footer-column h4 {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

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

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo, .footer-emblem {
    display: flex;
}

/* Responsive Styles */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-visual svg {
        margin: 0 auto 40px;
    }
    
    .benefits-content {
        grid-template-columns: 1fr;
    }
    
    .benefits-visual {
        order: -1;
        text-align: center;
    }
    
    .benefits-visual svg {
        max-width: 400px;
        margin: 0 auto 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand, .footer-links {
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: 0;
        top: 70px;
        left: 0;
        right: 0;
        padding: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        height: 200px;
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-emblem {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}
