/* ============================================
   DARK PREMIUM DESIGN SYSTEM - CREATEPORN.APP
   Production-Ready Black Minimalism
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #f3f3f7;
    background: #09090c;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-narrow {
    max-width: 860px;
    margin: 0 auto;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.3;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

p {
    font-size: clamp(1rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: #c8c8d4;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: clamp(1.0625rem, 1.3vw, 1.125rem);
    color: #c8c8d4;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #09090c 0%, #0b0b10 100%);
    padding: 80px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 0, 122, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.tagline {
    display: inline-block;
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(0.875rem, 1.1vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero h1 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: clamp(1rem, 1.2vw, 1.0625rem);
    line-height: 1.7;
    color: #c8c8d4;
    margin-bottom: 2rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 100%);
    color: #ffffff;
    padding: 18px 48px;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(255, 0, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    margin-bottom: 2rem;
    align-self: flex-start;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 0, 122, 0.5);
}

/* Trust Row */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 24px;
    font-size: clamp(0.875rem, 1vw, 0.9375rem);
    color: #c8c8d4;
    transition: all 0.3s ease;
}

.trust-item svg {
    color: #ff007a;
    flex-shrink: 0;
}

.trust-item:hover {
    border-color: rgba(255, 0, 122, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Media */
.hero-media {
    position: relative;
}

.hero-media video {
    width: 100%;
    height: auto;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.media-caption {
    text-align: center;
    font-size: 0.875rem;
    color: #9b9baa;
    margin-top: 1rem;
}

/* Why Choose Section */
.why-choose {
    background: #0b0b10;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card svg {
    color: #ff007a;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
}

.feature-card:hover {
    border-color: rgba(255, 0, 122, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 0, 122, 0.15);
}

/* Easy Creation Section */
.easy-creation {
    background: #09090c;
}

/* Features Pipeline Section */
.features-pipeline {
    background: #0b0b10;
}

.pipeline-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 40px;
    transition: all 0.3s ease;
}

.pipeline-step:hover {
    border-color: rgba(255, 0, 122, 0.2);
    box-shadow: 0 8px 32px rgba(255, 0, 122, 0.1);
}

.pipeline-step.reverse {
    direction: rtl;
}

.pipeline-step.reverse > * {
    direction: ltr;
}

.step-label {
    display: inline-block;
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

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

.step-content p {
    color: #c8c8d4;
}

.step-media img,
.step-media video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.pipeline-footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.secondary-text {
    font-size: 1.125rem;
    color: #c8c8d4;
    margin-bottom: 2rem;
}

.pipeline-footer .cta-button {
    align-self: center;
}

/* Who Using Section */
.who-using {
    background: #09090c;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.audience-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
    text-align: center;
}

.audience-card svg {
    color: #ff007a;
    margin-bottom: 1rem;
}

.audience-card p {
    margin: 0;
    font-size: 1rem;
    color: #c8c8d4;
}

.audience-card:hover {
    border-color: rgba(255, 0, 122, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 0, 122, 0.15);
}

/* How To Section */
.how-to {
    background: #0b0b10;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: #c8c8d4;
}

.step-card:hover {
    border-color: rgba(255, 0, 122, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 0, 122, 0.15);
}

/* Use Cases Section */
.use-cases {
    background: #09090c;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
    margin-top: 3rem;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.3s ease;
}

.use-case-card svg {
    color: #ff007a;
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.use-case-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: #c8c8d4;
}

.use-case-card:hover {
    border-color: rgba(255, 0, 122, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 0, 122, 0.15);
}

/* Commercial Block */
.commercial-block {
    background: linear-gradient(180deg, #0b0b10 0%, #09090c 100%);
    position: relative;
}

.commercial-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.commercial-block .content-narrow {
    position: relative;
    z-index: 1;
}

/* Gallery Section */
.gallery-section {
    background: #0b0b10;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: #ffffff;
    padding: 24px 20px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: rgba(255, 0, 122, 0.4);
    box-shadow: 0 12px 40px rgba(255, 0, 122, 0.2);
}

.gallery-item:hover img,
.gallery-item:hover video {
    filter: brightness(0.7);
}

/* FAQ Section */
.faq-section {
    background: #09090c;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 0, 122, 0.3);
}

.faq-item[open] {
    border-color: rgba(255, 0, 122, 0.4);
}

.faq-item summary {
    padding: 24px 28px;
    font-size: clamp(1rem, 1.2vw, 1.0625rem);
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 60px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ff007a;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: #ff007a;
}

.faq-item p {
    padding: 0 28px 24px 28px;
    margin: 0;
    color: #c8c8d4;
    font-size: 0.9375rem;
}

/* Related Tools Section */
.related-tools {
    padding: 24px 0 8px;
}

.related-tools-text {
    margin: 0;
    text-align: center;
    color: #9b9baa;
    font-size: 14px;
    line-height: 1.7;
}

.related-tools-text a {
    color: #f3f3f7;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.related-tools-text a:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.45);
}

/* Sticky Mobile CTA */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff007a 0%, #a855f7 100%);
    color: #ffffff;
    padding: 18px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 -8px 32px rgba(255, 0, 122, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .hero-grid,
    .pipeline-step {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pipeline-step.reverse {
        direction: ltr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    h1 {
        text-align: center;
    }
    
    .hero h1 {
        text-align: center;
    }
    
    .tagline {
        text-align: center;
        width: 100%;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .cta-button {
        align-self: center;
    }
    
    .trust-row {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-cta {
        display: block;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .pipeline-step {
        padding: 28px;
    }
    
    .feature-grid,
    .audience-grid,
    .steps-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 16px 36px;
        font-size: 0.9375rem;
    }
    
    .pipeline-step {
        padding: 24px;
    }
}

/* Accessibility */
a:focus,
button:focus,
details:focus-within summary {
    outline: 2px solid #ff007a;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #ff007a;
    color: #ffffff;
}

::-moz-selection {
    background: #ff007a;
    color: #ffffff;
}
