/* =============================================
   Supervertaler Website Styles
   Modern, clean design with gradient accents
   ============================================= */

:root {
    /* Colors */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #111827;
    
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* =============================================
   Reset & Base Styles
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =============================================
   Navigation
   ============================================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-sm) 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s;
    cursor: pointer;
    margin-right: var(--spacing-md);
}

.nav-brand:hover,
.nav-brand:visited,
.nav-brand:active,
.nav-brand:focus,
.nav-brand:link {
    text-decoration: none !important;
    opacity: 0.8;
}

.nav-brand * {
    text-decoration: none !important;
}

.logo {
    font-size: 2rem;
    text-decoration: none !important;
    vertical-align: middle;
    margin-right: 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

@media (min-width: 769px) {
    .nav-menu li.nav-action + li.nav-action {
        margin-left: 0.25rem;
    }
}

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

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

.nav-menu a.nav-discussions {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    line-height: 1;
    white-space: nowrap;
    padding: 0 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-menu a.nav-discussions:hover {
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

/* Navbar version + icon buttons */
.nav-menu a.nav-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: rgba(59, 130, 246, 0.08);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    line-height: 1;
}

.nav-menu a.nav-version:hover {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.12);
}

.nav-menu a.nav-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.nav-menu a.nav-icon-link:hover {
    color: var(--text-primary);
    background: rgba(17, 24, 39, 0.05);
    border-color: rgba(17, 24, 39, 0.08);
}

.nav-icon {
    display: block;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-md) 0;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-sm) var(--spacing-md);
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu a:not(.nav-discussions):not(.nav-version):not(.nav-icon-link):hover {
        background: var(--bg-secondary);
    }

    .nav-menu a.nav-discussions,
    .nav-menu a.nav-version,
    .nav-menu a.nav-icon-link {
        display: flex;
        width: calc(100% - (2 * var(--spacing-md)));
        margin: 0 var(--spacing-md) var(--spacing-xs);
        border-bottom: none;
    }

    .nav-menu a.nav-discussions,
    .nav-menu a.nav-version {
        justify-content: center;
    }

    .nav-menu a.nav-icon-link {
        justify-content: center;
    }
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.version-badges {
    display: flex;
    gap: var(--spacing-sm);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-cat {
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    color: #92400e;
}

.badge-classic {
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    color: #1e3a8a;
}

.badge-new {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    color: #92400e;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-card-preview {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    width: 100%;
}

.preview-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.preview-segment {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
}

.preview-text {
    color: var(--text-primary);
    font-size: 0.875rem;
}

.preview-image {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =============================================
   About Section
   ============================================= */

.about {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.about .section-title,
.about .section-subtitle {
    color: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-story {
    display: grid;
    gap: var(--spacing-md);
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.about-card p {
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.about-highlight {
    font-style: italic;
    font-weight: 600;
    color: #fbbf24;
    margin-top: var(--spacing-sm);
}

.about-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0;
}

.about-list li {
    padding: 0.5rem 0;
    opacity: 0.95;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.about-unique {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-sm);
}

.about-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: var(--spacing-sm);
}

.vision-card {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.about-dialogue {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 4px solid #fbbf24;
    margin: var(--spacing-sm) 0;
}

.dialogue-ai {
    margin: var(--spacing-sm) 0;
    padding-left: var(--spacing-sm);
}

.dialogue-ai strong {
    color: #fbbf24;
}

.dialogue-ai ul {
    list-style: none;
    padding-left: var(--spacing-md);
    margin-top: 0.5rem;
}

.dialogue-ai li {
    margin: 0.25rem 0;
}

.about-cta {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: var(--spacing-md);
    color: #fbbf24;
}

.about-meta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-meta p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.about-name-note {
    font-size: 0.95rem !important;
    opacity: 0.7 !important;
    margin-top: 1.5rem !important;
    font-style: italic;
}

/* =============================================
   AI-First Philosophy Section
   ============================================= */

.ai-philosophy {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.ai-philosophy .section-title,
.ai-philosophy .section-subtitle {
    color: white;
}

.philosophy-content {
    max-width: 1400px;
    margin: 0 auto;
}

.philosophy-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.comparison-column {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-column.ai-first {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.comparison-column h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.comparison-intro {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.comparison-list {
    list-style: none;
    margin: var(--spacing-md) 0;
    padding: 0;
}

.comparison-list li {
    padding: 0.4rem 0;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.5;
}

.comparison-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    top: 0.4rem;
    font-size: 1.2rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
}

.example-box {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-box.highlight {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.example-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.example-code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    display: block;
    white-space: pre-wrap;
}

.philosophy-examples {
    margin: var(--spacing-lg) 0;
}

.philosophy-examples h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.example-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.example-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.example-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.example-card h4 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.example-before,
.example-after {
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.example-before {
    background: rgba(239, 68, 68, 0.2);
    border-left: 3px solid #ef4444;
}

.example-after {
    background: rgba(34, 197, 94, 0.2);
    border-left: 3px solid #22c55e;
}

.example-before code,
.example-after code {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    opacity: 0.9;
}

.philosophy-conclusion {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.conclusion-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.conclusion-cta {
    font-size: 1.1rem;
    opacity: 0.9;
    font-style: italic;
}

/* =============================================
   Features Section
   ============================================= */

.features {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.feature-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-list li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* =============================================
   Download Section
   ============================================= */

.download {
    padding: var(--spacing-xl) 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-md);
}

.download-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s;
}

.download-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

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

.download-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fef3c7, #fcd34d);
    color: #92400e;
}

.download-badge.stable {
    background: linear-gradient(135deg, #d1fae5, #6ee7b7);
    color: #065f46;
}

.download-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-xs);
}

.version-number {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.download-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.highlight-item {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.btn-download {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
}

.download-note {
    margin-top: var(--spacing-sm);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* =============================================
   Why Section
   ============================================= */

.why-section {
    padding: var(--spacing-xl) 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.why-card {
    padding: var(--spacing-md);
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

/* =============================================
   Screenshots Section
   ============================================= */

.screenshots {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.screenshot-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.screenshot-link {
    position: relative;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
    transition: opacity 0.3s;
}

.screenshot-link:hover img {
    opacity: 0.85;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.screenshot-link:hover .screenshot-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
}

.screenshot-caption {
    padding: var(--spacing-md);
}

.screenshot-caption h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

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

.screenshot-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    text-align: center;
}

.screenshot-note p {
    color: var(--text-secondary);
    margin: 0;
}

.screenshot-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.screenshot-note a:hover {
    text-decoration: underline;
}

/* =============================================
   Privacy & Security Section
   ============================================= */

.privacy-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
}

.privacy-content {
    display: block;
    max-width: 780px;
    margin: 0 auto;
    padding: 140px 20px 80px;
}

.privacy-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

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

.privacy-card-highlight {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.privacy-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: var(--spacing-sm) 0;
    color: var(--text-primary);
}

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

.privacy-card ul {
    list-style: none;
    padding: 0;
}

.privacy-card li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.privacy-footer {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
}

.privacy-footer p {
    margin: var(--spacing-sm) 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.privacy-footer p:first-child {
    font-weight: 500;
    color: var(--text-primary);
}

/* =============================================
   Footer
   ============================================= */

.footer {
    background: var(--bg-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand .logo {
    font-size: 2.5rem;
}
.footer-brand .logo-img {    vertical-align: middle;    margin-right: 6px;}

.footer-tagline {
    color: var(--text-light);
    margin-top: var(--spacing-xs);
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

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

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-tech {
    margin-top: var(--spacing-xs);
}

/* =============================================
   Back to Top Button
   ============================================= */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: var(--shadow-xl);
}

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

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

/* =============================================
   Responsive Design
   ============================================= */

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .download-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .product-cards {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-groups {
        grid-template-columns: 1fr;
    }

    .pricing-group-wide .pricing-group-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Landing Page: Product Cards ===== */

.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.product-card {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card .product-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.product-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.product-screenshot {
    width: 100%;
    max-width: 380px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    margin-bottom: var(--spacing-md);
    transition: transform 0.3s ease;
}

.product-card:hover .product-screenshot {
    transform: scale(1.03);
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.product-badge.free {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.product-badge.plugin {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

/* ===== Trados Page: Pricing Cards ===== */

.pricing-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    max-width: 1120px;
    margin: 0 auto;
    align-items: start;
}

/* Product badge on each card */
.pricing-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.pricing-badge-workbench {
    color: #7c3aed;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 1px solid #ddd6fe;
}

.pricing-badge-trados {
    color: #0d7377;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border: 1px solid #99f6e4;
}

.pricing-card .pricing-annual {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: -4px;
    margin-bottom: var(--spacing-sm);
}

.pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    position: relative;
}

.pricing-card .pricing-tier {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.pricing-card .pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.pricing-card .pricing-period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.pricing-card .pricing-price .pricing-period {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md);
    text-align: left;
}

.pricing-card .pricing-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-light);
    padding-left: 24px;
    position: relative;
}

.pricing-card .pricing-features li::before {
    content: "\2713";
    color: var(--success);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.pricing-card .pricing-features li.includes-previous {
    color: #0d9488;
    font-weight: 600;
    font-style: italic;
    border-bottom: 1px solid rgba(13, 148, 136, 0.15);
    padding-bottom: 10px;
    margin-bottom: 2px;
}

.pricing-card .pricing-features li.includes-previous::before {
    content: "\2713";
    color: #0d9488;
}

.pricing-card .pricing-features li.disabled {
    color: var(--text-light);
    text-decoration: line-through;
}

.pricing-card .pricing-features li.disabled::before {
    content: "\2717";
    color: var(--text-light);
}

/* ===== Install Steps ===== */

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.install-step {
    text-align: center;
    padding: var(--spacing-md);
}

.install-step .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.install-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

@media (max-width: 1024px) {
    .pricing-row {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .product-cards {
        grid-template-columns: 1fr;
    }
    .pricing-row {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .install-steps {
        grid-template-columns: 1fr;
    }
}
