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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

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

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none !important;
    transition: opacity 0.3s;
    border: none;
    outline: none;
}

.logo:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

.logo:focus {
    text-decoration: none !important;
    outline: none;
}

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

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

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

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

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

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

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 
        -1px -1px 0 white,
        1px -1px 0 white,
        -1px 1px 0 white,
        1px 1px 0 white,
        0 0 4px white,
        0 0 8px rgba(255, 255, 255, 0.8);
}

.stat-label {
    opacity: 0.9;
    font-size: 0.9rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

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

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-gray);
}

/* Customization Section */
.customization {
    background: var(--bg-light);
}

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

.customization-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.customization-text p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.custom-list {
    list-style: none;
    margin-bottom: 2rem;
}

.custom-list li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.code-block {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: #334155;
    padding: 0.75rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #64748b;
}

.code-dot:first-child {
    background: #ef4444;
}

.code-dot:nth-child(2) {
    background: #f59e0b;
}

.code-dot:nth-child(3) {
    background: #10b981;
}

.code-content {
    padding: 1.5rem;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
}

/* Telegram Section */
.telegram-section {
    background: white;
}

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

.phone-mockup {
    background: #1f2937;
    border-radius: 30px;
    padding: 1rem;
    box-shadow: var(--shadow-xl);
    max-width: 350px;
    margin: 0 auto;
}

.phone-screen {
    background: white;
    border-radius: 25px;
    padding: 1.5rem;
    min-height: 500px;
}

.telegram-message {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 1rem;
}

