/*
   Main CSS for aipornprompts.site
   Green and amber color scheme with modern, clean design
*/

:root {
    --primary: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #81C784;
    --accent: #FFC107;
    --accent-dark: #FFA000;
    --accent-light: #FFD54F;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

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

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

p {
    margin-bottom: 1.5rem;
}

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

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

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

.highlight {
    color: var(--accent);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--accent-light);
    opacity: 0.3;
    z-index: -1;
    border-radius: 2px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.secondary-btn:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.prompt-btn {
    background-color: var(--accent);
    color: var(--text-dark);
    margin-top: 1rem;
    display: inline-block;
}

.prompt-btn:hover {
    background-color: var(--accent-dark);
    color: var(--text-dark);
}

.large-btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

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

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

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

.branding h1 {
    margin-bottom: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: var(--transition);
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
}

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

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

.nav-links li a:hover::after {
    width: 100%;
}

.action-button a {
    background-color: var(--accent);
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
}

.action-button a:hover {
    background-color: var(--accent-dark);
    color: var(--text-dark);
}

.action-button a::after {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
    overflow: hidden;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    max-width: 550px;
    width: 100%;
}

.prompt-visual {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.feature-card {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
}

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

/* Prompts Section */
.prompts-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

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

.prompt-category {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.prompt-category:hover {
    box-shadow: var(--shadow-md);
}

.prompt-category h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.prompt-category h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

.prompt-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background-color: var(--gray-100);
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.prompt-type {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    background-color: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.prompt-content p {
    margin-bottom: 0;
    font-family: monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-medium);
}

/* Tips Section */
.tips-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tip-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background-color: var(--gray-100);
    position: relative;
    border-left: 4px solid var(--primary);
}

.tip-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.1;
}

.tip-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

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

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

/* Examples Section */
.examples-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.example-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.example-visual {
    width: 100%;
    padding: 1rem;
    background-color: var(--gray-100);
}

.example-svg {
    width: 100%;
    height: auto;
}

.example-caption {
    padding: 1.5rem;
}

.example-caption h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.example-caption p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.examples-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.examples-cta p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content .highlight::after {
    background-color: rgba(255, 255, 255, 0.3);
}

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

.cta-content .primary-btn {
    background-color: var(--white);
    color: var(--primary);
}

.cta-content .primary-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

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

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

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

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

.footer-brand p {
    margin-bottom: 0;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray-300);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

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

.disclaimer {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Animation classes */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Media Queries */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        margin: 0 auto;
        order: -1;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 1.25rem 0;
        width: 100%;
        text-align: center;
    }
    
    .prompts-grid,
    .tips-container,
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .secondary-btn {
        margin-top: 1rem;
    }
}
