/* Custom Styles for MySaaSApp */

:root {
    --primary-color: #234567;
    --secondary-color: #6c7a89;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-color: #f4f6fa;
    --dark-color: #1a2233;
    --accent-gradient: linear-gradient(90deg, #234567 0%, #4f8cff 100%);
    --section-bg: #f4f6fa;
    --card-bg: #fff;
    --footer-bg: #1a2233;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: var(--accent-gradient);
    padding-top: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Modern Navbar Styles */
.navbar {
    background: rgba(35, 69, 103, 0.85) !important;
    backdrop-filter: blur(8px);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 24px rgba(35, 69, 103, 0.10);
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
}

.navbar .navbar-brand {
    font-size: 1.7rem;
    letter-spacing: 1px;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar .navbar-nav .nav-link {
    color: #e3eaf7 !important;
    font-weight: 500;
    font-size: 1.08rem;
    margin: 0 0.5rem;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    padding: 0.5rem 1rem;
}

.navbar .navbar-nav .nav-link.active, .navbar .navbar-nav .nav-link:hover {
    background: var(--accent-gradient);
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(79, 140, 255, 0.10);
}

.navbar-toggler {
    border: none;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(35, 69, 103, 0.06);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(35, 69, 103, 0.12) !important;
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
}

.product-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(13, 110, 253, 0.1);
}

/* Feature Icons */
.feature-icon {
    transition: transform 0.3s ease;
}

.card:hover .feature-icon {
    transform: scale(1.1);
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #4f8cff 0%, #234567 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 140, 255, 0.25);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 140, 255, 0.18);
}

/* Pricing */
.pricing {
    display: flex;
    flex-direction: column;
}

/* Section backgrounds */
section {
    background: var(--section-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    padding: 0.5em 0.75em;
    border-radius: 20px;
}

/* Footer */
footer {
    margin-top: auto;
    background: var(--footer-bg);
    color: #fff;
    border-top: 4px solid var(--primary-color);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.border-radius-custom {
    border-radius: 20px;
} 

/* Reduce section vertical spacing globally */
.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}
.pt-5 {
    padding-top: 2rem !important;
}
.pb-5 {
    padding-bottom: 2rem !important;
}
.min-vh-100 {
    min-height: 60vh !important;
} 