/* Crisp Theme High Fidelity CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #1972F5;
    --primary-hover: #1562d6;
    --secondary-color: #ffffff;
    --accent-color: #F43F5E;
    /* Rose/Red for alerts or badges */
    --text-main: #1c1c1c;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --border-color: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Utilities */
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

.text-primary {
    color: var(--primary-color);
}

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

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    line-height: 1.25;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(25, 114, 245, 0.3), 0 2px 4px -1px rgba(25, 114, 245, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(25, 114, 245, 0.4), 0 4px 6px -2px rgba(25, 114, 245, 0.2);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #cbd5e1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    /*background: rgba(255, 255, 255, 0.9);*/
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    background: #E2E8F0;
}

.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .nav-link:hover {
    color: white;
}

.navbar.scrolled .nav-link {
    color: var(--text-muted);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 8rem;
    /* Deep Blue Gradient inspired by Crisp */
    background: linear-gradient(135deg, #1c2645 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

/* Abstract Shapes for Hero Background */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: #1972F5;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #7c3aed;
    /* Purple */
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, 40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.feature-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

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

/* Pricing */
.pricing-card {
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    background: white;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px -12px rgba(25, 114, 245, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    color: #0F172A;
    margin: 1.5rem 0 0.5rem;
    letter-spacing: -0.02em;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background-color: #F8FAFC;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
}

.footer-heading {
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-link {
    color: var(--text-muted);
    margin-bottom: 0.875rem;
    display: block;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(2px);
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 8rem 0 5rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}