/* Reset and 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, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Header Styles - Mobile First */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(13, 13, 18, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(168, 85, 247, 0.1);
    transition: all 0.3s ease;
}

[data-theme="light"] header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex-shrink: 0;
}

.logo-link {
    display: block;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation - Hidden on Mobile */
.header-nav {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.theme-toggle:hover {
    background-color: rgba(168, 85, 247, 0.2);
    transform: scale(1.05);
}

.theme-icon {
    transition: opacity 0.3s ease;
}

.sun-icon {
    display: none;
}

[data-theme="light"] .sun-icon {
    display: block;
}

[data-theme="light"] .moon-icon {
    display: none;
}

.moon-icon {
    display: block;
}

.sign-up-cta {
    display: inline-block !important;
    background: transparent;
    border: 2px solid #a855f7;
    color: var(--text-primary);
    padding: 10px 20px;
}

.sign-up-cta:hover {
    background: rgba(168, 85, 247, 0.1);
}

.sign-in-cta {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #fb7185;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 64px);
    background-color: var(--bg-primary);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 999;
}

.mobile-menu[aria-hidden="false"] {
    right: 0;
}

.mobile-nav-menu {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.mobile-cta-button {
    display: block;
    margin-top: 16px;
    padding: 14px 24px;
    text-align: center;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

.mobile-login-link {
    color: #a855f7;
    font-weight: 600;
}

/* CTA Button Styles */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 44px;
}

.hero-primary-cta,
.pricing-cta,
.advantages-cta,
.final-primary-cta {
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-primary-cta::before,
.pricing-cta::before,
.advantages-cta::before,
.final-primary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-primary-cta:hover::before,
.pricing-cta:hover::before,
.advantages-cta:hover::before,
.final-primary-cta:hover::before {
    opacity: 1;
}

.hero-primary-cta:hover,
.pricing-cta:hover,
.advantages-cta:hover,
.final-primary-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.5);
}

.hero-secondary-cta {
    background: transparent;
    border: 2px solid #a855f7;
    color: var(--text-primary);
}

.hero-secondary-cta:hover {
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    color: white;
}

/* Hero Section - Mobile First */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0d0d12 0%, #a855f7 50%, #fb7185 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.particle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.particle-1 {
    background: #a855f7;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    background: #fb7185;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.particle-3 {
    background: #a855f7;
    bottom: 10%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-30px) translateX(20px);
    }
    66% {
        transform: translateY(20px) translateX(-20px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: floatIcon 10s ease-in-out infinite;
}

.icon-article {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.icon-image {
    top: 50%;
    right: 5%;
    animation-delay: 3s;
}

.icon-landing {
    bottom: 20%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
}

.hero-headline {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.badge-icon {
    color: #a855f7;
}

.badge-separator {
    color: #fb7185;
    font-size: 18px;
}

.hero-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.hero-cta-buttons .cta-button {
    width: 100%;
    max-width: 300px;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-headline {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.section-subheadline {
    font-size: 18px;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 64px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Pain Points Section */
.pain-points-section {
    background-color: var(--bg-secondary);
    position: relative;
}

.pain-points-intro {
    margin-bottom: 64px;
}

.pain-points-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.pain-point-card {
    background-color: var(--bg-primary);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
                      linear-gradient(135deg, #a855f7, #fb7185);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.pain-point-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.3);
}

.pain-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.pain-icon svg {
    color: white;
}

.pain-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.pain-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Solution Section */
.solution-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.solution-intro {
    margin-bottom: 64px;
}

.solution-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.solution-card {
    background: transparent;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    padding: 32px 24px;
    transition: all 0.4s ease;
    position: relative;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: -1;
}

.solution-card:hover::before {
    opacity: 1;
}

.solution-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.solution-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Generators Section */
.generators-section {
    background-color: var(--bg-primary);
}

.generators-intro {
    margin-bottom: 64px;
}

.generators-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.generator-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
    align-items: center;
}

.generator-visual {
    width: 100%;
    max-width: 540px;
}

.generator-visual img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.generator-content {
    flex: 1;
}

.generator-title {
    font-size: 28px;
    font-weight: 700;
    color: #fb7185;
    margin-bottom: 20px;
}

.generator-features {
    margin-bottom: 24px;
}

.generator-features li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.generator-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #a855f7;
    font-weight: 700;
    font-size: 18px;
}

.generator-use-case {
    font-size: 15px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Knowledge Section */
.knowledge-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.knowledge-intro {
    margin-bottom: 64px;
}

.knowledge-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.knowledge-process {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
}

.process-step {
    background-color: var(--bg-primary);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-primary), var(--bg-primary)),
                      linear-gradient(135deg, #a855f7, #fb7185);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 20px;
    padding: 40px 28px;
    text-align: center;
}

.step-number {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.step-icon {
    margin: 0 auto 24px;
    color: #a855f7;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.step-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.process-arrow {
    display: none;
}

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

/* Customization Section */
.customization-section {
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.customization-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(251, 113, 133, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.customization-intro {
    margin-bottom: 64px;
}

.customization-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.customization-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.customization-block {
    background-color: var(--bg-secondary);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
                      linear-gradient(135deg, #a855f7, #fb7185);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s ease;
    animation: borderRotate 8s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
                          linear-gradient(0deg, #a855f7, #fb7185);
    }
    50% {
        background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
                          linear-gradient(180deg, #a855f7, #fb7185);
    }
    100% {
        background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
                          linear-gradient(360deg, #a855f7, #fb7185);
    }
}

.customization-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3);
}

.custom-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.custom-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.custom-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.custom-features {
    margin-bottom: 24px;
}

.custom-features li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.custom-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #fb7185;
    font-size: 20px;
}

.custom-link {
    display: inline-block;
    color: #a855f7;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.custom-link:hover {
    text-decoration-color: #a855f7;
    color: #fb7185;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #a855f7 50%, #fb7185 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(251, 113, 133, 0.2) 0%, transparent 50%);
    animation: particleMove 20s ease-in-out infinite;
}

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

.pricing-intro {
    margin-bottom: 64px;
}

.pricing-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.pricing-calculator {
    position: relative;
    z-index: 1;
}

.calculator-container {
    background-color: rgba(13, 13, 18, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 48px;
}

.calculator-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.budget-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #a855f7, #fb7185);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 32px;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fb7185;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(251, 113, 133, 0.5);
}

.budget-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fb7185;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(251, 113, 133, 0.5);
}

.budget-display {
    font-size: 48px;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 32px;
}

.output-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.output-cell {
    background-color: var(--bg-primary);
    border: 1px solid #a855f7;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.output-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.output-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-details {
    text-align: center;
    margin-bottom: 32px;
}

.effective-rate {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.savings-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: #a855f7;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.tier-visualization {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tier-bar {
    background: linear-gradient(to right, rgba(168, 85, 247, 0.2), rgba(251, 113, 133, 0.2));
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tier-label {
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.tier-range {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.trust-elements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 15px;
}

.trust-icon {
    color: #a855f7;
}

.pricing-cta {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Use Cases Section */
.use-cases-section {
    background-color: var(--bg-primary);
    position: relative;
}

.use-cases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(251,113, 133, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.use-cases-intro {
    margin-bottom: 64px;
}

.use-cases-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.use-case-card {
    background-color: var(--bg-secondary);
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-secondary), var(--bg-secondary)),
                      linear-gradient(135deg, #a855f7, #fb7185);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.use-case-card:nth-child(1) {
    animation-delay: 0.1s;
}

.use-case-card:nth-child(2) {
    animation-delay: 0.2s;
}

.use-case-card:nth-child(3) {
    animation-delay: 0.3s;
}

.use-case-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.use-case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(168, 85, 247, 0.3);
}

.use-case-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.use-case-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.use-case-result {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #fb7185 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.use-case-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.use-case-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.use-case-features li {
    padding: 6px 16px;
    background-color: rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: #a855f7;
    font-weight: 600;
}

/* Advantages Section */
.advantages-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.advantages-intro {
    margin-bottom: 64px;
}

.advantages-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.comparison-container {
    max-width: 1100px;
    margin: 0 auto;
}

.comparison-grid {
    margin-bottom: 48px;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.comparison-cell {
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.comparison-cell.typical {
    background-color: rgba(128, 128, 128, 0.1);
}

.comparison-cell.vsesvit {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(251, 113, 133, 0.1) 100%);
    position: relative;
}

.comparison-cell.vsesvit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(251, 113, 133, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: -1;
}

.comparison-row:hover .comparison-cell.vsesvit::before {
    opacity: 1;
}

.comparison-icon {
    flex-shrink: 0;
}

.x-icon {
    color: #ef4444;
}

.check-icon {
    color: #a855f7;
}

.comparison-text {
    font-size: 16px;
    color: var(--text-primary);
}

.comparison-cell.typical .comparison-text {
    text-decoration: line-through;
    opacity: 0.5;
}

.comparison-cell.vsesvit .comparison-text {
    font-weight: 500;
}

.trust-seal {
    text-align: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    border-radius: 24px;
    margin-bottom: 48px;
    display: inline-block;
    width: 100%;
}

.advantages-cta {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    overflow: hidden;
}

.final-cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0d0d12 0%, #a855f7 50%, #fb7185 100%);
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
    z-index: -1;
}

.cta-particle {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 18s ease-in-out infinite;
}

.cta-particle-1 {
    background: #a855f7;
    top: 15%;
    left: 15%;
}

.cta-particle-2 {
    background: #fb7185;
    top: 50%;
    right: 15%;
    animation-delay: 6s;
}

.cta-particle-3 {
    background: #a855f7;
    bottom: 15%;
    left: 40%;
    animation-delay: 12s;
}

.floating-sample {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: floatIcon 12s ease-in-out infinite;
}

.sample-article {
    top: 25%;
    left: 8%;
}

.sample-landing {
    top: 55%;
    right: 8%;
    animation-delay: 4s;
}

.sample-image {
    bottom: 25%;
    left: 20%;
    animation-delay: 8s;
}

.final-cta-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
}

.final-cta-headline {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
    margin-bottom: 24px;
}

.final-cta-subheadline {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 56px;
}

.final-cta-intro {
    margin-bottom: 48px;
}

.final-cta-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.final-primary-cta {
    font-size: 20px;
    padding: 20px 48px;
    margin-bottom: 64px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.final-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-trust-item {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    padding: 8px;
}

.final-support-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.final-support-text:hover {
    color: #fb7185;
    text-decoration: underline;
}

/* Footer Styles */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

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

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-badges {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    color: white;
    transform: translateY(-4px);
}

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

.footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-link,
.footer-modal-trigger {
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link::after,
.footer-modal-trigger::after {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #fb7185;
}

.footer-link:hover,
.footer-modal-trigger:hover {
    color: #fb7185;
    transform: translateX(4px);
}

.footer-link:hover::after,
.footer-modal-trigger:hover::after {
    opacity: 1;
    right: -24px;
}

.footer-modal-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-align: left;
    width: 100%;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(168, 85, 247, 0.2), transparent);
    margin: 48px 0 32px;
}

.footer-cta {
    text-align: center;
    margin-bottom: 48px;
}

.footer-cta-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-trust {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Legal Modals */
.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.legal-modal[aria-hidden="false"] {
    display: flex;
}

.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.legal-modal-content {
    position: relative;
    background-color: var(--bg-primary);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.legal-modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.legal-modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: rgba(168, 85, 247, 0.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.legal-modal-close:hover {
    background-color: rgba(168, 85, 247, 0.2);
    transform: scale(1.05);
}

.legal-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.legal-modal-body p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Tablet Styles - 768px and up */
@media (min-width: 768px) {
    .header-container {
        padding: 20px 24px;
        position: relative;
    }

    .logo-text {
        font-size: 28px;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .header-nav {
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .theme-toggle {
        margin-left: auto;
        order: 1;
    }

    .header-actions {
        order: 2;
    }

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

    .nav-link {
        font-size: 15px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease;
        position: relative;
    }

    [data-theme="light"] .nav-link {
        color: var(--text-primary);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(135deg, #a855f7 0%, #fb7185 100%);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .nav-link:hover {
        color: #fb7185;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
    }

    .sign-in-cta {
        display: inline-block !important;
    }

    .mobile-menu {
        display: none;
    }

    .hero-headline {
        font-size: 48px;
    }

    .hero-subheadline {
        font-size: 20px;
    }

    .hero-cta-buttons {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    .hero-cta-buttons .cta-button {
        width: auto;
    }

    .section-container {
        padding: 120px 24px;
    }

    .section-headline {
        font-size: 40px;
    }

    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pain-icon {
        width: 64px;
        height: 64px;
    }

    .pain-title {
        font-size: 24px;
    }

    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .generator-block {
        flex-direction: row;
        gap: 64px;
    }

    .generator-block.reverse {
        flex-direction: row-reverse;
    }

    .generator-visual {
        flex: 0 0 540px;
    }

    .knowledge-process {
        flex-direction: row;
        align-items: flex-start;
    }

    .process-arrow {
        display: block;
        flex-shrink: 0;
        align-self: center;
    }

    .process-step {
        flex: 1;
    }

    .customization-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .output-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-row {
        grid-template-columns: 1fr 1fr;
    }

    .final-cta-headline {
        font-size: 48px;
    }

    .final-trust-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
        text-align: left;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .footer-column {
        text-align: left;
    }

    .footer-links {
        align-items: flex-start;
    }

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

/* Desktop Styles - 1024px and up */
@media (min-width: 1024px) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-headline {
        font-size: 56px;
    }

    .hero-subheadline {
        font-size: 22px;
    }

    .section-headline {
        font-size: 44px;
    }

    .pain-point-card {
        padding: 48px 40px;
    }

    .solution-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .generator-title {
        font-size: 32px;
    }

    .final-cta-headline {
        font-size: 52px;
    }

    .final-cta-subheadline {
        font-size: 24px;
    }
}

/* Accessibility and Print Styles */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    header,
    .mobile-menu,
    .cta-button,
    footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-padding-top: 80px;
}
