/* 
   bestaiporngenerators.love Styles
   Main color scheme: Purple/Violet (#7E22CE)
*/

/* Base Styles */
:root {
    --primary: #7E22CE;
    --primary-light: #A855F7;
    --primary-dark: #6B21A8;
    --primary-bg: #F3E8FF;
    --secondary-bg: #E9D5FF;
    --dark: #1E1B4B;
    --gray-dark: #334155;
    --gray: #64748B;
    --gray-light: #CBD5E1;
    --white: #FFFFFF;
    --black: #0F172A;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --border-radius: 8px;
}

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

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

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

section {
    padding: 80px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 span {
    color: var(--primary);
}

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

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--primary);
    padding: 13px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
    margin-left: 15px;
}

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

.btn-large {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 16px 40px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-large:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.9rem;
}

.card-btn:hover {
    background-color: var(--primary-dark);
}

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

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

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

.logo h1 {
    margin-left: 12px;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 0;
}

.logo span {
    color: var(--primary);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--gray-dark);
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: var(--primary);
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--gray-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-bg) 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

/* Generators Section */
.generators {
    background-color: var(--white);
}

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

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

.generator-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-md);
}

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

.generator-card h3 {
    margin-bottom: 15px;
}

.generator-card p {
    margin-bottom: 25px;
}

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

.features-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 50px;
}

.features-content {
    flex: 1;
    min-width: 300px;
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

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

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

/* Why Us Section */
.why-us {
    padding: 100px 0;
    text-align: center;
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 60px 0;
}

.step {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow);
    max-width: 300px;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
}

.cta-container {
    margin-top: 60px;
}

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

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

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

.footer-logo div {
    margin-left: 15px;
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

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

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

.footer-links-column h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links-column ul li a {
    color: var(--gray-light);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--primary-light);
}

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

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

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-container {
        flex-direction: column-reverse;
    }
    
    .features-content {
        text-align: center;
    }
    
    .features-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 100;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        transition: var(--transition);
        padding-top: 80px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 30px;
        gap: 20px;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
    }
}
