/* ========================================
   QR ANALYTICS PRO - MARKETING SITE CSS
   ======================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

.hidden { display: none!important; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand .logo {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a5568;
}

/* === BUTTONS === */
.btn-primary,
.btn-secondary,
.btn-large {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.btn-plan {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.btn-plan:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.btn-plan.primary {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.btn-plan.primary:hover {
    background: #5568d3;
}

/* === HERO SECTION === */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.trust-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.hero-visual {
    margin-top: 60px;
}

.analytics-preview {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.chart-mockup {
    color: #333;
}

.chart-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2d3748;
}

.chart-bars {
    display: flex;
    gap: 20px;
    height: 200px;
    align-items: flex-end;
    margin-bottom: 30px;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px 8px 0 0;
    animation: growBar 1s ease-out;
}

@keyframes growBar {
    from { height: 0; }
}

.chart-metrics {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
}

.metric-label {
    display: block;
    font-size: 14px;
    color: #718096;
    margin-top: 8px;
}

/* === STATS SECTION === */
.stats-section {
    padding: 60px 0;
    background: #f7fafc;
}

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

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    color: #718096;
    font-size: 16px;
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 20px;
    color: #718096;
}

/* === VERTICALS SECTION === */
.verticals-section {
    padding: 80px 0;
    background: white;
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.vertical-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
}

.vertical-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.vertical-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.vertical-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.vertical-card h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 12px;
}

.vertical-desc {
    color: #718096;
    margin-bottom: 30px;
    font-size: 16px;
}

.analytics-list {
    margin-bottom: 30px;
}

.analytics-list h4 {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.analytics-list li {
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 14px;
    color: #4a5568;
}

.analytics-list li:last-child {
    border-bottom: none;
}

.analytics-list strong {
    color: #2d3748;
}

.use-case {
    background: #fff5f5;
    border-left: 4px solid #f56565;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    color: #742a2a;
}

.metrics-preview {
    display: flex;
    gap: 15px;
}

.mini-metric {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
}

.mini-metric .value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.mini-metric .label {
    display: block;
    font-size: 12px;
    color: #718096;
}

/* === ANALYTICS FEATURES === */
.analytics-section {
    padding: 80px 0;
    background: #f7fafc;
}

.analytics-features {
    margin-top: 40px;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-content h3 {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 20px;
}

.feature-content p {
    font-size: 18px;
    color: #718096;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 12px 0;
    font-size: 16px;
    color: #4a5568;
    padding-left: 30px;
    position: relative;
}

.feature-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: 700;
}

.dashboard-mockup {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mockup-header {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
    border-radius: 8px;
    position: relative;
}

.map-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #38b2ac;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.map-marker.alert {
    background: #f56565;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.device-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.device-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
}

.device-label {
    font-size: 16px;
    color: #4a5568;
}

.device-percent {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.alert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
}

.alert-item.warning {
    background: #fffaf0;
    border-left: 4px solid #ed8936;
}

.alert-item.danger {
    background: #fff5f5;
    border-left: 4px solid #f56565;
}

.alert-item.info {
    background: #ebf8ff;
    border-left: 4px solid #4299e1;
}

.alert-icon {
    font-size: 20px;
}

.alert-text {
    font-size: 14px;
    color: #4a5568;
}

.bi-metrics {
    display: flex;
    gap: 20px;
}

.bi-card {
    flex: 1;
    background: #f7fafc;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
}

.bi-label {
    display: block;
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.bi-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.bi-trend {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.bi-trend.up {
    color: #48bb78;
}

.bi-trend.down {
    color: #f56565;
}

/* === FEATURES GRID === */
.features-section {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    padding: 30px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: #2d3748;
    margin-bottom: 12px;
}

.feature-card p {
    color: #718096;
    font-size: 15px;
}

/* === CASE STUDIES === */
.case-studies-section {
    padding: 80px 0;
    background: #f7fafc;
}

.case-studies-grid {
    display: grid;
    gap: 40px;
}

.case-study {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.company-logo {
    font-size: 48px;
}

.company-info h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 4px;
}

.industry {
    color: #718096;
    font-size: 14px;
}

.case-study-challenge,
.case-study-solution {
    margin-bottom: 30px;
}

.case-study h4 {
    font-size: 16px;
    color: #667eea;
    margin-bottom: 12px;
    font-weight: 600;
}

.case-study p {
    color: #4a5568;
    line-height: 1.6;
}

.results-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.result-metric {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.result-metric .metric-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
}

.result-metric .metric-label {
    display: block;
    font-size: 13px;
    color: #718096;
}

/* === PRICING === */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #667eea;
    border-width: 3px;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 20px;
}

.currency {
    font-size: 32px;
    color: #718096;
    vertical-align: top;
}

.amount {
    font-size: 56px;
    font-weight: 700;
    color: #2d3748;
}

.period {
    font-size: 18px;
    color: #718096;
}

.plan-description {
    color: #718096;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 12px 0;
    font-size: 15px;
    color: #4a5568;
}

.pricing-note {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: #f7fafc;
    border-radius: 12px;
}

/* === CTA SECTION === */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* === CONTACT === */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr/* 1.5fr*/;
    gap: 60px;
    margin-top: 60px;
}

.contact-info h3 {
    font-size: 24px;
    color: #2d3748;
    margin-bottom: 30px;
}

.contact-item {
    display: inline-block;
    width: 30%;
}

.contact-icon {
    font-size: 32px;
}

.contact-label {
    font-size: 14px;
    color: #718096;
    margin-bottom: 4px;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-form {
    background: #f7fafc;
    padding: 40px;
    border-radius: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

/* === FOOTER === */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
}

.footer-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.footer-badges .badge {
    background: #4a5568;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
    }

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

    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

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

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

    .section-header h2 {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .results-metrics {
        grid-template-columns: 1fr;
    }
}

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

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

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .chart-bars {
        gap: 10px;
    }

    .bi-metrics {
        flex-direction: column;
    }
}
