/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --background-color: #f8f9fa;
    --text-color: #333;
    --light-text: #666;
    --border-color: #ddd;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav .divider {
    width: 1px;
    height: 24px;
    background-color: var(--border-color);
}

.user-greeting {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 24px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hamburger-icon::before {
    content: '';
    top: -8px;
    left: 0;
}

.hamburger-icon::after {
    content: '';
    bottom: -8px;
    left: 0;
}

/* Mobile menu toggle active state */
.mobile-menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Main Content */
main {
    min-height: calc(100vh - 140px);
    padding: 40px 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.button.primary:hover {
    background-color: #2980b9;
}

.button.secondary {
    background-color: #ecf0f1;
    color: var(--secondary-color);
}

.button.secondary:hover {
    background-color: #bdc3c7;
}

.button.large {
    padding: 12px 30px;
    font-size: 18px;
}

/* Landing Page Styles */
.landing-page {
    max-width: 800px;
    margin: 0 auto;
}

.profile-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.profile-header h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.profile-header h2 {
    font-size: 18px;
    color: var(--light-text);
    font-weight: normal;
}

.contact-info {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.contact-item .icon {
    margin-right: 15px;
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.notes {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.notes h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

/* Lead Form */
.lead-form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.lead-form-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.lead-form-container p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.lead-form {
    margin-top: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    background-color: white;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
}

.success-message {
    text-align: center;
    padding: 30px 0;
}

.success-message h2 {
    color: var(--success-color);
    margin-bottom: 15px;
}

/* Home Page Styles */
.home-page {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
}

.hero-section h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-section .lead {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.features-section {
    padding: 60px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.features-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
}

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

.feature-card {
	padding: 30px;
	border-radius: 8px;
	background-color: #f8f9fa;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	}

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

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

.feature-card h3 {
	font-size: 1.25rem;
	color: var(--secondary-color);
	margin-bottom: 10px;
	}

.how-it-works-section {
	padding: 60px 20px;
	margin-bottom: 60px;
	}

.how-it-works-section h2 {
	text-align: center;
	font-size: 2rem;
	color: var(--secondary-color);
	margin-bottom: 40px;
	}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
	}

.step {
	background-color: white;
	border-radius: 8px;
	padding: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	text-align: center;
	position: relative;
	}

.step-number {
	width: 40px;
	height: 40px;
	background-color: var(--primary-color);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.25rem;
	margin: 0 auto 20px;
	}

.step h3 {
	font-size: 1.25rem;
	color: var(--secondary-color);
	margin-bottom: 10px;
	}

.cta-section {
	text-align: center;
	padding: 60px 20px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	}

.cta-section h2 {
	font-size: 2rem;
	color: var(--secondary-color);
	margin-bottom: 15px;
	}

.cta-section p {
	font-size: 1.1rem;
	color: var(--light-text);
	margin-bottom: 30px;
	}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-width: 300px;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background-color: var(--success-color);
}

.notification.error {
    background-color: var(--error-color);
}

.notification.warning {
    background-color: var(--warning-color);
}

.notification.hide {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

thead th {
    background-color: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
}

tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
}

tbody tr:hover {
    background-color: #f8f9fa;
}

td.loading, td.empty-state, td.error-state {
    text-align: center;
    padding: 30px;
    color: var(--light-text);
}

/* Empty and loading states */
.empty-state, .loading, .error-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--light-text);
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.error-state {
    color: var(--error-color);
}

/* Responsive */
@media (max-width: 768px) {
    /* Mobile navigation */
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        z-index: 100;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .main-nav .divider {
        width: 100%;
        height: 1px;
        margin: 10px 0;
    }

    /* Overlay for mobile menu */
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 99;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .overlay.active {
        display: block;
        opacity: 1;
    }

    /* Other mobile styles */
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    main {
        padding: 20px 0;
    }

    .hero-section {
        padding: 40px 15px;
        margin-bottom: 40px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .action-buttons .button {
        width: 100%;
    }

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

    .features-section, .how-it-works-section, .cta-section {
        padding: 40px 15px;
        margin-bottom: 40px;
    }

    /* Table responsiveness */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    thead th, tbody td {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Notification responsiveness */
    .notification {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        font-size: 14px;
        padding: 12px 15px;
    }
}