/* Main CSS styles for ai-generatedporn.pw - Canadian site in Chinese language */

/* Custom CSS Variables */
:root {
    /* Unique Canadian red-themed color scheme, different from previous sites */
    --primary-color: #D41F31;       /* Canadian red */
    --secondary-color: #2B7FFF;     /* Blue */
    --accent-color: #FF9500;        /* Orange accent */
    --text-color: #333333;
    --light-bg: #F8F8F8;
    --dark-bg: #222222;
    --white: #FFFFFF;
    --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, #F05545 100%);
    
    /* Font styles */
    --main-font: 'Arial', 'Microsoft YaHei', sans-serif; /* Supporting Chinese characters */
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

p {
    margin-bottom: 1rem;
}

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

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

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

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-svg {
    margin-right: 0.75rem;
}

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

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

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

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

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

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

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--light-bg);
    position: relative;
}

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

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-visual {
    flex: 1;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background: transparent;
    color: var(--primary-color);
}

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

.features h2 {
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

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

.feature-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.feature-card:nth-child(1) { transition-delay: 0ms; }
.feature-card:nth-child(2) { transition-delay: 150ms; }
.feature-card:nth-child(3) { transition-delay: 300ms; }
.feature-card:nth-child(4) { transition-delay: 450ms; }

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

.feature-card h3 {
    margin: 1rem 0;
    color: var(--primary-color);
}

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

.how-it-works h2 {
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

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

.step:nth-child(1) { transition-delay: 0ms; }
.step:nth-child(2) { transition-delay: 200ms; }
.step:nth-child(3) { transition-delay: 400ms; }

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

.step h3 {
    margin: 1rem 0;
    color: var(--secondary-color);
}

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

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: var(--primary-color);
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-bg);
    transition: all 0.3s ease;
}

.question:hover {
    background-color: rgba(212, 31, 49, 0.05);
}

.question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.arrow {
    position: relative;
    width: 20px;
    height: 20px;
}

.arrow::before,
.arrow::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    top: 50%;
    width: 12px;
    height: 2px;
    transition: all 0.3s ease;
}

.arrow::before {
    left: 0;
    transform: translateY(-50%) rotate(45deg);
}

.arrow::after {
    right: 0;
    transform: translateY(-50%) rotate(-45deg);
}

.faq-item.active .arrow::before {
    transform: translateY(-50%) rotate(-45deg);
}

.faq-item.active .arrow::after {
    transform: translateY(-50%) rotate(45deg);
}

.answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 300px;
}

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

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

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

.footer-logo svg {
    margin-right: 0.75rem;
}

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

.footer-links a {
    color: var(--white);
    margin-left: 1.5rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-keywords {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 1rem;
    }
    
    .footer-links a {
        margin: 0 1rem 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}
