/* 
   Main stylesheet for aipornfree.works
   Created with SEO optimization and responsive design
*/

:root {
    /* Fresh color palette - different from previous site */
    --primary: #FF3366;
    --secondary: #33CCFF;
    --accent: #FF9966;
    --success: #66CC99;
    --background: #f9f9f9;
    --text-dark: #333333;
    --text-light: #777777;
    --card-bg: #ffffff;
    --border: #e8e8e8;
}

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

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

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
}

.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;
}

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

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

ul {
    list-style: none;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.logo-svg {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    padding: 0.5rem 0;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.9) 0%, rgba(246, 246, 246, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 51, 102, 0.1), transparent 60%),
                radial-gradient(circle at bottom left, rgba(51, 204, 255, 0.1), transparent 60%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.accent {
    color: var(--primary);
}

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

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 600px;
}

.hero-svg {
    width: 100%;
    max-width: 450px;
}

/* Buttons */
.primary-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
    text-align: center;
}

.primary-btn:hover {
    background: #ff1a4f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 51, 102, 0.4);
}

.secondary-btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.secondary-btn:hover {
    background: rgba(255, 51, 102, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Technology Section */
.technology {
    padding: 5rem 0;
    background-color: var(--background);
}

.tech-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.tech-info {
    flex: 1;
}

.tech-info p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.tech-features {
    margin-top: 2rem;
}

.tech-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.tech-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.tech-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
    background-color: white;
}

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

.reason {
    position: relative;
    padding: 2rem;
    border-radius: 8px;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.reason:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.reason-number {
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.04);
    line-height: 1;
}

.reason h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
    position: relative;
}

.reason p {
    color: var(--text-light);
    position: relative;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background-color: var(--card-bg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    padding-right: 3rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Call to Action */
.call-to-action {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #ff005d 100%);
    text-align: center;
    color: white;
}

.call-to-action h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.call-to-action .primary-btn {
    background: white;
    color: var(--primary);
}

.call-to-action .primary-btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 4rem 0 1rem;
}

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

.footer-branding {
    flex: 1;
    min-width: 280px;
}

.footer-logo {
    margin-bottom: 1.2rem;
}

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

.footer-link-group h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.footer-link-group ul li {
    margin-bottom: 0.8rem;
}

.footer-link-group ul li a {
    color: #a0a0a0;
    transition: all 0.2s ease;
}

.footer-link-group ul li a:hover {
    color: var(--primary);
}

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

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .tech-content {
        flex-direction: column-reverse;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        gap: 0;
        display: none;
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .reasons {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .primary-btn, 
    .secondary-btn {
        width: 100%;
    }
}
