/* 
   aiporngeneratir.love - Modern CSS
   Mobile-first responsive design with optimized performance
*/

:root {
    /* Color Palette */
    --primary-color: #ff3366;
    --secondary-color: #8844ff;
    --accent-color: #44aaff;
    --dark-color: #222233;
    --light-color: #f8f9fa;
    --text-color: #333344;
    --light-text: #ffffff;
    --gray-bg: #f1f2f6;
    --card-bg: #ffffff;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.5rem;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

section {
    padding: 5rem 0;
}

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2rem;
}

nav a {
    color: var(--dark-color);
    font-weight: 600;
}

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

/* Hero Section */
.hero {
    background: var(--gradient-bg);
    color: var(--light-text);
    padding: 7rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

.hero h2 {
    color: var(--light-text);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero span {
    color: #ffcc00;
}

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

.hero-image {
    max-width: 400px;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    background-color: #ffcc00;
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    color: var(--dark-color);
}

/* Features Section */
.features {
    background-color: var(--gray-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-color);
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    position: relative;
    padding: 2rem;
}

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

.cta-container {
    margin-top: 3rem;
}

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

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

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quote {
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 1rem;
}

.author {
    color: var(--light-text);
    opacity: 0.8;
    text-align: right;
}

/* Call to Action Section */
.call-to-action {
    background: var(--gradient-bg);
    color: var(--light-text);
    text-align: center;
    padding: 5rem 0;
}

.call-to-action h2 {
    color: var(--light-text);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo .logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: var(--light-text);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Media Queries */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .hero-content {
        text-align: left;
        margin-right: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-logo {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.feature-card, .step, .testimonial-card {
    animation: fadeIn 0.8s ease-in-out;
}
