/* Variables - Matching your project's design system */
:root {
    /* Primary colors from your project */
    --background: 210 25% 98%;
    --foreground: 215 20% 20%;
    
    --card: 0 0% 100%;
    --card-foreground: 215 20% 20%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 215 20% 20%;
    
    /* Primary blue colors from your project */
    --primary: 217 91% 60%;
    --primary-foreground: 0 0% 100%;
    --primary-light: 217 91% 70%;
    --primary-dark: 217 91% 45%;
    
    --secondary: 214 32% 91%;
    --secondary-foreground: 217 91% 60%;
    
    --muted: 214 32% 95%;
    --muted-foreground: 215 16% 47%;
    
    --accent: 217 91% 95%;
    --accent-foreground: 217 91% 60%;
    
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    
    --border: 214 32% 88%;
    --input: 214 32% 91%;
    --ring: 217 91% 60%;
    
    --success: 142 71% 45%;
    --success-foreground: 0 0% 100%;
    
    --warning: 38 92% 50%;
    --warning-foreground: 0 0% 100%;
    
    /* Shadows from your project */
    --shadow-soft: 0 2px 8px -2px hsl(217 91% 60% / 0.1);
    --shadow-medium: 0 4px 16px -4px hsl(217 91% 60% / 0.15);
    --shadow-strong: 0 8px 32px -8px hsl(217 91% 60% / 0.2);
    
    --radius: 0.75rem;
    
    /* Dark mode colors */
    --dark-background: 215 30% 8%;
    --dark-foreground: 210 40% 98%;
    --dark-card: 215 30% 10%;
    --dark-primary: 217 91% 65%;
    --dark-primary-dark: 217 91% 50%;
}

/* Font Faces */
@font-face {
    font-family: 'Vazirmatn';
    src: url('Vazirmatn-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('Vazirmatn-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('Vazirmatn-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', 'Tahoma', 'Geneva', 'Verdana', 'sans-serif';
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Button Styles - Matching your project's button component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    height: 2.5rem;
    padding: 0 1rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
    background-color: hsl(var(--accent));
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid hsl(var(--input));
    color: hsl(var(--foreground));
    box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    box-shadow: var(--shadow-medium);
}

.btn-lg {
    height: 2.75rem;
    padding: 0 1.5rem;
    font-size: 1rem;
}

.btn-sm {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.8125rem;
}

.btn-block {
    width: 100%;
}

/* Card Styles - Matching your project's card component */
.card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.card-content {
    padding: 1.5rem;
}

/* Stats Card - Matching your project's StatsCard component */
.stats-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-soft);
    transition: all 0.2s ease;
    padding: 1rem;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.stats-card-content {
    padding: 1rem;
}

.stats-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.stats-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-card-icon.primary {
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
}

.stats-card-icon.success {
    background-color: hsl(var(--success) / 0.1);
    color: hsl(var(--success));
}

.stats-card-icon.warning {
    background-color: hsl(var(--warning) / 0.1);
    color: hsl(var(--warning));
}

.stats-card-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
}

.stats-card-badge.primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.stats-card-badge.success {
    background-color: hsl(var(--success));
    color: hsl(var(--success-foreground));
}

.stats-card-badge.warning {
    background-color: hsl(var(--warning));
    color: hsl(var(--warning-foreground));
}

.stats-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.25rem;
}

.stats-card-title {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Customer Card - Matching your project's CustomerCard component */
.customer-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    padding: 1.75rem;
    margin-bottom: 2rem;
}

.customer-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: hsl(var(--primary) / 0.3);
}

.customer-card-content {
    padding: 0;
}

.customer-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.customer-card-info {
    flex: 1;
    min-width: 0;
}

.customer-card-info h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: hsl(var(--foreground));
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.customer-card-info p {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.customer-card-badge {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    align-self: flex-start;
}

.customer-card-badge.primary {
    background-color: hsl(var(--primary) / 0.15);
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary) / 0.2);
}

.customer-card-badge.success {
    background-color: hsl(var(--success) / 0.15);
    color: hsl(var(--success));
    border: 1px solid hsl(var(--success) / 0.2);
}

.customer-card-badge.warning {
    background-color: hsl(var(--warning) / 0.15);
    color: hsl(var(--warning));
    border: 1px solid hsl(var(--warning) / 0.2);
}

.customer-card-badge.destructive {
    background-color: hsl(var(--destructive) / 0.15);
    color: hsl(var(--destructive));
    border: 1px solid hsl(var(--destructive) / 0.2);
}

.customer-card-notes {
    background-color: hsl(var(--muted) / 0.5);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    border: 1px solid hsl(var(--border) / 0.5);
}

.customer-card-dates {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding: 1rem;
    background-color: hsl(var(--muted) / 0.3);
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border) / 0.5);
}

.customer-card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.customer-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    box-shadow: var(--shadow-soft);
    height: 3rem;
    padding: 0 1.25rem;
    flex: 1;
    min-width: 120px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    text-align: center;
}

