/* 
 * Main Stylesheet for aiporngenorator.pw
 * Author: Cascade AI
 * Created: August 2025
 */

/* Base Styles and Reset */
:root {
    /* Primary color palette */
    --primary-color: #5D3FD3; /* Purple */
    --secondary-color: #FF6B6B; /* Coral */
    --accent-color: #4CC9F0; /* Blue */
    --text-color: #333333;
    --light-text: #FFFFFF;
    --dark-bg: #1A1A2E;
    --light-bg: #F8F9FA;
    --gradient-bg: linear-gradient(135deg, #5D3FD3 0%, #844FFF 100%);
    
    /* Typography */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 2rem;
    --small-spacing: 1rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style: none;
}

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

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

/* Button Styles */
.cta-button {
    display: inline-block;
    background: var(--gradient-bg);
    color: var(--light-text);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(93, 63, 211, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(93, 63, 211, 0.4);
    color: var(--light-text);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.logo-icon {
    margin-right: 0.5rem;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Hero Section */
.hero {
    padding: var(--section-spacing) 0;
    background: linear-gradient(135deg, #F4EBFF 0%, #E6E6FA 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

.hero-visual {
    flex: 0 0 45%;
}

/* Features Section */
.features {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-spacing) 0;
    background-color: #F4EBFF;
}

.steps {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    flex: 0 0 30%;
    text-align: center;
    padding: 2rem;
    position: relative;
    margin-bottom: 2rem;
}

.step-number {
    background: var(--gradient-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-spacing) 0;
    background-color: var(--light-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stars {
    display: flex;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    margin-top: 1rem;
    text-align: right;
    color: var(--primary-color);
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-spacing) 0;
    background: var(--gradient-bg);
    color: var(--light-text);
    text-align: center;
}

.final-cta h2 {
    color: var(--light-text);
}

.final-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

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

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

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-right: 3rem;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
    position: relative;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .hero-visual {
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 2rem;
    }
    
    .step {
        flex: 0 0 45%;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');
