/* Miloudi Custom Styles */

:root {
    --primary-color: #7B1FA2;
    --primary-hover: #6A1B9A;
    --secondary-color: #6C7A89;
    --success-color: #51CF66;
    --error-color: #FF6B6B;
    --warning-color: #FFD93D;
    --bg-base: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #000000;
    --text-muted: #666666;
    --text-light: #999999;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --accent-coral: #FF8A80;
    --accent-blue: #64B5F6;
    --accent-teal: #4DD0E1;
    --accent-purple: #7B1FA2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

/* ===== LANDING PAGE ===== */

.landing-page {
    min-height: 100vh;
    background: #FFFFFF;
}

/* Navigation */
.landing-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.brand-icon {
    font-size: 1.75rem;
}

.brand-name {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-logo {
    height: 2.5rem;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s;
    padding: 0.625rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(123, 31, 162, 0.05);
}

.nav-link-primary {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 2px 8px rgba(123, 31, 162, 0.2);
}

.nav-link-primary:hover {
    background: var(--primary-hover);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 6rem;
    max-width: 1280px;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(123, 31, 162, 0.1);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.hero-supporting {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.25);
}

.btn-hero-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 31, 162, 0.35);
}

.btn-arrow {
    transition: transform 0.2s;
}

.btn-hero-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-hero-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid #E5E7EB;
}

.btn-hero-secondary:hover {
    border-color: var(--primary-color);
    background: #FAFAFA;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.trust-separator {
    color: #E5E7EB;
}