.message-header {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bot-message {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bot-message p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.message-buttons button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s;
}

.message-buttons button:hover {
    background: var(--primary-dark);
}

.telegram-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.telegram-text p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.telegram-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tg-feature {
    display: flex;
    gap: 1rem;
}

.tg-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tg-feature strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.tg-feature p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Case Study Section */
.case-study {
    background: white;
    padding: 5rem 0;
}

.case-study-content {
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.case-study-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-features {
    margin-bottom: 3rem;
}

.case-features h4,
.case-tech h4,
.case-ui h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-check {
    background: var(--secondary-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.case-tech {
    margin-bottom: 3rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.tech-tag:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.case-ui {
    margin-top: 3rem;
}

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

.ui-example {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.ui-example:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ui-placeholder {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin-bottom: 0;
}

.ui-placeholder.dashboard-ui {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.ui-placeholder.form-ui {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ui-placeholder.admin-ui {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ui-mockup {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-dark);
    font-size: 1.1rem;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.mockup-card {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.mockup-card strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-list > div {
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
    font-size: 0.9rem;
}

.mockup-btn,
.mockup-btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: auto;
}

.mockup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
}

.mockup-field {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.mockup-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mockup-stats > div {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

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

.mockup-actions button {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.ui-description {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-gray);
    margin: 0;
    margin-top: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
    background: white;
}

/* Pricing Section */
.pricing {
    background: var(--bg-light);
    padding: 5rem 0;
}

.pricing-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-gray);
    font-weight: 500;
}

.pricing-note {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

.pricing-factors {
    margin-bottom: 3rem;
}

.pricing-factors h3,
.pricing-includes h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.factor-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.factor-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 12px;
}

.factor-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.factor-content p {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.pricing-includes {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.include-item {
    color: var(--text-dark);
    font-size: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    font-weight: 500;
}

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

.pricing-cta p {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

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

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

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

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

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

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

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #ef4444;
    border: 1px solid #ef4444;
    display: block;
}

.form-message.info {
    background: #dbeafe;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    display: block;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

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

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

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

/* Demo Page Styles */
.demo-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.demo-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.demo-section {
    padding: 3rem 0;
}

.demo-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}

.demo-tab {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.demo-tab:hover {
    color: var(--primary-color);
}

.demo-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.demo-content {
    display: none;
}

.demo-content.active {
    display: block;
}

.demo-panel {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.demo-panel h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Camera Demo */
.camera-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.camera-viewport {
    background: #1f2937;
    border-radius: 12px;
    padding: 2rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.camera-feed {
    flex: 1;
    background: #0f172a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.camera-placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.camera-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.detection-box {
    position: absolute;
    border: 3px solid #10b981;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    display: none;
}

.detection-box.active {
    display: block;
}

.plate-number {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.camera-controls {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.recognition-results h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.result-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.result-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

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

.result-status.waiting {
    color: var(--text-gray);
}

.result-status.success {
    color: var(--secondary-color);
}

.result-status.error {
    color: #ef4444;
}

.result-details {
    margin-top: 1rem;
}

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

.detail-label {
    font-weight: 500;
    color: var(--text-gray);
}

.detail-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* Dashboard Demo */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-label {
    opacity: 0.9;
}

.recent-activity h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.activity-icon.success {
    background: #d1fae5;
    color: var(--secondary-color);
}

.activity-icon.blocked {
    background: #fee2e2;
    color: #ef4444;
}

.activity-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.activity-details {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Passes Demo */
.passes-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.passes-table {
    overflow-x: auto;
}

.passes-table table {
    width: 100%;
    border-collapse: collapse;
}

.passes-table th {
    background: var(--bg-light);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
}

.passes-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge.success {
    background: #d1fae5;
    color: var(--secondary-color);
}

.badge.warning {
    background: #fef3c7;
    color: #f59e0b;
}

.badge.error {
    background: #fee2e2;
    color: #ef4444;
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s;
}

.btn-icon:hover {
    transform: scale(1.2);
}

/* Analytics Demo */
.analytics-filters {
    margin-bottom: 2rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

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

.chart-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.chart-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.chart-placeholder {
    height: 200px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.stat-box h4 {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Gallery Page */
.gallery-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.gallery-section {
    padding: 3rem 0;
}

.gallery-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

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

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

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

.gallery-item {
    opacity: 1;
    transition: opacity 0.3s;
}

.gallery-item.hidden {
    opacity: 0.3;
    pointer-events: none;
}

.gallery-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

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

.gallery-image {
    height: 250px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 4rem;
}

.screenshot-placeholder.dashboard {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.screenshot-placeholder.camera {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.screenshot-placeholder.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.screenshot-placeholder.mobile {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.screenshot-placeholder.analytics {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.screenshot-placeholder.settings {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.screenshot-content {
    padding: 2rem;
    text-align: left;
    width: 100%;
    height: 100%;
}

.mock-dashboard,
.mock-camera,
.mock-telegram,
.mock-mobile,
.mock-analytics,
.mock-settings {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mock-header {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mock-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mock-stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
}

.mock-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mock-row {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
}

.mock-camera-view {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1rem;
}

.mock-detection {
    background: rgba(16, 185, 129, 0.3);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.mock-plate {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.mock-status {
    font-size: 1.2rem;
}

.mock-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mock-result-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
}

.mock-tg-header {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mock-tg-message {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.mock-tg-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.mock-tg-buttons button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0.75rem;
    border-radius: 6px;
    color: white;
    text-align: left;
}

.mock-mobile-header {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mock-mobile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mock-mobile-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.5rem;
}

.mock-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-mobile-list > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
}

.mock-analytics-header {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mock-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 150px;
    margin-bottom: 1rem;
}

.mock-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
}

.mock-analytics-stats {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 6px;
}

.mock-settings-header {
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mock-settings-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mock-settings-list > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.gallery-info p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
}

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

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
}

.lightbox-info {
    color: white;
    margin-top: 1rem;
    text-align: center;
}

/* Blog Page */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.blog-section {
    padding: 3rem 0;
}

.blog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.blog-image {
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-image-placeholder.systems {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.blog-image-placeholder.camera {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.blog-image-placeholder.barriers {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.blog-image-placeholder.integration {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    color: var(--primary-color);
    font-weight: 600;
}

.blog-date {
    color: var(--text-gray);
}

.blog-content h2 {
    margin-bottom: 1rem;
}

.blog-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h2 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    gap: 1rem;
}

/* Article Page */
.article-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.back-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-link:hover {
    gap: 1rem;
}

.article-full h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.article-full .article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

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

.article-full h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.article-full h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.article-full ul,
.article-full ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-full li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .customization-content,
    .telegram-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .demo-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .camera-demo {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .passes-header {
        flex-direction: column;
    }
}

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

    .customization-text h2,
    .telegram-text h2 {
        font-size: 1.75rem;
    }

    .article-modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

