* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #ddd;
    --success: #27ae60;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: white;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn.btn-secondary {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.map-mockup {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: white;
    font-size: 4rem;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.benefits-grid, .use-case-grid, .integrations-grid, .support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card, .use-case-card, .integration-card, .support-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.benefit-card:hover, .use-case-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-header {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-content h3 {
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-light);
}

.dashboard-container {
    background: var(--bg-light);
    min-height: 100vh;
    padding: 20px;
}

.dashboard-header {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
}

.dashboard-sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 90px;
}

.sidebar-menu {
    list-style: none;
}

.menu-item {
    padding: 12px 15px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-item:hover, .menu-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.dashboard-main {
    background: white;
    border-radius: 12px;
    padding: 40px;
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.locations-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-icon.views-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stat-icon.actions-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stat-icon.rating-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.stat-content h3 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat-change {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.dashboard-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.chart-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.chart-card h3 {
    margin-bottom: 20px;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-item {
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.location-item h4 {
    margin-bottom: 5px;
}

.location-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.section-toolbar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--bg-light);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

tr:hover {
    background: var(--bg-light);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.rating {
    color: #f39c12;
    font-weight: 600;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 5px;
}

.btn-action:hover {
    background: var(--primary-color);
    color: white;
}

.location-type {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 10px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.analytics-card h3 {
    margin-bottom: 20px;
}

.action-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-stat {
    display: grid;
    grid-template-columns: 150px 1fr 80px;
    gap: 15px;
    align-items: center;
}

.action-bar {
    background: var(--bg-light);
    border-radius: 20px;
    height: 8px;
    overflow: hidden;
}

.action-bar-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
}

.peak-hours {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hour-stat {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 6px;
}

.hour-stat .percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer-info h4 {
    margin-bottom: 8px;
}

.review-header .rating {
    display: flex;
    gap: 3px;
    color: #f39c12;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.review-actions {
    display: flex;
    gap: 10px;
}

.review-actions .btn-sm {
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.insight-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid;
}

.insight-card.success {
    background: #d4edda;
    border-color: #27ae60;
}

.insight-card.warning {
    background: #fff3cd;
    border-color: #f39c12;
}

.insight-card.info {
    background: #d1ecf1;
    border-color: #3498db;
}

.insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-card.success .insight-icon {
    color: #27ae60;
}

.insight-card.warning .insight-icon {
    color: #f39c12;
}

.insight-card.info .insight-icon {
    color: #3498db;
}

.insight-content h4 {
    margin-bottom: 5px;
}

.insight-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0;
}

.settings-group {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.settings-group h3 {
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
    margin-bottom: 10px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    display: none;
}

.toggle-switch label {
    display: block;
    width: 100%;
    height: 100%;
    background: #ddd;
    border-radius: 13px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0;
}

.toggle-switch input:checked + label {
    background: var(--primary-color);
}

.toggle-switch label::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.toggle-switch input:checked + label::after {
    left: 26px;
}

.api-key-box {
    display: flex;
    gap: 10px;
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: 6px;
}

.api-key-box code {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 10px;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price .period {
    color: var(--text-light);
}

.pricing-card .description {
    color: var(--text-light);
    margin-bottom: 25px;
}

.features-list {
    list-style: none;
    margin-bottom: 25px;
}

.features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-dark);
}

.features-list li i {
    color: var(--success);
    margin-right: 10px;
}

.features-list li.unavailable {
    color: var(--text-light);
}

.features-list li.unavailable i {
    color: var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 60px;
}

.comparison-table th {
    background: var(--bg-light);
    font-weight: 600;
    padding: 15px;
}

.comparison-table td {
    padding: 15px;
}

.comparison-table i {
    color: var(--success);
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
}

.form-group input, .form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
}

.info-block {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.info-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-block h3 i {
    color: var(--primary-color);
}

.info-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.support-section {
    background: var(--bg-light);
    padding: 60px 20px;
    margin: 0 -20px -20px;
}

.support-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.support-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.support-card h3 {
    margin-bottom: 10px;
}

.link-button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}

.cta-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 800px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.footer {
    background: #2a2f46;
    color: #bbb;
    padding: 40px 20px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.faq-item h4 {
    margin-bottom: 10px;
    cursor: pointer;
}

.faq-item p {
    color: var(--text-light);
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}
