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

:root {
    /* Colors inspired by Aceternity */
    --primary: #020022;
    --primary-light: #1a1a3e;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    
    /* Neutrals */
    --neutral-50: #fafafa;
    --neutral-100: #f5f5f5;
    --neutral-200: #e5e5e5;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --neutral-900: #171717;
    
    /* Text */
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-muted: #737373;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0px 2px 3px -1px rgba(0,0,0,0.1), 0px 1px 0px 0px rgba(25,28,33,0.02), 0px 0px 0px 1px rgba(25,28,33,0.08);
    --shadow-lg: 0px 0px 0px 1px rgb(0 0 0 / 0.06), 0px 1px 1px -0.5px rgb(0 0 0 / 0.06), 0px 3px 3px -1.5px rgb(0 0 0 / 0.06), 0px 6px 6px -3px rgb(0 0 0 / 0.06), 0px 12px 12px -6px rgb(0 0 0 / 0.06), 0px 24px 24px -12px rgb(0 0 0 / 0.06);
    
    /* Animations */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* Dark mode variables */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #fafafa;
        --text-secondary: #d4d4d4;
        --text-muted: #a3a3a3;
        --neutral-50: #171717;
        --neutral-100: #262626;
        --neutral-200: #404040;
        --neutral-800: #e5e5e5;
        --neutral-900: #fafafa;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-primary);
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Effects */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.grid-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-nav-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.github-icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Badge */
.badge-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--accent-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    transform: translateY(-2px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* Typography */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--neutral-200);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-300);
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.arrow-icon {
    transition: transform 0.3s;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--neutral-200);
    min-width: 140px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.visual-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-200);
}

.visual-dots {
    display: flex;
    gap: 0.5rem;
}

.visual-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neutral-300);
}

.visual-dots span:first-child { background: #ef4444; }
.visual-dots span:nth-child(2) { background: #eab308; }
.visual-dots span:nth-child(3) { background: #22c55e; }

.visual-title {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.visual-content {
    padding: 2rem;
    background: linear-gradient(135deg, var(--neutral-50), white);
}

.comparison-slider {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.comparison-item {
    flex: 1;
    text-align: center;
}

.comparison-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.video-placeholder.edited {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
}

.placeholder-content {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
}

.placeholder-content.animated {
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.comparison-arrow {
    color: var(--accent);
    animation: arrow-bounce 2s infinite;
}

@keyframes arrow-bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

/* Text Edit Demo Section */
.text-edit-demo {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fafafa, white);
    position: relative;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.demo-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.demo-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.demo-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Prompt Section */
.prompt-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.prompt-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--neutral-200);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    transition: all 0.3s;
    background: white;
}

.prompt-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* Style Options */
.style-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.style-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.style-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.style-btn:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
}

.style-btn.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--accent-dark);
}

.style-icon {
    font-size: 1.5rem;
}

/* Frame Options */
.frame-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.frame-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.frame-btn {
    padding: 0.75rem;
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.frame-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.frame-btn.active {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
}

.frame-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.frame-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.frame-info {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.frame-info span {
    font-weight: 600;
    color: var(--accent);
}

/* Generate Button */
.generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4);
}

.generate-icon {
    animation: rotate 4s linear infinite;
}

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

/* Examples Section */
.examples-section {
    padding-top: 1rem;
    border-top: 1px solid var(--neutral-200);
}

.examples-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.example-prompts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.example-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.example-btn:hover {
    background: white;
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateX(4px);
}

.example-emoji {
    font-size: 1.25rem;
}

/* Upload Section */
.video-upload-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    margin-bottom: 2rem;
}

.upload-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.upload-container {
    position: relative;
}

.upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--neutral-50);
    border: 2px dashed var(--neutral-300);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: var(--neutral-100);
    border-color: var(--accent);
}

.upload-area:hover .upload-icon {
    transform: translateY(-3px);
}

.upload-icon {
    margin-bottom: 1rem;
    color: var(--neutral-400);
    transition: transform 0.3s ease;
}

.upload-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.video-uploaded {
    position: relative;
}

#uploaded-video {
    width: 100%;
    border-radius: 0.75rem;
    background: #000;
}

.remove-video-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.remove-video-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Preview Section */
.video-preview-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.preview-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.video-preview-container {
    aspect-ratio: 16/9;
    background: var(--neutral-50);
    border-radius: 0.75rem;
    border: 2px dashed var(--neutral-300);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    text-align: center;
    padding: 2rem;
}

.preview-icon {
    margin-bottom: 1rem;
}

.preview-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.separator {
    color: var(--neutral-300);
}

/* Loading State */
.preview-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--neutral-200);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.loading-text {
    color: var(--text-secondary);
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: var(--neutral-200);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    animation: progress 3s ease-in-out;
}

@keyframes progress {
    from { width: 0%; }
    to { width: 90%; }
}

/* Result State */
.preview-result {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-video {
    flex: 1;
    background: linear-gradient(135deg, var(--neutral-100), var(--neutral-200));
}

.result-controls {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-top: 1px solid var(--neutral-200);
}

.result-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--neutral-200);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.result-btn:hover {
    background: var(--neutral-50);
    border-color: var(--accent);
    color: var(--accent);
}

/* Processing Stats */
.processing-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--neutral-200);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stat-icon {
    font-size: 1.125rem;
}

/* Responsive Design for Demo Section */
@media (max-width: 1024px) {
    .demo-wrapper {
        grid-template-columns: 1fr;
    }
    
    .style-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .demo-title {
        font-size: 2rem;
    }
    
    .frame-options {
        grid-template-columns: 1fr;
    }
    
    .processing-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: var(--neutral-50);
    border-radius: 1rem;
    border: 1px solid var(--neutral-200);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* Specifications */
.specifications {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--neutral-50), white);
}

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

.specs-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.specs-card.large {
    grid-column: span 2;
}

.specs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.specs-list {
    list-style: none;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-100);
}

.spec-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-primary);
    font-weight: 600;
}

.metric-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.metric-bar {
    height: 8px;
    background: var(--neutral-200);
    border-radius: 4px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 4px;
    transition: width 1s var(--ease-out);
}

.advantage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}

.prompt-tip {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tip-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.tip-content {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Examples */
.examples {
    padding: 100px 0;
    background: white;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.example-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    transition: all 0.3s var(--ease-out);
    cursor: pointer;
}

.example-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.example-header {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: white;
}

.gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.gradient-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.gradient-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.gradient-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }

.example-content {
    padding: 1.5rem;
}

.example-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.example-prompt {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.example-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.processing-time {
    color: var(--accent);
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--neutral-50), white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--neutral-200);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.cta-stat {
    display: flex;
    flex-direction: column;
}

.cta-stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.cta-stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* SEO Content */
.seo-content {
    padding: 80px 0;
    background: var(--neutral-50);
}

.seo-article {
    max-width: 800px;
    margin: 0 auto;
}

.seo-article h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.seo-article p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    background: var(--primary);
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    opacity: 0.9;
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.fade-in-up-delay-1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s forwards;
}

.fade-in-up-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}

.fade-in-up-delay-3 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.6s forwards;
}

.fade-in-up-delay-4 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-out) 0.8s forwards;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInScale 1s var(--ease-out) 0.5s forwards;
}

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

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .badge-wrapper {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .specs-card.large {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 200px;
    }
    
    .comparison-slider {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}