.btn-hero-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-card {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.hero-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text {
    flex: 1;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.card-value {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    background: white;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-heading {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subheading {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature {
    text-align: left;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.feature:hover {
    background: #FAFAFA;
    border-color: rgba(123, 31, 162, 0.1);
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.75rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-trust {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9375rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .features {
        padding: 4rem 1.5rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        text-align: center;
    }
}

/* Trust Section */
.trust {
    padding: 8rem 2rem;
    background: #FAFAFA;
}

.trust-container {
    max-width: 1280px;
    margin: 0 auto;
}

.trust-header {
    text-align: center;
    margin-bottom: 5rem;
}

.trust-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.trust-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.trust-subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
}

.trust-messages {
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.trust-bullets {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.trust-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

.bullet-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #51CF66 0%, #37B24D 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.bullet-text {
    flex: 1;
}

.trust-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(123, 31, 162, 0.2);
}

.testimonial-stars {
    color: #FFD93D;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.125rem;
}

.testimonial-quote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.author-location {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Dashboard Preview Section */
.dashboard-preview {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.dashboard-preview-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.dashboard-preview-text {
    padding-right: 2rem;
}

.section-heading.align-left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.dashboard-preview-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.dashboard-preview-list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-preview-list li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}

.dashboard-preview-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.dashboard-preview-visuals {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
}

.dashboard-card {
    background: white;
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.dashboard-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dashboard-card-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 12px;
    font-weight: 500;
}

.dashboard-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dashboard-mini-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dashboard-mini-metric .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-mini-metric .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.dashboard-card-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    height: 80px;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), #818CF8);
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(to top, var(--primary-hover), var(--primary-color));
}

.chart-bar-1 { height: 45%; }
.chart-bar-2 { height: 60%; }
.chart-bar-3 { height: 80%; }
.chart-bar-4 { height: 70%; }
.chart-bar-5 { height: 100%; }

.dashboard-side-tiles {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preview-qr-tile,
.preview-sms-tile {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.preview-qr-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preview-qr-code {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.preview-qr-inner {
    width: 60px;
    height: 60px;
    background: repeating-linear-gradient(
        0deg,
        var(--text-dark) 0px,
        var(--text-dark) 2px,
        transparent 2px,
        transparent 4px
    ),
    repeating-linear-gradient(
        90deg,
        var(--text-dark) 0px,
        var(--text-dark) 2px,
        transparent 2px,
        transparent 4px
    );
    border-radius: 4px;
}

.preview-qr-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preview-qr-text .label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.preview-qr-text .hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.preview-sms-tile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.preview-sms-header .sender {
    font-weight: 600;
}

.preview-sms-bubble {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.preview-sms-footnote {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* Pricing Teaser Section */
.pricing-teaser {
    padding: 8rem 2rem;
    background: #FAFAFA;
}

.pricing-teaser-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.pricing-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.pricing-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    font-size: 1.1875rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 5rem;
}

.pricing-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(123, 31, 162, 0.2);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    border-width: 2px;
    background: white;
    transform: scale(1.05);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card-featured::before {
    content: "Most Popular";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3);
}

.pricing-plan-name {
    font-size: 1.625rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.pricing-plan-tag {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.pricing-plan-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-plan-list li {
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.pricing-plan-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.125rem;
}

.pricing-plan-footnote {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pricing-cta {
    margin-top: 0;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(123, 31, 162, 0.1);
}

.pricing-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

.pricing-cta-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.125rem 2.5rem;
    background: var(--primary-color);
    color: white;
    font-size: 1.0625rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(123, 31, 162, 0.3);
}

.btn-pricing-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 31, 162, 0.4);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .hero {
        padding: 5rem 2rem 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dashboard-preview-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dashboard-preview-text {
        padding-right: 0;
    }

    .dashboard-preview-visuals {
        grid-template-columns: 1fr;
    }

    .pricing-teaser-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card-featured {
        transform: scale(1);
    }

    .pricing-card-featured:hover {
        transform: translateY(-8px);
    }

    .pricing-card-featured::before {
        top: 1rem;
        left: 1rem;
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .features {
        padding: 5rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-heading {
        font-size: 2.25rem;
    }

    .trust,
    .dashboard-preview,
    .pricing-teaser {
        padding: 5rem 1.5rem;
    }

    .trust-title,
    .pricing-title {
        font-size: 2.25rem;
    }

    .cta {
        padding: 5rem 1.5rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    .dashboard-card-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-heading,
    .trust-title,
    .pricing-title,
    .cta-title {
        font-size: 1.875rem;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .brand-logo {
        height: 2rem;
    }

    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }

    .dashboard-mini-metric:last-child {
        grid-column: 1 / -1;
    }
}

/* ===== END LANDING PAGE ===== */

/* Landing Page */
.landing-container {
    min-height: 100vh;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features-section, .how-it-works {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.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);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.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: bold;
    margin: 0 auto 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--text-muted);
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

/* Customer Signup Flow */
.signup-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.signup-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step 1: Scanning Animation */
.scanning-card {
    text-align: center;
}

.scanning-animation {
    padding: 2rem 0;
}

.qr-scanner {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    position: relative;
}

.scanner-frame {
    width: 100%;
    height: 100%;
    position: relative;
    border: 3px solid var(--primary-color);
    border-radius: 12px;
}

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid var(--primary-color);
}

.corner-tl {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    border-radius: 12px 0 0 0;
}

.corner-tr {
    top: -2px;
    right: -2px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 12px 0 0;
}

.corner-bl {
    bottom: -2px;
    left: -2px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 12px;
}

.corner-br {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 12px 0;
}

.scanner-line {
    position: absolute;
    width: 90%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    left: 5%;
    animation: scan 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes scan {
    0%, 100% {
        top: 10%;
    }
    50% {
        top: 85%;
    }
}

.qr-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    opacity: 0.3;
}

.scanning-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.scanning-text {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.progress-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.progress-dots .dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.progress-dots .dot:nth-child(2) {
    animation-delay: 0.3s;
}

.progress-dots .dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Step 2: Shop Info */
.shop-info-display {
    text-align: center;
}

.shop-logo-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.shop-logo-image {
    max-width: 120px;
    max-height: 120px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shop-logo-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.shop-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.shop-tagline {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    font-weight: 500;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Step 3: Signup Form */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signup-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.label-icon {
    font-size: 1.125rem;
}

.field-hint {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
    font-style: italic;
}

.checkbox-text {
    font-weight: 400;
    font-size: 0.9375rem;
}

.form-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.privacy-icon {
    font-size: 1.25rem;
}

.privacy-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Step 4: Processing */
.processing-card {
    text-align: center;
}

.processing-animation {
    padding: 2rem 0;
}

.success-checkmark {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
}

.check-icon {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--success-color);
}

.icon-line {
    height: 5px;
    background-color: var(--success-color);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.line-tip {
    top: 56px;
    left: 25px;
    width: 30px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.line-long {
    top: 50px;
    right: 15px;
    width: 55px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 30px;
        left: 25px;
        top: 56px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0;
        top: 35px;
    }
    100% {
        width: 55px;
        right: 15px;
        top: 50px;
    }
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(16, 185, 129, 0.3);
}

.icon-fix {
    top: 12px;
    width: 10px;
    left: 38px;
    z-index: 1;
    height: 90px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: white;
}

.processing-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.processing-text {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Step 5: Success */
.success-card {
    text-align: center;
}

.success-icon-lg {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: bounce-in 0.6s ease-out;
}

@keyframes bounce-in {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.success-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

.success-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.success-check {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.next-steps-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.next-steps-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.next-steps-info p {
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

/* Customers Page */
.customer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-content .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-content .stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.customers-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.filter-toggles {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Customer Cards */
.customers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.customer-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.customer-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.customer-card.opted-out {
    opacity: 0.7;
}

.customer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.customer-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.detail-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.detail-text {
    color: var(--text-dark);
}

.customer-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mini-stat {
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.mini-stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.mini-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.new-customer-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.customers-footer {
    text-align: center;
    padding: 1.5rem;
}

.customers-count {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
}

.auth-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
}

.auth-card.wide {
    max-width: 700px;
}

.auth-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
}

/* Google Sign-In Button */
.btn-google {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-google:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.google-icon {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider-text {
    padding: 0 1rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #7B1FA2;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
    background-color: #6A1B9A;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: 24px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background-color: var(--bg-card);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Dashboard */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h1 {
    font-size: 2rem;
}

/* Next Steps Onboarding Box */
.next-steps-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    position: relative;
}

.next-steps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.next-steps-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.next-steps-icon {
    font-size: 2rem;
}

.next-steps-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.next-steps-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.next-steps-close {
    background: var(--bg-light);
    border: none;
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-steps-close:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.next-step-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.next-step-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.next-step-item.step-complete {
    background: rgba(81, 207, 102, 0.1);
    border: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.step-complete .step-number {
    background: var(--success-color);
    color: white;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.step-complete-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    width: fit-content;
}

.step-pending-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9375rem;
    width: fit-content;
}

.next-steps-progress {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-coral) 100%);
    border-radius: 8px;
    transition: width 0.5s ease;
    box-shadow: var(--shadow-sm);
}

.progress-text {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    margin: 0;
}

/* Button adjustments for Next Steps */
.next-step-item .btn {
    background: var(--primary-color);
    color: white;
    border: none;
}

.next-step-item .btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.metric-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: none;
    transition: all 0.3s ease;
}

.metric-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.metric-value {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.data-table tr:hover {
    background-color: var(--bg-light);
}

/* Admin Dashboard Filter Bar */
.admin-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.125rem;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-clear {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

.status-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-chip:hover {
    border-color: var(--primary-color);
    background: rgba(30, 58, 138, 0.05);
}

.filter-chip.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.filter-chip-success.active {
    border-color: var(--success-color);
    background: var(--success-color);
}

.filter-chip-warning.active {
    border-color: var(--warning-color);
    background: var(--warning-color);
}

.filter-chip-error.active {
    border-color: var(--error-color);
    background: var(--error-color);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot-active {
    background: var(--success-color);
}

.status-dot-pending {
    background: var(--warning-color);
}

.status-dot-suspended {
    background: var(--error-color);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-icon {
    display: inline-block;
    margin-right: 0.25rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-status-active {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-status-active .badge-dot {
    background-color: #10B981;
}

.badge-status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-status-pending .badge-dot {
    background-color: #F59E0B;
}

.badge-status-suspended {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-status-suspended .badge-dot {
    background-color: #EF4444;
}

.badge-success {
    background-color: #D1FAE5;
    color: #065F46;
}

.badge-warning {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-error {
    background-color: #FEE2E2;
    color: #991B1B;
}

.badge-secondary {
    background-color: var(--bg-light);
    color: var(--text-muted);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

/* Field-level validation errors */
.field-error {
    color: var(--error-color);
    font-size: 0.85rem;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Shop Info Section */
.shop-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.shop-info-card,
.qr-code-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: none;
    transition: all 0.3s ease;
}

.shop-info-card:hover,
.qr-code-card:hover {
    box-shadow: var(--shadow-md);
}

.shop-info-card h2,
.qr-code-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    border-bottom: none;
    padding-bottom: 0;
}

.shop-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.shop-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shop-detail-item label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.shop-detail-item span {
    color: var(--text-dark);
    font-size: 1rem;
}

.qr-code-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}

.qr-code-container {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.qr-code-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
}

.qr-code-identifier {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
    font-family: monospace;
}

.qr-code-label {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* QR Code Actions */
.qr-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-qr-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.btn-qr-action:hover {
    border-color: var(--primary-color);
    background: rgba(30, 58, 138, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-qr-action .action-icon {
    font-size: 1.5rem;
}

.btn-qr-action .action-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.btn-qr-action:hover .action-text {
    color: var(--primary-color);
}

/* Campaign CTA Banner */
.campaign-cta-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.cta-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.cta-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.cta-text p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.campaign-cta-banner .btn {
    background: white;
    color: var(--primary-color);
    white-space: nowrap;
}

.campaign-cta-banner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Campaign CTA Compact */
.campaign-cta-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.cta-compact-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Campaign Cards */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.campaign-card {
    background: var(--bg-card);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.campaign-card:hover::before {
    transform: scaleX(1);
}

.campaign-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.campaign-card.campaign-active::before {
    background: linear-gradient(90deg, var(--success-color) 0%, var(--accent-teal) 100%);
    transform: scaleX(1);
}

.campaign-card.campaign-completed::before {
    background: linear-gradient(90deg, var(--text-muted) 0%, var(--text-light) 100%);
    transform: scaleX(1);
}

.campaign-card.campaign-draft::before {
    background: linear-gradient(90deg, var(--warning-color) 0%, var(--accent-coral) 100%);
    transform: scaleX(1);
}

.campaign-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.campaign-title-section {
    flex: 1;
}

.campaign-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.campaign-dates {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.date-icon {
    font-size: 1rem;
}

.date-text {
    font-weight: 500;
}

.campaign-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-active {
    background: rgba(81, 207, 102, 0.15);
    color: var(--success-color);
}

.badge-completed {
    background: var(--bg-light);
    color: var(--text-muted);
}

.badge-draft {
    background: rgba(255, 217, 61, 0.15);
    color: var(--warning-color);
}

.date-icon {
    font-size: 1rem;
}

.campaign-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.stat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.campaign-performance {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.performance-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), #34D399);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.performance-text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.view-all-link {
    text-align: center;
    padding-top: 1rem;
}

/* Empty State for Campaigns */
.empty-state-campaigns {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-state-campaigns h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.empty-state-campaigns p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

@media (max-width: 968px) {
    .shop-info-section {
        grid-template-columns: 1fr;
    }
}

.success-container {
    text-align: center;
}

/* Utilities */
.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.small {
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    /* Admin Dashboard Responsive */
    .admin-filter-bar {
        padding: 1rem;
    }

    .search-box {
        max-width: 100%;
    }

    .status-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }

    .filter-chip {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .header-actions .btn {
        width: 100%;
    }

    .data-table {
        font-size: 0.875rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.5rem;
    }

    /* Next Steps Responsive */
    .next-steps-box {
        padding: 1.5rem;
    }

    .next-steps-title h2 {
        font-size: 1.5rem;
    }

    .next-steps-grid {
        grid-template-columns: 1fr;
    }

    .next-steps-icon {
        font-size: 1.5rem;
    }

    /* Campaign CTA Responsive */
    .campaign-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h3 {
        font-size: 1.25rem;
    }

    .campaign-cta-banner .btn {
        width: 100%;
    }

    .campaign-cta-compact {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .campaign-cta-compact .btn {
        width: 100%;
    }

    /* Campaign Cards Responsive */
    .campaigns-grid {
        grid-template-columns: 1fr;
    }

    .campaign-stats {
        grid-template-columns: 1fr;
    }

    /* QR Actions Responsive */
    .qr-actions {
        flex-direction: column;
    }

    .btn-qr-action {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    /* Signup Flow Responsive */
    .signup-container {
        padding: 1rem;
    }

    .signup-card {
        padding: 2rem 1.5rem;
    }

    .shop-name {
        font-size: 1.5rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .qr-scanner {
        width: 150px;
        height: 150px;
    }

    /* Customers Page Responsive */
    .customers-grid {
        grid-template-columns: 1fr;
    }

    .customer-stats {
        grid-template-columns: 1fr;
    }

    .customers-filter-bar {
        padding: 1rem;
    }
}

.shop-layout {
    display: flex;
    min-height: 100vh;
    background-color: #f9fafb;
}

/* Sidebar */
.shop-sidebar {
    width: 250px;
    background-color: #1f2937;
    color: white;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
}

.sidebar-brand {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    height: 2.5rem;
    width: auto;
    max-width: 100%;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.sidebar-link.active {
    background-color: rgba(96, 165, 250, 0.2);
    color: white;
    border-left-color: #60a5fa;
}

.sidebar-icon {
    font-size: 1.25rem;
}

.sidebar-text {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Main Content */
.shop-main {
    flex: 1;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
}

/* Header */
.shop-header {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left {
    flex: 1;
}

.header-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-dropdown:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
}

.shop-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.dropdown-icon {
    font-size: 0.75rem;
    color: #6b7280;
    transition: transform 0.2s;
}

.user-dropdown:hover .dropdown-icon {
    transform: translateY(2px);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    overflow: hidden;
    z-index: 1000;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #1f2937;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-item-icon {
    font-size: 1.1rem;
}

/* Content Area */
.shop-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .shop-sidebar {
        width: 200px;
    }
    
    .shop-main {
        margin-left: 200px;
    }
    
    .shop-header {
        padding: 1rem;
    }
    
    .shop-content {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .shop-sidebar {
        width: 70px;
    }
    
    .shop-main {
        margin-left: 70px;
    }
    
    .sidebar-text {
        display: none;
    }
    
    .sidebar-link {
        justify-content: center;
        padding: 1rem;
    }
    
    .sidebar-brand {
        padding: 1rem;
    }
    
    .sidebar-logo {
        height: 2rem;
    }
}

/* Campaigns Page */
.campaigns-page {
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.campaigns-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
}

.header-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.header-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.btn-create {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.track-results-card {
    background: var(--bg-card);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header-icon {
    font-size: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    flex-shrink: 0;
}

.card-header-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 400;
}

.results-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.select-wrapper {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.campaign-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.2s;
}

.campaign-select:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.btn-view-results {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

.campaign-performance {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 16px;
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.performance-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.performance-percentage {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.performance-bar-container {
    margin-bottom: 0.75rem;
}

.performance-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color) 0%, var(--accent-teal) 100%);
    border-radius: 8px;
    transition: width 0.5s ease;
}

.performance-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
}

.campaign-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    background: var(--bg-light);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-action:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-results {
    background: rgba(100, 181, 246, 0.15);
    color: var(--accent-blue);
}

.btn-results:hover {
    background: var(--accent-blue);
    color: white;
}

.btn-edit {
    background: rgba(186, 104, 200, 0.15);
    color: var(--accent-purple);
}

.btn-edit:hover {
    background: var(--accent-purple);
    color: white;
}

.btn-delete {
    background: rgba(255, 107, 107, 0.15);
    color: var(--error-color);
}

.btn-delete:hover {
    background: var(--error-color);
    color: white;
}

.empty-state-card {
    background: var(--bg-card);
    border: none;
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
}

.empty-state-card p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 2rem 0;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
    border: none;
}

.modal-small {
    max-width: 400px;
}

.modal-large {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.text-warning {
    color: var(--warning-color);
    font-weight: 600;
}

/* Results Modal */
.results-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-metric {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.results-details {
    margin-top: 2rem;
}

.results-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.detail-row {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 120px;
}

.detail-value {
    color: var(--text-dark);
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .campaigns-page {
        padding: 1rem;
    }

    .campaigns-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .campaign-metrics {
        grid-template-columns: 1fr;
    }

    .results-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .campaign-select {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .results-summary {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
}

