/* Reset and 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;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
    min-height: 100vh;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10001;
    font-weight: 600;
}

.skip-link:focus {
    top: 6px;
}

/* Focus Management */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

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

/* Performance: Critical CSS for above-the-fold content */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    will-change: transform;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #1e293b;
}

.header-ukraine-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #005bbb, #ffd700);
    padding: 0.3rem 0.75rem;
    border-radius: 16px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 91, 187, 0.15);
    white-space: nowrap;
}

.header-ukraine-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 91, 187, 0.25);
}

.ukraine-flag-small {
    font-size: 0.85rem;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.badge-text-small {
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #64748b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section - Critical Above-the-fold */
.hero {
    padding: 120px 0 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #f8fafc;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.cta-primary:hover,
.cta-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

.cta-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.cta-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.preview-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.preview-content {
    padding: 1.5rem;
}

.dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-header-section {
    margin-bottom: 1rem;
}

.dashboard-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.025em;
}

.dashboard-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.ai-generator-preview {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.ai-generator-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ai-icon-wrapper {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-icon-wrapper svg {
    width: 18px;
    height: 18px;
    color: white;
}

.ai-text-content h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: white;
}

.ai-text-content p {
    font-size: 0.625rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.ai-form-preview {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.conversation-preview label {
    display: block;
    font-size: 0.625rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.conversation-input-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    margin-bottom: 0.75rem;
}

.sample-text {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.input-controls-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.5rem;
}

.attachment-icon, .cost-indicator {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.5rem;
}

.action-buttons-preview {
    display: flex;
    gap: 0.5rem;
}

.generate-btn-main {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
}

.clear-btn-preview {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    font-size: 0.5rem;
    cursor: pointer;
}

.stats-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.stat-preview-card {
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.stat-preview-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-preview-card.revenue {
    border-left: 3px solid #10b981;
}

.stat-preview-card.paid {
    border-left: 3px solid #3b82f6;
}

.stat-preview-card.pending {
    border-left: 3px solid #f59e0b;
}

.stat-preview-card.total {
    border-left: 3px solid #8b5cf6;
}

.stat-preview-icon {
    font-size: 1rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-preview-content {
    flex: 1;
    min-width: 0;
}

.stat-preview-title {
    font-size: 0.625rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.125rem;
    line-height: 1;
}

.stat-preview-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.125rem;
    line-height: 1;
}

.stat-preview-subtitle {
    font-size: 0.5rem;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1;
}

/* Screenshots Section */
section {
    padding: 4rem 0;
}

.screenshots {
    background: white;
    border-top: 1px solid #e2e8f0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.screenshot-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.screenshot-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.screenshot-mockup {
    max-width: 500px;
    margin: 0 auto;
}

.screenshot-mockup.desktop {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.5s ease;
}

.screenshot-mockup.desktop:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-dots span:first-child {
    background: #ff5f56;
}

.mockup-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mockup-dots span:last-child {
    background: #27ca3f;
}

.mockup-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.mockup-content {
    padding: 2rem;
}

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

.conversation-input {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.input-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sample-conversation {
    background: rgba(102, 126, 234, 0.04);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    color: #1e293b;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ai-arrow {
    text-align: center;
    color: white;
    font-weight: 700;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.025em;
}

.generated-invoice {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.invoice-preview {
    padding: 2rem;
}

.invoice-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: -0.025em;
}

.invoice-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.detail-row.total {
    border-top: 2px solid #e2e8f0;
    margin-top: 1rem;
    padding-top: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
}

.screenshot-mockup.mobile {
    background: #1e293b;
    border-radius: 24px;
    padding: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 280px;
    margin: 0 auto;
}

.mobile-header {
    margin-bottom: 1rem;
}

.mobile-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.time {
    color: white;
}

.mobile-indicators {
    display: flex;
    gap: 0.25rem;
}

.mobile-indicators span {
    width: 16px;
    height: 10px;
    background: white;
    border-radius: 2px;
    opacity: 0.8;
}

.mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-weight: 600;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-content {
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.mobile-invoice-list {
    display: flex;
    flex-direction: column;
}

.mobile-invoice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-invoice-item:last-child {
    border-bottom: none;
}

.invoice-info {
    flex: 1;
}

.invoice-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.invoice-client {
    font-size: 0.75rem;
    color: #64748b;
}

.invoice-amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-right: 0.75rem;
}

.invoice-status {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.invoice-status.paid {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.invoice-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

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

.units-display {
    background: rgba(59, 130, 246, 0.04);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.units-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.units-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.units-count {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.units-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.screenshot-info {
    padding: 2rem 0;
}

.screenshot-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.screenshot-info p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-header p {
    color: #64748b;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: #f8fafc;
}

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

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.step p {
    color: #64748b;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background: #f8fafc;
}

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

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-content p {
    color: #64748b;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    color: #1e293b;
}

.author-title {
    font-size: 0.9rem;
    color: #64748b;
}

.testimonial-rating {
    color: #fbbf24;
    margin-top: 1rem;
}

/* Pricing Section */
.pricing {
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.pricing-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.price {
    margin: 1.5rem 0;
}

.currency {
    color: #64748b;
    font-size: 1.25rem;
    vertical-align: top;
}

.amount {
    color: #1e293b;
    font-size: 3rem;
    font-weight: 700;
}

.period {
    color: #64748b;
    font-size: 1rem;
}

.pricing-header p {
    color: #64748b;
    margin-bottom: 2rem;
}

.pricing-features {
    text-align: left;
    margin: 2rem 0;
    flex-grow: 1;
}

.feature {
    color: #64748b;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-cta {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    margin-top: auto;
}

.pricing-cta.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    border-radius: 24px;
    margin: 2rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

.cta-primary.large,
.cta-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    border-top: 1px solid #334155;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid #334155;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #475569;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.made-in-ukraine-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #005bbb, #ffd700);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 91, 187, 0.2);
}

.made-in-ukraine-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 91, 187, 0.3);
}

.ukraine-flag {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.badge-text {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 9999;
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        overflow: hidden;
    }
    
    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        background-color: #1e293b;
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
        color: #dee8f8;
        padding: 1rem 2rem;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    
    .nav-links .cta-button {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        padding: 1rem 2rem;
        border-radius: 12px;
        font-weight: 600;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    }
    
    .header-ukraine-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .made-in-ukraine-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    /* Screenshots responsive */
    .screenshot-item {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .screenshot-mockup {
        max-width: 100%;
    }
    
    .mockup-content {
        padding: 1rem;
        min-height: 250px;
    }
    
    .screenshot-mockup.mobile {
        max-width: 250px;
    }
    
    .mobile-content {
        min-height: 300px;
        padding: 0.75rem;
    }
    
    .ai-demo {
        gap: 1rem;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .features-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Units-specific styles */
.pricing-explanation {
    margin-top: 3rem;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.explanation-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.explanation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.explanation-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
}

.explanation-content h4 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.explanation-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.units-info {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.units-count {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
}

.units-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.unit-cost {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin: 0;
}

.savings {
    background: linear-gradient(45deg, #10b981, #06d6a0);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin: 0.5rem 0;
}

.pricing-card.featured {
    transform: scale(1.05);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.pricing-note p {
    color: #64748b;
    margin: 1rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-note strong {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Units dashboard preview styling */
.stat-card.units {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-card.units .stat-icon {
    color: #feca57;
}

.stat-card.units .stat-value {
    color: white;
}

.stat-card.units .stat-desc {
    color: rgba(255, 255, 255, 0.8);
}

/* AI Section in Hero Preview */
.ai-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-header {
    margin-bottom: 1rem;
}

.ai-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.ai-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.conversation-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.conversation-text {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.generate-btn-preview {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    border: none;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .pricing-card.featured {
        transform: none;
        order: 0;
    }
}

@media (max-width: 768px) {
    .explanation-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .explanation-content h4 {
        font-size: 1.1rem;
    }
    
    .pricing-note {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .pricing-note p {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .units-count {
        font-size: 1.5rem;
    }
} 