/*
Theme Name: FreelGo Landing
Theme URI: https://freelgo.app
Author: Przemek
Description: Minimalist dark one-page theme for FreelGo - Project Management for Freelancers on macOS
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: freelgo-landing
Tags: one-page, dark, landing-page, custom-background, custom-logo
*/

/* ========================================
   CSS Variables & Base
   ======================================== */
:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-card: #1a1a24;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-accent: #22d3ee;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --color-text-dark: #64748b;
    --color-border: #2d2d3a;
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-main);
    --font-serif-display: 'DM Serif Display', 'Times New Roman', serif;
    --font-serif: 'Bodoni Moda', 'Times New Roman', serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    /*color: var(--color-accent); */
}

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

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

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

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

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p,
.section-header .section-subtitle {
    margin-top: 16px;
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.freelgo-rich-text p,
.freelgo-rich-text ul,
.freelgo-rich-text ol,
.freelgo-rich-text li {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.freelgo-rich-text ul,
.freelgo-rich-text ol {
    padding-left: 1.25rem;
    list-style-position: outside;
}

.freelgo-rich-text > * + * {
    margin-top: 0.75rem;
}

.reason .section-header .reason-text {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--color-text-muted);
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

.reason .section-header .reason-text * {
    color: inherit;
    text-align: inherit;
}

/* ========================================
   Navigation
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.site-logo .logo-image {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-menu a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #fff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

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

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

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
}

.btn.btn-primary.btn-windows,
.btn-primary.btn-windows {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-muted);
    color: #fff;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: var(--gradient-glow);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
    min-width: 0;
}

/* Hero Badges */
.hero-badges {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.hero-badge {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.hero-badge.badge-active {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.hero-badge.badge-soon {
    background-color: rgba(100, 116, 139, 0.1);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}

.badge-soon-label {
    display: inline-block;
    padding: 2px 8px;
    background-color: rgba(100, 116, 139, 0.2);
    border-radius: 100px;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 2px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.hero-meta-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary-light);
}

/* Hero App Showcase */
.hero-showcase {
    position: relative;
    display: flex;
    justify-content: center;
    overflow: visible;
    min-width: 0;
}

.hero-app-image {
    width: 200%;
    max-width: 1000px;
    height: auto;
    flex-shrink: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.app-placeholder {
    width: 600px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-card));
    color: var(--color-text-muted);
    font-size: 0.875rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--color-bg-secondary);
}

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

.feature-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-primary-light);
}

.feature-card h4 {
    margin-bottom: 12px;
}

.feature-card p,
.feature-card .feature-card-desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Featured Card (Large) */
.feature-card-large {
    display: -webkit-flex;
    display: flex;
    gap: 40px;
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.feature-card-large:hover {
    border-color: var(--color-primary);
}

.feature-card-large-content {
    -webkit-flex: 0 0 35%;
    flex: 0 0 35%;
    max-width: 35%;
}

.feature-card-large-content .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
}

.feature-card-large-content .feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card-large-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.feature-card-large-content p,
.feature-card-large-content .feature-card-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.feature-card-large-screenshots {
    -webkit-flex: 1;
    flex: 1;
    display: -webkit-flex;
    display: flex;
    gap: 16px;
    -webkit-align-items: center;
    align-items: center;
}

