/*
   stablediffusionaiporn.site - Main Stylesheet
   Purple/Pink Gradient Theme
   Mobile-first responsive design
*/

/* === Base Styles === */
:root {
    --gradient-start: #7928CA;
    --gradient-end: #FF0080;
    --accent: #00CFFD;
    --text: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --background: #0F0F1A;
    --card-bg: rgba(255, 255, 255, 0.05);
    --shadow: rgba(0, 0, 0, 0.2);
    --border: rgba(255, 255, 255, 0.1);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 0, 128, 0.1), transparent 70%),
                radial-gradient(circle at bottom left, rgba(121, 40, 202, 0.1), transparent 70%);
    z-index: -1;
}

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

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

h1 {
    font-size: 1.8rem;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
}

h3 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

section {
    padding: 4rem 0;
}

.highlight {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Header & Navigation === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

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

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

.logo-container h1 {
    font-size: 1.3rem;
    margin-bottom: 0;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

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

.main-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(15, 15, 26, 0.98);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.main-nav.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.main-nav ul {
    list-style-type: none;
    text-align: center;
}

.main-nav ul li {
    margin: 2rem 0;
}

.main-nav ul li a {
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav ul li a:hover {
    color: var(--accent);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

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

.try-now-button {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.3);
}

.try-now-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 128, 0.5);
}

/* === Hero Section === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 4rem;
    text-align: center;
}

.hero-text {
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.cta-button {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 128, 0.5);
}

.hero-visual {
    max-width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* === Features Section === */
.features {
    text-align: center;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

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

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

/* === Benefits Section === */
.benefits {
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.benefit-number {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.1;
    color: white;
}

/* === How It Works === */
.how-it-works {
    text-align: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 3rem;
}

.step {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.step h3 {
    margin-bottom: 1rem;
}

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

/* === Footer === */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-logo p {
    margin-left: 1rem;
    margin-bottom: 0;
    font-weight: 600;
}

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

.footer-column h4 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

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

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

.footer-column ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === Animations === */
.feature-card, .benefit-item, .step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate, .benefit-item.animate, .step.animate {
    opacity: 1;
    transform: translateY(0);
}

/* === Media Queries === */
@media (min-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .logo-container h1 {
        font-size: 1.6rem;
    }
    
    .main-nav {
        position: static;
        display: block;
        height: auto;
        background-color: transparent;
    }
    
    .main-nav ul {
        display: flex;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 0 1.5rem;
    }
    
    .main-nav ul li a {
        font-size: 1rem;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        gap: 2rem;
        min-height: 500px;
        align-items: center;
    }
    
    .hero-text h2 {
        font-size: 3rem;
    }
    
    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
