/* 
   aipornstorygenerator.site Styles 
   Modern, responsive design with warm gradient theme
*/

:root {
    --primary-color: #ff416c;
    --secondary-color: #ff4b2b;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --background: #fafafa;
    --section-bg: #ffffff;
    --dark-background: #333333;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow: 0 10px 30px rgba(255, 65, 108, 0.2);
    --border-radius: 15px;
    --container-width: 1140px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--background);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--dark-text);
}

p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

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

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: var(--section-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.logo svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
}

.desktop-menu {
    display: flex;
}

.desktop-menu li {
    list-style: none;
    margin-left: 35px;
}

.desktop-menu a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.desktop-menu a:hover {
    color: var(--primary-color);
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.desktop-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background-color: var(--section-bg);
    padding-top: 130px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.05;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

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

.hero-content {
    width: 55%;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.hero-visual {
    width: 40%;
    display: flex;
    justify-content: center;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 65, 108, 0.3);
    color: var(--light-text);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: var(--gradient);
}

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

.feature-card {
    background: var(--section-bg);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient);
    border-radius: var(--border-radius);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover::before {
    height: 100%;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--section-bg);
}

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

.step {
    width: calc(33.333% - 20px);
    padding: 30px;
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.step-title {
    margin-top: 15px;
    font-size: 1.3rem;
}

/* Example Section */
.example {
    background-color: var(--background);
}

.story-showcase {
    background: var(--section-bg);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    position: relative;
}

.story-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.story-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.story-content {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.8;
    position: relative;
    padding: 0 30px;
}

.story-content::before, .story-content::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.1;
    font-family: Georgia, serif;
}

.story-content::before {
    top: -20px;
    left: 0;
}

.story-content::after {
    bottom: -60px;
    right: 0;
}

/* CTA Section */
.cta {
    background: var(--gradient);
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

.cta .section-title {
    color: var(--light-text);
}

.cta .section-title::after {
    background: var(--light-text);
}

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

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta .cta-button {
    background: var(--light-text);
    color: var(--primary-color);
}

.cta .cta-button:hover {
    background: var(--dark-text);
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: var(--dark-background);
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-about {
    width: 40%;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.social-links a:hover {
    background: var(--gradient);
}

.footer-links {
    display: flex;
    width: 55%;
    justify-content: space-between;
}

.footer-column {
    width: calc(50% - 15px);
}

.footer-column h4 {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 25px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #aaa;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--light-text);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Mobile Navigation */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--section-bg);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.mobile-menu.active {
    display: flex;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-color);
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .hero-visual {
        width: 35%;
    }
    
    .step {
        width: calc(50% - 15px);
        margin-bottom: 40px;
    }
    
    .step:last-child {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-about {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        width: 100%;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .story-showcase {
        padding: 25px;
    }
    
    .footer-column {
        width: 100%;
        margin-bottom: 30px;
    }
}
