/* EditorPro Website Styles - Inspired by Modern Design */
/* Purple gradient theme with glow effects */

:root {
    --purple-primary: #8B5CF6;
    --purple-secondary: #6366F1;
    --purple-light: #A855F7;
    --purple-dark: #7C3AED;
    --bg-dark: #0a0420;
    --bg-darker: #050212;
    --bg-card: rgba(17, 10, 40, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #c8c4e0;
    --text-muted: #9b96bc;
    --border-glow: rgba(139, 92, 246, 0.2);
    --glow-strong: rgba(139, 92, 246, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    box-shadow: 0 0 10px var(--glow-strong);
    z-index: 1000;
    transition: width 0.1s ease;
    width: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

/* Header with glass effect - full width */
header {
    position: sticky;
    top: 0;
    background: rgba(5, 2, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    z-index: 100;
    transition: all 0.3s ease;
    width: 100%;
}

header .container {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

header.scrolled {
    background: rgba(5, 2, 18, 0.95);
    border-bottom: 1px solid var(--border-glow);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.2);
}

.logo a {
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
    transition: all 0.3s ease;
}

.logo a:hover h1 {
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.7));
    transform: scale(1.02);
}

header nav {
    display: flex;
    gap: 30px;
}

header nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
    transition: width 0.3s ease;
}

header nav a:hover::after,
header nav a.active::after {
    width: 100%;
}

header nav a:hover,
header nav a.active {
    color: var(--purple-light);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 100px 0 120px;
    position: relative;
}

.hero-content {
    order: 2;
    max-width: 900px;
    animation: fadeInUp 0.8s ease;
}

.hero-image {
    order: 1;
    margin-bottom: 50px;
    animation: fadeIn 1s ease;
}

.hero-title-main {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--purple-light) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
    position: relative;
    display: inline-block;
}

.hero-title-main::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        transparent 0%,
        transparent 35%,
        rgba(168, 85, 247, 0.5) 45%,
        rgba(168, 85, 247, 1) 50%,
        rgba(168, 85, 247, 0.5) 55%,
        transparent 65%,
        transparent 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.hero-title-sub {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-secondary);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-note,
.cta-note {
    color: var(--text-muted);
    font-size: 14px;
}

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

.app-icon img {
    width: 140px;
    height: 140px;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.6),
                0 0 100px rgba(139, 92, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    animation: float 3s ease-in-out infinite;
}

.app-icon img:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 30px 80px rgba(139, 92, 246, 0.8),
                0 0 120px rgba(139, 92, 246, 0.6);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    color: white;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4),
                0 0 20px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

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

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

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, var(--purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 70px;
    font-weight: 400;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3),
                inset 0 1px 0 rgba(139, 92, 246, 0.1);
    background: rgba(25, 15, 60, 0.7);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 28px;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 48px rgba(139, 92, 246, 0.6);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.7);
}

.step h3 {
    font-size: 26px;
    margin-bottom: 14px;
    color: var(--purple-light);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Screenshots */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

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

.screenshot-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.screenshot-item:hover {
    transform: translateY(-8px);
    border-color: var(--purple-primary);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4),
                0 0 40px rgba(139, 92, 246, 0.2);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-item:hover img {
    transform: scale(1.03);
}

.screenshot-caption {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--purple-light);
    font-size: 16px;
    text-align: center;
    background: rgba(10, 4, 32, 0.8);
    backdrop-filter: blur(10px);
}

/* Placeholder style (if needed) */
.screenshot-placeholder {
    aspect-ratio: 9/16;
    background: var(--bg-card);
    border: 2px dashed var(--border-glow);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.screenshot-placeholder:hover {
    border-color: var(--purple-primary);
    background: rgba(25, 15, 60, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.screenshot-placeholder p {
    font-weight: 700;
    color: var(--purple-light);
    font-size: 18px;
}

.screenshot-placeholder span {
    color: var(--text-muted);
    font-size: 14px;
}

/* Privacy Features */
.privacy-callout {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(99, 102, 241, 0.05));
    border-radius: 32px;
    border: 1px solid var(--border-glow);
    padding: 80px 40px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.privacy-callout::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.privacy-item {
    text-align: center;
    padding: 30px;
    background: rgba(17, 10, 40, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.privacy-item:hover {
    background: rgba(25, 15, 60, 0.6);
    border-color: var(--purple-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.privacy-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

.privacy-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--purple-light);
    font-weight: 700;
}

.privacy-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.privacy-link {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.privacy-link a {
    color: var(--purple-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.privacy-link a:hover {
    color: var(--purple-light);
}

/* Privacy Policy Page */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.privacy-content h1 {
    font-size: 56px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 14px;
}

.privacy-content h2 {
    font-size: 36px;
    margin-top: 70px;
    margin-bottom: 24px;
    color: var(--purple-light);
    font-weight: 800;
}

.privacy-content h3 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.privacy-content section {
    padding: 0;
    margin-bottom: 50px;
}

.privacy-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: 16px;
}

.privacy-content ul {
    list-style: none;
    margin: 24px 0;
}

.privacy-content ul li {
    color: var(--text-secondary);
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.8;
}

.privacy-content ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple-primary);
    font-weight: bold;
}

.privacy-content ul li strong {
    color: var(--text-primary);
}

.highlight {
    background: var(--bg-card);
    border-left: 4px solid var(--purple-primary);
    padding: 24px;
    border-radius: 12px;
    color: var(--text-primary) !important;
    margin: 28px 0;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.contact-info {
    background: var(--bg-card);
    padding: 32px;
    border-radius: 16px;
    margin-top: 24px;
    border: 1px solid var(--border-glow);
}

.contact-info a {
    color: var(--purple-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--purple-light);
}

/* Privacy Badges */
.privacy-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.badge {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: var(--purple-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.badge .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

.badge h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--purple-light);
    font-weight: 700;
}

.badge p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 120px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 32px;
    margin: 100px 0;
    border: 1px solid var(--border-glow);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.cta .btn {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-glow);
    padding: 70px 0 40px;
    margin-top: 100px;
    background: rgba(10, 4, 32, 0.5);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--purple-light);
    font-weight: 700;
}

.footer-section p,
.footer-section nav {
    color: var(--text-secondary);
}

.footer-section nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-section nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section nav a:hover {
    color: var(--purple-primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-glow);
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-title-main {
        font-size: 40px;
    }

    .hero-title-sub {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .app-icon img {
        width: 110px;
        height: 110px;
        border-radius: 24px;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .features-grid,
    .steps,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    .privacy-content h1 {
        font-size: 40px;
    }

    .privacy-content h2 {
        font-size: 28px;
    }

    .cta {
        padding: 80px 30px;
    }

    .cta h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 32px;
    }

    .hero-title-sub {
        font-size: 24px;
    }

    .section-title {
        font-size: 28px;
    }

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