.customer-card-btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.customer-card-btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.customer-card-btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.customer-card-btn-outline {
    background-color: transparent;
    border: 1px solid hsl(var(--input));
    color: hsl(var(--foreground));
}

.customer-card-btn-outline:hover {
    background-color: hsl(var(--accent));
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.customer-card-btn-destructive {
    background-color: transparent;
    border: 1px solid hsl(var(--input));
    color: hsl(var(--destructive));
}

.customer-card-btn-destructive:hover {
    background-color: hsl(var(--destructive) / 0.1);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

/* Make customer card responsive for mobile */
@media (max-width: 768px) {
    .customer-card {
        padding: 1.5rem;
    }
    
    .customer-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .customer-card-badge {
        align-self: flex-start;
        font-size: 0.8125rem;
        padding: 0.4rem 0.8rem;
    }
    
    .customer-card-info h3 {
        font-size: 1.25rem;
    }
    
    .customer-card-info p {
        font-size: 0.9375rem;
    }
    
    .customer-card-notes {
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
    
    .customer-card-dates {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.875rem;
        font-size: 0.9375rem;
    }
    
    .customer-card-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .customer-card-btn {
        min-width: auto;
        width: 100%;
        height: 2.75rem;
        font-size: 0.9375rem;
        padding: 0 1rem;
    }
}

/* Utility class to prevent text wrapping */
.white-space-nowrap {
  white-space: nowrap;
}

/* Plate number display - single line text without breaks */
.plate-number {
  display: inline-block;
  white-space: nowrap;
  direction: rtl;
  font-size: 18px;
}

/* Plate Display - Matching your project's PlateDisplay component */
.plate-display {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background-color: white;
    border: 1px solid hsl(var(--border));
    border-radius: 0.25rem;
    box-shadow: var(--shadow-soft);
    gap: 0.125rem;
    padding: 0.125rem;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    min-width: fit-content !important;
    direction: rtl !important;
}

.plate-mini-flag {
    width: 0.5rem;
    height: 0.75rem;
    border-radius: 0.125rem;
    overflow: hidden;
    flex-shrink: 0;
    display: flex !important;
    flex-direction: column !important;
}

.plate-mini-flag div {
    height: 33.33%;
    flex: 1 !important;
}

.plate-mini-flag .green {
    background-color: #00a651;
}

.plate-mini-flag .white {
    background-color: white;
}

.plate-mini-flag .red {
    background-color: #da251d;
}

.plate-part {
    font-weight: 700;
    color: black;
    font-size: 0.75rem;
    padding: 0 0.25rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: fit-content !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.plate-divider {
    width: 1px;
    background-color: hsl(var(--border));
    height: 1rem;
    flex-shrink: 0;
    align-self: center !important;
}

.plate-iran {
    color: #0057b7;
    font-weight: 700;
    font-size: 0.625rem;
    padding: 0 0.25rem;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

/* Ensure plate display works correctly within paragraphs */
p .plate-display {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0.125rem !important;
    white-space: nowrap !important;
}

.recent-activity-details p .plate-display,
.customer-card-info p .plate-display {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap !important;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
}

.section-title p {
    color: hsl(var(--muted-foreground));
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

/* Header */
header {
    background-color: hsl(var(--card));
    box-shadow: var(--shadow-soft);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: hsl(var(--primary));
}

.logo i {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: hsl(var(--primary));
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--primary));
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: hsl(var(--foreground));
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.mobile-menu-btn:hover {
    background-color: hsl(var(--accent));
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    color: white;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: linear-gradient(135deg, hsl(var(--primary-light)), hsl(var(--primary)));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
}

/* Dashboard Preview Section */
.dashboard-preview {
    background-color: hsl(var(--muted));
    padding: 4rem 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-section {
    margin-bottom: 3rem;
}

.dashboard-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    position: relative;
    padding-bottom: 0.75rem;
}

.dashboard-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: hsl(var(--primary));
    border-radius: 3px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.recent-activities {
    margin-top: 2rem;
}

.recent-activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.recent-activities-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}

.recent-activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-activity-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    gap: 1.5rem;
}

.recent-activity-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: hsl(var(--primary) / 0.3);
}

.recent-activity-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
}

.recent-activity-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.recent-activity-details {
    flex: 1;
    min-width: 0;
}

.recent-activity-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-activity-details p {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recent-activity-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    min-width: 120px;
}

.recent-activity-status {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: hsl(var(--success) / 0.15);
    color: hsl(var(--success));
    white-space: nowrap;
    min-width: 110px;
    text-align: center;
    border: 1px solid hsl(var(--success) / 0.2);
}

.recent-activity-status.pending {
    background-color: hsl(var(--warning) / 0.15);
    color: hsl(var(--warning));
    border: 1px solid hsl(var(--warning) / 0.2);
}

.recent-activity-status.in-progress {
    background-color: hsl(var(--primary) / 0.15);
    color: hsl(var(--primary));
    border: 1px solid hsl(var(--primary) / 0.2);
}

.recent-activity-time {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    white-space: nowrap;
}

/* Make recent activities responsive for mobile */
@media (max-width: 768px) {
    .recent-activity-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
    
    .recent-activity-info {
        width: 100%;
        gap: 1rem;
    }
    
    .recent-activity-meta {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 0.5rem;
    }
    
    .recent-activity-status {
        min-width: auto;
        padding: 0.4rem 0.8rem;
        font-size: 0.8125rem;
    }
    
    .recent-activity-time {
        font-size: 0.75rem;
    }
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.quick-action-card {
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.quick-action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.quick-action-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: hsl(var(--primary) / 0.1);
    color: hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

.quick-action-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-action-card p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    height: 100%;
}

.feature-icon {
    width: 72px;
    height: 72px;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: hsl(var(--primary));
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: hsl(var(--muted-foreground));
    line-height: 1.7;
}

/* Benefits */
.benefits {
    background-color: hsl(var(--muted));
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.benefit-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 700;
}

.benefit-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: hsl(var(--primary));
    border-radius: 3px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    color: hsl(var(--primary));
    font-size: 1.5rem;
    min-width: 30px;
    margin-top: 0.25rem;
}

.benefit-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.benefit-item p {
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    color: white;
    text-align: center;
}

.stats-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    position: relative;
    height: 100%;
}

