/* Global Styles */
:root {
    --primary: #00A896;    /* Tropical teal */
    --primary-dark: #028090; /* Deep ocean blue */
    --secondary: #F9C80E;  /* Sunny yellow */
    --accent: #FF4365;     /* Coral pink */
    --dark: #05668D;       /* Deep ocean */
    --light: #F0F3F5;
    --success: #02C39A;    /* Tropical green */
    --danger: #FF4365;     /* Coral red */
    --warning: #F9C80E;    /* Sunny yellow */
    --info: #00B4D8;       /* Ocean blue */
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: var(--light);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 150, 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transform: translateY(-1px);
}

.btn-rounded {
    border-radius: 50px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Public Site Styles */
header .navbar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

header .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

header .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

header .nav-link:hover::after {
    transform: scaleX(1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 7rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 15%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 32rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #034c69 100%);
    padding-top: 4rem;
    padding-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 10% 95%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 90% 85%, rgba(255, 255, 255, 0.05) 0%, transparent 15%);
    z-index: 1;
}

footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

/* Dashboard Styles */
#dashboard-wrapper {
    overflow-x: hidden;
}

.sidebar {
    min-height: 100vh;
    width: 250px;
    background: linear-gradient(180deg, var(--dark) 0%, #034c69 100%);
    transition: all 0.3s;
}

.sidebar .list-group-item {
    background-color: transparent;
    color: #cbd5e1;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    margin: 0.25rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.sidebar .list-group-item.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

/* Dashboard Cards */
.stats-card {
    border-radius: 15px;
    border: none;
    background: linear-gradient(to bottom right, #ffffff, #f0f9f8);
    box-shadow: 0 4px 20px rgba(2, 128, 144, 0.1);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(2, 128, 144, 0.15);
}

.stats-card .card-body {
    padding: 1.5rem;
}

.stats-card .icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-right: 1rem;
    color: white;
}

.stats-card .stats-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.stats-card .stats-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0;
}

/* Tables */
.table-wrapper {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table thead {
    background-color: #f1f5f9;
}

.table thead th {
    border-bottom: none;
    font-weight: 600;
    color: #64748b;
    padding: 1rem;
}

.table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Status Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.badge-active {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-inactive {
    background-color: rgba(100, 116, 139, 0.2);
    color: #64748b;
}

.badge-pending {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.badge-new {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.badge-converted {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-lost {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Pricing Section */
.pricing-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.pricing-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card .card-header {
    background-color: #f8fafc;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card .features-list {
    padding: 2rem;
}

.pricing-card .features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-card .features-list li i {
    color: var(--success);
    margin-right: 0.75rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }
    
    .sidebar.toggled {
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* SaaS Projects Section Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Project card hover effects */
.project-card {
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Modal animations */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

 