:root {
    --bg-main: #06050a;
    --bg-panel: rgba(20, 18, 28, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    
    --accent-1: #3b82f6;
    --accent-2: #8b5cf6;
    --accent-3: #ec4899;
    --accent-4: #0ea5e9;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --gradient-text: linear-gradient(90deg, #38bdf8, #8b5cf6, #ec4899);
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.2);
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.4);
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.z-10 {
    z-index: 10;
}

.overflow-hidden {
    overflow: hidden;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
}

.glass-panel:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.2);
}

/* Gradients helpers */
.bg-gradient-1 { background: linear-gradient(135deg, #3b82f6, #2dd4bf); }
.bg-gradient-2 { background: linear-gradient(135deg, #8b5cf6, #d946ef); }
.bg-gradient-3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.bg-gradient-4 { background: linear-gradient(135deg, #10b981, #3b82f6); }
.bg-gradient-5 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.bg-gradient-6 { background: linear-gradient(135deg, #ec4899, #f43f5e); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.glow-btn {
    position: relative;
}

.glow-btn::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-text);
    z-index: -1;
    border-radius: 14px;
    filter: blur(8px);
    opacity: 0;
    transition: var(--transition);
}

.glow-btn:hover::after {
    opacity: 0.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(6, 5, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: var(--accent-1);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: var(--accent-3);
}

.hero-badge {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 32px;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
}

/* Features Block */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    text-align: left;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Prompt Form */
.interactive-prompt-wrapper {
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.prompt-form {
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 24px;
    border-radius: 100px;
    gap: 16px;
    background: rgba(20, 18, 28, 0.7);
    transition: var(--transition);
}

.prompt-form:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px -10px rgba(139, 92, 246, 0.3);
}

.prompt-icon-sparkle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prompt-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-family: var(--font-main);
    width: 100%;
}

.prompt-input::placeholder {
    color: var(--text-secondary);
}

.prompt-btn {
    border-radius: 100px;
    width: 52px;
    height: 52px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prompt-btn svg {
    position: relative;
    left: -1px;
    top: 1px;
}

/* Audience Block */
.glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-2);
    width: 800px;
    height: 800px;
    opacity: 0.2;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.audience-card {
    padding: 40px 30px;
}

.audience-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.audience-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.audience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audience-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.audience-list li span {
    color: var(--accent-1);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* How to start Block */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--border-glass) 0%, var(--accent-2) 50%, var(--border-glass) 100%);
    z-index: 0;
}

.step-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--bg-main);
    box-shadow: 0 0 0 8px var(--bg-main);
    color: var(--accent-1);
    border: 2px solid var(--accent-1);
}

.step-content {
    padding: 24px;
    text-align: center;
    width: 100%;
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Comparison Block */
.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    padding: 1px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: var(--bg-panel);
    border-radius: 15px;
}

.compare-table th, .compare-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-glass);
}

.compare-table th {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.compare-table th:first-child {
    width: 40%;
}

.compare-table .highlight {
    background: rgba(139, 92, 246, 0.05);
}

.compare-table th.highlight {
    color: var(--text-primary);
    font-size: 1.25rem;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: #10b981;
    margin-right: 8px;
    font-weight: bold;
}

.cross-icon {
    color: #ef4444;
    margin-right: 8px;
    font-weight: bold;
}

/* Examples Block */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.example-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.example-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.example-tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.example-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
}

/* Code Mockup */
.code-mockup {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mac-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.mac-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }

.code-purple { color: #c678dd; }
.code-blue { color: #61afef; }
.code-yellow { color: #e5c07b; }
.code-green { color: #98c379; }
.code-orange { color: #d19a66; }

/* Image Mockup */
.image-mockup {
    position: relative;
}

.example-body.p-0 {
    padding: 0;
}

.generated-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}

.prompt-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-style: italic;
    width: 100%;
    border-left: 2px solid var(--accent-1);
}

.prompt-bubble.overlaid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 8, 15, 0.85);
    backdrop-filter: blur(8px);
    padding: 16px;
}

/* Post Mockup */
.post-mockup {
    display: flex;
    flex-direction: column;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.post-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.post-hashtags {
    color: var(--accent-4);
    font-weight: 500;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
}

.post-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* CTA Banner Block */
.cta-banner {
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--accent-2);
}

.cta-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-banner-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 500px;
}

/* Reviews Block */
.glow-4 {
    top: 30%;
    right: -20%;
    background: var(--accent-4);
    width: 700px;
    height: 700px;
    opacity: 0.15;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    padding: 32px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
}

.review-author h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.review-author span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.review-stars {
    color: #fbbf24;
    margin-bottom: 16px;
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Guarantees Block */
.guarantees-wrapper {
    padding: 2px;
}

.interactive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.hover-card {
    background: rgba(20, 18, 28, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.hover-card.full-width {
    grid-column: 1 / -1;
    justify-content: center;
}

.hover-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.hover-card > * {
    position: relative;
    z-index: 1;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -10px rgba(139, 92, 246, 0.4);
    border-color: rgba(139, 92, 246, 0.4);
}

.hover-card:hover::before {
    opacity: 0.05;
}

.guarantee-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-icon {
    font-size: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-card:hover .guarantee-icon {
    transform: scale(1.2) rotate(-5deg);
}

.pulse-glow {
    position: relative;
}

.pulse-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: inherit;
    filter: blur(10px);
    opacity: 0.5;
    z-index: -1;
    transition: var(--transition);
}

.hover-card:hover .pulse-glow::after {
    opacity: 0.8;
    filter: blur(15px);
}

.guarantee-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.guarantee-item strong {
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* FAQ Block */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-2);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    background: rgba(6, 5, 10, 0.6);
}

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

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid, .audience-grid, .steps-grid, .examples-grid, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid::before {
        display: none;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none; /* simple mobile clear */
    }
    
    .features-grid, .audience-grid, .steps-grid, .examples-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .interactive-grid {
        grid-template-columns: 1fr;
    }
    
    .hover-card.full-width {
        grid-column: 1 / -1;
    }
    
    .hover-card {
        padding: 24px;
        gap: 16px;
    }
    
    .prompt-form {
        padding: 8px 8px 8px 20px;
        gap: 12px;
    }
    
    .prompt-input {
        font-size: 1rem;
    }
    
    .prompt-btn {
        width: 44px;
        height: 44px;
    }
    
    .compare-table th:first-child {
        width: 30%;
    }
    
    .compare-table th, .compare-table td {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
