/* 
 * aienhancedporn.pw - Main Stylesheet
 * Designed with mobile-first approach and fully responsive design
 */

:root {
    /* Color scheme - rose/purple gradient theme */
    --primary: #f43f5e;
    --secondary: #8b5cf6;
    --dark: #0f172a;
    --light: #f8fafc;
    --text: #334155;
    --text-light: #94a3b8;
    --accent: #fb7185;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 2.5rem;
}

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

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

p {
    margin-bottom: 1.2rem;
}

/* Layout */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.section {
    padding: 4rem 0;
}

.section.dark {
    background-color: var(--dark);
    color: var(--light);
}

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

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* Header & Navigation */
header {
    background-color: rgba(15, 23, 42, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    display: flex;
    align-items: center;
    color: white;
    gap: 0.5rem;
}

.site-logo {
    width: 40px;
    height: 40px;
}

.site-name {
    font-weight: 700;
    font-size: 1.25rem;
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 10;
}

.mobile-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

.main-nav {
    display: flex;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 0.5rem;
    transition: var(--transition);
    position: relative;
}

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

.main-nav a:hover {
    color: white;
}

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

.cta-nav a {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.cta-nav a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(244, 63, 94, 0.4);
}

.cta-nav a::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    background-color: var(--dark);
    color: white;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.primary-button {
    background: var(--gradient);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.5);
}

.ghost-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ghost-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    right: -15%;
    top: -10%;
    width: 80%;
    height: 120%;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Technology Steps */
.tech-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.tech-step {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.tech-step:last-child {
    margin-bottom: 0;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    line-height: 0.8;
    min-width: 80px;
}

.step-content {
    padding-left: 1rem;
}

.step-content h3 {
    color: var(--primary);
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--gradient);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-content {
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.cta-box {
    background: var(--gradient);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 15px 30px rgba(244, 63, 94, 0.3);
}

.cta-box h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding-top: 4rem;
    margin-top: auto;
}

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

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
}

.footer-site-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-nav h4,
.footer-legal h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: white;
}

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

.footer-keywords {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark);
        padding: 100px 2rem 2rem;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    
    .cta-nav {
        margin-top: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }
    
    .cta-container {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .tech-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .step-content {
        padding-left: 0;
    }
}
