/* Base styles and resets */
:root {
    --primary: #6c5ce7;
    --primary-light: rgba(108, 92, 231, 0.1);
    --secondary: #a29bfe;
    --dark: #2d3436;
    --gray: #636e72;
    --light-gray: #b2bec3;
    --background: #ffffff;
    --background-alt: #f7f7f7;
    --shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    background-color: var(--background);
    line-height: 1.6;
    font-size: 16px;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

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

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

/* Header Styles */
header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo-container {
    height: 60px;
}

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

nav ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

nav ul li a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
}

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

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

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

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
}

.primary-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.2);
    color: white;
}

/* Technology Section */
.tech-section {
    padding: 6rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.tech-card {
    background-color: var(--background);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.tech-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background-color: var(--background-alt);
}

.benefits-list {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
}

.benefit-content {
    flex: 1;
}

/* Try Section */
.try-section {
    padding: 6rem 0;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.try-content {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--background-alt);
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo-svg {
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--light-gray);
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 960px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }

    .tag-cloud {
        justify-content: center;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links ul {
        display: flex;
        gap: 1.5rem;
    }
    
    .footer-legal {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .tech-cards {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .benefit-number {
        font-size: 2rem;
    }
}
