/* Base Styles and Variables */
:root {
    --primary: #8A2BE2;
    --primary-light: #A864FD;
    --primary-dark: #6A1FC2;
    --background: #FFFFFF;
    --background-alt: #F9F6FF;
    --text: #333333;
    --text-light: #666666;
    --gradient: linear-gradient(135deg, #8A2BE2 0%, #A864FD 100%);
    --card-shadow: 0 8px 20px rgba(138, 43, 226, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.8em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--primary);
    display: inline-block;
}

/* Header & Navigation */
header {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

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

.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 101;
}

.hamburger, 
.hamburger::before, 
.hamburger::after {
    content: '';
    display: block;
    background: var(--text);
    height: 2px;
    width: 100%;
    position: absolute;
    transition: var(--transition);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-btn.active .hamburger {
    background: transparent;
}

.menu-btn.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-btn.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    background: var(--background-alt);
    border-radius: 0 0 30% 0;
}

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

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    padding: 14px 30px;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
    color: white;
}

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

/* About Section */
.about {
    padding: 100px 0;
    position: relative;
}

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

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

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

.about-card svg {
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background-alt);
    border-radius: 50% 0 0 0;
    margin-top: -50px;
}

.features-list {
    max-width: 850px;
    margin: 50px auto 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.feature-content h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Create Section */
.create {
    padding: 100px 0;
    text-align: center;
}

.create p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.cta-box {
    background: var(--background-alt);
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.cta-note {
    font-size: 0.9rem;
    margin: 20px 0 0;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--background-alt);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

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

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

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

.footer-links a {
    color: var(--text);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(138, 43, 226, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.5s;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 50px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}