.featured-screenshot {
    -webkit-flex: 1;
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.featured-screenshot img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.featured-screenshot img.lightbox-trigger {
    cursor: zoom-in;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    -webkit-box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* ========================================
   Roadmap Section
   ======================================== */
.roadmap {
    background-color: #0a0a0f;
}

.roadmap-timeline {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.roadmap-item {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
    position: relative;
}

.roadmap-item:last-child {
    padding-bottom: 0;
}

.roadmap-line {
    position: absolute;
    left: 6px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background-color: #2d2d3a;
}

.roadmap-item:last-child .roadmap-line {
    display: none;
}

.roadmap-marker {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border-radius: 50%;
    background-color: #1a1a24;
    border: 2px solid #2d2d3a;
    position: relative;
    z-index: 2;
    margin-top: 3px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.roadmap-item.status-done .roadmap-marker {
    background-color: #22c55e;
    border-color: #22c55e;
}

.roadmap-item.status-progress .roadmap-marker {
    background-color: #6366f1;
    border-color: #6366f1;
    -webkit-box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.roadmap-item.status-planned .roadmap-marker {
    background-color: #1a1a24;
    border-color: #2d2d3a;
}

.roadmap-content {
    -webkit-flex: 1;
    flex: 1;
    padding-top: 0;
}

.roadmap-header {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 12px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.roadmap-content h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.roadmap-item.status-planned .roadmap-content h4 {
    color: #94a3b8;
}

.roadmap-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-done .roadmap-status {
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-progress .roadmap-status {
    background-color: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

.status-planned .roadmap-status {
    background-color: rgba(100, 116, 139, 0.1);
    color: #94a3b8;
}

.roadmap-content p,
.roadmap-content .roadmap-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0 0 4px 0;
    line-height: 1.5;
}

.roadmap-item.status-planned .roadmap-content p,
.roadmap-item.status-planned .roadmap-content .roadmap-desc {
    opacity: 0.7;
}

.roadmap-date {
    font-size: 0.75rem;
    color: #64748b;
}

/* ========================================
   Screenshots Section
   ======================================== */
.screenshots {
    overflow: hidden;
}

.screenshots-wrapper {
    position: relative;
    cursor: default; /* Zmienione z grab na default */
}

.screenshots-track {
    display: -webkit-flex;
    display: flex;
    gap: 16px;
    padding: 10px 0;
}

.screenshot-item {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.screenshot-item:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
}

.screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg-card));
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    color: var(--color-text-muted);
    border-radius: var(--radius-lg);
}

/* Screenshots Navigation */
.screenshots-nav {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.screenshot-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    border: none;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.screenshot-dot.active,
.screenshot-dot:hover {
    background-color: var(--color-primary);
}

/* Screenshots Arrows */
.screenshots-arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 10;
}

.screenshots-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.screenshots-arrow svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.screenshots-arrow.prev {
    left: 20px;
}

.screenshots-arrow.next {
    right: 20px;
}

/* ========================================
   Video Section
   ======================================== */
.video-section {
    background-color: #12121a;
}

.video-section .section-header {
    text-align: center;
}

.video-section .container {
    text-align: center;
}

.video-wrapper {
    display: block;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-glow);
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.video-self-hosted {
    padding-bottom: 0;
}

.video-self-hosted video {
    position: relative;
    border-radius: var(--radius-xl);
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    transition: var(--transition);
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-poster::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-poster:hover::before {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.5);
    transition: var(--transition);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    color: #fff;
    margin-left: 4px;
}

.video-poster.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    background: var(--color-bg-secondary);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    padding: 48px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -36px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 8px 48px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transform: rotate(45deg);
    z-index: 1;
}

.pricing-header {
    margin-bottom: 32px;
    border: none;
    padding: 0;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    border: none;
}

.pricing-header p,
.pricing-header .pricing-plan-desc {
    color: var(--color-text-muted);
    border: none;
    margin: 0;
}

.pricing-price {
    margin-bottom: 32px;
    border: none;
    padding: 0;
}

.price-old {
    font-size: 1.5rem;
    color: var(--color-text-dark);
    text-decoration: line-through;
    margin-right: 12px;
}

.price-current {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.price-currency {
    font-size: 2rem;
    vertical-align: super;
}

.price-period {
    display: block;
    margin-top: 8px;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-success);
    font-weight: 600;
    margin-bottom: 32px;
}

.pricing-trial svg {
    width: 20px;
    height: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    color: var(--color-success);
    flex-shrink: 0;
}

.pricing-cta .btn {
    width: 100%;
}

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter {
    padding: 120px 0 90px;
}

.newsletter .section-header {
    margin-bottom: 40px;
}

.newsletter-card {
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    /* background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));*/
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-card-empty {
    background: var(--color-bg-card);
    border-style: dashed;
}

.newsletter-form-embed {
    width: 100%;
}

.newsletter-form-embed form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.newsletter-card .newsletter-form-embed .ml-form-embedContainer,
.newsletter-card .newsletter-form-embed .ml-form-embedWrapper,
.newsletter-card .newsletter-form-embed .ml-form-embedBody,
.newsletter-card .newsletter-form-embed .ml-block-form {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.newsletter-card .newsletter-form-embed .ml-form-embedContent {
    display: none;
}

.newsletter-card .newsletter-form-embed .ml-form-formContent {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-card .newsletter-form-embed .ml-form-fieldRow {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-card .newsletter-form-embed .ml-form-fieldRow .ml-field-group {
    flex: 1;
    min-width: 220px;
}

.newsletter-form-embed input,
.newsletter-form-embed select,
.newsletter-form-embed textarea {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text);
    padding: 14px 16px;
}

.newsletter-card .newsletter-form-embed .ml-form-fieldRow input {
    color: var(--color-text);
}

.newsletter-card .newsletter-form-embed .ml-form-embedSubmit {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.newsletter-card .newsletter-form-embed .ml-form-embedSubmit button,
.newsletter-card .newsletter-form-embed .ml-form-embedSubmit input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    transition: var(--transition);
    min-width: 200px;
}

.newsletter-card .newsletter-form-embed .ml-form-embedSubmit button:hover,
.newsletter-card .newsletter-form-embed .ml-form-embedSubmit input[type="submit"]:hover {
    transform: translateY(-2px);
}

.newsletter-card .newsletter-form-embed .mailerlite-form,
.newsletter-card .newsletter-form-embed .mailerlite-form form,
.newsletter-card .newsletter-form-embed .mailerlite-form-inputs {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.newsletter-card .newsletter-form-embed [id^="mailerlite-form_"] {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

.newsletter-card .newsletter-form-embed [id^="mailerlite-form_"]::before,
.newsletter-card .newsletter-form-embed [id^="mailerlite-form_"]::after,
.newsletter-card .newsletter-form-embed .mailerlite-form::before,
.newsletter-card .newsletter-form-embed .mailerlite-form::after,
.newsletter-card .newsletter-form-embed .mailerlite-form form::before,
.newsletter-card .newsletter-form-embed .mailerlite-form form::after {
    display: none !important;
}

.newsletter-card .newsletter-form-embed [id^="mailerlite-form_"],
.newsletter-card .newsletter-form-embed [id^="mailerlite-form_"] div,
.newsletter-card .newsletter-form-embed [id^="mailerlite-form_"] form {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-title,
.newsletter-card .newsletter-form-embed .mailerlite-form-description {
    display: none !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-inputs > * {
    margin: 0 !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-field {
    flex: 1;
    min-width: 220px;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-field label {
    display: none;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-field input {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text);
    padding: 14px 16px;
    box-shadow: none;
}

.newsletter-card .newsletter-form-embed .mailerlite-subscribe-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 4px;
    margin-bottom: 0 !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-subscribe-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: none;
    transition: var(--transition);
    min-width: 200px;
    border: none !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-subscribe-submit:hover {
    transform: translateY(-2px);
}

.newsletter-card .newsletter-form-embed .mailerlite-form-loader {
    width: 100%;
    text-align: center;
    color: var(--color-text-muted);
    margin: 0 !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-response {
    text-align: center;
    color: var(--color-text);
    margin: 0 !important;
}

.newsletter-card .newsletter-form-embed .mailerlite-form-response h4 {
    margin: 12px 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.newsletter-form-fallback {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.newsletter-fields {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-fields input {
    flex: 1;
    min-width: 220px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text-muted);
    padding: 14px 16px;
}

.newsletter-form-fallback .btn {
    align-self: center;
    min-width: 200px;
}

.newsletter-helper {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.newsletter-disclaimer {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 32px 28px;
    }
    
    .newsletter-fields {
        flex-direction: column;
    }
    
    .newsletter-form-fallback .btn {
        width: 100%;
    }
}

/* ========================================
   Download/CTA Section
   ======================================== */
.download-section {
    text-align: center;
    padding: 120px 0;
}

.download-section h2 {
    margin-bottom: 16px;
}

.download-section p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.download-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   Testimonials Section (Optional)
   ======================================== */
.testimonials {
    background: var(--color-bg-secondary);
}

.testimonials.hidden {
    display: none;
}

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

.testimonial-card {
    padding: 32px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.testimonial-content {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo img {
    height: 32px;
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-meta {
        justify-content: center;
    }
    
    .hero-showcase {
        order: -1;
        margin-bottom: 40px;
    }
    
    .hero-app-image {
        width: 100%;
        max-width: 500px;
    }
    
    .app-placeholder {
        width: 100%;
        max-width: 500px;
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card-large {
        gap: 30px;
        padding: 32px;
    }
    
    .feature-card-large-content {
        -webkit-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .screenshot-item {
        width: 420px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
        flex-direction: column;
        gap: 24px;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-large {
        -webkit-flex-direction: column;
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    
    .feature-card-large-content {
        -webkit-flex: 1;
        flex: 1;
        max-width: 100%;
    }
    
    .feature-card-large-screenshots {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-item {
        width: 350px;
    }
    
    .screenshots-arrow {
        width: 40px;
        height: 40px;
    }
    
    .screenshots-arrow.prev {
        left: 10px;
    }
    
    .screenshots-arrow.next {
        right: 10px;
    }
    
    .screenshots-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 16px;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .download-buttons .btn {
        width: 100%;
    }
    
    .download-info {
        flex-direction: column;
        gap: 12px;
    }
    
    .price-current {
        font-size: 3rem;
    }
    
    .screenshot-item {
        width: 280px;
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ========================================
   Utilities
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

/* ========================================
   FAQ Section
   ======================================== */
.section-faq {
    background-color: var(--color-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-primary-light);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.faq-answer p,
.faq-answer .faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.faq-cta p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer p,
    .faq-answer .faq-answer-content {
        padding: 0 1.25rem 1.25rem;
    }
}