.testimonial-card::before {
    content: "\"";
    position: absolute;
    top: -1rem;
    right: 1rem;
    font-size: 5rem;
    color: hsl(var(--accent));
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: hsl(var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: hsl(var(--primary));
    font-size: 1.125rem;
}

.author-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid hsl(var(--border));
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: hsl(var(--primary));
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--primary));
    margin-bottom: 0.25rem;
}

.pricing-duration {
    color: hsl(var(--muted-foreground));
}

.pricing-features {
    margin: 2rem 0;
    text-align: right;
    flex-grow: 1;
}

.pricing-feature {
    padding: 0.75rem 0;
    border-bottom: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.pricing-feature:last-child {
    border-bottom: none;
}

.pricing-feature.included::before {
    content: "✓";
    color: hsl(var(--success));
    font-weight: bold;
}

.pricing-feature.not-included {
    color: hsl(var(--muted-foreground));
}

.pricing-feature.not-included::before {
    content: "✗";
    color: hsl(var(--destructive));
    font-weight: bold;
}

.pricing-card .btn {
    margin-top: 1rem;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    box-shadow: var(--shadow-soft);
}

.faq-question {
    background-color: hsl(var(--card));
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    background-color: hsl(var(--muted) / 0.5);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 1.5rem;
    max-height: 500px;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-dark)));
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta .btn {
    background-color: white;
    color: hsl(var(--primary));
    font-weight: 600;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    height: auto;
}

.cta .btn:hover {
    background-color: hsl(var(--accent));
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

/* Footer */
footer {
    background-color: hsl(215 30% 10%);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: hsl(var(--primary));
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: hsl(210 40% 80%);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
}

.footer-links a i {
    font-size: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: hsl(215 30% 20%);
    transition: background-color 0.2s ease;
}

.social-links a:hover {
    background-color: hsl(var(--primary));
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(215 30% 20%);
    color: hsl(210 40% 70%);
    font-size: 0.875rem;
}

/* Mobile Optimizations */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .stats-grid-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .customer-card-actions {
        flex-direction: column;
    }
    
    .customer-card-btn {
        width: 100%;
    }
    
    .recent-activities-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recent-activity-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .recent-activity-info {
        width: 100%;
    }
    
    .recent-activity-status {
        align-self: flex-start;
    }
    
    .dashboard-section-title {
        font-size: 1.25rem;
    }
    
    .stats-card-value {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid-main {
        grid-template-columns: 1fr;
    }
    
    .hero-image-placeholder {
        height: 250px;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .benefit-icon {
        margin-top: 0;
    }
    
    .pricing-feature {
        justify-content: center;
        text-align: center;
    }
    
    .pricing-card.popular .popular-badge {
        top: -10px;
        font-size: 0.625rem;
        padding: 0.125rem 0.75rem;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
        top: -0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .stats-card {
        padding: 0.75rem;
    }
    
    .stats-card-content {
        padding: 0.75rem;
    }
    
    .stats-card-value {
        font-size: 1.125rem;
    }
    
    .stats-card-title {
        font-size: 0.75rem;
    }
    
    .customer-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .customer-card-badge {
        align-self: flex-start;
    }
    
    .customer-card-dates {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-action-card {
        padding: 1rem;
    }
    
    .quick-action-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
    }
    
    .quick-action-card h4 {
        font-size: 0.875rem;
    }
    
    .quick-action-card p {
        font-size: 0.75rem;
    }
    
    .cta h2 {
        font-size: 1.5rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    .cta .btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}